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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Thu Jan 2 00:04:00 GMT 2020


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

Changes:


------------------------------------------
[...truncated 427.06 KB...]
tests/comparators/test_xz.py::test_content_source_without_extension PASSED [ 95%]
tests/comparators/test_xz.py::test_content_diff PASSED                   [ 95%]
tests/comparators/test_xz.py::test_compare_non_existing PASSED           [ 95%]
tests/comparators/test_zip.py::test_identification PASSED                [ 95%]
tests/comparators/test_zip.py::test_no_differences PASSED                [ 96%]
tests/comparators/test_zip.py::test_metadata PASSED                      [ 96%]
tests/comparators/test_zip.py::test_compressed_files PASSED              [ 96%]
tests/comparators/test_zip.py::test_extra_fields PASSED                  [ 96%]
tests/comparators/test_zip.py::test_compare_non_existing PASSED          [ 97%]
tests/comparators/test_zip.py::test_mozzip_identification PASSED         [ 97%]
tests/comparators/test_zip.py::test_mozzip_no_differences PASSED         [ 97%]
tests/comparators/test_zip.py::test_mozzip_metadata PASSED               [ 97%]
tests/comparators/test_zip.py::test_mozzip_compressed_files PASSED       [ 97%]
tests/comparators/test_zip.py::test_mozzip_compare_non_existing PASSED   [ 98%]
tests/comparators/test_zip.py::test_jmod_identification PASSED           [ 98%]
tests/comparators/test_zip.py::test_jmod_no_differences PASSED           [ 98%]
tests/comparators/test_zip.py::test_jmod_metadata PASSED                 [ 98%]
tests/comparators/test_zip.py::test_encrypted PASSED                     [ 99%]
tests/comparators/test_zip.py::test_commented PASSED                     [ 99%]
tests/comparators/test_zst.py::test_identification PASSED                [ 99%]
tests/comparators/test_zst.py::test_no_differences PASSED                [ 99%]
tests/comparators/test_zst.py::test_content_source PASSED                [100%]

=================================== FAILURES ===================================
___________________________ test_list_missing_tools ____________________________

capsys = <_pytest.capture.CaptureFixture object at 0x7f539a8eac70>

    def test_list_missing_tools(capsys):
        ret, out, err = run(capsys, '--list-missing-tools')
    
        assert ret == 0
>       assert err == ''
E       assert "Exception ig...mp82nfbz2x'\n" == ''
E         - Exception ignored in: <generator object Container.comparisons at 0x7f539a9614a0>
E         - Traceback (most recent call last):
E         -   File "/tmp/testrun/.pybuild/cpython3_3.8/build/diffoscope/comparators/utils/container.py", line 164, in comparisons
E         -     yield prep_yield(name, name)
E         -   File "/tmp/testrun/.pybuild/cpython3_3.8/build/diffoscope/progress.py", line 148, in __exit__
E         -     ProgressManager().pop(self)
E         -   File "/tmp/testrun/.pybuild/cpython3_3.8/build/diffoscope/progress.py", line 105, in pop
E         -     x = self.stack.pop()
E         - IndexError: pop from empty list
E         - Exception ignored in: <function File.__del__ at 0x7f53a04721f0>
E         - Traceback (most recent call last):
E         -   File "/tmp/testrun/.pybuild/cpython3_3.8/build/diffoscope/comparators/utils/file.py", line 120, in __del__
E         -     self.cleanup()
E         -   File "/tmp/testrun/.pybuild/cpython3_3.8/build/diffoscope/comparators/device.py", line 68, in cleanup
E         -     os.remove(self._placeholder)
E         - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_ctrl_c_handling0/diffoscope_fsgr3zsh/tmpkeuac1e7'
E         - Exception ignored in: <function File.__del__ at 0x7f53a04721f0>
E         - Traceback (most recent call last):
E         -   File "/tmp/testrun/.pybuild/cpython3_3.8/build/diffoscope/comparators/utils/file.py", line 120, in __del__
E         -     self.cleanup()
E         -   File "/tmp/testrun/.pybuild/cpython3_3.8/build/diffoscope/comparators/device.py", line 68, in cleanup
E         -     os.remove(self._placeholder)
E         - FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_ctrl_c_handling0/diffoscope_fsgr3zsh/tmp82nfbz2x'

