[Qa-jenkins-scm] Build failed in Jenkins: reproducible_diffoscope_from_git #1122

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Thu Nov 11 16:58:23 GMT 2021


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

Changes:

[lamby] Detect XML files as XML files if file(1) claims if they are XML files or


------------------------------------------
[...truncated 447.67 KB...]

differences = [<Difference zipinfo {} -- zipinfo {} []>,
 <Difference content.opf -- content.opf [<Difference content.opf -- content.opf []>]>,
 <Difference toc.ncx -- toc.ncx [<Difference toc.ncx -- toc.ncx []>]>,
 <Difference ch001.xhtml -- ch001.xhtml [<Difference ch001.xhtml -- ch001.xhtml []>]>]
expected_diff = ('@@ -1,11 +1,11 @@\n'
 '-Zip file size: 3320 bytes, number of entries: 9\n'
 '--rw----     0.0 fat       20 b- stor 15-Oct-27 11:32 mimetype\n'
 '--rw----     0.0 fat      246 b- defX 15-Oct-27 11:32 '
 'META-INF/container.xml\n'
 '--rw----     0.0 fat      160 b- defX 15-Oct-27 11:32 '
 'META-INF/com.apple.ibooks.display-options.xml\n'
 '--rw----     0.0 fat      439 b- defX 15-Oct-27 11:32 stylesheet.css\n'
 '--rw----     0.0 fat      529 b- defX 15-Oct-27 11:32 title_page.xhtml\n'
 '--rw----     0.0 fat     1129 b- defX 15-Oct-27 11:32 content.opf\n'
 '--rw----     0.0 fat      742 b- defX 15-Oct-27 11:32 toc.ncx\n'
 '--rw----     0.0 fat      655 b- defX 15-Oct-27 11:32 nav.xhtml\n'
 '--rw----     0.0 fat      615 b- defX 15-Oct-27 11:32 ch001.xhtml\n'
 '-9 files, 4535 bytes uncompressed, 2328 bytes compressed:  48.7%\n'
 '+Zip file size: 3317 bytes, number of entries: 9\n'
 '+-rw----     0.0 fat       20 b- stor 15-Oct-27 11:33 mimetype\n'
 '+-rw----     0.0 fat      246 b- defX 15-Oct-27 11:33 '
 'META-INF/container.xml\n'
 '+-rw----     0.0 fat      160 b- defX 15-Oct-27 11:33 '
 'META-INF/com.apple.ibooks.display-options.xml\n'
 '+-rw----     0.0 fat      439 b- defX 15-Oct-27 11:33 stylesheet.css\n'
 '+-rw----     0.0 fat      529 b- defX 15-Oct-27 11:33 title_page.xhtml\n'
 '+-rw----     0.0 fat     1129 b- defX 15-Oct-27 11:33 content.opf\n'
 '+-rw----     0.0 fat      742 b- defX 15-Oct-27 11:33 toc.ncx\n'
 '+-rw----     0.0 fat      655 b- defX 15-Oct-27 11:33 nav.xhtml\n'
 '+-rw----     0.0 fat      615 b- defX 15-Oct-27 11:33 ch001.xhtml\n'
 '+9 files, 4535 bytes uncompressed, 2325 bytes compressed:  48.7%\n'
 '@@ -1,13 +1,13 @@\n'
 ' <?xml version="1.0" encoding="UTF-8"?>\n'
 ' <package version="2.0" xmlns="http://www.idpf.org/2007/opf" '
 'unique-identifier="epub-id-1">\n'
 '   <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" '
 'xmlns:opf="http://www.idpf.org/2007/opf">\n'
 '-    <dc:identifier '
 'id="epub-id-1">urn:uuid:488fe0b5-29d9-4d64-a023-ca08947d78ae</dc:identifier>\n'
 '+    <dc:identifier '
 'id="epub-id-1">urn:uuid:c3082605-195c-4273-acad-528beceba843</dc:identifier>\n'
 '     <dc:title id="epub-title-1">Test Ebook</dc:title>\n'
 '-    <dc:date id="epub-date-1">2015-10-27T11:32:54Z</dc:date>\n'
 '+    <dc:date id="epub-date-1">2015-10-27T11:33:20Z</dc:date>\n'
 '     <dc:language>en-US</dc:language>\n'
 '   </metadata>\n'
 '   <manifest>\n'
 '     <item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml" />\n'
 '     <item id="style" href="stylesheet.css" media-type="text/css" />\n'
 '     <item id="nav" href="nav.xhtml" media-type="application/xhtml+xml" />\n'
 '     <item id="title_page_xhtml" href="title_page.xhtml" '
 'media-type="application/xhtml+xml" />\n'
 '@@ -1,11 +1,11 @@\n'
 ' <?xml version="1.0" encoding="UTF-8"?>\n'
 ' <ncx version="2005-1" xmlns="http://www.daisy.org/z3986/2005/ncx/">\n'
 '   <head>\n'
 '-    <meta name="dtb:uid" '
 'content="urn:uuid:488fe0b5-29d9-4d64-a023-ca08947d78ae" />\n'
 '+    <meta name="dtb:uid" '
 'content="urn:uuid:c3082605-195c-4273-acad-528beceba843" />\n'
 '     <meta name="dtb:depth" content="1" />\n'
 '     <meta name="dtb:totalPageCount" content="0" />\n'
 '     <meta name="dtb:maxPageNumber" content="0" />\n'
 '   </head>\n'
 '   <docTitle>\n'
 '     <text>Test Ebook</text>\n'
 '   </docTitle>\n'
 '@@ -8,12 +8,12 @@\n'
 '   <title>Test Ebook</title>\n'
 '   <link rel="stylesheet" type="text/css" href="stylesheet.css" />\n'
 ' </head>\n'
 ' <body>\n'
 ' <div id="test-ebook" class="section level1 unnumbered">\n'
 ' <h1>Test Ebook</h1>\n'
 ' <p>Hello World!</p>\n'
 '-<p>Time: 12:32</p>\n'
 '+<p>Time: 12:33</p>\n'
 ' </div>\n'
 ' </body>\n'
 ' </html>\n'
 ' \n')

