[Qa-jenkins-scm] Build failed in Jenkins: reproducible_diffoscope_from_git_master #291

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Tue Jul 11 13:21:22 UTC 2017


See <https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/291/display/redirect?page=changes>

Changes:

[infinity0] tests: use tempdir rather than ./cache for guestfs cache

------------------------------------------
[...truncated 1.56 MB...]
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 151, in <lambda>
    return CallInfo(lambda: ihook(item=item, **kwds), when=when)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
    _MultiCall(methods, kwargs, hook.spec_opts).execute()
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
    return _wrapped_call(hook_impl.function(*args), self.execute)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 248, in _wrapped_call
    call_outcome = _CallOutcome(func)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
    self.result = func()
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
    res = hook_impl.function(*args)
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 100, in pytest_runtest_setup
    item.session._setupstate.prepare(item)
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 453, in prepare
    col.setup()
  File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1578, in setup
    fixtures.fillfixtures(self)
  File "/usr/lib/python3/dist-packages/_pytest/fixtures.py", line 254, in fillfixtures
    request._fillfixtures()
  File "/usr/lib/python3/dist-packages/_pytest/fixtures.py", line 399, in _fillfixtures
    item.funcargs[argname] = self.getfixturevalue(argname)
  File "/usr/lib/python3/dist-packages/_pytest/fixtures.py", line 441, in getfixturevalue
    return self._get_active_fixturedef(argname).cached_result[0]
  File "/usr/lib/python3/dist-packages/_pytest/fixtures.py", line 466, in _get_active_fixturedef
    result = self._getfixturevalue(fixturedef)
  File "/usr/lib/python3/dist-packages/_pytest/fixtures.py", line 531, in _getfixturevalue
    val = fixturedef.execute(request=subrequest)
  File "/usr/lib/python3/dist-packages/_pytest/fixtures.py", line 787, in execute
    return ihook.pytest_fixture_setup(fixturedef=self, request=request)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
    _MultiCall(methods, kwargs, hook.spec_opts).execute()
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
    return _wrapped_call(hook_impl.function(*args), self.execute)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 248, in _wrapped_call
    call_outcome = _CallOutcome(func)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
    self.result = func()
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
    res = hook_impl.function(*args)
  File "/usr/lib/python3/dist-packages/_pytest/fixtures.py", line 817, in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs)
  File "/usr/lib/python3/dist-packages/_pytest/fixtures.py", line 722, in call_fixture_func
    res = fixturefunc(**kwargs)
  File "/tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/comparators/test_fsimage.py", line 62, in differences
    return img1.compare(img2).details
  File "/tmp/testrun/.pybuild/pythonX.Y_3.6/build/diffoscope/comparators/utils/file.py", line 266, in compare
    difference = self._compare_using_details(other, source)
  File "/tmp/testrun/.pybuild/pythonX.Y_3.6/build/diffoscope/comparators/utils/file.py", line 212, in _compare_using_details
    details.extend(self.compare_details(other, source))
  File "/tmp/testrun/.pybuild/pythonX.Y_3.6/build/diffoscope/comparators/fsimage.py", line 81, in compare_details
    if hasattr(other.as_container, 'fs'):
  File "/tmp/testrun/.pybuild/pythonX.Y_3.6/build/diffoscope/comparators/utils/file.py", line 130, in as_container
    self._as_container = self.__class__.CONTAINER_CLASS(self)
  File "/tmp/testrun/.pybuild/pythonX.Y_3.6/build/diffoscope/comparators/utils/archive.py", line 45, in __init__
    self._archive = self.open_archive()
  File "/tmp/testrun/.pybuild/pythonX.Y_3.6/build/diffoscope/comparators/fsimage.py", line 48, in open_archive
    logger.error("If memory is too tight for 512 MiB, try running with LIBGUESTFS_MEMSIZE=256 or lower.")
Message: 'If memory is too tight for 512 MiB, try running with LIBGUESTFS_MEMSIZE=256 or lower.'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
  File "/tmp/testrun/.pybuild/pythonX.Y_3.6/build/diffoscope/comparators/fsimage.py", line 45, in open_archive
    self.g.launch()
  File "/usr/lib/python3/dist-packages/guestfs.py", line 5705, in launch
    r = libguestfsmod.launch(self._o)
