Skip to contentSkip to conversation

Travis speed-up

GIT PULL Applied Alex Bennée 4 participants 8 messages Feb 9, 2018 – Mar 13, 2018

lore
Share & tools
lore
#0 lore raw

The following changes since commit 04bb7fe2bf55bdf66d5b7a5a719b40bbb4048178:

Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20180208' into staging (2018-02-08 17:41:15 +0000)

are available in the Git repository at:

https://github.com/stsquad/qemu.git tags/pull-travis-speedup-090218-1

for you to fetch changes up to 04200a1674bfc20784f1fc105cbc22bd9be779e8:

  .travis.yml: add --disable-linux-user for some jobs (2018-02-09 14:09:24 +0000)

----------------------------------------------------------------
One patch to mitigate Travis timeouts

----------------------------------------------------------------
Alex Bennée (1):

      .travis.yml: add --disable-linux-user for some jobs
 .travis.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.15.1
#1 lore raw

[Qemu-devel] [PULL 1/1] .travis.yml: add --disable-linux-user for some jobs

The modules and co-routine builds are only really relevant to softmmu builds and regularly timeout on Travis. Let's disable linux-user builds here for more headroom.

.travis.yml +3 -3
index 01a57399b5..0dd5020552 100644
@@ -52,9 +52,9 @@ env:
     - CONFIG=""
     - CONFIG="--enable-debug --enable-debug-tcg --enable-trace-backends=log"
     - CONFIG="--disable-linux-aio --disable-cap-ng --disable-attr --disable-brlapi --disable-uuid --disable-libusb"
-    - CONFIG="--enable-modules"
-    - CONFIG="--with-coroutine=ucontext"
-    - CONFIG="--with-coroutine=sigaltstack"
+    - CONFIG="--enable-modules --disable-linux-user"
+    - CONFIG="--with-coroutine=ucontext --disable-linux-user"
+    - CONFIG="--with-coroutine=sigaltstack --disable-linux-user"
 git:
   # we want to do this ourselves
   submodules: false
Signature · 1 line
2.15.1
#2 lore raw

Re: [Qemu-devel] [PULL 1/1] .travis.yml: add --disable-linux-user for some jobs

Quoted 13 lines · Alex Bennée

The modules and co-routine builds are only really relevant to softmmu builds and regularly timeout on Travis. Let's disable linux-user builds here for more headroom.

.travis.yml +0 -0
index 01a57399b5..0dd5020552 100644

.travis.yml env: · line 57

Quoted 9 lines
.travis.yml +3 -3
@@ -52,9 +52,9 @@ env:
     - CONFIG=""
     - CONFIG="--enable-debug --enable-debug-tcg --enable-trace-backends=log"
     - CONFIG="--disable-linux-aio --disable-cap-ng --disable-attr --disable-brlapi --disable-uuid --disable-libusb"
-    - CONFIG="--enable-modules"
-    - CONFIG="--with-coroutine=ucontext"
-    - CONFIG="--with-coroutine=sigaltstack"
+    - CONFIG="--enable-modules --disable-linux-user"
+    - CONFIG="--with-coroutine=ucontext --disable-linux-user"
+    - CONFIG="--with-coroutine=sigaltstack --disable-linux-user"

