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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Thu Jun 28 22:33:38 BST 2018


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

Changes:

[lamby] releasing package diffoscope version 97

------------------------------------------
[...truncated 367.80 KB...]
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:216: in load_module
    py.builtin.exec_(co, mod.__dict__)
tests/test_excludes.py:23: in <module>
    from diffoscope.main import main
diffoscope/main.py:44: in <module>
    from .presenters.formats import PresenterManager
E     File "/tmp/testrun/.pybuild/cpython3_3.7/build/diffoscope/presenters/formats.py", line 112
E       x['klass'].supports_visual_diffs for x in self.config.values(),
E       ^
E   SyntaxError: Generator expression must be parenthesized
_______ ERROR collecting .pybuild/cpython3_3.7/build/tests/test_main.py ________
/usr/lib/python3/dist-packages/_pytest/python.py:468: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3/dist-packages/py/_path/local.py:668: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:216: in load_module
    py.builtin.exec_(co, mod.__dict__)
tests/test_main.py:25: in <module>
    from diffoscope.main import main
diffoscope/main.py:44: in <module>
    from .presenters.formats import PresenterManager
E     File "/tmp/testrun/.pybuild/cpython3_3.7/build/diffoscope/presenters/formats.py", line 112
E       x['klass'].supports_visual_diffs for x in self.config.values(),
E       ^
E   SyntaxError: Generator expression must be parenthesized
____ ERROR collecting .pybuild/cpython3_3.7/build/tests/test_presenters.py _____
/usr/lib/python3/dist-packages/_pytest/python.py:468: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3/dist-packages/py/_path/local.py:668: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:216: in load_module
    py.builtin.exec_(co, mod.__dict__)
tests/test_presenters.py:24: in <module>
    from diffoscope.main import main
diffoscope/main.py:44: in <module>
    from .presenters.formats import PresenterManager
E     File "/tmp/testrun/.pybuild/cpython3_3.7/build/diffoscope/presenters/formats.py", line 112
E       x['klass'].supports_visual_diffs for x in self.config.values(),
E       ^
E   SyntaxError: Generator expression must be parenthesized
_____ ERROR collecting .pybuild/cpython3_3.7/build/tests/test_progress.py ______
/usr/lib/python3/dist-packages/_pytest/python.py:468: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3/dist-packages/py/_path/local.py:668: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:216: in load_module
    py.builtin.exec_(co, mod.__dict__)
tests/test_progress.py:27: in <module>
    from diffoscope.main import main
diffoscope/main.py:44: in <module>
    from .presenters.formats import PresenterManager
E     File "/tmp/testrun/.pybuild/cpython3_3.7/build/diffoscope/presenters/formats.py", line 112
E       x['klass'].supports_visual_diffs for x in self.config.values(),
E       ^
E   SyntaxError: Generator expression must be parenthesized
______ ERROR collecting .pybuild/cpython3_3.7/build/tests/test_readers.py ______
/usr/lib/python3/dist-packages/_pytest/python.py:468: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3/dist-packages/py/_path/local.py:668: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:216: in load_module
    py.builtin.exec_(co, mod.__dict__)
tests/test_readers.py:22: in <module>
    from diffoscope.main import main
diffoscope/main.py:44: in <module>
    from .presenters.formats import PresenterManager
E     File "/tmp/testrun/.pybuild/cpython3_3.7/build/diffoscope/presenters/formats.py", line 112
E       x['klass'].supports_visual_diffs for x in self.config.values(),
E       ^
E   SyntaxError: Generator expression must be parenthesized
_ ERROR collecting .pybuild/cpython3_3.7/build/tests/comparators/test_json.py __
/usr/lib/python3/dist-packages/_pytest/python.py:468: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/lib/python3/dist-packages/py/_path/local.py:668: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:983: in _find_and_load
    ???
<frozen importlib._bootstrap>:967: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:668: in _load_unlocked
    ???
<frozen importlib._bootstrap>:638: in _load_backward_compatible
    ???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:216: in load_module
    py.builtin.exec_(co, mod.__dict__)
tests/comparators/test_json.py:22: in <module>
    from diffoscope.comparators.json import JSONFile
E     File "/tmp/testrun/.pybuild/cpython3_3.7/build/diffoscope/comparators/json.py", line 41
E       file.magic_file_type.startswith(x)
E       ^
E   SyntaxError: Generator expression must be parenthesized
--------- generated xml file: /tmp/job-exports/test-results/tests.xml ----------