tests/comparators/test_epub.py:59: TypeError
--------- generated xml file: /tmp/job-exports/test-results/tests.xml ----------

----------- coverage: platform linux, python 3.9.8-final-0 -----------
Name                                         Stmts   Miss  Cover   Missing
--------------------------------------------------------------------------
diffoscope/__init__.py                           1      0   100%
diffoscope/changes.py                          122     52    57%   84, 92, 95, 104, 111, 118, 139, 176, 182, 188, 194-198, 204, 210, 226-229, 232-235, 244, 256-288, 306-308, 313-316, 323, 335
diffoscope/comparators/__init__.py              47     21    55%   141-147, 152-161, 166-175
diffoscope/comparators/android.py               43      1    98%   49
diffoscope/comparators/apk.py                  148     11    93%   47-49, 55, 239-242, 245, 257, 272, 276
diffoscope/comparators/ar.py                    27      0   100%
diffoscope/comparators/berkeley_db.py           20      0   100%
diffoscope/comparators/binary.py                17      0   100%
diffoscope/comparators/binwalk.py               61      6    90%   32-33, 37-39, 74
diffoscope/comparators/bzip2.py                 25      0   100%
diffoscope/comparators/cbfs.py                  89     43    52%   39-40, 46, 49, 55-66, 69, 72, 75, 79-91, 104-114, 145-148, 152-166, 169
diffoscope/comparators/cpio.py                  10      0   100%
diffoscope/comparators/deb.py                  126      9    93%   37-39, 52, 77, 136, 189-191
diffoscope/comparators/debian.py               161      9    94%   78-80, 107-112, 232-236, 256, 332
diffoscope/comparators/debian_fallback.py       17      0   100%
diffoscope/comparators/decompile.py            193     99    49%   40-41, 60-61, 64-69, 73, 76, 80, 88-99, 103-111, 118, 121, 124, 134-135, 139, 142, 145, 158-161, 167, 171, 177, 180, 183, 186, 192-203, 206-212, 224-231, 234, 241, 245, 249, 253, 257-260, 264-275, 279-284, 307-327, 330, 336, 339, 342-343, 346-347
diffoscope/comparators/device.py                49      6    88%   49-52, 87-90
diffoscope/comparators/dex.py                   29      1    97%   36
diffoscope/comparators/directory.py            163     42    74%   54-57, 113-121, 127-130, 134-158, 188-189, 192, 195-216, 278
diffoscope/comparators/docx.py                  14      0   100%
diffoscope/comparators/dtb.py                   14      0   100%
diffoscope/comparators/elf.py                  345     32    91%   78, 83-84, 222, 237, 339, 383, 405-407, 415, 427-429, 437, 469, 509-518, 526-528, 533, 546, 557, 563, 576-580, 592-597, 684-687
diffoscope/comparators/ffprobe.py               27      0   100%
diffoscope/comparators/fit.py                   57      2    96%   88, 118
diffoscope/comparators/fontconfig.py            26      0   100%
diffoscope/comparators/fonts.py                 16      0   100%
diffoscope/comparators/fsimage.py               85     18    79%   33-35, 43, 50-51, 58-64, 68-70, 76, 81-82, 86, 131
diffoscope/comparators/gettext.py               37      0   100%
diffoscope/comparators/gif.py                   42      4    90%   56-57, 100-101
diffoscope/comparators/git.py                   29      0   100%
diffoscope/comparators/gnumeric.py              19      0   100%
diffoscope/comparators/gzip.py                  27      0   100%
diffoscope/comparators/haskell.py               60     13    78%   37, 47, 85-87, 96, 102-109, 113, 124-125, 142, 145
diffoscope/comparators/hdf.py                   14      0   100%
diffoscope/comparators/icc.py                   14      0   100%
diffoscope/comparators/image.py                 84      6    93%   135-136, 164-165, 184-185
diffoscope/comparators/ipk.py                    4      0   100%
diffoscope/comparators/iso9660.py               52      3    94%   33, 72, 95
diffoscope/comparators/java.py                  51      4    92%   94-97, 106
diffoscope/comparators/javascript.py            13      0   100%
diffoscope/comparators/json.py                  56     10    82%   34-36, 54-55, 81, 90-91, 95, 99
diffoscope/comparators/kbx.py                   18      1    94%   35
diffoscope/comparators/llvm.py                  22      0   100%
diffoscope/comparators/lz4.py                   28      0   100%
diffoscope/comparators/macho.py                303     57    81%   91-93, 97, 101, 104, 108-111, 116, 121, 126, 131, 145-148, 152, 156, 159, 163-166, 171-172, 178, 181-182, 187-188, 210, 321, 325, 329-346, 363, 469, 492, 506-509, 535, 556-559, 579, 583, 622, 634-642
diffoscope/comparators/missing_file.py          53      3    94%   71, 74, 92
diffoscope/comparators/mono.py                  14      0   100%
diffoscope/comparators/ocaml.py                 19      6    68%   31, 34-37, 45
diffoscope/comparators/odt.py                   14      0   100%
diffoscope/comparators/ogg.py                   14      0   100%
diffoscope/comparators/openssh.py               14      0   100%
diffoscope/comparators/openssl.py               26      5    81%   56-68, 71-77
diffoscope/comparators/pcap.py                  14      0   100%
diffoscope/comparators/pdf.py                   67      5    93%   30-32, 55, 99
diffoscope/comparators/pe32.py                  18      5    72%   31, 41-44, 52
diffoscope/comparators/pgp.py                   59      5    92%   72, 103-104, 110-112
diffoscope/comparators/png.py                   32      2    94%   78-79
diffoscope/comparators/ppu.py                   57     16    72%   73, 85-98, 101-107
diffoscope/comparators/ps.py                    25      2    92%   50-51
diffoscope/comparators/python.py                63      3    95%   51-53
diffoscope/comparators/rdata.py                 58      4    93%   93, 104, 108, 170
diffoscope/comparators/rpm.py                   73      1    99%   42
diffoscope/comparators/rpm_fallback.py          12      0   100%
diffoscope/comparators/rust.py                  32      0   100%
diffoscope/comparators/sphinx.py                20      0   100%
diffoscope/comparators/sqlite.py                14      0   100%
diffoscope/comparators/squashfs.py             179     23    87%   98, 116, 130, 138, 141, 155, 163, 189-190, 196-197, 203-204, 219, 246-247, 291-304, 320-322
diffoscope/comparators/symlink.py               35      2    94%   58-59
diffoscope/comparators/tar.py                   12      0   100%
diffoscope/comparators/text.py                  27      2    93%   69-71
diffoscope/comparators/uimage.py                24      0   100%
diffoscope/comparators/utils/__init__.py         0      0   100%
diffoscope/comparators/utils/archive.py        100     14    86%   67, 71, 75, 79, 125-126, 142, 145, 148, 157, 160, 167, 170, 175
diffoscope/comparators/utils/command.py         56      3    95%   63, 77, 105
diffoscope/comparators/utils/compare.py         94     12    87%   77, 92, 110-111, 124, 137-145
diffoscope/comparators/utils/container.py      120      7    94%   66, 70, 115-119, 205
diffoscope/comparators/utils/file.py           289     57    80%   39-40, 53-59, 80-94, 116, 122, 288-303, 345-347, 357-359, 367, 371, 375, 460-463, 477-480, 488, 492-496, 536-549, 561, 568, 576, 584, 590, 599
diffoscope/comparators/utils/fuzzy.py           33      2    94%   27-28
diffoscope/comparators/utils/libarchive.py     183     22    88%   45-48, 52-55, 67-70, 74-77, 81-84, 132-135, 174, 203, 211, 214, 227, 241, 255-256, 328-329
diffoscope/comparators/utils/operation.py       26      6    77%   33, 40, 48, 55, 62, 66
diffoscope/comparators/utils/specialize.py      32      2    94%   78, 81
diffoscope/comparators/wasm.py                  19      0   100%
diffoscope/comparators/xml.py                   49      3    94%   69, 152-153
diffoscope/comparators/xsb.py                   17      0   100%
diffoscope/comparators/xz.py                    28      0   100%
diffoscope/comparators/zip.py                  150      4    97%   148, 151, 235-236
diffoscope/comparators/zst.py                   26      1    96%   38
diffoscope/config.py                            45      4    91%   79-90
diffoscope/diff.py                             431     60    86%   102, 139, 198, 236, 238-240, 282-285, 298-326, 377, 408, 554-559, 578-579, 590, 607, 609, 613, 629, 634, 667-668, 671-672, 694-695, 698-708, 716-719, 729-732, 747
diffoscope/difference.py                       230     18    92%   118, 228-232, 251, 286, 293-294, 313, 348-351, 382, 398, 404, 428, 459
diffoscope/environ.py                           13      0   100%
diffoscope/exc.py                               21      0   100%
diffoscope/excludes.py                          24      5    79%   31-36, 43-45
diffoscope/external_tools.py                     5      0   100%
diffoscope/feeders.py                           83      3    96%   36, 116-117
diffoscope/logging.py                           28      4    86%   30-31, 36-37
diffoscope/main.py                             274     72    74%   61-63, 67-69, 75, 443, 451-458, 470-474, 481-507, 521, 563-605, 622, 676, 691-692, 714, 721-722, 727, 732-740, 757, 759-762, 767-773, 788
diffoscope/path.py                               7      0   100%
diffoscope/presenters/__init__.py                0      0   100%
diffoscope/presenters/formats.py                43      4    91%   99-102
diffoscope/presenters/html/__init__.py           1      0   100%
diffoscope/presenters/html/html.py             472    125    74%   82-89, 143-146, 150, 152-154, 268-269, 272, 307, 334, 351-362, 421, 432, 445-449, 454, 461-468, 479, 484-496, 499-514, 545-548, 552-557, 560, 566-570, 595-604, 609-621, 626-640, 655, 675-678, 753, 755, 819, 835, 846-878, 896
diffoscope/presenters/html/templates.py         11      0   100%
diffoscope/presenters/icon.py                    1      0   100%
diffoscope/presenters/json.py                   32      1    97%   55
diffoscope/presenters/markdown.py               19      0   100%
diffoscope/presenters/restructuredtext.py       25      0   100%
diffoscope/presenters/text.py                   44      7    84%   61-66, 71-72, 81-82
diffoscope/presenters/utils.py                 166     14    92%   42, 71, 153, 158, 165, 307, 343, 354, 357, 422-427
diffoscope/profiling.py                         42      0   100%
diffoscope/progress.py                         168     18    89%   34-36, 45-52, 78, 89-90, 95, 120, 225, 240-241, 249
diffoscope/readers/__init__.py                   9      0   100%
diffoscope/readers/json.py                      17      1    94%   34
diffoscope/readers/utils.py                      2      0   100%
diffoscope/tempfiles.py                         57      9    84%   83-84, 99-105, 123-124
diffoscope/tools.py                             93     13    86%   26-27, 97-98, 108-109, 148, 161, 166, 181-184
diffoscope/utils.py                             38      1    97%   45
--------------------------------------------------------------------------
TOTAL                                         7403   1026    86%
Coverage HTML written to dir htmlcov

