mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Ruinland ChuanTzu Tsai <ruinland@andestech.com>
To: <musl@lists.openwall.com>
Subject: Re: [musl] musl CI?
Date: Tue, 17 Nov 2020 14:52:13 +0800	[thread overview]
Message-ID: <20201117065212.GA12665@APC301.andestech.com> (raw)
In-Reply-To: <20201117040951.GA9668@brightrain.aerifal.cx>

Hi all,

Glad to know there are discussions about CI.
Sorry that I couldn't find the IRC log and thus I might be saying some-
thing which had already been disccussed.

Though might be irrevalent, I'm wondering which platforms are the
"golden standard" for such CI to run against for each musl supported
architecture ?

My rough hunch is something like : latest LTS Linux kernel
(which is 5.4 for now) running on QEMU "virt machine" with full-system
emulation or qemu-user ?

For full-system, there's an acceptance test matrix [1] which lists the
"machine" names and whether they could boot Linux successfully. And the
best part is that they provides qemu launch parameters and working
images (burried in their CI Python code), which saves people from the
burden of bringing up a bootable environment.

Currently, I've been running libc-test with some modifications on
Makefile so as to mimic the way how glibc perform cross-platform test
(their "test-wrapper" mechanism) on real RISC-V hardwares :
(1) mount the libc-test on native platform through NFS and keep the
directory hierarchy to be the same on the host.
(2) provide a hook script to invoke exection remotely with the help of
ssh remote command ( `ssh board "$@"` ).

Though I haven't tried this flow on other platforms, I believe this
method is quite gerneal and could be applied easily.

The reason why I prefer running testsuite under a fully-emulated Linux
instead of qemu-user is that I don't have too much faith on its syscall
-translation and signal-handling mechanism to work out perfectly when
the guest and host architecture are heterogeneous.
(This is just my prejudice, please correct me if I worry too much.)

Cordially yours,
Ruinland ChuanTzu Tsai

  reply	other threads:[~2020-11-17  6:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-17  4:09 Rich Felker
2020-11-17  6:52 ` Ruinland ChuanTzu Tsai [this message]
2020-11-17 15:52   ` Rich Felker
2020-11-17  8:39 ` Ruinland ChuanTzu Tsai
2020-11-17  9:44   ` Arnd Bergmann
2020-11-17 12:04 ` Leah Neukirchen
2020-11-17 15:48   ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201117065212.GA12665@APC301.andestech.com \
    --to=ruinland@andestech.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).