[Qa-jenkins-scm] Build failed in Jenkins: reproducible_diffoscope_from_git_branches #12
jenkins at jenkins.debian.net
jenkins at jenkins.debian.net
Thu Dec 22 09:17:47 UTC 2016
https://jenkins.debian.net/job/reproducible_diffoscope_from_git_branches/12/------------------------------------------
[...truncated 4861 lines...]
tests/comparators/test_utils.py::test_no_fuzzy_matching PASSED
tests/comparators/test_utils.py::test_no_fuzzy_matching_new_file PASSED
tests/comparators/test_utils.py::test_trim_stderr_in_command PASSED
tests/comparators/test_xz.py::test_identification PASSED
tests/comparators/test_xz.py::test_no_differences PASSED
tests/comparators/test_xz.py::test_content_source PASSED
tests/comparators/test_xz.py::test_content_source_without_extension PASSED
tests/comparators/test_xz.py::test_content_diff PASSED
tests/comparators/test_xz.py::test_compare_non_existing PASSED
tests/comparators/test_zip.py::test_identification PASSED
tests/comparators/test_zip.py::test_no_differences PASSED
tests/comparators/test_zip.py::test_metadata PASSED
tests/comparators/test_zip.py::test_compressed_files PASSED
tests/comparators/test_zip.py::test_compare_non_existing PASSED
tests/comparators/test_zip.py::test_mozzip_identification PASSED
tests/comparators/test_zip.py::test_mozzip_no_differences PASSED
tests/comparators/test_zip.py::test_mozzip_metadata PASSED
tests/comparators/test_zip.py::test_mozzip_compressed_files PASSED
tests/comparators/test_zip.py::test_mozzip_compare_non_existing PASSED
----------- coverage: platform linux, python 3.5.2-final-0 -----------
Name Stmts Miss Cover Missing
-------------------------------------------------------------------------
diffoscope/__init__.py 70 5 93% 53, 121-122, 126-127
diffoscope/changes.py 122 54 56% 82, 90, 93, 102, 109, 116, 137, 174, 180, 186, 192-194, 200, 206, 222-225, 228-231, 240, 252-286, 307-314, 321, 333
diffoscope/comparators/__init__.py 100 6 94% 37-38, 103-104, 109, 126
diffoscope/comparators/apk.py 33 15 55% 31, 35-45, 48, 51, 54-55
diffoscope/comparators/ar.py 26 0 100%
diffoscope/comparators/binary.py 218 28 87% 36-37, 42-45, 87-97, 109, 165, 169, 173, 197-200, 230, 233, 246-249, 308, 311, 322
diffoscope/comparators/bzip2.py 27 0 100%
diffoscope/comparators/cbfs.py 81 43 47% 34-35, 39, 42, 48-59, 62, 65, 68, 72-76, 88-89, 111-114, 118-130, 133
diffoscope/comparators/cpio.py 16 1 94% 33
diffoscope/comparators/deb.py 103 12 88% 33-34, 45, 64, 74, 94-95, 101, 133-135, 154
diffoscope/comparators/debian.py 135 4 97% 82-83, 180, 206
diffoscope/comparators/debian_fallback.py 32 32 0% 20-65
diffoscope/comparators/device.py 31 3 90% 34-36
diffoscope/comparators/dex.py 28 1 96% 33
diffoscope/comparators/directory.py 126 13 90% 74, 86, 96-97, 99, 105-106, 109-110, 156-158, 173
diffoscope/comparators/elf.py 268 25 91% 45, 53-54, 184, 237, 272, 301-303, 306, 314-316, 319, 349, 357-361, 375, 380, 386-387, 392-393
diffoscope/comparators/fonts.py 16 0 100%
diffoscope/comparators/fsimage.py 57 36 37% 31-32, 37-51, 54-57, 60, 63, 66-70, 81-91
diffoscope/comparators/gettext.py 36 0 100%
diffoscope/comparators/git.py 30 0 100%
diffoscope/comparators/gzip.py 29 0 100%
diffoscope/comparators/haskell.py 50 11 78% 34, 40, 57-59, 61, 67-68, 71, 83, 86
diffoscope/comparators/icc.py 14 2 86% 31, 42
diffoscope/comparators/image.py 17 0 100%
diffoscope/comparators/ipk.py 6 0 100%
diffoscope/comparators/iso9660.py 43 3 93% 34-35, 60
diffoscope/comparators/java.py 22 0 100%
diffoscope/comparators/javascript.py 14 0 100%
diffoscope/comparators/json.py 27 2 93% 39-40
diffoscope/comparators/libarchive.py 140 18 87% 35-36, 38-39, 115, 121, 124, 137, 151, 165-167, 172, 185, 192, 194, 196, 199
diffoscope/comparators/llvm.py 15 0 100%
diffoscope/comparators/macho.py 53 26 51% 32-34, 38, 41, 44-50, 55, 60, 65, 79-83, 89-104
diffoscope/comparators/mono.py 14 0 100%
diffoscope/comparators/pdf.py 19 0 100%
diffoscope/comparators/png.py 19 0 100%
diffoscope/comparators/ppu.py 49 14 71% 65, 71-84
diffoscope/comparators/ps.py 23 2 91% 47-48
diffoscope/comparators/rpm.py 66 2 97% 36, 43
diffoscope/comparators/rpm_fallback.py 13 5 62% 34-38
diffoscope/comparators/rust.py 35 0 100%
diffoscope/comparators/sqlite.py 12 0 100%
diffoscope/comparators/squashfs.py 144 19 87% 75, 91, 105, 111, 114, 126, 134, 154, 159-160, 163-164, 167-168, 181, 210-213, 227
diffoscope/comparators/symlink.py 28 1 96% 35
diffoscope/comparators/tar.py 13 0 100%
diffoscope/comparators/text.py 25 2 92% 52-54
diffoscope/comparators/utils.py 224 23 90% 67, 132-135, 182-183, 188-191, 195, 199, 300, 304, 308, 312, 320, 323, 326, 335, 345, 348, 353
diffoscope/comparators/xz.py 27 0 100%
diffoscope/comparators/zip.py 90 3 97% 64, 70, 73
diffoscope/config.py 24 2 92% 49, 57
diffoscope/difference.py 327 24 93% 76, 109, 159, 302, 318-322, 332, 350, 408, 423-425, 443-447, 453-463
diffoscope/exc.py 15 8 47% 23-24, 212-219
diffoscope/main.py 165 28 83% 44-45, 159, 161, 163-164, 188, 197-202, 208, 223, 228, 239, 253, 258, 271, 277, 282, 293, 295-299, 304
diffoscope/presenters/__init__.py 0 0 100%
diffoscope/presenters/html.py 424 113 73% 256, 285, 370, 375, 377-379, 409, 412, 414, 440, 454, 459, 496-500, 509-512, 516-522, 539-563, 579-580, 583-584, 596-597, 600-604, 612-615, 625-628, 643, 656-659, 669-670, 675-676, 684-686, 716-718, 725, 742, 747-749, 755-756, 769-801
diffoscope/presenters/icon.py 1 0 100%
diffoscope/presenters/text.py 36 4 89% 34, 61-63
diffoscope/progress.py 68 21 69% 39-44, 47, 52, 57, 61, 66, 70, 95-104, 107-109, 112, 116, 119, 122
-------------------------------------------------------------------------
TOTAL 3846 611 84%
Coverage HTML written to dir htmlcov
=========================== short test summary info ============================
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_utils.py:45: requires
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_macho.py:43: requires otool and lipo
SKIP [1] /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/comparators/test_haskell.py:47: mismatch between system ghc and fixture
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_cbfs.py:60: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_fsimage.py:50: guestfs not working on the system
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_macho.py:50: requires otool and lipo
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_cbfs.py:64: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_cbfs.py:75: requires cbfstool
SKIP [1] /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/comparators/test_haskell.py:33: mismatch between system ghc and fixture
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_fsimage.py:79: guestfs not working on the system
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_fsimage.py:61: guestfs not working on the system
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_utils.py:49: requires /missing
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_cbfs.py:87: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_cbfs.py:80: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_cbfs.py:56: requires cbfstool
==================================== ERRORS ====================================
______________ ERROR at setup of test_dot_buildinfo_internal_diff ______________
dot_buildinfo1 = <<class 'abc.DotBuildinfoFile'> /tmp/pytest-of-root/pytest-0/test_dot_buildinfo_internal_di0/a/test_1.buildinfo>
dot_buildinfo2 = <<class 'abc.DotBuildinfoFile'> /tmp/pytest-of-root/pytest-0/test_dot_buildinfo_internal_di0/b/test_1.buildinfo>
@pytest.fixture
def dot_buildinfo_differences(dot_buildinfo1, dot_buildinfo2):
> difference = dot_buildinfo1.compare(dot_buildinfo2)
tests/comparators/test_debian.py:255:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
diffoscope/comparators/binary.py:218: in compare
difference = self._compare_using_details(other, source)
diffoscope/comparators/binary.py:183: in _compare_using_details
details.extend(filter(None, self.as_container.compare(other.as_container)))
diffoscope/comparators/utils.py:208: in comparisons
my_members = self.get_members()
diffoscope/comparators/debian.py:88: in get_members
return collections.OrderedDict([(self._trim_version_number(name), self.get_member(name)) for name in self.get_member_names()])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <diffoscope.comparators.debian.DotBuildinfoContainer object at 0x7f1dbff13cc0>
def get_member_names(self):
# If path exists in the parent container, don't recurse
> parent_container_names = self.source.container.get_member_names()
E AttributeError: 'NoneType' object has no attribute 'get_member_names'
diffoscope/comparators/debian.py:187: AttributeError
=================================== FAILURES ===================================
______________________ test_dot_buildinfo_no_differences _______________________
dot_buildinfo1 = <<class 'abc.DotBuildinfoFile'> /tmp/pytest-of-root/pytest-0/test_dot_buildinfo_no_differen0/a/test_1.buildinfo>
def test_dot_buildinfo_no_differences(dot_buildinfo1):
> difference = dot_buildinfo1.compare(dot_buildinfo1)
tests/comparators/test_debian.py:250:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
diffoscope/comparators/binary.py:218: in compare
difference = self._compare_using_details(other, source)
diffoscope/comparators/binary.py:183: in _compare_using_details
details.extend(filter(None, self.as_container.compare(other.as_container)))
diffoscope/comparators/utils.py:208: in comparisons
my_members = self.get_members()
diffoscope/comparators/debian.py:88: in get_members
return collections.OrderedDict([(self._trim_version_number(name), self.get_member(name)) for name in self.get_member_names()])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <diffoscope.comparators.debian.DotBuildinfoContainer object at 0x7f1dbfee9cc0>
def get_member_names(self):
# If path exists in the parent container, don't recurse
> parent_container_names = self.source.container.get_member_names()
E AttributeError: 'NoneType' object has no attribute 'get_member_names'
diffoscope/comparators/debian.py:187: AttributeError
___________________ test_dot_buildinfo_compare_non_existing ____________________
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f1dbeb556d8>
dot_buildinfo1 = <<class 'abc.DotBuildinfoFile'> /tmp/pytest-of-root/pytest-0/test_dot_buildinfo_compare_non0/a/test_1.buildinfo>
@pytest.mark.skipif(miss_debian_module, reason='debian module is not installed')
def test_dot_buildinfo_compare_non_existing(monkeypatch, dot_buildinfo1):
> assert_non_existing(monkeypatch, dot_buildinfo1)
tests/comparators/test_debian.py:265:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/comparators/utils.py:69: in assert_non_existing
difference = fixture.compare(NonExistingFile('/nonexisting', fixture))
diffoscope/comparators/binary.py:218: in compare
difference = self._compare_using_details(other, source)
diffoscope/comparators/binary.py:183: in _compare_using_details
details.extend(filter(None, self.as_container.compare(other.as_container)))
diffoscope/comparators/utils.py:208: in comparisons
my_members = self.get_members()
diffoscope/comparators/debian.py:88: in get_members
return collections.OrderedDict([(self._trim_version_number(name), self.get_member(name)) for name in self.get_member_names()])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <diffoscope.comparators.debian.DotBuildinfoContainer object at 0x7f1dbeb4ba90>
def get_member_names(self):
# If path exists in the parent container, don't recurse
> parent_container_names = self.source.container.get_member_names()
E AttributeError: 'NoneType' object has no attribute 'get_member_names'
diffoscope/comparators/debian.py:187: AttributeError
_____________________________ test_identification ______________________________
icc1 = <<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.icc>
def test_identification(icc1):
> assert isinstance(icc1, IccFile)
E assert False
E + where False = isinstance(<<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.icc>, IccFile)
tests/comparators/test_icc.py:32: AssertionError
__________________________________ test_diff ___________________________________
differences = []
@skip_unless_tools_exist('cd-iccdump')
def test_diff(differences):
expected_diff = open(data('icc_expected_diff')).read()
> assert differences[0].unified_diff == expected_diff
E IndexError: list index out of range
tests/comparators/test_icc.py:45: IndexError
__________________________ test_compare_non_existing ___________________________
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f1dbebbed68>
icc1 = <<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.icc>
@skip_unless_tools_exist('cd-iccdump')
def test_compare_non_existing(monkeypatch, icc1):
monkeypatch.setattr(Config(), 'new_file', True)
difference = icc1.compare(NonExistingFile('/nonexisting', icc1))
assert difference.source2 == '/nonexisting'
> assert len(difference.details) > 0
E assert 0 > 0
E + where 0 = len([])
E + where [] = <Difference /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.icc -- /nonexisting []>.details
tests/comparators/test_icc.py:52: AssertionError
========= 5 failed, 231 passed, 15 skipped, 1 error in 141.34 seconds ==========
E: pybuild pybuild:276: test: plugin distutils failed with: exit code=1: cd /tmp/testrun/.pybuild/pythonX.Y_3.5/build; python3.5 -m pytest -vv -r sxX --cov=diffoscope --cov-report=term-missing --cov-report=html
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.5 returned exit code 13
debian/rules:29: 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 1116:
dpkg-buildpackage -rfakeroot -us -uc failed
+ cleanup
+ '[' -e /chroots/chroot-run-sid.0VmeZ8WXW/tmp/testrun/stats.csv ']'
++ ls -1 '/chroots/chroot-run-sid.0VmeZ8WXW/tmp/debian-edu-doc_*.changes'
++ true
+ CHANGES=
+ '[' '!' -z '' ']'
+ '[' false = true ']'
+ '[' -d /chroots/chroot-run-sid.0VmeZ8WXW/proc ']'
+ sudo umount -l /chroots/chroot-run-sid.0VmeZ8WXW/proc
+ '[' -d /chroots/chroot-run-sid.0VmeZ8WXW/testrun ']'
+ '[' -d /chroots/chroot-run-sid.0VmeZ8WXW ']'
+ sudo rm -rf --one-file-system /chroots/chroot-run-sid.0VmeZ8WXW
Thu 22 Dec 09:17:47 UTC 2016 - /srv/jenkins/bin/chroot-run.sh stopped running as /tmp/jenkins-script-abEUiuat, which will now be removed.
Build step 'Execute shell' marked build as failure
More information about the Qa-jenkins-scm
mailing list