* [PATCH] gitlab-ci: adjust msys2-64bit to be able to run qtest
@ 2024-05-03 12:15 Paolo Bonzini
2024-05-03 12:29 ` Daniel P. Berrangé
0 siblings, 1 reply; 3+ messages in thread
From: Paolo Bonzini @ 2024-05-03 12:15 UTC (permalink / raw)
To: qemu-devel
sparc-softmmu is able to run a subset of qtests when compiled --without-default-devices,
so use it instead of x86_64-softmmu for the msys2 run.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
.gitlab-ci.d/windows.yml | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/.gitlab-ci.d/windows.yml b/.gitlab-ci.d/windows.yml
index 94834269ec7..d26dbdd0c0d 100644
--- a/.gitlab-ci.d/windows.yml
+++ b/.gitlab-ci.d/windows.yml
@@ -24,10 +24,7 @@ msys2-64bit:
# changed to compile QEMU with the --without-default-devices switch
# for this job, because otherwise the build could not complete within
# the project timeout.
- CONFIGURE_ARGS: --target-list=x86_64-softmmu --without-default-devices -Ddebug=false -Doptimization=0
- # qTests don't run successfully with "--without-default-devices",
- # so let's exclude the qtests from CI for now.
- TEST_ARGS: --no-suite qtest
+ CONFIGURE_ARGS: --target-list=sparc-softmmu --without-default-devices -Ddebug=false -Doptimization=0
# The Windows git is a bit older so override the default
GIT_FETCH_EXTRA_FLAGS: --no-tags --prune --quiet
artifacts:
--
2.44.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] gitlab-ci: adjust msys2-64bit to be able to run qtest
2024-05-03 12:15 [PATCH] gitlab-ci: adjust msys2-64bit to be able to run qtest Paolo Bonzini
@ 2024-05-03 12:29 ` Daniel P. Berrangé
2024-05-03 13:37 ` Paolo Bonzini
0 siblings, 1 reply; 3+ messages in thread
From: Daniel P. Berrangé @ 2024-05-03 12:29 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: qemu-devel
On Fri, May 03, 2024 at 02:15:09PM +0200, Paolo Bonzini wrote:
> sparc-softmmu is able to run a subset of qtests when compiled --without-default-devices,
> so use it instead of x86_64-softmmu for the msys2 run.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> .gitlab-ci.d/windows.yml | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/.gitlab-ci.d/windows.yml b/.gitlab-ci.d/windows.yml
> index 94834269ec7..d26dbdd0c0d 100644
> --- a/.gitlab-ci.d/windows.yml
> +++ b/.gitlab-ci.d/windows.yml
> @@ -24,10 +24,7 @@ msys2-64bit:
> # changed to compile QEMU with the --without-default-devices switch
> # for this job, because otherwise the build could not complete within
> # the project timeout.
> - CONFIGURE_ARGS: --target-list=x86_64-softmmu --without-default-devices -Ddebug=false -Doptimization=0
> - # qTests don't run successfully with "--without-default-devices",
> - # so let's exclude the qtests from CI for now.
> - TEST_ARGS: --no-suite qtest
> + CONFIGURE_ARGS: --target-list=sparc-softmmu --without-default-devices -Ddebug=false -Doptimization=0
We have compile coverage of x86_64-softmmu on the cross-win64 mingw
job. So we're not loosing any compile coverage in aggregate with
this change, in fact we improve it by compiling sparc here.
The msys2-64bit job currently takes 50mins wallclock just to compile
and run unit tests though, which is quite long already.
What's the new running time when you enable qtest too ?
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] gitlab-ci: adjust msys2-64bit to be able to run qtest
2024-05-03 12:29 ` Daniel P. Berrangé
@ 2024-05-03 13:37 ` Paolo Bonzini
0 siblings, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2024-05-03 13:37 UTC (permalink / raw)
To: Daniel P. Berrangé; +Cc: qemu-devel
On Fri, May 3, 2024 at 2:29 PM Daniel P. Berrangé <berrange@redhat.com> wrote:
> We have compile coverage of x86_64-softmmu on the cross-win64 mingw
> job. So we're not loosing any compile coverage in aggregate with
> this change, in fact we improve it by compiling sparc here.
>
> The msys2-64bit job currently takes 50mins wallclock just to compile
> and run unit tests though, which is quite long already.
>
> What's the new running time when you enable qtest too ?
It's very variable. The run I did to test it
(https://gitlab.com/bonzini/qemu/-/jobs/6773108916) took 80 minutes,
but it seemed to be a slow one. Yesterday afternoon I had a run that
took 80 minutes and failed the build (so it didn't run "make check" at
all).
There are just a dozen qtests that run, the useful part is checking
that you can run qtests at all under Windows.
Paolo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-03 13:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-03 12:15 [PATCH] gitlab-ci: adjust msys2-64bit to be able to run qtest Paolo Bonzini
2024-05-03 12:29 ` Daniel P. Berrangé
2024-05-03 13:37 ` Paolo Bonzini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.