[Qa-jenkins-scm] Build failed in Jenkins: reproducible_reprotest_from_git_master #91
jenkins at jenkins.debian.net
jenkins at jenkins.debian.net
Fri Oct 27 00:26:13 UTC 2017
See <https://jenkins.debian.net/job/reproducible_reprotest_from_git_master/91/display/redirect?page=changes>
Changes:
[infinity0] doc: fix title
[infinity0] main: fix logging
------------------------------------------
[...truncated 280.97 KB...]
creating /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/virt
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/virt/autopkgtest-virt-ssh -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/virt
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/virt/autopkgtest-virt-schroot -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/virt
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/virt/autopkgtest-virt-qemu -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/virt
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/virt/autopkgtest-virt-null -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/virt
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/virt/autopkgtest-virt-lxd -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/virt
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/virt/autopkgtest-virt-lxc -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/virt
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/virt/autopkgtest-virt-chroot -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/virt
creating /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/lib
creating /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/lib/system_interface
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/lib/system_interface/__init__.py -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/lib/system_interface
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/lib/system_interface/arch.py -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/lib/system_interface
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/lib/system_interface/debian.py -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/lib/system_interface
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/lib/VirtSubproc.py -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/lib
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/lib/__init__.py -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/lib
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/lib/adt_testbed.py -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/lib
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/lib/adtlog.py -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/lib
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/__init__.py -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/__main__.py -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/build.py -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/environ.py -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/mdiffconf.py -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/presets.py -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/shell_syn.py -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest
copying /tmp/testrun/.pybuild/pythonX.Y_3.6/build/reprotest/utils.py -> /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest
byte-compiling /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/lib/system_interface/__init__.py to __init__.cpython-36.pyc
byte-compiling /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/lib/system_interface/arch.py to arch.cpython-36.pyc
byte-compiling /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/lib/system_interface/debian.py to debian.cpython-36.pyc
byte-compiling /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/lib/VirtSubproc.py to VirtSubproc.cpython-36.pyc
byte-compiling /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/lib/__init__.py to __init__.cpython-36.pyc
byte-compiling /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/lib/adt_testbed.py to adt_testbed.cpython-36.pyc
byte-compiling /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/lib/adtlog.py to adtlog.cpython-36.pyc
byte-compiling /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/__init__.py to __init__.cpython-36.pyc
byte-compiling /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/__main__.py to __main__.cpython-36.pyc
byte-compiling /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/build.py to build.cpython-36.pyc
byte-compiling /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/environ.py to environ.cpython-36.pyc
byte-compiling /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/mdiffconf.py to mdiffconf.cpython-36.pyc
byte-compiling /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/presets.py to presets.cpython-36.pyc
byte-compiling /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/shell_syn.py to shell_syn.cpython-36.pyc
byte-compiling /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest/utils.py to utils.cpython-36.pyc
running install_egg_info
Copying reprotest.egg-info to /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/lib/python3.6/dist-packages/reprotest-0.7.4.egg-info
Skipping SOURCES.txt
running install_scripts
Installing reprotest script to /tmp/reprotest.Jhghji/build-experiment-1/debian/reprotest/usr/bin
dh_installdocs -O--buildsystem=pybuild
dh_installchangelogs -O--buildsystem=pybuild
dh_installman -O--buildsystem=pybuild
dh_python3 -O--buildsystem=pybuild
dh_perl -O--buildsystem=pybuild
dh_link -O--buildsystem=pybuild
dh_strip_nondeterminism -O--buildsystem=pybuild
dh_compress -O--buildsystem=pybuild
dh_fixperms -O--buildsystem=pybuild
dh_missing -O--buildsystem=pybuild
dh_installdeb -O--buildsystem=pybuild
dh_gencontrol -O--buildsystem=pybuild
dh_md5sums -O--buildsystem=pybuild
dh_builddeb -O--buildsystem=pybuild
dpkg-deb: building package 'reprotest' in '../reprotest_0.7.4_all.deb'.
dpkg-genbuildinfo --build=binary
dpkg-genchanges --build=binary >../reprotest_0.7.4_amd64.changes
dpkg-genchanges: info: envoi des binaires seulement (le code source n'est pas inclus)
dpkg-source --after-build build-experiment-1
dpkg-buildpackage: info: envoi d'un binaire seulement (aucune inclusion de code source)
=======================
Reproduction successful
=======================
No differences in ./../*.deb
12f42ebdcf4b5b0812bc14c689a512f36847ea3978ee7c296a7202eec8250d0d ./../reprotest_0.7.4_all.deb
However, other factors may still make the build unreproducible; try re-running with --vary=+all.
..
tests/test_shell.py ..
=================================== FAILURES ===================================
___________________________ test_simple_builds[null] ___________________________
virtual_server = ['null']
def test_simple_builds(virtual_server):
check_reproducibility('python3 mock_build.py', virtual_server, True)
with pytest.raises(Exception):
check_reproducibility('python3 mock_failure.py', virtual_server)
> check_reproducibility('python3 mock_build.py irreproducible', virtual_server, False)
tests/test_reprotest.py:59:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_reprotest.py:27: in check_reproducibility
Variations.of(VariationSpec.default(TEST_VARIATIONS)))
reprotest/__init__.py:352: in check
local_dists = [proc.send(nv) for nv in zip(bnames, build_variations)]
reprotest/__init__.py:352: in <listcomp>
local_dists = [proc.send(nv) for nv in zip(bnames, build_variations)]
reprotest/__init__.py:318: in corun_builds
bctx.run_build(testbed, build, os.environ, artifact_pattern, testbed_build_pre, no_clean_on_error)
reprotest/__init__.py:212: in run_build
kind='build')
reprotest/__init__.py:64: in check_exec2
adtlog.AutopkgtestError)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <reprotest.Testbed object at 0x7f640d5ba940>
m = '"su -s /bin/sh root -c set -e; run_build() {\n mkdir -p /tmp/reprotest.Snm9WM/build-control-aux && \\\n mv /tmp...anup ); then :; else echo >&2 "cleanup failed with exit code $?"; fi;\n fi\n exit $__x\nfi" failed with status 1'
_type = <class 'reprotest.lib.adtlog.AutopkgtestError'>
def bomb(self, m, _type=adtlog.TestbedFailure):
adtlog.debug('%s %s' % (_type.__name__, m))
#self.stop() # don't stop when bombing, so we can control it via no_clean_on_error
> raise _type(m)
E reprotest.lib.adtlog.AutopkgtestError: "su -s /bin/sh root -c set -e; run_build() {
E mkdir -p /tmp/reprotest.Snm9WM/build-control-aux && \
E mv /tmp/reprotest.Snm9WM/build-control/ /tmp/reprotest.Snm9WM/const_build_path && \
E umask 0022 && \
E export REPROTEST_BUILD_PATH=/tmp/reprotest.Snm9WM/const_build_path/ && \
E export REPROTEST_UMASK=$(umask) && \
E linux64 --uname-2.6 \
E sh -ec 'cd "$REPROTEST_BUILD_PATH"; unset REPROTEST_BUILD_PATH; umask "$REPROTEST_UMASK"; unset REPROTEST_UMASK; python3 mock_build.py irreproducible'
E }
E
E cleanup() {
E __c=0; \
E mv /tmp/reprotest.Snm9WM/const_build_path /tmp/reprotest.Snm9WM/build-control/ || __c=$?; \
E rm -rf /tmp/reprotest.Snm9WM/build-control-aux || __c=$?; \
E exit $__c
E }
E
E trap '( cleanup )' HUP INT QUIT ABRT TERM PIPE # FIXME doesn't quite work reliably yet
E
E if ( run_build ); then ( cleanup ); else
E __x=$?; # save the exit code of run_build
E if ( ! false ); then
E if ( cleanup ); then :; else echo >&2 "cleanup failed with exit code $?"; fi;
E fi
E exit $__x
E fi" failed with status 1
reprotest/__init__.py:70: AutopkgtestError
__________________________ test_variations[null-home] __________________________
virtual_server = ['null'], captures = 'home'
@pytest.mark.parametrize('captures', list(VARIATIONS.keys()))
def test_variations(virtual_server, captures):
expected = captures not in TEST_VARIATIONS
with setup_logging(True):
> check_reproducibility('python3 mock_build.py ' + captures, virtual_server, expected)
tests/test_reprotest.py:90:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
command = 'python3 mock_build.py home', virtual_server = ['null']
reproducible = False
def check_reproducibility(command, virtual_server, reproducible):
result = reprotest.check(
reprotest.TestArgs.of(command, 'tests', 'artifact', diffoscope_args=[]),
reprotest.TestbedArgs.of(virtual_server),
Variations.of(VariationSpec.default(TEST_VARIATIONS)))
> assert result == reproducible
E assert True == False
tests/test_reprotest.py:28: AssertionError
_______________________ test_variations[null-exec_path] ________________________
virtual_server = ['null'], captures = 'exec_path'
@pytest.mark.parametrize('captures', list(VARIATIONS.keys()))
def test_variations(virtual_server, captures):
expected = captures not in TEST_VARIATIONS
with setup_logging(True):
> check_reproducibility('python3 mock_build.py ' + captures, virtual_server, expected)
tests/test_reprotest.py:90:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
command = 'python3 mock_build.py exec_path', virtual_server = ['null']
reproducible = False
def check_reproducibility(command, virtual_server, reproducible):
result = reprotest.check(
reprotest.TestArgs.of(command, 'tests', 'artifact', diffoscope_args=[]),
reprotest.TestbedArgs.of(virtual_server),
Variations.of(VariationSpec.default(TEST_VARIATIONS)))
> assert result == reproducible
E assert True == False
tests/test_reprotest.py:28: AssertionError
==================== 3 failed, 16 passed in 109.56 seconds =====================
usage: reprotest --help [<virtual_server_name>]
reprotest [options] [-c <build-command>] <source_root> [<artifact_pattern>]
[-- <virtual_server_args> [<virtual_server_args> ...]]
reprotest [options] [-s <source_root>] <build_command> [<artifact_pattern>]
[-- <virtual_server_args> [<virtual_server_args> ...]]
reprotest: error: unrecognized arguments: -d
usage: reprotest --help [<virtual_server_name>]
reprotest [options] [-c <build-command>] <source_root> [<artifact_pattern>]
[-- <virtual_server_args> [<virtual_server_args> ...]]
reprotest [options] [-s <source_root>] <build_command> [<artifact_pattern>]
[-- <virtual_server_args> [<virtual_server_args> ...]]
reprotest: error: unrecognized arguments: null -d
usage: reprotest --help [<virtual_server_name>]
reprotest [options] [-c <build-command>] <source_root> [<artifact_pattern>]
[-- <virtual_server_args> [<virtual_server_args> ...]]
reprotest [options] [-s <source_root>] <build_command> [<artifact_pattern>]
[-- <virtual_server_args> [<virtual_server_args> ...]]
reprotest: error: unrecognized arguments: null -d
usage: reprotest --help [<virtual_server_name>]
reprotest [options] [-c <build-command>] <source_root> [<artifact_pattern>]
[-- <virtual_server_args> [<virtual_server_args> ...]]
reprotest [options] [-s <source_root>] <build_command> [<artifact_pattern>]
[-- <virtual_server_args> [<virtual_server_args> ...]]
reprotest: error: unrecognized arguments: -d
usage: reprotest --help [<virtual_server_name>]
reprotest [options] [-c <build-command>] <source_root> [<artifact_pattern>]
[-- <virtual_server_args> [<virtual_server_args> ...]]
reprotest [options] [-s <source_root>] <build_command> [<artifact_pattern>]
[-- <virtual_server_args> [<virtual_server_args> ...]]
reprotest: error: unrecognized arguments: -d
usage: reprotest --help [<virtual_server_name>]
reprotest [options] [-c <build-command>] <source_root> [<artifact_pattern>]
[-- <virtual_server_args> [<virtual_server_args> ...]]
reprotest [options] [-s <source_root>] <build_command> [<artifact_pattern>]
[-- <virtual_server_args> [<virtual_server_args> ...]]
reprotest: error: unrecognized arguments: null -d
usage: reprotest --help [<virtual_server_name>]
reprotest [options] [-c <build-command>] <source_root> [<artifact_pattern>]
[-- <virtual_server_args> [<virtual_server_args> ...]]
reprotest [options] [-s <source_root>] <build_command> [<artifact_pattern>]
[-- <virtual_server_args> [<virtual_server_args> ...]]
reprotest: error: unrecognized arguments: null -d
usage: reprotest --help [<virtual_server_name>]
reprotest [options] [-c <build-command>] <source_root> [<artifact_pattern>]
[-- <virtual_server_args> [<virtual_server_args> ...]]
reprotest [options] [-s <source_root>] <build_command> [<artifact_pattern>]
[-- <virtual_server_args> [<virtual_server_args> ...]]
reprotest: error: unrecognized arguments: -d
ERROR: InvocationError: '/tmp/testrun/.tox/py36/bin/python -m coverage run --omit .tox/* --parallel -m py.test -s tests/'
___________________________________ summary ____________________________________
ERROR: py36: commands failed
debian/rules:26: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/tmp/testrun'
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1124:
dpkg-buildpackage -rfakeroot -us -uc failed
Fri 27 Oct 00:26:13 UTC 2017 - /srv/jenkins/bin/chroot-run.sh stopped running as /tmp/jenkins-script-HBdfCB4a, which will now be removed.
Build step 'Execute shell' marked build as failure
More information about the Qa-jenkins-scm
mailing list