----------- coverage: platform linux, python 3.7.0-final-0 -----------
Name                                         Stmts   Miss  Cover   Missing
--------------------------------------------------------------------------
diffoscope/__init__.py                           1      0   100%
diffoscope/changes.py                          124     88    29%   84-96, 105, 112, 119, 127, 131, 140, 149, 162, 171, 177, 183, 189, 195-197, 203, 209, 225-228, 231-234, 241-245, 255-289, 303-343
diffoscope/comparators/__init__.py              29     20    31%   101-104, 107-128, 131-135
diffoscope/comparators/android.py               40     15    62%   39, 42-44, 50, 54-70, 73, 76, 79, 88
diffoscope/comparators/apk.py                  100     68    32%   41, 46-98, 101, 105-107, 110, 113, 116, 119-142, 145-151, 162-164, 168-181
diffoscope/comparators/ar.py                    26      9    65%   41-51, 57, 66
diffoscope/comparators/berkeley_db.py           19      7    63%   32, 35-41, 49
diffoscope/comparators/binary.py                16      7    56%   28-29, 33, 36, 39, 42-43
diffoscope/comparators/binwalk.py               53     29    45%   37-38, 45, 48, 51, 54, 63-108, 111-118
diffoscope/comparators/bzip2.py                 24      8    67%   34, 37, 40, 44-50
diffoscope/comparators/cbfs.py                  85     52    39%   39-40, 45, 48, 54-65, 68, 71, 74, 78-84, 97-99, 111-142, 145
diffoscope/comparators/cpio.py                  10      1    90%   35
diffoscope/comparators/deb.py                  116     78    33%   36-37, 45-59, 68-77, 81-90, 93-100, 109-118, 122-132, 135, 143, 152-161, 164-166, 169, 176-190, 198, 204
diffoscope/comparators/debian.py               142     96    32%   39-41, 45, 49, 53, 59, 62, 65, 70-71, 75-87, 90-91, 94-100, 106, 109, 117, 120-160, 169-181, 184-202, 211-236, 241-255, 265-294
diffoscope/comparators/debian_fallback.py       25     25     0%   20-56
diffoscope/comparators/device.py                47     29    38%   38, 41-43, 46-52, 55-58, 62-64, 67-70, 73-75, 79-85
diffoscope/comparators/dex.py                   26      8    69%   36, 39, 42, 45, 49-53
diffoscope/comparators/directory.py            162    114    30%   41-49, 53-56, 66, 75-81, 91-101, 107-110, 114-134, 140-177, 181, 189, 193, 198, 202, 206, 210-212, 215, 219, 222-245, 250, 253-258, 264-276, 279-290
diffoscope/comparators/docx.py                  13      2    85%   32, 44
diffoscope/comparators/dtb.py                   13      2    85%   33, 41
diffoscope/comparators/elf.py                  283    177    37%   59-61, 65, 68, 71-77, 81, 86, 91, 96, 101, 105, 110, 114, 119, 123, 128, 132, 137, 141, 147-150, 153-154, 157, 169-180, 183-185, 189, 192, 197, 202-205, 208, 212, 221-226, 237, 240-241, 246, 262, 269-277, 282-283, 287, 291, 298, 301, 304, 307, 310, 314, 318, 323, 326, 339-355, 360, 370-384, 389-403, 417-468, 473-560, 563, 566, 575, 585-593
diffoscope/comparators/fontconfig.py            27     17    37%   33, 42-54, 70-81
diffoscope/comparators/fonts.py                 15      3    80%   32, 35, 43
diffoscope/comparators/fsimage.py               58     37    36%   39-60, 63-66, 69, 72-76, 85-97
diffoscope/comparators/gettext.py               36     19    47%   37-39, 43, 46-61, 69
diffoscope/comparators/gif.py                   40     20    50%   43, 46-48, 53-60, 64, 74-105
diffoscope/comparators/git.py                   29     15    48%   35, 44-46, 53-69, 73-76, 88
diffoscope/comparators/gnumeric.py              19      7    63%   37-45, 54-64
diffoscope/comparators/gzip.py                  26      8    69%   35, 38, 41, 45-51
diffoscope/comparators/haskell.py               58     36    38%   37, 47, 77-141, 144
diffoscope/comparators/icc.py                   13      2    85%   32, 40
diffoscope/comparators/image.py                 78     46    41%   41, 50, 79, 89-107, 112-127, 132, 140-143, 151-171, 187-222, 227-231
diffoscope/comparators/ipk.py                    4      0   100%
diffoscope/comparators/iso9660.py               48     28    42%   33, 45, 50-51, 55-62, 65-67, 77-88, 91-107
diffoscope/comparators/java.py                  46     24    48%   37-38, 42, 45-47, 52-53, 57, 68-73, 83-99
diffoscope/comparators/javascript.py            12      2    83%   30, 38
diffoscope/comparators/llvm.py                  16     16     0%   21-50
diffoscope/comparators/macho.py                 56     30    46%   33-35, 39, 42, 46-49, 54, 59, 64, 69, 81-87, 90-125
diffoscope/comparators/missing_file.py          48     26    46%   39-42, 45-46, 50, 54, 58, 61, 64, 67, 70, 77-91, 96, 100, 105, 110-112
diffoscope/comparators/mono.py                  13      2    85%   33, 41
diffoscope/comparators/odt.py                   13      2    85%   32, 44
diffoscope/comparators/ogg.py                   13      2    85%   32, 40
diffoscope/comparators/openssh.py               13      2    85%   32, 40
diffoscope/comparators/pcap.py                  13      2    85%   32, 46
diffoscope/comparators/pdf.py                   13      2    85%   32, 40
diffoscope/comparators/pgp.py                   13      2    85%   32, 48
diffoscope/comparators/png.py                   30     13    57%   38, 41, 49-75
diffoscope/comparators/ppu.py                   54     35    35%   40, 49-52, 55-57, 66-93, 96
diffoscope/comparators/ps.py                    24     10    58%   36, 44-53
diffoscope/comparators/rdata.py                 45     45     0%   20-98
diffoscope/comparators/rpm.py                   70     68     3%   23-112
diffoscope/comparators/rpm_fallback.py          11      5    55%   31-36
diffoscope/comparators/rust.py                  32     32     0%   21-67
diffoscope/comparators/sqlite.py                13      2    85%   32, 40
diffoscope/comparators/squashfs.py             161     90    44%   46, 50, 60, 69, 72, 75, 81, 86, 97-100, 103, 114-117, 120, 123, 126, 130, 134, 137, 140, 152-155, 158-159, 162, 166, 183-208, 211-214, 217, 220, 235, 238, 241-243, 247-248, 251-252, 255-299, 311
diffoscope/comparators/symlink.py               32     18    44%   36, 40, 43-46, 50-52, 55-61, 64-66
diffoscope/comparators/tar.py                   12      1    92%   38
diffoscope/comparators/text.py                  33     23    30%   29-35, 44-46, 49-68
diffoscope/comparators/utils/__init__.py         0      0   100%
diffoscope/comparators/utils/archive.py         90     51    43%   37-40, 43-45, 48-49, 53, 57, 61, 65, 69, 72, 75-80, 85-88, 92-100, 103-111, 114, 117, 120, 125, 128, 131, 137, 140, 143, 146, 150, 153, 158
diffoscope/comparators/utils/command.py         44     24    45%   32, 35-52, 56, 59, 63, 66, 69, 73, 76, 79, 82-95, 99, 103
diffoscope/comparators/utils/compare.py         90     64    29%   49, 53-78, 82-118, 122-127, 131-141, 145-149
diffoscope/comparators/utils/container.py      106     73    31%   46-51, 54-59, 63, 67, 71, 74, 79-80, 83, 96, 103-120, 123-128, 131-170, 173-184, 189, 192
diffoscope/comparators/utils/file.py           220    167    24%   46-57, 61, 68-71, 77-92, 95, 98, 104, 109-110, 113, 141-155, 173-190, 195, 199, 203-219, 223-225, 229-231, 235-238, 242-250, 253-270, 274, 278, 282, 285-297, 300-328, 331-352, 356, 364-411, 419-421
diffoscope/comparators/utils/fuzzy.py           29     20    31%   34-56
diffoscope/comparators/utils/libarchive.py     159     92    42%   43-45, 48-50, 91-115, 120, 123, 126, 129, 134, 137, 140, 144, 148, 151, 154, 159-160, 164, 167, 172-175, 178, 181, 189, 192, 195-196, 199-203, 206-210, 213-214, 217-224, 227-264, 270-273
diffoscope/comparators/utils/specialize.py      31     24    23%   30-44, 48-63, 69-74
diffoscope/comparators/xml.py                   41     25    39%   42-47, 60-64, 89-98, 111-119, 136-140
diffoscope/comparators/xsb.py                   16      5    69%   30, 33-35, 43
diffoscope/comparators/xz.py                    27      8    70%   35, 38, 41, 45-51
diffoscope/comparators/zip.py                   88     40    55%   41, 44, 48-50, 56, 62, 67, 70, 73, 76, 79, 82, 87, 90, 93, 99-103, 106-109, 118-121, 129, 144-155, 166, 169-172
diffoscope/config.py                            42     31    26%   38-40, 44-66, 69, 72-82, 89-91
diffoscope/diff.py                             413    358    13%   61-71, 75, 79, 82-86, 89-115, 118-155, 158-170, 175-202, 207-213, 216-217, 220, 223-247, 250-253, 278-280, 292-317, 321-327, 331-334, 338-365, 369-379, 389, 394-397, 402-421, 433-477, 482-493, 500-503, 506-515, 519, 522-540, 543-575, 596-670
diffoscope/difference.py                       173    127    27%   34-65, 68, 75-76, 89, 101-105, 116-117, 120, 130-133, 137, 149, 153-156, 159-164, 175-181, 185-202, 206, 215, 224, 233, 237-286, 290, 294, 297-299, 303, 307, 311, 315, 319, 323, 326-329, 332-335, 340-342, 346, 350, 354, 357, 360
diffoscope/exc.py                               14      6    57%   26-27, 32, 35, 40-41
diffoscope/excludes.py                          24     16    33%   30-35, 39-45, 49-53
diffoscope/external_tools.py                     3      0   100%
diffoscope/feeders.py                           58     45    22%   34-68, 72-78, 82-97, 101-105, 109-111
diffoscope/locale.py                            13      8    38%   33-57
diffoscope/logging.py                           15     12    20%   26-46
diffoscope/main.py                             247    226     9%   45-486
diffoscope/path.py                               7      0   100%
diffoscope/presenters/__init__.py                0      0   100%
diffoscope/presenters/html/__init__.py           1      0   100%
diffoscope/presenters/html/html.py             452    384    15%   79-86, 90, 100-106, 110, 114, 118-152, 156-159, 171-194, 209-254, 258-270, 279-282, 287-288, 293-301, 308, 315-317, 320-328, 331-333, 337-365, 369-373, 377, 380-386, 389-411, 414-429, 432-440, 450-484, 487-541, 548, 551-552, 556, 559-586, 589-596, 599-720, 723-758, 770-783, 789-791, 795, 806
diffoscope/presenters/html/templates.py          9      0   100%
diffoscope/presenters/icon.py                    1      0   100%
diffoscope/presenters/json.py                   32     32     0%   20-65
diffoscope/presenters/markdown.py               19     19     0%   20-49
diffoscope/presenters/restructuredtext.py       25     25     0%   20-57
diffoscope/presenters/text.py                   43     43     0%   20-91
diffoscope/presenters/utils.py                 156    102    35%   31-32, 38-44, 51, 55-56, 59, 62-69, 72, 81, 94-107, 111-123, 130, 133, 136-137, 141, 149, 152, 155-158, 161, 164, 277-290, 293, 298, 302, 305, 308-324, 327, 331-332, 336, 340-343, 347, 357, 370, 391-396, 399-401, 405-409
diffoscope/profiling.py                         40     27    32%   30-34, 41-44, 53, 56-63, 66-72, 75-92
diffoscope/progress.py                         153    118    23%   30-31, 34-44, 51-54, 57-58, 61-86, 89-90, 93-96, 99-100, 103-112, 115-116, 121-128, 131-132, 135-136, 139-168, 171, 174-178, 181-184, 187, 192-233, 236-240, 243, 248, 251, 258
diffoscope/readers/__init__.py                   7      7     0%   20-31
diffoscope/readers/json.py                      17     17     0%   20-46
diffoscope/readers/utils.py                      2      2     0%   21-22
diffoscope/tempfiles.py                         45     36    20%   30-36, 40-46, 50-78, 82-92
diffoscope/tools.py                             64     38    41%   26-27, 48, 52-55, 80-89, 95, 99-100, 104-108, 112-115, 119-134
--------------------------------------------------------------------------
TOTAL                                         5607   3799    32%
Coverage HTML written to dir htmlcov

!!!!!!!!!!!!!!!!!!! Interrupted: 6 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 6 error in 35.43 seconds ===========================
Coverage.py warning: Could not parse Python file /tmp/testrun/.pybuild/cpython3_3.7/build/diffoscope/comparators/json.py
Coverage.py warning: Could not parse Python file /tmp/testrun/.pybuild/cpython3_3.7/build/diffoscope/presenters/formats.py
E: pybuild pybuild:336: test: plugin distutils failed with: exit code=2: 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 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.bwyLSMZQr//tmp/job-exports/test-results' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/ws/job-exports/test-results'>
'/chroots/chroot-run-sid.bwyLSMZQr//tmp/job-exports/test-results/tests.xml' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/ws/job-exports/test-results/tests.xml'>
Thu 28 Jun 21:33:38 UTC 2018 - /srv/jenkins/bin/chroot-run.sh stopped running as /tmp/jenkins-script-rTNH4YCp, which will now be removed.
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list