capsys     = <_pytest.capture.CaptureFixture object at 0x7f539a8eac70>
err        = ('Exception ignored in: <generator object Container.comparisons at '
 '0x7f539a9614a0>\n'
 'Traceback (most recent call last):\n'
 '  File '
 '"/tmp/testrun/.pybuild/cpython3_3.8/build/diffoscope/comparators/utils/container.py", '
 'line 164, in comparisons\n'
 '    yield prep_yield(name, name)\n'
 '  File "/tmp/testrun/.pybuild/cpython3_3.8/build/diffoscope/progress.py", '
 'line 148, in __exit__\n'
 '    ProgressManager().pop(self)\n'
 '  File "/tmp/testrun/.pybuild/cpython3_3.8/build/diffoscope/progress.py", '
 'line 105, in pop\n'
 '    x = self.stack.pop()\n'
 'IndexError: pop from empty list\n'
 'Exception ignored in: <function File.__del__ at 0x7f53a04721f0>\n'
 'Traceback (most recent call last):\n'
 '  File '
 '"/tmp/testrun/.pybuild/cpython3_3.8/build/diffoscope/comparators/utils/file.py", '
 'line 120, in __del__\n'
 '    self.cleanup()\n'
 '  File '
 '"/tmp/testrun/.pybuild/cpython3_3.8/build/diffoscope/comparators/device.py", '
 'line 68, in cleanup\n'
 '    os.remove(self._placeholder)\n'
 'FileNotFoundError: [Errno 2] No such file or directory: '
 "'/tmp/pytest-of-root/pytest-0/test_ctrl_c_handling0/diffoscope_fsgr3zsh/tmpkeuac1e7'\n"
 'Exception ignored in: <function File.__del__ at 0x7f53a04721f0>\n'
 'Traceback (most recent call last):\n'
 '  File '
 '"/tmp/testrun/.pybuild/cpython3_3.8/build/diffoscope/comparators/utils/file.py", '
 'line 120, in __del__\n'
 '    self.cleanup()\n'
 '  File '
 '"/tmp/testrun/.pybuild/cpython3_3.8/build/diffoscope/comparators/device.py", '
 'line 68, in cleanup\n'
 '    os.remove(self._placeholder)\n'
 'FileNotFoundError: [Errno 2] No such file or directory: '
 "'/tmp/pytest-of-root/pytest-0/test_ctrl_c_handling0/diffoscope_fsgr3zsh/tmp82nfbz2x'\n")
out        = ('External-Tools-Required: cbfstool, lipo, otool\n'
 'Available-in-Debian-packages: \n'
 'Missing-Python-Modules: defusedxml, guestfs\n')
ret        = 0

tests/test_main.py:148: AssertionError
--------- generated xml file: /tmp/job-exports/test-results/tests.xml ----------

