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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Sun Apr 29 10:02:16 BST 2018


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

Changes:

[lamby] Remove unused test1.txt test data file.

[lamby] Update tests to prevent FTBFS under file 5.33, although this does not

------------------------------------------
[...truncated 386.61 KB...]
tests/comparators/test_utils.py::test_no_fuzzy_matching PASSED           [ 93%]
tests/comparators/test_utils.py::test_no_fuzzy_matching_new_file PASSED  [ 93%]
tests/comparators/test_utils.py::test_trim_stderr_in_command PASSED      [ 93%]
tests/comparators/test_xml.py::test_identification PASSED                [ 93%]
tests/comparators/test_xml.py::test_invalid PASSED                       [ 94%]
tests/comparators/test_xml.py::test_no_differences PASSED                [ 94%]
tests/comparators/test_xml.py::test_diff PASSED                          [ 94%]
tests/comparators/test_xsb.py::test_identification PASSED                [ 94%]
tests/comparators/test_xsb.py::test_no_differences PASSED                [ 95%]
tests/comparators/test_xsb.py::test_diff PASSED                          [ 95%]
tests/comparators/test_xsb.py::test_compare_non_existing PASSED          [ 95%]
tests/comparators/test_xz.py::test_identification PASSED                 [ 95%]
tests/comparators/test_xz.py::test_no_differences PASSED                 [ 96%]
tests/comparators/test_xz.py::test_content_source PASSED                 [ 96%]
tests/comparators/test_xz.py::test_content_source_without_extension PASSED [ 96%]
tests/comparators/test_xz.py::test_content_diff PASSED                   [ 96%]
tests/comparators/test_xz.py::test_compare_non_existing PASSED           [ 97%]
tests/comparators/test_zip.py::test_identification PASSED                [ 97%]
tests/comparators/test_zip.py::test_no_differences PASSED                [ 97%]
tests/comparators/test_zip.py::test_metadata PASSED                      [ 97%]
tests/comparators/test_zip.py::test_compressed_files PASSED              [ 98%]
tests/comparators/test_zip.py::test_extra_fields PASSED                  [ 98%]
tests/comparators/test_zip.py::test_compare_non_existing PASSED          [ 98%]
tests/comparators/test_zip.py::test_mozzip_identification PASSED         [ 98%]
tests/comparators/test_zip.py::test_mozzip_no_differences PASSED         [ 99%]
tests/comparators/test_zip.py::test_mozzip_metadata PASSED               [ 99%]
tests/comparators/test_zip.py::test_mozzip_compressed_files PASSED       [ 99%]
tests/comparators/test_zip.py::test_mozzip_compare_non_existing PASSED   [100%]

--------- generated xml file: /tmp/job-exports/test-results/tests.xml ----------