Since this merged, the 4th, 5th & 6th jobs are now reliably completing in time, but the 1st and 3rd jobs are hitting timeouts on the majority of runs :-(

We've already got a lot of jobs, but for sake of reliability should we consider splitting the 1st & 3rd jobs. Add --disable-linux-user to both of the existing jobs, and then adding 2 new jobs with --disable-system and --disable-tools set ?

Regards,
Daniel

Signature · 3 lines
|: 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 :|
#3 lore raw

Re: [Qemu-devel] [PULL 1/1] .travis.yml: add --disable-linux-user for some jobs

Quoted 14 lines · Daniel P. Berrangé

.travis.yml env: · line 57

Quoted 10 lines
.travis.yml +3 -3
@@ -52,9 +52,9 @@ env:
     - CONFIG=""
     - CONFIG="--enable-debug --enable-debug-tcg --enable-trace-backends=log"
     - CONFIG="--disable-linux-aio --disable-cap-ng --disable-attr --disable-brlapi --disable-uuid --disable-libusb"
-    - CONFIG="--enable-modules"
-    - CONFIG="--with-coroutine=ucontext"
-    - CONFIG="--with-coroutine=sigaltstack"
+    - CONFIG="--enable-modules --disable-linux-user"
+    - CONFIG="--with-coroutine=ucontext --disable-linux-user"
+    - CONFIG="--with-coroutine=sigaltstack --disable-linux-user"

Since this merged, the 4th, 5th & 6th jobs are now reliably completing in time, but the 1st and 3rd jobs are hitting timeouts on the majority of runs :-(

Quoted 4 lines

We've already got a lot of jobs, but for sake of reliability should we consider splitting the 1st & 3rd jobs. Add --disable-linux-user to both of the existing jobs, and then adding 2 new jobs with --disable-system and --disable-tools set ?

Out of curiosity, why do we need the third job at all? And --enable-trace-backends=log is the default, so "--enable-debug --enable-debug-tcg" should be enough.

Paolo

#4 lore raw

Re: [Qemu-devel] [PULL 1/1] .travis.yml: add --disable-linux-user for some jobs

Quoted 15 lines · Paolo Bonzini
Quoted 14 lines · Daniel P. Berrangé

.travis.yml env: · line 57

Quoted 10 lines
.travis.yml +3 -3
@@ -52,9 +52,9 @@ env:
     - CONFIG=""
     - CONFIG="--enable-debug --enable-debug-tcg --enable-trace-backends=log"
     - CONFIG="--disable-linux-aio --disable-cap-ng --disable-attr --disable-brlapi --disable-uuid --disable-libusb"
-    - CONFIG="--enable-modules"
-    - CONFIG="--with-coroutine=ucontext"
-    - CONFIG="--with-coroutine=sigaltstack"
+    - CONFIG="--enable-modules --disable-linux-user"
+    - CONFIG="--with-coroutine=ucontext --disable-linux-user"
+    - CONFIG="--with-coroutine=sigaltstack --disable-linux-user"

Since this merged, the 4th, 5th & 6th jobs are now reliably completing in time, but the 1st and 3rd jobs are hitting timeouts on the majority of runs :-(

Quoted 8 lines
Quoted 4 lines

We've already got a lot of jobs, but for sake of reliability should we consider splitting the 1st & 3rd jobs. Add --disable-linux-user to both of the existing jobs, and then adding 2 new jobs with --disable-system and --disable-tools set ?

Out of curiosity, why do we need the third job at all? And --enable-trace-backends=log is the default, so "--enable-debug --enable-debug-tcg" should be enough.

Presumably that is intended to validate that code still builds correctly when various optional features are turned off, by exercising different codepaths in the countless #ifdef HAVE_$FEATURE conditionals we have.

Regards,
Daniel

Signature · 3 lines
|: 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 :|
#5 lore raw

Re: [Qemu-devel] [PULL 1/1] .travis.yml: add --disable-linux-user for some jobs

In reply to Daniel P. Berrangé
Quoted 19 lines · Daniel P. Berrangé
Quoted 18 lines · Alex Bennée

The modules and co-routine builds are only really relevant to softmmu builds and regularly timeout on Travis. Let's disable linux-user builds here for more headroom.

.travis.yml +0 -2
index 01a57399b5..0dd5020552 100644
@@ -52,9 +52,9 @@ env:
     - CONFIG=""
     - CONFIG="--enable-debug --enable-debug-tcg --enable-trace-backends=log"
     - CONFIG="--disable-linux-aio --disable-cap-ng --disable-attr --disable-brlapi --disable-uuid --disable-libusb"
-    - CONFIG="--enable-modules"
-    - CONFIG="--with-coroutine=ucontext"
Quoted 8 lines

.travis.yml env: · line 57

Quoted 4 lines
.travis.yml +3 -1
-    - CONFIG="--with-coroutine=sigaltstack"
+    - CONFIG="--enable-modules --disable-linux-user"
+    - CONFIG="--with-coroutine=ucontext --disable-linux-user"
+    - CONFIG="--with-coroutine=sigaltstack --disable-linux-user"

Since this merged, the 4th, 5th & 6th jobs are now reliably completing in time, but the 1st and 3rd jobs are hitting timeouts on the majority of runs :-(

Yeah it's certainly a problem as QEMU has grown. The original .travis.yml split things up across architecture lines but we removed that in favour of "feature" selection.

Quoted 4 lines

We've already got a lot of jobs, but for sake of reliability should we consider splitting the 1st & 3rd jobs. Add --disable-linux-user to both of the existing jobs, and then adding 2 new jobs with --disable-system and --disable-tools set ?

Good idea. I don't suppose you've already tried this?

Quoted 3 lines

Regards,
Daniel

--
Alex Bennée

#6 lore raw

Re: [Qemu-devel] [PULL 1/1] .travis.yml: add --disable-linux-user for some jobs

Quoted 35 lines · Alex Bennée
Quoted 19 lines · Daniel P. Berrangé
Quoted 18 lines · Alex Bennée

The modules and co-routine builds are only really relevant to softmmu builds and regularly timeout on Travis. Let's disable linux-user builds here for more headroom.

.travis.yml +0 -2
index 01a57399b5..0dd5020552 100644
@@ -52,9 +52,9 @@ env:
     - CONFIG=""
     - CONFIG="--enable-debug --enable-debug-tcg --enable-trace-backends=log"
     - CONFIG="--disable-linux-aio --disable-cap-ng --disable-attr --disable-brlapi --disable-uuid --disable-libusb"
-    - CONFIG="--enable-modules"
-    - CONFIG="--with-coroutine=ucontext"
Quoted 8 lines

.travis.yml env: · line 57

Quoted 4 lines
.travis.yml +3 -1
-    - CONFIG="--with-coroutine=sigaltstack"
+    - CONFIG="--enable-modules --disable-linux-user"
+    - CONFIG="--with-coroutine=ucontext --disable-linux-user"
+    - CONFIG="--with-coroutine=sigaltstack --disable-linux-user"

Since this merged, the 4th, 5th & 6th jobs are now reliably completing in time, but the 1st and 3rd jobs are hitting timeouts on the majority of runs :-(

Yeah it's certainly a problem as QEMU has grown. The original .travis.yml split things up across architecture lines but we removed that in favour of "feature" selection.

Quoted 6 lines
Quoted 4 lines

We've already got a lot of jobs, but for sake of reliability should we consider splitting the 1st & 3rd jobs. Add --disable-linux-user to both of the existing jobs, and then adding 2 new jobs with --disable-system and --disable-tools set ?

Good idea. I don't suppose you've already tried this?

No, I've not gone beyond quickly writing this previous mail :-)

Regards,
Daniel

Signature · 3 lines
|: 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 :|
#7 lore raw
In reply to Alex Bennée
Quoted 15 lines · Alex Bennée

The following changes since commit 04bb7fe2bf55bdf66d5b7a5a719b40bbb4048178:

Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20180208' into staging (2018-02-08 17:41:15 +0000)

are available in the Git repository at:

https://github.com/stsquad/qemu.git tags/pull-travis-speedup-090218-1

for you to fetch changes up to 04200a1674bfc20784f1fc105cbc22bd9be779e8:

  .travis.yml: add --disable-linux-user for some jobs (2018-02-09 14:09:24 +0000)

----------------------------------------------------------------
One patch to mitigate Travis timeouts

Quoted 7 lines

----------------------------------------------------------------
Alex Bennée (1):

      .travis.yml: add --disable-linux-user for some jobs
 .travis.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

-- PMM