* [PATCH] cirrus-ci: parallelize "make check"
@ 2020-11-18 10:18 Paolo Bonzini
2020-11-18 12:49 ` Alex Bennée
0 siblings, 1 reply; 3+ messages in thread
From: Paolo Bonzini @ 2020-11-18 10:18 UTC (permalink / raw)
To: qemu-devel; +Cc: alex.bennee
Otherwise, the tests risk failing due to timeouts.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
.cirrus.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.cirrus.yml b/.cirrus.yml
index f0209b7a3e..111e19f1bf 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -29,7 +29,7 @@ macos_task:
--extra-cflags='-Wno-error=deprecated-declarations'
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
- gmake -j$(sysctl -n hw.ncpu)
- - gmake check V=1
+ - gmake -j$(sysctl -n hw.ncpu) check V=1
macos_xcode_task:
osx_instance:
@@ -43,7 +43,7 @@ macos_xcode_task:
- ../configure --extra-cflags='-Wno-error=deprecated-declarations' --enable-modules
--enable-werror --cc=clang || { cat config.log meson-logs/meson-log.txt; exit 1; }
- gmake -j$(sysctl -n hw.ncpu)
- - gmake check V=1
+ - gmake -j$(sysctl -n hw.ncpu) check V=1
windows_msys2_task:
timeout_in: 90m
--
2.28.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] cirrus-ci: parallelize "make check"
2020-11-18 10:18 [PATCH] cirrus-ci: parallelize "make check" Paolo Bonzini
@ 2020-11-18 12:49 ` Alex Bennée
2020-11-18 13:43 ` Paolo Bonzini
0 siblings, 1 reply; 3+ messages in thread
From: Alex Bennée @ 2020-11-18 12:49 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: qemu-devel
Paolo Bonzini <pbonzini@redhat.com> writes:
> Otherwise, the tests risk failing due to timeouts.
This is a reversion of what we used to do because it's very hard to
figure out which test broke when they are all mixed together. Maybe we
could just up the timeouts.
That said the timeouts seem a bit random with macos taking around 53
minutes and macos_xcode taking less at around 44 unless they get "stuck".
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> .cirrus.yml | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/.cirrus.yml b/.cirrus.yml
> index f0209b7a3e..111e19f1bf 100644
> --- a/.cirrus.yml
> +++ b/.cirrus.yml
> @@ -29,7 +29,7 @@ macos_task:
> --extra-cflags='-Wno-error=deprecated-declarations'
> || { cat config.log meson-logs/meson-log.txt; exit 1; }
> - gmake -j$(sysctl -n hw.ncpu)
> - - gmake check V=1
> + - gmake -j$(sysctl -n hw.ncpu) check V=1
>
> macos_xcode_task:
> osx_instance:
> @@ -43,7 +43,7 @@ macos_xcode_task:
> - ../configure --extra-cflags='-Wno-error=deprecated-declarations' --enable-modules
> --enable-werror --cc=clang || { cat config.log meson-logs/meson-log.txt; exit 1; }
> - gmake -j$(sysctl -n hw.ncpu)
> - - gmake check V=1
> + - gmake -j$(sysctl -n hw.ncpu) check V=1
>
> windows_msys2_task:
> timeout_in: 90m
--
Alex Bennée
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] cirrus-ci: parallelize "make check"
2020-11-18 12:49 ` Alex Bennée
@ 2020-11-18 13:43 ` Paolo Bonzini
0 siblings, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2020-11-18 13:43 UTC (permalink / raw)
To: Alex Bennée; +Cc: qemu-devel
On 18/11/20 13:49, Alex Bennée wrote:
>
> Paolo Bonzini <pbonzini@redhat.com> writes:
>
>> Otherwise, the tests risk failing due to timeouts.
>
> This is a reversion of what we used to do because it's very hard to
> figure out which test broke when they are all mixed together. Maybe we
> could just up the timeouts.
Ah, I see. Yeah, that's a problem too. :(
> That said the timeouts seem a bit random with macos taking around 53
> minutes and macos_xcode taking less at around 44 unless they get "stuck".
Yes, Cirrus load varies quite a bit.
Paolo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-18 13:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-18 10:18 [PATCH] cirrus-ci: parallelize "make check" Paolo Bonzini
2020-11-18 12:49 ` Alex Bennée
2020-11-18 13:43 ` Paolo Bonzini
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).