[Qa-jenkins-scm] Build failed in Jenkins: reproducible_diffoscope_from_git_branches #239
jenkins at jenkins.debian.net
jenkins at jenkins.debian.net
Thu Jan 25 16:55:22 UTC 2018
See <https://jenkins.debian.net/job/reproducible_diffoscope_from_git_branches/239/display/redirect?page=changes>
Changes:
[juliana.orod] difference: makes dill import depend on Config.parallel
------------------------------------------
[...truncated 371.12 KB...]
diffoscope/external_tools.py 3 0 100%
diffoscope/feeders.py 58 2 97% 76-77
diffoscope/locale.py 13 0 100%
diffoscope/logging.py 15 0 100%
diffoscope/main.py 231 41 82% 52-53, 65, 246, 248, 250-251, 261-262, 275, 287, 307-328, 337, 345, 352-353, 357-359, 382, 394, 401-402, 407, 422, 424-428, 439
diffoscope/parallel/__init__.py 0 0 100%
diffoscope/parallel/comparison_pool.py 39 39 0% 1-56
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, 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 32 6 81% 55-56, 63-66
diffoscope/tools.py 64 20 69% 26-27, 54-55, 82-83, 95, 108, 112-115, 121-122, 126-134
--------------------------------------------------------------------------
TOTAL 5541 767 86%
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:46: requires
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_utils.py:51: requires /missing
==================================== ERRORS ====================================
_______________________ ERROR at setup of test_text_diff _______________________
pdf1 = <<class 'abc.PdfFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/test1.pdf>
pdf2 = <<class 'abc.PdfFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/test2.pdf>
@pytest.fixture
def differences(pdf1, pdf2):
> return pdf1.compare(pdf2).details
pdf1 = <<class 'abc.PdfFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/test1.pdf>
pdf2 = <<class 'abc.PdfFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/test2.pdf>
tests/comparators/test_pdf.py:44:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
diffoscope/comparators/utils/file.py:362: in compare
difference = self._compare_using_details(other, source)
diffoscope/comparators/utils/file.py:301: in _compare_using_details
details.extend(self.compare_details(other, source))
diffoscope/comparators/pdf.py:48: in compare_details
return [Difference.from_command(Pdftotext, self.path, other.path),
diffoscope/difference.py:231: in from_command
return Difference.from_command_exc(klass, path1, path2, *args, **kwargs)[0]
diffoscope/difference.py:291: in from_command_exc
**kwargs
diffoscope/difference.py:184: in from_feeder
unified_diff = diff(feeder1, feeder2)
diffoscope/diff.py:315: in diff
return run_diff(fifo1_path, fifo2_path, fifo1.end_nl_q, fifo2.end_nl_q)
diffoscope/tools.py:89: in tool_check
return fn(*args, **kwargs)
diffoscope/diff.py:175: in run_diff
parser.parse()
diffoscope/diff.py:71: in parse
self._action = self._action(line)
diffoscope/diff.py:124: in read_hunk
return self.read_headers(line)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <diffoscope.diff.DiffParser object at 0x7fc7fe565048>, line = '\n'
def read_headers(self, line):
if not line:
return None
if line.startswith('---'):
return self.read_headers
if line.startswith('+++'):
return self.read_headers
found = DiffParser.RANGE_RE.match(line)
if not found:
> raise ValueError('Unable to parse diff headers: %r' % line)
E ValueError: Unable to parse diff headers: '\n'
found = None
line = '\n'
self = <diffoscope.diff.DiffParser object at 0x7fc7fe565048>
diffoscope/diff.py:89: ValueError
_____________________ ERROR at setup of test_internal_diff _____________________
pdf1 = <<class 'abc.PdfFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/test1.pdf>
pdf2 = <<class 'abc.PdfFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/test2.pdf>
@pytest.fixture
def differences(pdf1, pdf2):
> return pdf1.compare(pdf2).details
pdf1 = <<class 'abc.PdfFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/test1.pdf>
pdf2 = <<class 'abc.PdfFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/test2.pdf>
tests/comparators/test_pdf.py:44:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
diffoscope/comparators/utils/file.py:362: in compare
difference = self._compare_using_details(other, source)
diffoscope/comparators/utils/file.py:301: in _compare_using_details
details.extend(self.compare_details(other, source))
diffoscope/comparators/pdf.py:48: in compare_details
return [Difference.from_command(Pdftotext, self.path, other.path),
diffoscope/difference.py:231: in from_command
return Difference.from_command_exc(klass, path1, path2, *args, **kwargs)[0]
diffoscope/difference.py:291: in from_command_exc
**kwargs
diffoscope/difference.py:184: in from_feeder
unified_diff = diff(feeder1, feeder2)
diffoscope/diff.py:315: in diff
return run_diff(fifo1_path, fifo2_path, fifo1.end_nl_q, fifo2.end_nl_q)
diffoscope/tools.py:89: in tool_check
return fn(*args, **kwargs)
diffoscope/diff.py:175: in run_diff
parser.parse()
diffoscope/diff.py:71: in parse
self._action = self._action(line)
diffoscope/diff.py:124: in read_hunk
return self.read_headers(line)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <diffoscope.diff.DiffParser object at 0x7fc7fd1b5b38>, line = '\n'
def read_headers(self, line):
if not line:
return None
if line.startswith('---'):
return self.read_headers
if line.startswith('+++'):
return self.read_headers
found = DiffParser.RANGE_RE.match(line)
if not found:
> raise ValueError('Unable to parse diff headers: %r' % line)
E ValueError: Unable to parse diff headers: '\n'
found = None
line = '\n'
self = <diffoscope.diff.DiffParser object at 0x7fc7fd1b5b38>
diffoscope/diff.py:89: ValueError
=================================== FAILURES ===================================
__________________________ test_compare_non_existing ___________________________
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fc7fe41c9b0>
pdf1 = <<class 'abc.PdfFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/test1.pdf>
@skip_unless_tools_exist('pdftk', 'pdftotext')
def test_compare_non_existing(monkeypatch, pdf1):
> assert_non_existing(monkeypatch, pdf1, has_null_source=False)
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fc7fe41c9b0>
pdf1 = <<class 'abc.PdfFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/test1.pdf>
tests/comparators/test_pdf.py:61:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/utils/nonexisting.py:29: in assert_non_existing
difference = fixture.compare(MissingFile('/nonexisting', fixture))
diffoscope/comparators/utils/file.py:362: in compare
difference = self._compare_using_details(other, source)
diffoscope/comparators/utils/file.py:301: in _compare_using_details
details.extend(self.compare_details(other, source))
diffoscope/comparators/pdf.py:48: in compare_details
return [Difference.from_command(Pdftotext, self.path, other.path),
diffoscope/difference.py:231: in from_command
return Difference.from_command_exc(klass, path1, path2, *args, **kwargs)[0]
diffoscope/difference.py:291: in from_command_exc
**kwargs
diffoscope/difference.py:184: in from_feeder
unified_diff = diff(feeder1, feeder2)
diffoscope/diff.py:315: in diff
return run_diff(fifo1_path, fifo2_path, fifo1.end_nl_q, fifo2.end_nl_q)
diffoscope/tools.py:89: in tool_check
return fn(*args, **kwargs)
diffoscope/diff.py:175: in run_diff
parser.parse()
diffoscope/diff.py:71: in parse
self._action = self._action(line)
diffoscope/diff.py:124: in read_hunk
return self.read_headers(line)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <diffoscope.diff.DiffParser object at 0x7fc7fe41c908>, line = '\n'
def read_headers(self, line):
if not line:
return None
if line.startswith('---'):
return self.read_headers
if line.startswith('+++'):
return self.read_headers
found = DiffParser.RANGE_RE.match(line)
if not found:
> raise ValueError('Unable to parse diff headers: %r' % line)
E ValueError: Unable to parse diff headers: '\n'
found = None
line = '\n'
self = <diffoscope.diff.DiffParser object at 0x7fc7fe41c908>
diffoscope/diff.py:89: ValueError
========= 1 failed, 354 passed, 17 skipped, 2 error in 658.45 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 'binary' failed
make: *** [binary] Error 2
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.oxsvUQbwK//tmp/job-exports/test-results' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_branches/ws/job-exports/test-results'>
'/chroots/chroot-run-sid.oxsvUQbwK//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 25 Jan 16:55:22 UTC 2018 - /srv/jenkins/bin/chroot-run.sh stopped running as /tmp/jenkins-script-nAUeY0rl, which will now be removed.
Build step 'Execute shell' marked build as failure
More information about the Qa-jenkins-scm
mailing list