RuntimeError: /usr/bin/supermin exited with error status 1.
To see full error messages you may need to enable debugging.
Do:
  export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
and run the command again.  For further information, read:
  http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
You can also run 'libguestfs-test-tool' and post the *complete* output
into a bug report or message to the libguestfs mailing list.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/logging/__init__.py", line 994, in emit
    stream.write(msg)
ValueError: I/O operation on closed file
Call stack:
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/pytest.py", line 17, in <module>
    raise SystemExit(pytest.main())
  File "/usr/lib/python3/dist-packages/_pytest/config.py", line 57, in main
    return config.hook.pytest_cmdline_main(config=config)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
    _MultiCall(methods, kwargs, hook.spec_opts).execute()
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
    res = hook_impl.function(*args)
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 127, in pytest_cmdline_main
    return wrap_session(config, _main)
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 98, in wrap_session
    session.exitstatus = doit(config, session) or 0
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 133, in _main
    config.hook.pytest_runtestloop(session=session)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
    _MultiCall(methods, kwargs, hook.spec_opts).execute()
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
    return _wrapped_call(hook_impl.function(*args), self.execute)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 248, in _wrapped_call
    call_outcome = _CallOutcome(func)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
    self.result = func()
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
    res = hook_impl.function(*args)
  File "/usr/lib/python3/dist-packages/_pytest/main.py", line 154, in pytest_runtestloop
    item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
    _MultiCall(methods, kwargs, hook.spec_opts).execute()
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
    return _wrapped_call(hook_impl.function(*args), self.execute)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 248, in _wrapped_call
    call_outcome = _CallOutcome(func)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
    self.result = func()
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
    res = hook_impl.function(*args)
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 66, in pytest_runtest_protocol
    runtestprotocol(item, nextitem=nextitem)
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 73, in runtestprotocol
    rep = call_and_report(item, "setup", log)
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 133, in call_and_report
    call = call_runtest_hook(item, when, **kwds)
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 151, in call_runtest_hook
    return CallInfo(lambda: ihook(item=item, **kwds), when=when)
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 163, in __init__
    self.result = func()
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 151, in <lambda>
    return CallInfo(lambda: ihook(item=item, **kwds), when=when)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
    _MultiCall(methods, kwargs, hook.spec_opts).execute()
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
    return _wrapped_call(hook_impl.function(*args), self.execute)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 248, in _wrapped_call
    call_outcome = _CallOutcome(func)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
    self.result = func()
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
    res = hook_impl.function(*args)
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 100, in pytest_runtest_setup
    item.session._setupstate.prepare(item)
  File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 453, in prepare
    col.setup()
  File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1578, in setup
    fixtures.fillfixtures(self)
  File "/usr/lib/python3/dist-packages/_pytest/fixtures.py", line 254, in fillfixtures
    request._fillfixtures()
  File "/usr/lib/python3/dist-packages/_pytest/fixtures.py", line 399, in _fillfixtures
    item.funcargs[argname] = self.getfixturevalue(argname)
  File "/usr/lib/python3/dist-packages/_pytest/fixtures.py", line 441, in getfixturevalue
    return self._get_active_fixturedef(argname).cached_result[0]
  File "/usr/lib/python3/dist-packages/_pytest/fixtures.py", line 466, in _get_active_fixturedef
    result = self._getfixturevalue(fixturedef)
  File "/usr/lib/python3/dist-packages/_pytest/fixtures.py", line 531, in _getfixturevalue
    val = fixturedef.execute(request=subrequest)
  File "/usr/lib/python3/dist-packages/_pytest/fixtures.py", line 787, in execute
    return ihook.pytest_fixture_setup(fixturedef=self, request=request)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
    _MultiCall(methods, kwargs, hook.spec_opts).execute()
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
    return _wrapped_call(hook_impl.function(*args), self.execute)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 248, in _wrapped_call
    call_outcome = _CallOutcome(func)
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
    self.result = func()
  File "/usr/lib/python3/dist-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
    res = hook_impl.function(*args)
  File "/usr/lib/python3/dist-packages/_pytest/fixtures.py", line 817, in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs)
  File "/usr/lib/python3/dist-packages/_pytest/fixtures.py", line 722, in call_fixture_func
    res = fixturefunc(**kwargs)
  File "/tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/comparators/test_fsimage.py", line 62, in differences
    return img1.compare(img2).details
  File "/tmp/testrun/.pybuild/pythonX.Y_3.6/build/diffoscope/comparators/utils/file.py", line 266, in compare
    difference = self._compare_using_details(other, source)
  File "/tmp/testrun/.pybuild/pythonX.Y_3.6/build/diffoscope/comparators/utils/file.py", line 212, in _compare_using_details
    details.extend(self.compare_details(other, source))
  File "/tmp/testrun/.pybuild/pythonX.Y_3.6/build/diffoscope/comparators/fsimage.py", line 81, in compare_details
    if hasattr(other.as_container, 'fs'):
  File "/tmp/testrun/.pybuild/pythonX.Y_3.6/build/diffoscope/comparators/utils/file.py", line 130, in as_container
    self._as_container = self.__class__.CONTAINER_CLASS(self)
  File "/tmp/testrun/.pybuild/pythonX.Y_3.6/build/diffoscope/comparators/utils/archive.py", line 45, in __init__
    self._archive = self.open_archive()
  File "/tmp/testrun/.pybuild/pythonX.Y_3.6/build/diffoscope/comparators/fsimage.py", line 48, in open_archive
    logger.error("If memory is too tight for 512 MiB, try running with LIBGUESTFS_MEMSIZE=256 or lower.")
