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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Tue Nov 28 19:31:46 UTC 2017


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

Changes:

[infinity0] comparators/zip: exec zipinfo, don't need the shell to hang around

[infinity0] tests/data: fix up mozzip_zipinfo_expected_diff for the new behaviour

------------------------------------------
[...truncated 341.72 KB...]
tests/comparators/test_ps.py::test_text_diff SKIPPED
tests/comparators/test_ps.py::test_compare_non_existing PASSED
tests/comparators/test_rdata.py::test_identification PASSED
tests/comparators/test_rdata.py::test_no_differences PASSED
tests/comparators/test_rdata.py::test_num_items PASSED
tests/comparators/test_rdata.py::test_item_rds PASSED
tests/comparators/test_rlib.py::test_identification PASSED
tests/comparators/test_rlib.py::test_no_differences PASSED
tests/comparators/test_rlib.py::test_num_items PASSED
tests/comparators/test_rlib.py::test_item0_armap PASSED
tests/comparators/test_rlib.py::test_item1_elf PASSED
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_rpm.py::test_fallback_comparison 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_symlink.py::test_destination 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_text.py::test_ordering_differences 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_xml.py::test_identification PASSED
tests/comparators/test_xml.py::test_invalid PASSED
tests/comparators/test_xml.py::test_no_differences PASSED
tests/comparators/test_xml.py::test_diff 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_extra_fields 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

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