----------- coverage: platform linux, python 3.6.5-final-0 -----------
Name                                         Stmts   Miss  Cover   Missing
--------------------------------------------------------------------------
diffoscope/__init__.py                           1      0   100%
diffoscope/changes.py                          124     54    56%   85, 93, 96, 105, 112, 119, 140, 177, 183, 189, 195-197, 203, 209, 225-228, 231-234, 243, 255-289, 310-317, 324, 336
diffoscope/comparators/__init__.py              29      8    72%   117-118, 123, 131-135
diffoscope/comparators/android.py               40      1    98%   50
diffoscope/comparators/apk.py                  100      1    99%   41
diffoscope/comparators/ar.py                    26      0   100%
diffoscope/comparators/berkeley_db.py           19      7    63%   32, 35-41, 49
diffoscope/comparators/binary.py                16      0   100%
diffoscope/comparators/binwalk.py               53      5    91%   32-33, 37-38, 64
diffoscope/comparators/bzip2.py                 24      0   100%
diffoscope/comparators/cbfs.py                  85     43    49%   39-40, 44, 47, 53-64, 67, 70, 73, 77-81, 94-95, 118-121, 125-137, 140
diffoscope/comparators/cpio.py                  10      0   100%
diffoscope/comparators/deb.py                  116      9    92%   36-37, 50, 75, 88, 122, 156-158
diffoscope/comparators/debian.py               142      5    96%   80-82, 232, 253, 273
diffoscope/comparators/debian_fallback.py       25      0   100%
diffoscope/comparators/device.py                47      6    87%   49-52, 81-84
diffoscope/comparators/dex.py                   26      1    96%   36
diffoscope/comparators/directory.py            161     21    87%   51-54, 95, 107, 114-115, 122-123, 138-139, 146, 150-151, 153, 156-157, 168-169, 225, 276
diffoscope/comparators/docx.py                  13      0   100%
diffoscope/comparators/dtb.py                   13      0   100%
diffoscope/comparators/elf.py                  283     29    90%   68, 76-77, 208, 246, 276, 318, 347-355, 375-377, 381, 393-395, 399, 440, 454-460, 482, 495-496, 505-506
diffoscope/comparators/fontconfig.py            27      0   100%
diffoscope/comparators/fonts.py                 15      0   100%
diffoscope/comparators/fsimage.py               58     39    33%   31-32, 39-60, 63-66, 69, 72-76, 85-97
diffoscope/comparators/gettext.py               36      0   100%
diffoscope/comparators/gif.py                   40      4    90%   59-60, 102-103
diffoscope/comparators/git.py                   29      0   100%
diffoscope/comparators/gnumeric.py              19      0   100%
diffoscope/comparators/gzip.py                  26      0   100%
diffoscope/comparators/haskell.py               58     13    78%   37, 47, 86-88, 97, 103-108, 112, 123-124, 141, 144
diffoscope/comparators/icc.py                   13      0   100%
diffoscope/comparators/image.py                 78      6    92%   142-143, 169-170, 192-193
diffoscope/comparators/ipk.py                    4      0   100%
diffoscope/comparators/iso9660.py               48      3    94%   33, 66, 88
diffoscope/comparators/java.py                  46      5    89%   42, 45-47, 97
diffoscope/comparators/javascript.py            12      0   100%
diffoscope/comparators/json.py                  40      3    92%   29-30, 48
diffoscope/comparators/llvm.py                  16      0   100%
diffoscope/comparators/macho.py                 56     28    50%   33-35, 39, 42, 46-49, 54, 59, 64, 69, 80-84, 90-122
diffoscope/comparators/missing_file.py          48      3    94%   67, 70, 89
diffoscope/comparators/mono.py                  13      0   100%
diffoscope/comparators/odt.py                   13      0   100%
diffoscope/comparators/ogg.py                   13      0   100%
diffoscope/comparators/openssh.py               13      0   100%
diffoscope/comparators/pcap.py                  13      0   100%
diffoscope/comparators/pdf.py                   18      0   100%
diffoscope/comparators/pgp.py                   13      0   100%
diffoscope/comparators/png.py                   30      2    93%   71-72
diffoscope/comparators/ppu.py                   54     14    74%   71, 78-91
diffoscope/comparators/ps.py                    24      2    92%   48-49
diffoscope/comparators/rdata.py                 45     16    64%   44-58, 88, 96-98
diffoscope/comparators/rpm.py                   70      2    97%   41, 48
diffoscope/comparators/rpm_fallback.py          11      0   100%
diffoscope/comparators/rust.py                  32      0   100%
diffoscope/comparators/sqlite.py                13      0   100%
diffoscope/comparators/squashfs.py             161     19    88%   98, 114, 128, 134, 137, 151, 159, 188-189, 193-194, 200-201, 216, 243-244, 281-283
diffoscope/comparators/symlink.py               32      2    94%   58-59
diffoscope/comparators/tar.py                   12      0   100%
diffoscope/comparators/text.py                  33      2    94%   63-65
diffoscope/comparators/utils/__init__.py         0      0   100%
diffoscope/comparators/utils/archive.py         90     13    86%   57, 61, 65, 69, 106-107, 123, 126, 129, 138, 148, 151, 156
diffoscope/comparators/utils/command.py         44      3    93%   62, 75, 78
diffoscope/comparators/utils/compare.py         90      6    93%   40-41, 76, 91, 101-102
diffoscope/comparators/utils/container.py      106      6    94%   67, 71, 116-120
diffoscope/comparators/utils/file.py           219     36    84%   36-37, 50-56, 80-90, 102, 209-210, 262-264, 271, 275, 279, 334-337, 343-346, 377, 380, 395, 401, 413-415
diffoscope/comparators/utils/fuzzy.py           29      2    93%   27-28
diffoscope/comparators/utils/libarchive.py     159     13    92%   43-44, 46-47, 122, 128, 131, 144, 158, 172-173, 238-239
diffoscope/comparators/utils/specialize.py      31      2    94%   69, 72
diffoscope/comparators/xml.py                   41      2    95%   139-140
diffoscope/comparators/xsb.py                   16      0   100%
diffoscope/comparators/xz.py                    27      0   100%
diffoscope/comparators/zip.py                   88      2    98%   79, 82
diffoscope/config.py                            42      4    90%   75-82
diffoscope/diff.py                             410     51    88%   101, 138, 197, 232, 234, 278-280, 292-317, 359, 541, 558, 563, 596-597, 600-601, 613-614, 617-621, 629-632, 642-645, 660
diffoscope/difference.py                       173     13    92%   100, 194-198, 211, 246, 253-254, 323, 329, 356
diffoscope/exc.py                               14      0   100%
diffoscope/excludes.py                          24      6    75%   31-33, 40-42
diffoscope/external_tools.py                     3      0   100%
diffoscope/feeders.py                           58      2    97%   76-77
diffoscope/locale.py                            13      0   100%
diffoscope/logging.py                           15      0   100%
diffoscope/main.py                             248     52    79%   53-54, 66, 251, 253, 255-256, 266-267, 273-282, 294, 309, 328-348, 357, 365, 372-373, 377-379, 400, 404-409, 425, 432-433, 438, 453, 455-459, 474
diffoscope/path.py                               7      0   100%
diffoscope/presenters/__init__.py                0      0   100%
diffoscope/presenters/formats.py                37      4    89%   98-101
diffoscope/presenters/html/__init__.py           1      0   100%
diffoscope/presenters/html/html.py             452    126    72%   79-86, 129-132, 136, 138-140, 227-228, 231, 255, 277, 289-297, 335, 346, 359-363, 366, 369-375, 386, 391-398, 401-415, 443-446, 450-455, 458, 462-464, 486-491, 496-507, 512-522, 537, 554-557, 622, 655, 679, 693-694, 704-730, 746
diffoscope/presenters/html/templates.py          9      0   100%
diffoscope/presenters/icon.py                    1      0   100%
diffoscope/presenters/json.py                   32      1    97%   56
diffoscope/presenters/markdown.py               19      0   100%
diffoscope/presenters/restructuredtext.py       25      0   100%
diffoscope/presenters/text.py                   43      7    84%   59-64, 69-70, 79-80
diffoscope/presenters/utils.py                 156     12    92%   43, 72, 152, 157, 164, 297, 341, 403-407
diffoscope/profiling.py                         40      0   100%
diffoscope/progress.py                         153     15    90%   34-44, 70, 78-81, 84, 109, 211
diffoscope/readers/__init__.py                   7      0   100%
diffoscope/readers/json.py                      17      1    94%   34
diffoscope/readers/utils.py                      2      0   100%
diffoscope/tempfiles.py                         37     11    70%   55-56, 63-75
diffoscope/tools.py                             64     20    69%   26-27, 54-55, 82-83, 95, 108, 112-115, 121-122, 126-134
--------------------------------------------------------------------------
TOTAL                                         5677    763    87%
Coverage HTML written to dir htmlcov

