[Qa-jenkins-scm] Build failed in Jenkins: reproducible_diffoscope_from_git_branches #20

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Mon Jan 9 16:43:00 UTC 2017


https://jenkins.debian.net/job/reproducible_diffoscope_from_git_branches/20/------------------------------------------
[...truncated 288.21 KB...]
tests/comparators/test_rlib.py::test_item2_rust_metadata_bin PASSED
tests/comparators/test_rlib.py::test_item3_deflate_llvm_bitcode PASSED
tests/comparators/test_rlib.py::test_compare_non_existing PASSED
tests/comparators/test_rpm.py::test_identification PASSED
tests/comparators/test_rpm.py::test_no_differences PASSED
tests/comparators/test_rpm.py::test_header PASSED
tests/comparators/test_rpm.py::test_listing PASSED
tests/comparators/test_rpm.py::test_content PASSED
tests/comparators/test_rpm.py::test_compare_non_existing PASSED
tests/comparators/test_sqlite.py::test_identification PASSED
tests/comparators/test_sqlite.py::test_no_differences PASSED
tests/comparators/test_sqlite.py::test_diff PASSED
tests/comparators/test_sqlite.py::test_compare_non_existing PASSED
tests/comparators/test_squashfs.py::test_identification PASSED
tests/comparators/test_squashfs.py::test_no_differences PASSED
tests/comparators/test_squashfs.py::test_no_warnings PASSED
tests/comparators/test_squashfs.py::test_superblock PASSED
tests/comparators/test_squashfs.py::test_symlink PASSED
tests/comparators/test_squashfs.py::test_compressed_files PASSED
tests/comparators/test_squashfs.py::test_compare_non_existing PASSED
tests/comparators/test_tar.py::test_identification PASSED
tests/comparators/test_tar.py::test_no_differences PASSED
tests/comparators/test_tar.py::test_listing PASSED
tests/comparators/test_tar.py::test_symlinks PASSED
tests/comparators/test_tar.py::test_text_file PASSED
tests/comparators/test_tar.py::test_compare_non_existing PASSED
tests/comparators/test_tar.py::test_no_permissions_dir_in_tarball PASSED
tests/comparators/test_text.py::test_no_differences PASSED
tests/comparators/test_text.py::test_difference_in_ascii PASSED
tests/comparators/test_text.py::test_difference_in_unicode PASSED
tests/comparators/test_text.py::test_difference_between_iso88591_and_unicode PASSED
tests/comparators/test_text.py::test_difference_between_iso88591_and_unicode_only PASSED
tests/comparators/test_text.py::test_compare_non_existing PASSED
tests/comparators/test_utils.py::test_tools_missing PASSED
tests/comparators/test_utils.py::test_skip_unless_tools_exist_empty SKIPPED
tests/comparators/test_utils.py::test_skip_unless_tools_exist_missing SKIPPED
tests/comparators/test_utils.py::test_fuzzy_matching PASSED
tests/comparators/test_utils.py::test_fuzzy_matching_only_once PASSED
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.3-candidate-1 ---------
Name                                        Stmts   Miss  Cover   Missing
-------------------------------------------------------------------------
diffoscope/__init__.py                         67      5    93%   52, 113-114, 118-119
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, 101-102, 107, 124
diffoscope/comparators/ar.py                   26      0   100%
diffoscope/comparators/binary.py              215     28    87%   36-37, 42-45, 87-97, 109, 165, 169, 173, 197-200, 225, 228, 241-244, 303, 306, 317
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              130      4    97%   82-83, 180, 196
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           119     12    90%   68, 86-87, 89, 95-96, 99-100, 146-148, 161
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      2    88%   31, 34
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/json.py                 21      2    90%   38-39
diffoscope/comparators/libarchive.py          129     12    91%   35-36, 38-39, 115, 121, 124, 137, 151, 172, 183, 197
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                  46     11    76%   65, 71-80
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               215     23    89%   66, 131-134, 181-182, 187-190, 194, 198, 287, 291, 295, 299, 307, 310, 313, 322, 332, 335, 340
diffoscope/comparators/xz.py                   27      0   100%
diffoscope/comparators/zip.py                  90      3    97%   64, 70, 73
diffoscope/config.py                           39      3    92%   50, 58, 66
diffoscope/difference.py                      318     19    94%   75, 108, 157, 299, 315-319, 329, 347, 405, 420-422, 440-444
diffoscope/exc.py                              15      8    47%   3-4, 186-193
diffoscope/main.py                            142     27    81%   42-43, 107, 109, 111-112, 135, 144-149, 155, 168, 170, 175, 183, 196, 205, 210, 221, 223-227, 232
diffoscope/presenters/__init__.py               0      0   100%
diffoscope/presenters/html.py                 410    118    71%   224, 252, 337, 342, 344-346, 376, 379, 381, 407, 421, 426, 463-467, 471-474, 478-487, 494-507, 521-522, 525-526, 538-539, 542-546, 554-557, 567-570, 585, 597-621, 665, 682, 695-696, 709-749
diffoscope/presenters/icon.py                   1      0   100%
diffoscope/presenters/text.py                  31      3    90%   55-57
-------------------------------------------------------------------------
TOTAL                                        3648    566    84%
Coverage HTML written to dir htmlcov