----------- coverage: platform linux, python 3.6.3-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              23      3    87%   113-114, 119
diffoscope/comparators/apk.py                   98      1    99%   41
diffoscope/comparators/ar.py                    25      0   100%
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                  84     43    49%   39-40, 44, 47, 53-64, 67, 70, 73, 77-81, 94-95, 117-120, 124-136, 139
diffoscope/comparators/cpio.py                   9      0   100%
diffoscope/comparators/deb.py                  107      9    92%   35-36, 49, 74, 87, 111, 145-147
diffoscope/comparators/debian.py               139      5    96%   80-82, 230, 251, 270
diffoscope/comparators/debian_fallback.py       25      0   100%
diffoscope/comparators/device.py                46      6    87%   47-50, 79-82
diffoscope/comparators/dex.py                   25      1    96%   36
diffoscope/comparators/directory.py            145     16    89%   51-54, 95, 107, 113-114, 121-122, 124, 127-128, 139-140, 194, 245
diffoscope/comparators/docx.py                  12      0   100%
diffoscope/comparators/dtb.py                   12      0   100%
diffoscope/comparators/elf.py                  281     30    89%   68, 76-77, 208, 246, 276, 318, 347-355, 375-377, 381, 393-395, 399, 440, 454-460, 476, 482, 495-496, 505-506
diffoscope/comparators/fontconfig.py            26      0   100%
diffoscope/comparators/fonts.py                 14      0   100%
diffoscope/comparators/fsimage.py               57     39    32%   31-32, 39-60, 63-66, 69, 72-76, 84-96
diffoscope/comparators/gettext.py               35      0   100%
diffoscope/comparators/gif.py                   39      4    90%   59-60, 101-102
diffoscope/comparators/git.py                   28      0   100%
diffoscope/comparators/gzip.py                  26      0   100%
diffoscope/comparators/haskell.py               57     13    77%   37, 47, 85-87, 96, 102-107, 111, 122-123, 140, 143
diffoscope/comparators/icc.py                   12      0   100%
diffoscope/comparators/image.py                 76      6    92%   142-143, 168-169, 190-191
diffoscope/comparators/ipk.py                    3      0   100%
diffoscope/comparators/iso9660.py               47      3    94%   33, 66, 87
diffoscope/comparators/java.py                  20      0   100%
diffoscope/comparators/javascript.py            11      0   100%
diffoscope/comparators/json.py                  26      0   100%
diffoscope/comparators/llvm.py                  15      0   100%
diffoscope/comparators/macho.py                 51     26    49%   33-35, 39, 42, 45-52, 57, 62, 67, 77-81, 87-102
diffoscope/comparators/missing_file.py          48      3    94%   67, 70, 89
diffoscope/comparators/mono.py                  12      0   100%
diffoscope/comparators/odt.py                   12      0   100%
diffoscope/comparators/ogg.py                   12      0   100%
diffoscope/comparators/openssh.py               12      0   100%
diffoscope/comparators/pcap.py                  12      0   100%
diffoscope/comparators/pdf.py                   17      0   100%
diffoscope/comparators/pgp.py                   12      0   100%
diffoscope/comparators/png.py                   32      2    94%   73-74
diffoscope/comparators/ppu.py                   53     14    74%   70, 77-90
diffoscope/comparators/ps.py                    23      2    91%   47-48
diffoscope/comparators/rdata.py                 43     16    63%   44-58, 86, 93-95
diffoscope/comparators/rpm.py                   69      2    97%   41, 48
diffoscope/comparators/rpm_fallback.py          11      0   100%
diffoscope/comparators/rust.py                  31      0   100%
diffoscope/comparators/sqlite.py                12      0   100%
diffoscope/comparators/squashfs.py             160     19    88%   98, 114, 128, 134, 137, 151, 159, 188-189, 193-194, 200-201, 216, 243-244, 281-283
diffoscope/comparators/symlink.py               28      0   100%
diffoscope/comparators/tar.py                   11      0   100%
diffoscope/comparators/text.py                  32      2    94%   62-64
diffoscope/comparators/utils/__init__.py         0      0   100%
diffoscope/comparators/utils/archive.py         87     11    87%   57, 61, 65, 69, 120, 123, 126, 135, 145, 148, 153
diffoscope/comparators/utils/command.py         64      1    98%   61
diffoscope/comparators/utils/compare.py         83      5    94%   40-41, 78, 88-89
diffoscope/comparators/utils/container.py      104      6    94%   67, 71, 113-117
diffoscope/comparators/utils/file.py           216     35    84%   36-37, 50-56, 80-90, 96, 102, 209-210, 267, 271, 275, 330-333, 339-342, 373, 376, 391, 397, 407-410
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%   65, 68
diffoscope/comparators/xml.py                   40      2    95%   137-138
diffoscope/comparators/xz.py                    26      0   100%
diffoscope/comparators/zip.py                   87      2    98%   76, 79
diffoscope/config.py                            39      4    90%   70-77
diffoscope/diff.py                             385     28    93%   90, 127, 186, 221, 223, 284, 466, 483, 488, 521-522, 525-526, 538-539, 542-546, 554-557, 567-570, 585
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                           57      0   100%
diffoscope/locale.py                            13      0   100%
diffoscope/logging.py                           15      0   100%
diffoscope/main.py                             228     41    82%   52-53, 65, 243, 245, 247-248, 258-259, 272, 284, 304-325, 334, 342, 349-350, 354-356, 377, 389, 396-397, 402, 417, 419-423, 434
diffoscope/path.py                               7      0   100%
diffoscope/presenters/__init__.py                0      0   100%
diffoscope/presenters/formats.py                40      4    90%   94-96, 100
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-521, 536, 550-553, 607, 628, 652, 666-667, 677-703, 718
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                         30      4    87%   55-56, 63-64
diffoscope/tools.py                             64     20    69%   26-27, 54-55, 82-83, 95, 108, 112-115, 121-122, 126-134
--------------------------------------------------------------------------
TOTAL                                         5409    685    87%
Coverage HTML written to dir htmlcov

=========================== short test summary info ============================
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_cbfs.py:96: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_cbfs.py:101: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_cbfs.py:106: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_cbfs.py:118: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_cbfs.py:129: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_cbfs.py:137: requires cbfstool
SKIP [3] /tmp/testrun/.pybuild/pythonX.Y_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/pythonX.Y_3.6/build/tests/comparators/test_haskell.py:37: mismatch between system ghc and fixture
SKIP [1] /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/comparators/test_haskell.py:54: mismatch between system ghc and fixture
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_ico_image.py:69: requires identify >= 6.9.8-4 (6.9.7-4 detected)
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_macho.py:50: requires otool and lipo
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_macho.py:58: requires otool and lipo
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_ps.py:58: requires ps2ascii <= 9.21 (9.22
 detected)
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_utils.py:44: requires
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_utils.py:49: requires /missing
=================================== FAILURES ===================================
_________________________________ test_zipinfo _________________________________

