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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Sat Jul 13 19:25:06 BST 2019


See <https://jenkins.debian.net/job/reproducible_diffoscope_from_git_branches/573/display/redirect>

------------------------------------------
[...truncated 1.05 MB...]
 ' \t0x0030:  6361 7374 045f 7463 7005 6c6f 6361 6c00  cast._tcp.local.\n'
 ' \t0x0040:  000c 0001                                ....\n'
 '- 00:00:35.790310 IP6 fe80::42:84ff:fe0a:124b.5353 > ff02::fb.5353: 0 PTR '
 '(QM)? _googlecast._tcp.local. (40)\n'
 '+ 00:00:52.918320 IP6 fe80::42:84ff:fe0a:124b.5353 > ff02::fb.5353: 0 PTR '
 '(QM)? _googlecast._tcp.local. (40)\n'
 ' \t0x0000:  600a 59c7 0030 1101 fe80 0000 0000 0000  `.Y..0..........\n'
 ' \t0x0010:  0042 84ff fe0a 124b ff02 0000 0000 0000  .B.....K........\n'
 ' \t0x0020:  0000 0000 0000 00fb 14e9 14e9 0030 9457  .............0.W\n'
 ' \t0x0030:  0000 0000 0001 0000 0000 0000 0b5f 676f  ............._go\n'
 ' \t0x0040:  6f67 6c65 6361 7374 045f 7463 7005 6c6f  oglecast._tcp.lo\n'
 ' \t0x0050:  6361 6c00 000c 0001                      cal.....\n'
 '- 00:00:35.790343 IP6 fe80::50fc:25ff:fe42:cef1.5353 > ff02::fb.5353: 0 PTR '
 '(QM)? _googlecast._tcp.local. (40)\n'
 '+ 00:00:52.918384 IP6 fe80::50fc:25ff:fe42:cef1.5353 > ff02::fb.5353: 0 PTR '
 '(QM)? _googlecast._tcp.local. (40)\n'
 ' \t0x0000:  600d e287 0030 1101 fe80 0000 0000 0000  `....0..........\n'
 ' \t0x0010:  50fc 25ff fe42 cef1 ff02 0000 0000 0000  P.%..B..........\n'
 ' \t0x0020:  0000 0000 0000 00fb 14e9 14e9 0030 42f0  .............0B.\n'
 ' \t0x0030:  0000 0000 0001 0000 0000 0000 0b5f 676f  ............._go\n'
 ' \t0x0040:  6f67 6c65 6361 7374 045f 7463 7005 6c6f  oglecast._tcp.lo\n'
 ' \t0x0050:  6361 6c00 000c 0001                      cal.....\n'
 '- 00:00:35.790418 IP 172.17.0.1.40692 > 239.255.255.250.1900: UDP, length '
 '172\n'
 '-\t0x0000:  4500 00c8 75e5 4000 0111 6733 ac11 0001  E...u. at ...g3....\n'
 '-\t0x0010:  efff fffa 9ef4 076c 00b4 9cd2 4d2d 5345  .......l....M-SE\n'
 '+ 00:00:52.921620 IP 172.17.0.1.36770 > 239.255.255.250.1900: UDP, length '
 '172\n'
 '+\t0x0000:  4500 00c8 7688 4000 0111 6690 ac11 0001  E...v. at ...f.....\n'
 '+\t0x0010:  efff fffa 8fa2 076c 00b4 9cd2 4d2d 5345  .......l....M-SE\n'
 ' \t0x0020:  4152 4348 202a 2048 5454 502f 312e 310d  ARCH.*.HTTP/1.1.\n'
 ' \t0x0030:  0a48 4f53 543a 2032 3339 2e32 3535 2e32  .HOST:.239.255.2\n'
 ' \t0x0040:  3535 2e32 3530 3a31 3930 300d 0a4d 414e  55.250:1900..MAN\n'
 ' \t0x0050:  3a20 2273 7364 703a 6469 7363 6f76 6572  :."ssdp:discover\n'
 ' \t0x0060:  220d 0a4d 583a 2031 0d0a 5354 3a20 7572  "..MX:.1..ST:.ur\n'
 ' \t0x0070:  6e3a 6469 616c 2d6d 756c 7469 7363 7265  n:dial-multiscre\n'
 ' \t0x0080:  656e 2d6f 7267 3a73 6572 7669 6365 3a64  en-org:service:d\n')

tests/comparators/test_pcap.py:49: IndexError
__________________________ test_compare_non_existing ___________________________

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f37766bb0d0>
pcap1 = <<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/cpython3_3.7/build/tests/data/test1.pcap>

    @skip_unless_tools_exist('tcpdump')
    def test_compare_non_existing(monkeypatch, pcap1):