=========================== short test summary info ============================
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_cbfs.py:56: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_fonts.py:47: requires showttf
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: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:64: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_utils.py:45: requires
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_utils.py:49: requires /missing
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_cbfs.py:75: requires cbfstool
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_fonts.py:42: requires showttf
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:80: requires cbfstool
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_cbfs.py:87: requires cbfstool

=================================== FAILURES ===================================
_______________________________ test_differences _______________________________

differences = [<Difference test1.jar -- test2.jar [<Difference zipinfo -v {} -- zipinfo -v {} []>, <Difference com/example/MainActiv....class [<Difference javap -verbose -constants -s -l -private {} -- javap -verbose -constants -s -l -private {} []>]>]>]

    @skip_unless_tools_exist('enjarify', 'zipinfo', 'javap')
    def test_differences(differences):
        assert differences[0].source1 == 'test1.jar'
        assert differences[0].source2 == 'test2.jar'
        zipinfo = differences[0].details[0]
        classdiff = differences[0].details[1]
        assert zipinfo.source1 == 'zipinfo -v {}'
        assert zipinfo.source2 == 'zipinfo -v {}'
        assert classdiff.source1 == 'com/example/MainActivity.class'
        assert classdiff.source2 == 'com/example/MainActivity.class'
        expected_diff = open(data('dex_expected_diffs')).read()
        found_diff = zipinfo.unified_diff + classdiff.details[0].unified_diff
>       assert expected_diff == found_diff
E       assert '@@ -54,15 +5...args_size=1\n' == '@@ -54,15 +54...args_size=1\n'
E           @@ -54,15 +54,15 @@
E              version of encoding software:                   2.0
E              minimum file system compatibility required:     MS-DOS, OS/2 or NT FAT
E              minimum software version required to extract:   2.0
E              compression method:                             none (stored)
E              file security status:                           not encrypted
E              extended local header:                          no
E              file last modified on (DOS date/time):          1980 Jan 1 00:00:00
E         - -  32-bit CRC value (hex):                         fc227a58
E         Detailed information truncated (33 more lines), use "-vv" to show

tests/comparators/test_dex.py:55: AssertionError
_____________________________ 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 0x7f4c7c89cb00>
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
______________________________ test_internal_diff ______________________________

differences = <Difference /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.ps -- /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test2.ps [<Difference ps2ascii {} -- ps2ascii {} []>]>

    @skip_unless_tools_exist('ps2ascii')
    def test_internal_diff(differences):
        expected_diff = open(data('ps_internal_expected_diff')).read()
>       assert differences.unified_diff == expected_diff
E       assert '@@ -1,21 +1,...}if\n %%EOF\n' == '@@ -1,21 +1,2...}if\n %%EOF\n'
E           @@ -1,21 +1,21 @@
E            %!PS-Adobe-2.0
E            %%Creator: dvips(k) 5.995 Copyright 2015 Radical Eye Software
E            %%Title: test.dvi
E           -%%CreationDate: Sun Feb 28 06:58:43 2016
E           +%%CreationDate: Sat Feb 27 04:58:53 2016
E            %%Pages: 1
E            %%PageOrder: Ascend
E            %%BoundingBox: 0 0 612 792
E         Detailed information truncated (371 more lines), use "-vv" to show

tests/comparators/test_ps.py:44: AssertionError
============== 5 failed, 224 passed, 17 skipped in 147.22 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 -v -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:16: 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.v4HSNIuLN/tmp/testrun/stats.csv ']'
++ ls -1 '/chroots/chroot-run-sid.v4HSNIuLN/tmp/debian-edu-doc_*.changes'
++ true
+ CHANGES=
+ '[' '!' -z '' ']'
+ '[' false = true ']'
+ '[' -d /chroots/chroot-run-sid.v4HSNIuLN/proc ']'
+ sudo umount -l /chroots/chroot-run-sid.v4HSNIuLN/proc
+ '[' -d /chroots/chroot-run-sid.v4HSNIuLN/testrun ']'
+ '[' -d /chroots/chroot-run-sid.v4HSNIuLN ']'
+ sudo rm -rf --one-file-system /chroots/chroot-run-sid.v4HSNIuLN
Mon  9 Jan 16:42:59 UTC 2017 - /srv/jenkins/bin/chroot-run.sh stopped running as /tmp/jenkins-script-SUH95nQx, which will now be removed.
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list