[Qa-jenkins-scm] Build failed in Jenkins: reproducible_diffoscope_from_git_master #301
jenkins at jenkins.debian.net
jenkins at jenkins.debian.net
Fri Jul 21 10:04:11 UTC 2017
See <https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/301/display/redirect?page=changes>
Changes:
[lamby] Add new XML comparator. (Closes: #866120)
[lamby] Set correct attribution for Juliana's XML comparator.
[lamby] comparators.xml: Use 4-spaces, not 2-spaces for Python code.
[lamby] Misc style fixups to XML comparator.
[lamby] comparators.xml: Fix EPUB "missing file" tests; they ship a
------------------------------------------
[...truncated 346.03 KB...]
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.2-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% 112-113, 118
diffoscope/comparators/apk.py 97 2 98% 41, 136
diffoscope/comparators/ar.py 25 0 100%
diffoscope/comparators/binary.py 16 0 100%
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, 93-94, 116-119, 123-135, 138
diffoscope/comparators/cpio.py 9 0 100%
diffoscope/comparators/deb.py 103 10 90% 33-34, 47, 66, 76, 100, 132-134, 153
diffoscope/comparators/debian.py 139 5 96% 80-82, 229, 249, 267
diffoscope/comparators/debian_fallback.py 26 0 100%
diffoscope/comparators/device.py 46 6 87% 47-50, 78-81
diffoscope/comparators/dex.py 25 1 96% 36
diffoscope/comparators/directory.py 143 16 89% 51-54, 95, 107, 113-114, 121-122, 124, 127-128, 139-140, 190, 241
diffoscope/comparators/docx.py 12 0 100%
diffoscope/comparators/dtb.py 12 0 100%
diffoscope/comparators/elf.py 273 25 91% 68, 76-77, 206, 267, 309, 350-352, 356, 368-370, 374, 413, 427-433, 449, 455, 468-469, 478-479
diffoscope/comparators/fontconfig.py 33 0 100%
diffoscope/comparators/fonts.py 14 0 100%
diffoscope/comparators/fsimage.py 55 37 33% 31-32, 39-57, 60-63, 66, 69-73, 80-90
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 27 0 100%
diffoscope/comparators/haskell.py 57 13 77% 37, 47, 84-86, 95, 101-106, 110, 121-122, 139, 142
diffoscope/comparators/icc.py 12 0 100%
diffoscope/comparators/image.py 76 6 92% 142-143, 168-169, 190-191
diffoscope/comparators/ipk.py 4 0 100%
diffoscope/comparators/iso9660.py 47 3 94% 33, 66, 87
diffoscope/comparators/java.py 20 0 100%
diffoscope/comparators/javascript.py 12 0 100%
diffoscope/comparators/json.py 27 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 46 17 63% 43-57, 83, 89, 92-94
diffoscope/comparators/rpm.py 69 2 97% 41, 48
diffoscope/comparators/rpm_fallback.py 11 0 100%
diffoscope/comparators/rust.py 33 0 100%
diffoscope/comparators/sqlite.py 12 0 100%
diffoscope/comparators/squashfs.py 159 19 88% 98, 114, 128, 134, 137, 151, 159, 188-189, 193-194, 200-201, 216, 241-242, 279-281
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 79 3 96% 40-41, 76
diffoscope/comparators/utils/container.py 99 6 94% 63, 67, 106-110
diffoscope/comparators/utils/file.py 195 34 83% 36-37, 50-56, 79-89, 101, 131-132, 182, 186, 190, 238-241, 247-250, 281, 284, 299, 305, 313-316
diffoscope/comparators/utils/fuzzy.py 29 2 93% 27-28
diffoscope/comparators/utils/libarchive.py 157 13 92% 43-44, 46-47, 123, 129, 132, 145, 159, 173-174, 237-238
diffoscope/comparators/utils/specialize.py 23 0 100%
diffoscope/comparators/xml.py 38 2 95% 136-137
diffoscope/comparators/xz.py 24 0 100%
diffoscope/comparators/zip.py 90 2 98% 74, 77
diffoscope/config.py 31 1 97% 59
diffoscope/diff.py 380 34 91% 90, 127, 186, 221, 223, 277, 305, 424, 452, 454, 458, 469, 474, 507-508, 511-512, 524-525, 528-532, 535-536, 540-543, 553-556, 571
diffoscope/difference.py 163 11 93% 77, 170-174, 187, 218, 225, 294, 300
diffoscope/exc.py 18 2 89% 23-24
diffoscope/excludes.py 24 6 75% 31-33, 39-41
diffoscope/external_tools.py 1 0 100%
diffoscope/feeders.py 55 0 100%
diffoscope/locale.py 13 0 100%
diffoscope/logging.py 15 0 100%
diffoscope/main.py 223 41 82% 52-53, 65, 235, 237, 239-240, 250-251, 264, 275, 294-315, 323, 330, 337-338, 342-344, 362, 374, 381-382, 386, 401, 403-407, 417
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 439 142 68% 79-86, 124-127, 131, 133-135, 144-145, 219-220, 245, 266, 276-283, 321, 332, 345-349, 352, 355-360, 366, 371, 376-383, 386-400, 403-411, 428-431, 435-440, 442-449, 471-476, 481-491, 496-505, 520, 534-537, 588, 592, 602-612, 631, 636-637, 647-673, 688
diffoscope/presenters/html/templates.py 9 0 100%
diffoscope/presenters/icon.py 1 0 100%
diffoscope/presenters/json.py 32 2 94% 47, 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 150 16 89% 34-45, 70, 78-81, 84, 109, 154, 200
diffoscope/readers/__init__.py 6 0 100%
diffoscope/readers/json.py 18 1 94% 33
diffoscope/readers/utils.py 2 0 100%
diffoscope/tempfiles.py 30 4 87% 55-56, 63-64
diffoscope/tools.py 49 15 69% 26-27, 84, 87-90, 95-96, 100-108
--------------------------------------------------------------------------
TOTAL 5255 687 87%
Coverage HTML written to dir htmlcov
=========================== short test summary info ============================
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_cbfs.py:95: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_cbfs.py:100: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_cbfs.py:105: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_cbfs.py:117: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_cbfs.py:128: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_cbfs.py:136: requires cbfstool
SKIP [3] /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/comparators/test_fsimage.py:50: 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:35: mismatch between system ghc and fixture
SKIP [1] /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/comparators/test_haskell.py:49: mismatch between system ghc and fixture
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_macho.py:45: requires otool and lipo
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_macho.py:52: requires otool and lipo
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_utils.py:41: requires
SKIP [1] .pybuild/pythonX.Y_3.6/build/tests/comparators/test_utils.py:45: requires /missing
==================================== ERRORS ====================================
__________________ ERROR at setup of test_no_android_manifest __________________
apk1 = <<class 'abc.ApkFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/test1.apk>
apk3 = <<class 'abc.ApkFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/test3.apk>
@pytest.fixture
def differences2(apk1, apk3):
> return apk1.compare(apk3).details
apk1 = <<class 'abc.ApkFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/test1.apk>
apk3 = <<class 'abc.ApkFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/test3.apk>
tests/comparators/test_apk.py:45:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
diffoscope/comparators/utils/file.py:266: in compare
difference = self._compare_using_details(other, source)
diffoscope/comparators/utils/file.py:221: in _compare_using_details
details.extend(self.as_container.compare(other.as_container, no_recurse=no_recurse))
diffoscope/comparators/apk.py:142: in compare
differences.append(self.compare_manifests(other))
diffoscope/comparators/apk.py:134: in compare_manifests
source=source)
diffoscope/comparators/utils/compare.py:86: in compare_files
specialize(file1)
diffoscope/comparators/utils/specialize.py:38: in specialize
flag = cls.recognizes(file)
diffoscope/comparators/xml.py:91: in recognizes
file.parsed = _parse(f)
diffoscope/comparators/xml.py:59: in _parse
xml = minidom.parse(file)
/usr/lib/python3.6/xml/dom/minidom.py:1958: in parse
return expatbuilder.parse(file)
/usr/lib/python3.6/xml/dom/expatbuilder.py:913: in parse
result = builder.parseFile(file)
/usr/lib/python3.6/xml/dom/expatbuilder.py:204: in parseFile
buffer = file.read(16*1024)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <encodings.utf_8.IncrementalDecoder object at 0x7f4d90f41710>
input = b"\x03\x00\x08\x000\x08\x00\x00\x01\x00\x1c\x00\x80\x04\x00\x00\x1d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x90\x0...ff\xff\x0b\x00\x00\x00\x01\x01\x10\x00\x18\x00\x00\x00\x16\x00\x00\x00\xff\xff\xff\xff\x05\x00\x00\x00\x06\x00\x00\x00"
final = False
def decode(self, input, final=False):
# decode input (taking the buffer into account)
data = self.buffer + input
> (result, consumed) = self._buffer_decode(data, self.errors, final)
E UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 12: invalid start byte
data = b"\x03\x00\x08\x000\x08\x00\x00\x01\x00\x1c\x00\x80\x04\x00\x00\x1d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x90\x0...ff\xff\x0b\x00\x00\x00\x01\x01\x10\x00\x18\x00\x00\x00\x16\x00\x00\x00\xff\xff\xff\xff\x05\x00\x00\x00\x06\x00\x00\x00"
final = False
input = b"\x03\x00\x08\x000\x08\x00\x00\x01\x00\x1c\x00\x80\x04\x00\x00\x1d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x90\x0...ff\xff\x0b\x00\x00\x00\x01\x01\x10\x00\x18\x00\x00\x00\x16\x00\x00\x00\xff\xff\xff\xff\x05\x00\x00\x00\x06\x00\x00\x00"
self = <encodings.utf_8.IncrementalDecoder object at 0x7f4d90f41710>
/usr/lib/python3.6/codecs.py:321: UnicodeDecodeError
=================================== FAILURES ===================================
____________________________ test_android_manifest _____________________________
differences = [<Difference zipinfo {} -- zipinfo {} []>, <Difference AndroidManifest.xml (decoded) -- AndroidManifest.xml (decoded) ...t.xml -- /tmp/tmpjzhqmstp_diffoscope/test2.apk/AndroidManifest.xml []>]>, <Difference APK metadata -- APK metadata []>]
@skip_unless_tools_exist('apktool', 'zipinfo')
def test_android_manifest(differences):
assert differences[1].source1 == 'AndroidManifest.xml (decoded)'
assert differences[1].source2 == 'AndroidManifest.xml (decoded)'
expected_diff = get_data('apk_manifest_expected_diff')
> assert differences[1].unified_diff == expected_diff
E assert None == '@@ -1,9 +1,9 @@\n <?xml version="1.0" encoding="utf-8"?>\n-<manifest android:versionCode="1" android:versionName="1.0...N" />\n <application>\n <activity android:name="com.any.any.SomeActivity">\n <intent-filter>\n'
E + where None = <Difference AndroidManifest.xml (decoded) -- AndroidManifest.xml (decoded) [<Difference /tmp/tmphwlfgwvk_diffoscope/test1.apk/AndroidManifest.xml -- /tmp/tmpjzhqmstp_diffoscope/test2.apk/AndroidManifest.xml []>]>.unified_diff
differences = [<Difference zipinfo {} -- zipinfo {} []>, <Difference AndroidManifest.xml (decoded) -- AndroidManifest.xml (decoded) ...t.xml -- /tmp/tmpjzhqmstp_diffoscope/test2.apk/AndroidManifest.xml []>]>, <Difference APK metadata -- APK metadata []>]
expected_diff = '@@ -1,9 +1,9 @@\n <?xml version="1.0" encoding="utf-8"?>\n-<manifest android:versionCode="1" android:versionName="1.0...N" />\n <application>\n <activity android:name="com.any.any.SomeActivity">\n <intent-filter>\n'
tests/comparators/test_apk.py:63: AssertionError
========= 1 failed, 343 passed, 15 skipped, 1 error in 461.91 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 3.5 returned exit code 13
debian/rules:35: recipe for target 'build' failed
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1124:
dpkg-buildpackage -rfakeroot -us -uc failed
+ cleanup
+ '[' -e /chroots/chroot-run-sid.yu7TRHuvy/tmp/testrun/stats.csv ']'
+ '[' true = true ']'
+ mkdir -p <https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/ws/job-exports>
++ ls -1A /chroots/chroot-run-sid.yu7TRHuvy//tmp/job-exports
+ '[' '!' -z test-results ']'
+ cp -drv /chroots/chroot-run-sid.yu7TRHuvy//tmp/job-exports/test-results <https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/ws/job-exports/>
'/chroots/chroot-run-sid.yu7TRHuvy//tmp/job-exports/test-results' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/ws/job-exports/test-results'>
'/chroots/chroot-run-sid.yu7TRHuvy//tmp/job-exports/test-results/tests.xml' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/ws/job-exports/test-results/tests.xml'>
++ ls -1 '/chroots/chroot-run-sid.yu7TRHuvy/tmp/debian-edu-doc_*.changes'
++ true
+ CHANGES=
+ '[' '!' -z '' ']'
+ '[' false = true ']'
+ '[' -d /chroots/chroot-run-sid.yu7TRHuvy/proc ']'
+ sudo umount -l /chroots/chroot-run-sid.yu7TRHuvy/proc
+ '[' -d /chroots/chroot-run-sid.yu7TRHuvy/testrun ']'
+ '[' -d /chroots/chroot-run-sid.yu7TRHuvy ']'
+ sudo rm -rf --one-file-system /chroots/chroot-run-sid.yu7TRHuvy
Fri 21 Jul 10:04:11 UTC 2017 - /srv/jenkins/bin/chroot-run.sh stopped running as /tmp/jenkins-script-l4jnwWgq, which will now be removed.
Build step 'Execute shell' marked build as failure
More information about the Qa-jenkins-scm
mailing list