=========================== short test summary info ============================
SKIP [1] .pybuild/cpython3_3.6/build/tests/comparators/test_cbfs.py:96: requires cbfstool
SKIP [1] .pybuild/cpython3_3.6/build/tests/comparators/test_cbfs.py:101: requires cbfstool
SKIP [1] .pybuild/cpython3_3.6/build/tests/comparators/test_cbfs.py:106: requires cbfstool
SKIP [1] .pybuild/cpython3_3.6/build/tests/comparators/test_cbfs.py:118: requires cbfstool
SKIP [1] .pybuild/cpython3_3.6/build/tests/comparators/test_cbfs.py:129: requires cbfstool
SKIP [1] .pybuild/cpython3_3.6/build/tests/comparators/test_cbfs.py:137: requires cbfstool
SKIP [3] /tmp/testrun/.pybuild/cpython3_3.6/build/tests/comparators/test_fsimage.py:52: guestfs not working on the system: RuntimeError("/usr/bin/supermin exited with error status 1.\nTo see full error messages you may need to enable debugging.\nDo:\n  export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1\nand run the command again.  For further information, read:\n  http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs\nYou can also run 'libguestfs-test-tool' and post the *complete* output\ninto a bug report or message to the libguestfs mailing list.",)
SKIP [1] /tmp/testrun/.pybuild/cpython3_3.6/build/tests/comparators/test_haskell.py:37: mismatch between system ghc and fixture
SKIP [1] /tmp/testrun/.pybuild/cpython3_3.6/build/tests/comparators/test_haskell.py:54: mismatch between system ghc and fixture
SKIP [1] .pybuild/cpython3_3.6/build/tests/comparators/test_java.py:77: requires procyon-decompiler
SKIP [1] .pybuild/cpython3_3.6/build/tests/comparators/test_java.py:87: requires procyon-decompiler
SKIP [1] .pybuild/cpython3_3.6/build/tests/comparators/test_macho.py:50: requires otool and lipo
SKIP [1] .pybuild/cpython3_3.6/build/tests/comparators/test_macho.py:58: requires otool and lipo
SKIP [1] .pybuild/cpython3_3.6/build/tests/comparators/test_ps.py:58: requires ps2ascii <= 9.21 (9.22
 detected)