----------- coverage: platform linux, python 3.8.1-final-0 -----------
Name                                         Stmts   Miss  Cover   Missing
--------------------------------------------------------------------------
diffoscope/__init__.py                           1      0   100%
diffoscope/changes.py                          121     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              44     18    59%   131-137, 142-151, 156-160
diffoscope/comparators/android.py               43      1    98%   50
diffoscope/comparators/apk.py                  102      1    99%   41
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%   33-34, 38-40, 75
diffoscope/comparators/bzip2.py                 25      0   100%
diffoscope/comparators/cbfs.py                  89     43    52%   39-40, 46, 49, 55-66, 69, 72, 75, 79-93, 106-116, 147-150, 154-168, 171
diffoscope/comparators/cpio.py                  10      0   100%
diffoscope/comparators/deb.py                  126      9    93%   37-39, 52, 77, 136, 187-189
diffoscope/comparators/debian.py               152      5    97%   79-81, 236, 257, 278
diffoscope/comparators/debian_fallback.py       25      0   100%
diffoscope/comparators/device.py                49      6    88%   49-52, 87-90
diffoscope/comparators/dex.py                   28      1    96%   36
diffoscope/comparators/directory.py            175     25    86%   56-59, 103, 115, 122-124, 131-134, 151-154, 161, 165-166, 168, 171-172, 183-184, 243, 271, 299
diffoscope/comparators/docx.py                  14      0   100%
diffoscope/comparators/dtb.py                   14      0   100%
diffoscope/comparators/elf.py                  299     28    91%   76, 84-85, 213, 228, 323, 367, 389-391, 399, 411-413, 421, 454, 486-495, 503, 516, 527, 533, 546-550, 560-565
diffoscope/comparators/ffprobe.py               27      0   100%
diffoscope/comparators/fontconfig.py            26      0   100%
diffoscope/comparators/fonts.py                 16      0   100%
diffoscope/comparators/fsimage.py               79     45    43%   42-69, 72-75, 78-80, 83-86, 108-126
diffoscope/comparators/gettext.py               37      0   100%
diffoscope/comparators/gif.py                   42      4    90%   58-59, 102-103
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, 87-89, 98, 104-111, 115, 126-127, 144, 147
diffoscope/comparators/icc.py                   14      0   100%
diffoscope/comparators/image.py                 84      6    93%   138-139, 167-168, 187-188
diffoscope/comparators/ipk.py                    4      0   100%
diffoscope/comparators/iso9660.py               52      3    94%   33, 73, 96
diffoscope/comparators/java.py                  49      2    96%   93-94
diffoscope/comparators/javascript.py            13      0   100%
diffoscope/comparators/json.py                  46      6    87%   30-32, 78, 85-86
diffoscope/comparators/kbx.py                   17      1    94%   38
diffoscope/comparators/llvm.py                  22      0   100%
diffoscope/comparators/lz4.py                   28      0   100%
diffoscope/comparators/macho.py                 58     28    52%   33-35, 39, 42, 46-49, 54, 59, 64, 69, 82-92, 98-154
diffoscope/comparators/missing_file.py          56      3    95%   67, 70, 89
diffoscope/comparators/mono.py                  14      0   100%
diffoscope/comparators/ocaml.py                 19      0   100%
diffoscope/comparators/odt.py                   14      0   100%
diffoscope/comparators/ogg.py                   14      0   100%
diffoscope/comparators/openssh.py               14      0   100%
diffoscope/comparators/pcap.py                  14      0   100%
diffoscope/comparators/pdf.py                   37      3    92%   30-32
diffoscope/comparators/pgp.py                   22      0   100%
diffoscope/comparators/png.py                   31      2    94%   75-76
diffoscope/comparators/ppu.py                   54     14    74%   73, 86-99
diffoscope/comparators/ps.py                    25      2    92%   48-49
diffoscope/comparators/rdata.py                 60     23    62%   83-109, 146, 149, 157-163
diffoscope/comparators/rpm.py                   71      2    97%   41, 48
diffoscope/comparators/rpm_fallback.py          11      0   100%
diffoscope/comparators/rust.py                  32      0   100%
diffoscope/comparators/sqlite.py                14      0   100%
diffoscope/comparators/squashfs.py             171     33    81%   98, 116, 130, 138, 141, 155, 163, 185-207, 210-213, 216, 219, 246-247, 289-291
diffoscope/comparators/symlink.py               35      0   100%
diffoscope/comparators/tar.py                   12      0   100%
diffoscope/comparators/text.py                  34      2    94%   85-87
diffoscope/comparators/utils/__init__.py         0      0   100%
diffoscope/comparators/utils/archive.py         98     13    87%   56, 60, 64, 68, 109-110, 126, 129, 132, 141, 151, 154, 159
diffoscope/comparators/utils/command.py         55      3    95%   69, 83, 86
diffoscope/comparators/utils/compare.py         91      8    91%   40-41, 79-81, 95, 107-108
diffoscope/comparators/utils/container.py      112      6    95%   67, 71, 116-120
diffoscope/comparators/utils/file.py           257     42    84%   40-41, 54-60, 89-99, 105, 111, 246-247, 300-302, 309, 313, 317, 400-403, 411-414, 456, 467-480, 505, 513, 529-531
diffoscope/comparators/utils/fuzzy.py           29      2    93%   27-28
diffoscope/comparators/utils/libarchive.py     182     22    88%   45-48, 52-55, 67-70, 74-77, 81-84, 132-135, 174, 203, 211, 214, 227, 241, 255-256, 324-325
diffoscope/comparators/utils/specialize.py      31      2    94%   72, 75
diffoscope/comparators/wasm.py                  19      0   100%
diffoscope/comparators/xml.py                   44      2    95%   143-144
diffoscope/comparators/xsb.py                   17      0   100%
diffoscope/comparators/xz.py                    28      0   100%
diffoscope/comparators/zip.py                  137      3    98%   137, 140, 172
diffoscope/comparators/zst.py                   26      0   100%
diffoscope/config.py                            43      4    91%   76-87
diffoscope/diff.py                             415     52    87%   101, 138, 191, 228, 230-232, 274-277, 290-318, 368, 557, 578, 583, 616-617, 620-621, 643-644, 647-657, 665-668, 678-681, 696
diffoscope/difference.py                       193     14    93%   78, 117, 219-223, 236, 271, 278-279, 349, 355, 382
diffoscope/exc.py                               14      0   100%
diffoscope/excludes.py                          24      6    75%   31-35, 42-44
diffoscope/external_tools.py                     3      0   100%
diffoscope/feeders.py                           61      2    97%   82-83
diffoscope/locale.py                            13      0   100%
diffoscope/logging.py                           28      6    79%   28-31, 35-38
diffoscope/main.py                             288     70    76%   62-64, 68-70, 76, 435, 443-450, 462-466, 473-502, 516, 543, 571-594, 603, 617, 626-629, 633-639, 668, 672-679, 696, 703-704, 709, 714-722, 741-744, 746-747, 749, 754-756, 772
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             460    134    71%   84-91, 131-134, 138, 140-142, 265-266, 269, 302, 330, 347-358, 408, 423, 440-444, 449, 456-462, 473, 478-495, 498-515, 543-546, 550-555, 558, 564-568, 592-600, 605-617, 622-639, 654, 674-677, 752, 756, 768-787, 816, 832-834, 844-876, 894
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                   44      7    84%   62-67, 72-73, 82-83
diffoscope/presenters/utils.py                 162     12    93%   43, 72, 154, 159, 166, 308, 354, 419-424
diffoscope/profiling.py                         39      0   100%
diffoscope/progress.py                         168     17    90%   35-37, 46-53, 79, 90-91, 96, 226, 241-242, 250
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                             70     13    81%   26-27, 57-58, 68-69, 108, 121, 126, 141-144
diffoscope/utils.py                             12      1    92%   33
--------------------------------------------------------------------------
TOTAL                                         6310    845    87%
Coverage HTML written to dir htmlcov