>       assert_non_existing(monkeypatch, pcap1, has_null_source=False)

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f37766bb0d0>
pcap1      = <<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/cpython3_3.7/build/tests/data/test1.pcap>

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

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f37766bb0d0>
fixture = <<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/cpython3_3.7/build/tests/data/test1.pcap>
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.7/build/tests/data/test1.pcap -- /nonexisting []>
fixture    = <<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/cpython3_3.7/build/tests/data/test1.pcap>
has_details = True
has_null_source = False
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f37766bb0d0>

tests/utils/nonexisting.py:32: AssertionError
--------- generated xml file: /tmp/job-exports/test-results/tests.xml ----------

----------- coverage: platform linux, python 3.7.4-final-0 -----------
Name                                         Stmts   Miss  Cover   Missing
--------------------------------------------------------------------------
diffoscope/__init__.py                           1      0   100%
diffoscope/changes.py                          122     52    57%   85, 93, 96, 105, 112, 119, 140, 177, 183, 189, 195-197, 203, 209, 225-228, 231-234, 243, 255-287, 308-315, 322, 334
diffoscope/comparators/__init__.py              39     14    64%   124-126, 131-139, 144-148
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      0   100%
diffoscope/comparators/binary.py                16      0   100%
diffoscope/comparators/binwalk.py               58      5    91%   32-33, 37-38, 72
diffoscope/comparators/bzip2.py                 24      0   100%
diffoscope/comparators/cbfs.py                  85     43    49%   39-40, 45, 48, 54-65, 68, 71, 74, 78-84, 97-99, 122-125, 129-142, 145
diffoscope/comparators/cpio.py                  10      0   100%
diffoscope/comparators/deb.py                  118      8    93%   36-37, 50, 75, 128, 164-166
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            162     22    86%   53-56, 97, 109, 116-117, 124-126, 141-143, 150, 154-155, 157, 160-161, 173-174, 232, 285
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, 382, 394-396, 401, 444, 459-465, 487, 500-502, 512-514
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                  45      6    87%   29-30, 44, 81, 88-89
diffoscope/comparators/llvm.py                  20      0   100%
diffoscope/comparators/lz4.py                   27      5    81%   45-51
diffoscope/comparators/macho.py                 56     28    50%   33-35, 39, 42, 46-49, 54, 59, 64, 69, 81-87, 93-125
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      2    85%   32, 46
diffoscope/comparators/pdf.py                   13      0   100%
diffoscope/comparators/pgp.py                   13      0   100%
diffoscope/comparators/png.py                   30      2    93%   72-73
diffoscope/comparators/ppu.py                   54     14    74%   71, 79-92
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%   99, 116, 130, 137, 140, 154, 162, 191-192, 197-198, 204-205, 220, 247-248, 285-287
diffoscope/comparators/symlink.py               32      2    94%   58-59
diffoscope/comparators/tar.py                   12      0   100%
diffoscope/comparators/text.py                  33      2    94%   66-68
diffoscope/comparators/utils/__init__.py         0      0   100%
diffoscope/comparators/utils/archive.py         90     13    86%   57, 61, 65, 69, 108-109, 125, 128, 131, 140, 150, 153, 158
diffoscope/comparators/utils/command.py         44      3    93%   63, 76, 79
diffoscope/comparators/utils/compare.py         90      6    93%   40-41, 76, 91, 102-103
diffoscope/comparators/utils/container.py      106      6    94%   67, 71, 116-120
diffoscope/comparators/utils/file.py           220     36    84%   36-37, 50-56, 82-92, 104, 212-213, 265-267, 274, 278, 282, 338-341, 347-350, 380, 385, 401, 407, 419-421
diffoscope/comparators/utils/fuzzy.py           29      2    93%   27-28
diffoscope/comparators/utils/libarchive.py     168     20    88%   43-45, 48-50, 59-61, 64-66, 69-71, 127, 156, 163, 166, 179, 193, 207-208, 276-277
diffoscope/comparators/utils/specialize.py      31      2    94%   70, 73
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                   95      3    97%   80, 83, 113
diffoscope/config.py                            42      4    90%   75-82
diffoscope/diff.py                             413     51    88%   101, 138, 197, 232, 234, 278-280, 292-317, 364, 547, 564, 569, 602-603, 606-607, 619-620, 623-629, 637-640, 650-653, 668
diffoscope/difference.py                       173     13    92%   102, 198-202, 215, 250, 257-258, 327, 333, 360
diffoscope/exc.py                               14      0   100%
diffoscope/excludes.py                          24      6    75%   31-34, 41-43
diffoscope/external_tools.py                     3      0   100%
diffoscope/feeders.py                           58      2    97%   76-77
diffoscope/locale.py                            13      0   100%
diffoscope/logging.py                           27      6    78%   28-30, 34-36
diffoscope/main.py                             250     54    78%   53-54, 66, 251, 253, 255-257, 267-269, 275-288, 301, 316, 335-365, 374, 382, 390-392, 396-400, 422, 426-431, 447, 454-455, 460, 475, 477-482, 497
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, 228-229, 232, 259, 281, 293-301, 341, 354, 369-373, 377, 380-386, 397, 402-411, 414-429, 457-460, 464-469, 472, 477-480, 503-508, 513-524, 529-541, 556, 573-576, 644, 679, 703, 718-719, 729-758, 774
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, 298, 342, 405-409
diffoscope/profiling.py                         40      0   100%
diffoscope/progress.py                         164     16    90%   39-46, 72, 80-83, 86, 111, 213, 228-229, 237
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                         45     11    76%   56-57, 66-78
diffoscope/tools.py                             64     20    69%   26-27, 54-55, 82-83, 95, 108, 112-115, 121-122, 126-134
--------------------------------------------------------------------------
TOTAL                                         5777    787    86%
Coverage HTML written to dir htmlcov