differences = [<Difference sh -ec 'exec zipinfo /dev/stdin < "$1"' - {} -- sh -ec 'exec zipinfo /dev/stdin < "$1"' - {} []>, <Differ... (decoded) [<Difference AndroidManifest.xml -- AndroidManifest.xml []>]>, <Difference APK metadata -- APK metadata []>]

    @skip_unless_tools_exist('apktool', 'zipinfo')
    def test_zipinfo(differences):
>       assert differences[0].source1 == 'zipinfo {}'
E       assert 'sh -ec \'exe...< "$1"\' - {}' == 'zipinfo {}'
E         - sh -ec 'exec zipinfo /dev/stdin < "$1"' - {}
E         + zipinfo {}

differences = [<Difference sh -ec 'exec zipinfo /dev/stdin < "$1"' - {} -- sh -ec 'exec zipinfo /dev/stdin < "$1"' - {} []>, <Differ... (decoded) [<Difference AndroidManifest.xml -- AndroidManifest.xml []>]>, <Difference APK metadata -- APK metadata []>]

tests/comparators/test_apk.py:59: AssertionError
---------------------------- Captured stderr setup -----------------------------
S: WARNING: Could not write to (/root/.local/share/apktool/framework), using /tmp instead...
S: Please be aware this is a volatile directory and frameworks could go missing, please utilize --frame-path if the default storage directory is unavailable
S: WARNING: Could not write to (/root/.local/share/apktool/framework), using /tmp instead...
S: Please be aware this is a volatile directory and frameworks could go missing, please utilize --frame-path if the default storage directory is unavailable
_______________________________ test_differences _______________________________

differences = [<Difference sh -ec 'exec zipinfo /dev/stdin < "$1"' - {} -- sh -ec 'exec zipinfo /dev/stdin < "$1"' - {} []>, <Difference content.opf -- content.opf []>, <Difference toc.ncx -- toc.ncx []>, <Difference ch001.xhtml -- ch001.xhtml []>]

    @skip_unless_tools_exist('zipinfo')
    def test_differences(differences):
>       assert differences[0].source1 == 'zipinfo {}'
E       assert 'sh -ec \'exe...< "$1"\' - {}' == 'zipinfo {}'
E         - sh -ec 'exec zipinfo /dev/stdin < "$1"' - {}
E         + zipinfo {}

differences = [<Difference sh -ec 'exec zipinfo /dev/stdin < "$1"' - {} -- sh -ec 'exec zipinfo /dev/stdin < "$1"' - {} []>, <Difference content.opf -- content.opf []>, <Difference toc.ncx -- toc.ncx []>, <Difference ch001.xhtml -- ch001.xhtml []>]

tests/comparators/test_epub.py:50: AssertionError
============== 2 failed, 350 passed, 17 skipped in 460.40 seconds ==============
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd /tmp/testrun/.pybuild/pythonX.Y_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
debian/rules:54: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25
make[1]: Leaving directory '/tmp/testrun'
debian/rules:35: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1151:
dpkg-buildpackage -rfakeroot -us -uc -ui failed
'/chroots/chroot-run-sid.1CKSyXkFJ//tmp/job-exports/test-results' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/ws/job-exports/test-results'>
'/chroots/chroot-run-sid.1CKSyXkFJ//tmp/job-exports/test-results/tests.xml' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/ws/job-exports/test-results/tests.xml'>
Tue 28 Nov 19:31:46 UTC 2017 - /srv/jenkins/bin/chroot-run.sh stopped running as /tmp/jenkins-script-Zed76iQa, which will now be removed.
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list