=========================== short test summary info ============================
SKIPPED [1] .pybuild/cpython3_3.8/build/tests/comparators/test_cbfs.py:101: requires cbfstool
SKIPPED [1] .pybuild/cpython3_3.8/build/tests/comparators/test_cbfs.py:106: requires cbfstool
SKIPPED [1] .pybuild/cpython3_3.8/build/tests/comparators/test_cbfs.py:111: requires cbfstool
SKIPPED [1] .pybuild/cpython3_3.8/build/tests/comparators/test_cbfs.py:123: requires cbfstool
SKIPPED [1] .pybuild/cpython3_3.8/build/tests/comparators/test_cbfs.py:136: requires cbfstool
SKIPPED [1] .pybuild/cpython3_3.8/build/tests/comparators/test_cbfs.py:144: requires cbfstool
SKIPPED [1] .pybuild/cpython3_3.8/build/tests/comparators/test_fsimage.py:76: requires guestfs Python module
SKIPPED [1] .pybuild/cpython3_3.8/build/tests/comparators/test_fsimage.py:88: requires guestfs Python module
SKIPPED [1] .pybuild/cpython3_3.8/build/tests/comparators/test_fsimage.py:108: requires guestfs Python module
SKIPPED [1] .pybuild/cpython3_3.8/build/tests/comparators/test_fsimage.py:122: requires guestfs Python module
SKIPPED [1] /tmp/testrun/.pybuild/cpython3_3.8/build/tests/comparators/test_haskell.py:37: mismatch between system ghc and fixture
SKIPPED [1] /tmp/testrun/.pybuild/cpython3_3.8/build/tests/comparators/test_haskell.py:54: mismatch between system ghc and fixture
SKIPPED [1] .pybuild/cpython3_3.8/build/tests/comparators/test_ico_image.py:65: requires identify (try installing imagemagick) min 6.9.6 >= 6.9.8-3 (6.9.10-23 detected)
SKIPPED [1] .pybuild/cpython3_3.8/build/tests/comparators/test_macho.py:50: requires otool and lipo
SKIPPED [1] .pybuild/cpython3_3.8/build/tests/comparators/test_macho.py:58: requires otool and lipo
SKIPPED [1] .pybuild/cpython3_3.8/build/tests/comparators/test_utils.py:49: requires
SKIPPED [1] .pybuild/cpython3_3.8/build/tests/comparators/test_utils.py:54: requires /missing
============== 1 failed, 418 passed, 17 skipped in 629.34 seconds ==============
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd /tmp/testrun/.pybuild/cpython3_3.8/build; python3.8 -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.8 3.7" returned exit code 13
make: *** [debian/rules:34: binary] Error 255
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.v4JjsEMQa//tmp/job-exports/test-results' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_branches/ws/job-exports/test-results'>
'/chroots/chroot-run-sid.v4JjsEMQa//tmp/job-exports/test-results/tests.xml' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_branches/ws/job-exports/test-results/tests.xml'>
Thu  2 Jan 00:03:59 UTC 2020 - chroot-run.sh stopped running as /tmp/jenkins-script-JrkKWVUE, which will now be removed.
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list