=========================== short test summary info ============================
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_cbfs.py:96: requires cbfstool
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_cbfs.py:101: requires cbfstool
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_cbfs.py:106: requires cbfstool
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_cbfs.py:118: requires cbfstool
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_cbfs.py:129: requires cbfstool
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_cbfs.py:137: requires cbfstool
SKIP [3] /tmp/testrun/.pybuild/cpython3_3.7/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.7/build/tests/comparators/test_haskell.py:37: mismatch between system ghc and fixture
SKIP [1] /tmp/testrun/.pybuild/cpython3_3.7/build/tests/comparators/test_haskell.py:54: mismatch between system ghc and fixture
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_java.py:77: requires procyon-decompiler
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_java.py:87: requires procyon-decompiler
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_lz4.py:49: requires lz4
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_lz4.py:55: requires lz4
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_lz4.py:68: requires lz4
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_lz4.py:74: requires lz4
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_macho.py:50: requires otool and lipo
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_macho.py:58: requires otool and lipo
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_ps.py:58: requires ps2ascii <= 9.21 (9.27
 detected)
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_utils.py:46: requires
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_utils.py:51: requires /missing
=============================== warnings summary ===============================
diffoscope/main.py:185
  /tmp/testrun/.pybuild/cpython3_3.7/build/diffoscope/main.py:185: DeprecationWarning: invalid escape sequence \s
    "example '^readelf.*\s--debug-dump=info' can take a long "

diffoscope/presenters/html/html.py:136
  /tmp/testrun/.pybuild/cpython3_3.7/build/diffoscope/presenters/html/html.py:136: DeprecationWarning: invalid escape sequence \<
    t.write('<br/><span class="diffponct">\</span>')

diffoscope/presenters/html/templates.py:214
  /tmp/testrun/.pybuild/cpython3_3.7/build/diffoscope/presenters/html/templates.py:214: DeprecationWarning: invalid escape sequence \(
    """

tests/test_presenters.py:233
  /tmp/testrun/.pybuild/cpython3_3.7/build/tests/test_presenters.py:233: DeprecationWarning: invalid escape sequence \;
    PartialString.escape("-exec ls -la {} \;"), 2)

tests/test_presenters.py:239
  /tmp/testrun/.pybuild/cpython3_3.7/build/tests/test_presenters.py:239: DeprecationWarning: invalid escape sequence \;
    "find {0} -name {1} -exec ls -la {2} \;", 3).pformat({2: "{}"})

diffoscope/comparators/rpm_fallback.py:26
  /tmp/testrun/.pybuild/cpython3_3.7/build/diffoscope/comparators/rpm_fallback.py:26: DeprecationWarning: invalid escape sequence \s
    FILE_TYPE_RE = re.compile('^RPM\s')

tests/utils/tools.py:63
  /tmp/testrun/.pybuild/cpython3_3.7/build/tests/utils/tools.py:63: RemovedInPytest4Warning: Fixture "<lambda>" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information.
    actual_ver = actual_ver()

-- Docs: https://docs.pytest.org/en/latest/warnings.html
======== 4 failed, 374 passed, 22 skipped, 7 warnings in 482.14 seconds ========
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd /tmp/testrun/.pybuild/cpython3_3.7/build; python3.7 -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.7 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 1182:
dpkg-buildpackage -us -uc -ui failed
'/chroots/chroot-run-sid.A1E2zWwYv//tmp/job-exports/test-results' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_branches/ws/job-exports/test-results'>
'/chroots/chroot-run-sid.A1E2zWwYv//tmp/job-exports/test-results/tests.xml' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_branches/ws/job-exports/test-results/tests.xml'>
Sat 13 Jul 18:25:03 UTC 2019 - /srv/jenkins/bin/chroot-run.sh stopped running as /tmp/jenkins-script-Hq8TsZfl, which will now be removed.
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list