Message ID | alpine.DEB.2.21.2101051452480.4307@sstabellini-ThinkPad-T480s (mailing list archive) |
---|---|
Headers | show |
Series | automation: build qemu-system-aarch64 and use it for tests | expand |
On Tue, Jan 05, 2021 at 02:58:38PM -0800, Stefano Stabellini wrote: > Hi all, > > Currently we are using Debian's qemu-system-aarch64 for our tests. > However, sometimes it crashes. See for instance > https://gitlab.com/xen-project/people/andyhhp/xen/-/jobs/939556527. It > is hard to debug and even harder to apply any fixes to it. > > Instead, build our own QEMU as one of our test-artifacts, which are only > built once, then imported into each pipeline via phony jobs. Use the > provided qemu-system-aarch64 binary for our arm64 tests. > > > Stefano Stabellini (3): > automation: add qemu-system-aarch64 to test-artifacts > automation: add a job to import qemu-system-aarch64 into the pipeline > automation: use test-artifacts/qemu-system-aarch64 instead of Debian's Acked-by: Wei Liu <wl@xen.org> I do wonder if there is a way to not build QEMU during every pipeline run though...
On Wed, 6 Jan 2021, Wei Liu wrote: > On Tue, Jan 05, 2021 at 02:58:38PM -0800, Stefano Stabellini wrote: > > Hi all, > > > > Currently we are using Debian's qemu-system-aarch64 for our tests. > > However, sometimes it crashes. See for instance > > https://gitlab.com/xen-project/people/andyhhp/xen/-/jobs/939556527. It > > is hard to debug and even harder to apply any fixes to it. > > > > Instead, build our own QEMU as one of our test-artifacts, which are only > > built once, then imported into each pipeline via phony jobs. Use the > > provided qemu-system-aarch64 binary for our arm64 tests. > > > > > > Stefano Stabellini (3): > > automation: add qemu-system-aarch64 to test-artifacts > > automation: add a job to import qemu-system-aarch64 into the pipeline > > automation: use test-artifacts/qemu-system-aarch64 instead of Debian's > > Acked-by: Wei Liu <wl@xen.org> > > I do wonder if there is a way to not build QEMU during every pipeline > run though... It does not build QEMU every pipeline! It only imports it into the pipeline by copying the QEMU binary from a container. The container with the QEMU binary is not built every time. We could build it once a month or so like the build containers.