Message ID | 20180608123307.24773-50-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show |
Series | fix building of tests/tcg | expand |
Hi Alex, On 06/08/2018 09:33 AM, Alex Bennée wrote: > Signed-off-by: Alex Bennée <alex.bennee@linaro.org> > --- > .travis.yml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/.travis.yml b/.travis.yml > index 814be151f4..f1d2d9edec 100644 > --- a/.travis.yml > +++ b/.travis.yml > @@ -152,3 +152,9 @@ matrix: > - TEST_CMD="" > before_script: > - ./configure ${CONFIG} --extra-cflags="-g3 -O0 -fsanitize=thread -fuse-ld=gold" || cat config.log > + - env: > + - CONFIG="--disable-system --disable-docs" > + - TEST_CMD="make check-tcg" Since we have default MAKEFLAGS="-j3" I'm getting many failures: CROSS-BUILD ppc64le guest-tests with docker qemu:debian-ppc64el-cross BUILD debian-riscv64-cross BUILD debian-s390x-cross CROSS-BUILD riscv64 guest-tests with docker qemu:debian-riscv64-cross CROSS-BUILD s390x guest-tests with docker qemu:debian-s390x-cross Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/home/travis/qemu/tests/docker/docker.py", line 174, in _kill_instances return self._do_kill_instances(True) File "/home/travis/qemu/tests/docker/docker.py", line 154, in _do_kill_instances resp = self._output(["inspect", i]) File "/home/travis/qemu/tests/docker/docker.py", line 179, in _output **kwargs) File "/usr/lib/python2.7/subprocess.py", line 223, in check_output raise CalledProcessError(retcode, cmd, output=output) CalledProcessError: Command '['docker', 'inspect', 'c71dbe973c55']' returned non-zero exit status 1 Error in sys.exitfunc: Traceback (most recent call last): File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/home/travis/qemu/tests/docker/docker.py", line 174, in _kill_instances return self._do_kill_instances(True) File "/home/travis/qemu/tests/docker/docker.py", line 154, in _do_kill_instances resp = self._output(["inspect", i]) File "/home/travis/qemu/tests/docker/docker.py", line 179, in _output **kwargs) File "/usr/lib/python2.7/subprocess.py", line 223, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '['docker', 'inspect', 'c71dbe973c55']' returned non-zero exit status 1 BUILD debian-sid GEN sh4eb-linux-user/config-target.h CROSS-BUILD sh4eb guest-tests SKIPPED CROSS-BUILD sparc guest-tests SKIPPED GEN sparc32plus-linux-user/config-target.h CROSS-BUILD sparc32plus guest-tests SKIPPED BUILD debian-sid This works fine adding: - MAKEFLAGS="-j1" Adding MAKEFLAGS="-j1": Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > + sudo: required > + dist: trusty > + compiler: gcc >
Philippe Mathieu-Daudé <f4bug@amsat.org> writes: > Hi Alex, > > On 06/08/2018 09:33 AM, Alex Bennée wrote: >> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> >> --- >> .travis.yml | 6 ++++++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/.travis.yml b/.travis.yml >> index 814be151f4..f1d2d9edec 100644 >> --- a/.travis.yml >> +++ b/.travis.yml >> @@ -152,3 +152,9 @@ matrix: >> - TEST_CMD="" >> before_script: >> - ./configure ${CONFIG} --extra-cflags="-g3 -O0 -fsanitize=thread -fuse-ld=gold" || cat config.log >> + - env: >> + - CONFIG="--disable-system --disable-docs" >> + - TEST_CMD="make check-tcg" > > Since we have default MAKEFLAGS="-j3" > > I'm getting many failures: > > CROSS-BUILD ppc64le guest-tests with docker qemu:debian-ppc64el-cross > BUILD debian-riscv64-cross > BUILD debian-s390x-cross > CROSS-BUILD riscv64 guest-tests with docker qemu:debian-riscv64-cross > CROSS-BUILD s390x guest-tests with docker qemu:debian-s390x-cross > Error in atexit._run_exitfuncs: > Traceback (most recent call last): > File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs > func(*targs, **kargs) > File "/home/travis/qemu/tests/docker/docker.py", line 174, in > _kill_instances > return self._do_kill_instances(True) > File "/home/travis/qemu/tests/docker/docker.py", line 154, in > _do_kill_instances > resp = self._output(["inspect", i]) > File "/home/travis/qemu/tests/docker/docker.py", line 179, in _output > **kwargs) > File "/usr/lib/python2.7/subprocess.py", line 223, in check_output > raise CalledProcessError(retcode, cmd, output=output) > CalledProcessError: Command '['docker', 'inspect', 'c71dbe973c55']' > returned non-zero exit status 1 > Error in sys.exitfunc: > Traceback (most recent call last): > File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs > func(*targs, **kargs) > File "/home/travis/qemu/tests/docker/docker.py", line 174, in > _kill_instances > return self._do_kill_instances(True) > File "/home/travis/qemu/tests/docker/docker.py", line 154, in > _do_kill_instances > resp = self._output(["inspect", i]) > File "/home/travis/qemu/tests/docker/docker.py", line 179, in _output > **kwargs) > File "/usr/lib/python2.7/subprocess.py", line 223, in check_output > raise CalledProcessError(retcode, cmd, output=output) > subprocess.CalledProcessError: Command '['docker', 'inspect', > 'c71dbe973c55']' returned non-zero exit status 1 > BUILD debian-sid > GEN sh4eb-linux-user/config-target.h > CROSS-BUILD sh4eb guest-tests SKIPPED > CROSS-BUILD sparc guest-tests SKIPPED > GEN sparc32plus-linux-user/config-target.h > CROSS-BUILD sparc32plus guest-tests SKIPPED > BUILD debian-sid > > This works fine adding: > > - MAKEFLAGS="-j1" Hmm I would really like to get this working properly. But I thought I did by building everything at the top level. I messed around with conditional dependencies currently in: https://github.com/stsquad/qemu/tree/testing/tcg-testing-revival-v7 To try and make this better. > > Adding MAKEFLAGS="-j1": > Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > >> + sudo: required >> + dist: trusty >> + compiler: gcc >> -- Alex Bennée
diff --git a/.travis.yml b/.travis.yml index 814be151f4..f1d2d9edec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -152,3 +152,9 @@ matrix: - TEST_CMD="" before_script: - ./configure ${CONFIG} --extra-cflags="-g3 -O0 -fsanitize=thread -fuse-ld=gold" || cat config.log + - env: + - CONFIG="--disable-system --disable-docs" + - TEST_CMD="make check-tcg" + sudo: required + dist: trusty + compiler: gcc
Signed-off-by: Alex Bennée <alex.bennee@linaro.org> --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.17.1