=========================== short test summary info ============================
SKIPPED [1] tests/comparators/test_cbfs.py:100: requires cbfstool
SKIPPED [1] tests/comparators/test_cbfs.py:105: requires cbfstool
SKIPPED [1] tests/comparators/test_cbfs.py:110: requires cbfstool
SKIPPED [1] tests/comparators/test_cbfs.py:122: requires cbfstool
SKIPPED [1] tests/comparators/test_cbfs.py:134: requires cbfstool
SKIPPED [1] tests/comparators/test_cbfs.py:142: requires cbfstool
SKIPPED [1] tests/comparators/test_dex.py:91: requires  >= 14.0 (11.0.13 detected)
SKIPPED [1] tests/comparators/test_elf_decompiler.py:78: radare2 didn't recognize pdgj command
SKIPPED [1] tests/comparators/test_elf_decompiler.py:88: radare2 didn't recognize pdgj command
SKIPPED [1] tests/comparators/test_elf_decompiler.py:98: requires r2pipe Python module
SKIPPED [1] tests/comparators/test_haskell.py:35: mismatch between system ghc and fixture
SKIPPED [1] tests/comparators/test_haskell.py:52: mismatch between system ghc and fixture
SKIPPED [1] tests/comparators/test_java.py:97: requires  >= 14.0 (11.0.13 detected)
SKIPPED [1] tests/comparators/test_macho.py:59: requires otool and lipo
SKIPPED [1] tests/comparators/test_macho.py:67: requires otool and lipo
SKIPPED [1] tests/comparators/test_macho_decompiler.py:86: radare2 didn't recognize pdgj command
SKIPPED [1] tests/comparators/test_macho_decompiler.py:96: radare2 didn't recognize pdgj command
SKIPPED [1] tests/comparators/test_macho_decompiler.py:109: requires r2pipe Python module
SKIPPED [1] tests/comparators/test_ocaml.py:59: requires  >= 4.12 (4.11.1 detected)
SKIPPED [1] tests/comparators/test_ocaml.py:69: requires  >= 4.12 (4.11.1 detected)
SKIPPED [1] tests/comparators/test_ocaml.py:75: requires  >= 4.12 (4.11.1 detected)
SKIPPED [1] tests/comparators/test_ocaml.py:80: requires  >= 4.12 (4.11.1 detected)
SKIPPED [1] tests/comparators/test_odt.py:55: requires  >= 0.7 (0.5 detected)
SKIPPED [1] tests/comparators/test_odt.py:60: requires  >= 0.7 (0.5 detected)
SKIPPED [1] tests/comparators/test_utils.py:49: requires
SKIPPED [1] tests/comparators/test_utils.py:54: requires /missing
XFAIL tests/comparators/test_apk.py::test_android_manifest
======= 1 failed, 667 passed, 26 skipped, 1 xfailed in 656.11s (0:10:56) =======
E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd /tmp/testrun/.pybuild/cpython3_3.9/build; python3.9 -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: error: pybuild --test --test-pytest -i python{version} -p 3.9 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.exgPIpXzV//tmp/job-exports/test-results' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git/ws/job-exports/test-results'>
'/chroots/chroot-run-sid.exgPIpXzV//tmp/job-exports/test-results/tests.xml' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git/ws/job-exports/test-results/tests.xml'>
Thu Nov 11 16:58:22 UTC 2021 - chroot-run.sh stopped running as /tmp/jenkins-script-Z1NUs6G6, removing.
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list