Message: 'If memory is too tight for 512 MiB, try running with LIBGUESTFS_MEMSIZE=256 or lower.'
Arguments: ()
============== 341 passed, 14 skipped, 1 error in 472.04 seconds ===============
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd /tmp/testrun/.pybuild/pythonX.Y_3.6/build; python3.6 -m pytest -vv -r sxX -l --cov=diffoscope --cov-report=term-missing --cov-report=html --junit-xml=/tmp/job-exports/test-results/tests.xml
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.6 3.5 returned exit code 13
debian/rules:35: recipe for target 'build' failed
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1124:
dpkg-buildpackage -rfakeroot -us -uc failed
+ cleanup
+ '[' -e /chroots/chroot-run-sid.EL0GUZwZe/tmp/testrun/stats.csv ']'
+ '[' true = true ']'
+ mkdir -p <https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/ws/job-exports>
++ ls -1A /chroots/chroot-run-sid.EL0GUZwZe//tmp/job-exports
+ '[' '!' -z test-results ']'
+ cp -drv /chroots/chroot-run-sid.EL0GUZwZe//tmp/job-exports/test-results <https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/ws/job-exports/>
'/chroots/chroot-run-sid.EL0GUZwZe//tmp/job-exports/test-results' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/ws/job-exports/test-results'>
'/chroots/chroot-run-sid.EL0GUZwZe//tmp/job-exports/test-results/tests.xml' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/ws/job-exports/test-results/tests.xml'>
++ ls -1 '/chroots/chroot-run-sid.EL0GUZwZe/tmp/debian-edu-doc_*.changes'
++ true
+ CHANGES=
+ '[' '!' -z '' ']'
+ '[' false = true ']'
+ '[' -d /chroots/chroot-run-sid.EL0GUZwZe/proc ']'
+ sudo umount -l /chroots/chroot-run-sid.EL0GUZwZe/proc
+ '[' -d /chroots/chroot-run-sid.EL0GUZwZe/testrun ']'
+ '[' -d /chroots/chroot-run-sid.EL0GUZwZe ']'
+ sudo rm -rf --one-file-system /chroots/chroot-run-sid.EL0GUZwZe
Tue 11 Jul 13:21:21 UTC 2017 - /srv/jenkins/bin/chroot-run.sh stopped running as /tmp/jenkins-script-jJ0aAoXy, which will now be removed.
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list