SKIP [1] .pybuild/cpython3_3.6/build/tests/comparators/test_utils.py:46: requires
SKIP [1] .pybuild/cpython3_3.6/build/tests/comparators/test_utils.py:51: requires /missing
=================================== FAILURES ===================================
_____________________________ test_identification ______________________________

db1 = <<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/cpython3_3.6/build/tests/data/test1.db>

    def test_identification(db1):
>       assert isinstance(db1, BerkeleyDBFile)
E       AssertionError: assert False
E        +  where False = isinstance(<<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/cpython3_3.6/build/tests/data/test1.db>, BerkeleyDBFile)

db1        = <<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/cpython3_3.6/build/tests/data/test1.db>

tests/comparators/test_berkeley_db.py:33: AssertionError
------------------------------ Captured log setup ------------------------------
__init__.py                128 DEBUG    Loaded 66 comparator classes
specialize.py               59 DEBUG    File not identified by any comparator. Magic says: , created: Thu Jan  1 00:38:24 1970
__________________________________ test_diff ___________________________________

differences = []

    @skip_unless_tools_exist('db_dump')
    def test_diff(differences):
        expected_diff = get_data('berkeley_db_expected_diff')
>       assert differences[0].unified_diff == expected_diff
E       IndexError: list index out of range

differences = []
expected_diff = '@@ -9,61 +9,29 @@\n \tmagic: 0x53162\n \tversion: 9\n \tpagesize: 4096\n \ttype: 9\n \tmetaflags 0\n \tkeys: 0\trecor...minkey: 2\n-\troot: 7\n-page 7: btree leaf: LSN [0][1]: level 1\n-\tprev:    0 next:    0 entries:    0 offset: 4096\n'

tests/comparators/test_berkeley_db.py:49: IndexError
------------------------------ Captured log setup ------------------------------
__init__.py                128 DEBUG    Loaded 66 comparator classes
specialize.py               59 DEBUG    File not identified by any comparator. Magic says: , created: Thu Jan  1 00:38:24 1970
specialize.py               59 DEBUG    File not identified by any comparator. Magic says: , created: Thu Jan  1 00:38:24 1970
command.py                  35 DEBUG    Executing xxd /tmp/testrun/.pybuild/cpython3_3.6/build/tests/data/test1.db
command.py                  35 DEBUG    Executing xxd /tmp/testrun/.pybuild/cpython3_3.6/build/tests/data/test2.db
diff.py                    177 DEBUG    Running diff -aU7 /tmp/tmpwgy6z5wm_diffoscope/fifo1 /tmp/tmpwgy6z5wm_diffoscope/fifo2
diff.py                    193 DEBUG    diff -aU7 /tmp/tmpwgy6z5wm_diffoscope/fifo1 /tmp/tmpwgy6z5wm_diffoscope/fifo2: returncode 1, parsed True
__________________________ test_compare_non_existing ___________________________

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f556bc0a518>
db1 = <<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/cpython3_3.6/build/tests/data/test1.db>

    @skip_unless_tools_exist('db_dump')
    def test_compare_non_existing(monkeypatch, db1):
>       assert_non_existing(monkeypatch, db1, has_null_source=False)

db1        = <<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/cpython3_3.6/build/tests/data/test1.db>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f556bc0a518>

tests/comparators/test_berkeley_db.py:54: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f556bc0a518>
fixture = <<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/cpython3_3.6/build/tests/data/test1.db>
has_null_source = False, has_details = True

    def assert_non_existing(monkeypatch, fixture, has_null_source=True, has_details=True):
        monkeypatch.setattr(Config(), 'new_file', True)
        assert Config().new_file, "didnt get patched"
    
        difference = fixture.compare(MissingFile('/nonexisting', fixture))
    
        assert difference.source2 == '/nonexisting'
>       assert not has_details or len(difference.details) > 0
E       AssertionError

difference = <Difference /tmp/testrun/.pybuild/cpython3_3.6/build/tests/data/test1.db -- /nonexisting []>
fixture    = <<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/cpython3_3.6/build/tests/data/test1.db>
has_details = True
has_null_source = False
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f556bc0a518>

tests/utils/nonexisting.py:32: AssertionError
------------------------------ Captured log setup ------------------------------
__init__.py                128 DEBUG    Loaded 66 comparator classes
specialize.py               59 DEBUG    File not identified by any comparator. Magic says: , created: Thu Jan  1 00:38:24 1970
------------------------------ Captured log call -------------------------------
command.py                  35 DEBUG    Executing xxd /tmp/testrun/.pybuild/cpython3_3.6/build/tests/data/test1.db
diff.py                    177 DEBUG    Running diff -aU7 /tmp/tmp4aw490j__diffoscope/fifo1 /tmp/tmp4aw490j__diffoscope/fifo2
diff.py                    193 DEBUG    diff -aU7 /tmp/tmp4aw490j__diffoscope/fifo1 /tmp/tmp4aw490j__diffoscope/fifo2: returncode 1, parsed True
============= 3 failed, 368 passed, 18 skipped in 3134.39 seconds ==============
E: pybuild pybuild:336: test: plugin distutils failed with: exit code=1: cd /tmp/testrun/.pybuild/cpython3_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 returned exit code 13
make: *** [debian/rules:35: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
debuild: fatal error at line 1152:
dpkg-buildpackage -rfakeroot -us -uc -ui failed
'/chroots/chroot-run-sid.k7Xt6Wyem//tmp/job-exports/test-results' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/ws/job-exports/test-results'>
'/chroots/chroot-run-sid.k7Xt6Wyem//tmp/job-exports/test-results/tests.xml' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/ws/job-exports/test-results/tests.xml'>
Sun 29 Apr 09:02:11 UTC 2018 - /srv/jenkins/bin/chroot-run.sh stopped running as /tmp/jenkins-script-ViYPCWKd, which will now be removed.
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list