[Qa-jenkins-scm] Build failed in Jenkins: reproducible_diffoscope_from_git_branches #22
jenkins at jenkins.debian.net
jenkins at jenkins.debian.net
Mon Jan 9 17:04:05 UTC 2017
https://jenkins.debian.net/job/reproducible_diffoscope_from_git_branches/22/------------------------------------------
[...truncated 288.97 KB...]
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_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_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_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_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
--------- coverage: platform linux, python 3.5.3-candidate-1 ---------
Name Stmts Miss Cover Missing
-------------------------------------------------------------------------
diffoscope/__init__.py 67 5 93% 52, 113-114, 118-119
diffoscope/changes.py 122 54 56% 82, 90, 93, 102, 109, 116, 137, 174, 180, 186, 192-194, 200, 206, 222-225, 228-231, 240, 252-286, 307-314, 321, 333
diffoscope/comparators/__init__.py 100 6 94% 37-38, 101-102, 107, 124
diffoscope/comparators/ar.py 26 0 100%
diffoscope/comparators/binary.py 218 28 87% 36-37, 42-45, 87-97, 109, 165, 169, 173, 197-200, 230, 233, 246-249, 308, 311, 322
diffoscope/comparators/bzip2.py 27 0 100%
diffoscope/comparators/cbfs.py 81 43 47% 34-35, 39, 42, 48-59, 62, 65, 68, 72-76, 88-89, 111-114, 118-130, 133
diffoscope/comparators/cpio.py 16 1 94% 33
diffoscope/comparators/deb.py 103 12 88% 33-34, 45, 64, 74, 94-95, 101, 133-135, 154
diffoscope/comparators/debian.py 130 4 97% 82-83, 180, 196
diffoscope/comparators/debian_fallback.py 32 32 0% 20-65
diffoscope/comparators/device.py 31 3 90% 34-36
diffoscope/comparators/dex.py 28 1 96% 33
diffoscope/comparators/directory.py 123 12 90% 69, 87-88, 90, 96-97, 100-101, 147-149, 164
diffoscope/comparators/elf.py 268 25 91% 45, 53-54, 184, 237, 272, 301-303, 306, 314-316, 319, 349, 357-361, 375, 380, 386-387, 392-393
diffoscope/comparators/fonts.py 16 0 100%
diffoscope/comparators/fsimage.py 57 36 37% 31-32, 37-51, 54-57, 60, 63, 66-70, 81-91
diffoscope/comparators/gettext.py 36 0 100%
diffoscope/comparators/git.py 30 0 100%
diffoscope/comparators/gzip.py 29 0 100%
diffoscope/comparators/haskell.py 50 11 78% 34, 40, 57-59, 61, 67-68, 71, 83, 86
diffoscope/comparators/icc.py 14 2 86% 31, 42
diffoscope/comparators/image.py 17 0 100%
diffoscope/comparators/ipk.py 6 0 100%
diffoscope/comparators/iso9660.py 43 3 93% 34-35, 60
diffoscope/comparators/java.py 22 0 100%
diffoscope/comparators/json.py 21 2 90% 38-39
diffoscope/comparators/libarchive.py 129 12 91% 35-36, 38-39, 115, 121, 124, 137, 151, 172, 183, 197
diffoscope/comparators/llvm.py 15 0 100%
diffoscope/comparators/macho.py 53 26 51% 32-34, 38, 41, 44-50, 55, 60, 65, 79-83, 89-104
diffoscope/comparators/mono.py 14 0 100%
diffoscope/comparators/pdf.py 19 0 100%
diffoscope/comparators/png.py 19 0 100%
diffoscope/comparators/ppu.py 49 14 71% 65, 71-84
diffoscope/comparators/ps.py 23 2 91% 47-48
diffoscope/comparators/rpm.py 66 2 97% 36, 43
diffoscope/comparators/rpm_fallback.py 13 5 62% 34-38
diffoscope/comparators/rust.py 35 0 100%
diffoscope/comparators/sqlite.py 12 0 100%
diffoscope/comparators/squashfs.py 144 19 87% 75, 91, 105, 111, 114, 126, 134, 154, 159-160, 163-164, 167-168, 181, 210-213, 227
diffoscope/comparators/symlink.py 28 1 96% 35
diffoscope/comparators/tar.py 13 0 100%
diffoscope/comparators/text.py 25 2 92% 52-54
diffoscope/comparators/utils.py 222 23 90% 67, 132-135, 182-183, 188-191, 195, 199, 295, 299, 303, 307, 315, 318, 321, 330, 340, 343, 348
diffoscope/comparators/xz.py 27 0 100%
diffoscope/comparators/zip.py 90 3 97% 64, 70, 73
diffoscope/config.py 61 6 90% 49, 53, 62-63, 93, 101
diffoscope/difference.py 323 19 94% 75, 108, 163, 305, 321-325, 335, 353, 411, 426-428, 446-450
diffoscope/exc.py 15 8 47% 23-24, 206-213
diffoscope/main.py 153 26 83% 43-44, 141, 143, 145-146, 169, 178-183, 189, 204, 208, 219, 235, 244, 249, 260, 262-266, 271
diffoscope/presenters/__init__.py 0 0 100%
diffoscope/presenters/html.py 422 113 73% 224, 253, 338, 343, 345-347, 377, 380, 382, 408, 422, 427, 464-468, 477-480, 484-490, 507-531, 547-548, 551-552, 564-565, 568-572, 580-583, 593-596, 611, 624-627, 637-638, 643-644, 652-654, 682-684, 691, 708, 713-715, 721-722, 735-767
diffoscope/presenters/icon.py 1 0 100%
diffoscope/presenters/text.py 31 3 90% 55-57
diffoscope/progress.py 71 23 68% 39-44, 47, 52, 58, 62, 68, 94-105, 108-109, 112-113, 116, 120, 123, 126, 129, 132
-------------------------------------------------------------------------
TOTAL 3786 587 84%
Coverage HTML written to dir htmlcov
=========================== short test summary info ============================
SKIP [1] /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/comparators/test_haskell.py:47: mismatch between system ghc and fixture
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_cbfs.py:75: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_cbfs.py:64: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_fsimage.py:61: guestfs not working on the system
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_macho.py:50: requires otool and lipo
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_cbfs.py:60: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_utils.py:49: requires /missing
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_fsimage.py:79: guestfs not working on the system
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_macho.py:43: requires otool and lipo
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_cbfs.py:80: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_utils.py:45: requires
SKIP [1] /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/comparators/test_haskell.py:33: mismatch between system ghc and fixture
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_cbfs.py:87: requires cbfstool
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_fsimage.py:50: guestfs not working on the system
SKIP [1] .pybuild/pythonX.Y_3.5/build/tests/comparators/test_cbfs.py:56: requires cbfstool
=================================== FAILURES ===================================
_______________________________ test_differences _______________________________
differences = [<Difference test1.jar -- test2.jar [<Difference zipinfo -v {} -- zipinfo -v {} []>, <Difference com/example/MainActiv....class [<Difference javap -verbose -constants -s -l -private {} -- javap -verbose -constants -s -l -private {} []>]>]>]
@skip_unless_tools_exist('enjarify', 'zipinfo', 'javap')
def test_differences(differences):
assert differences[0].source1 == 'test1.jar'
assert differences[0].source2 == 'test2.jar'
zipinfo = differences[0].details[0]
classdiff = differences[0].details[1]
assert zipinfo.source1 == 'zipinfo -v {}'
assert zipinfo.source2 == 'zipinfo -v {}'
assert classdiff.source1 == 'com/example/MainActivity.class'
assert classdiff.source2 == 'com/example/MainActivity.class'
expected_diff = open(data('dex_expected_diffs')).read()
found_diff = zipinfo.unified_diff + classdiff.details[0].unified_diff
> assert expected_diff == found_diff
E assert '@@ -54,15 +5...args_size=1\n' == '@@ -54,15 +54...args_size=1\n'
E @@ -54,15 +54,15 @@
E version of encoding software: 2.0
E minimum file system compatibility required: MS-DOS, OS/2 or NT FAT
E minimum software version required to extract: 2.0
E compression method: none (stored)
E file security status: not encrypted
E extended local header: no
E file last modified on (DOS date/time): 1980 Jan 1 00:00:00
E - - 32-bit CRC value (hex): fc227a58
E ? ^ ^^^^
E + - 32-bit CRC value (hex): bc28236e
E ? ^ + ^^^
E - + 32-bit CRC value (hex): 19c9f64e
E ? ^ ^ ^^^
E + + 32-bit CRC value (hex): 59c3af78
E ? ^ ^^ ^^
E compressed size: 305 bytes
E uncompressed size: 305 bytes
E length of filename: 30 characters
E length of extra field: 0 bytes
E length of file comment: 0 characters
E disk number on which file begins: disk 1
E apparent file type: binary
E @@ -17,16 +17,16 @@
E #12 = Methodref #4.#11 // android/app/Activity.onCreate:(Landroid/os/Bundle;)V
E #13 = Integer 2130903040
E #14 = Float 1.7412887E38f
E #15 = Utf8 setContentView
E #16 = Utf8 (I)V
E #17 = NameAndType #15:#16 // setContentView:(I)V
E #18 = Methodref #2.#17 // com/example/MainActivity.setContentView:(I)V
E - #19 = Utf8 Sat Nov 21 14:20:33 CET 2015
E - #20 = String #19 // Sat Nov 21 14:20:33 CET 2015
E + #19 = Utf8 Thu Mar 17 11:54:42 CET 2016
E + #20 = String #19 // Thu Mar 17 11:54:42 CET 2016
E #21 = Utf8 Code
E {
E public com.example.MainActivity();
E descriptor: ()V
E flags: ACC_PUBLIC
E Code:
E stack=300, locals=1, args_size=1
tests/comparators/test_dex.py:55: AssertionError
_____________________________ test_identification ______________________________
icc1 = <<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.icc>
def test_identification(icc1):
> assert isinstance(icc1, IccFile)
E assert False
E + where False = isinstance(<<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.icc>, IccFile)
tests/comparators/test_icc.py:32: AssertionError
__________________________________ test_diff ___________________________________
differences = []
@skip_unless_tools_exist('cd-iccdump')
def test_diff(differences):
expected_diff = open(data('icc_expected_diff')).read()
> assert differences[0].unified_diff == expected_diff
E IndexError: list index out of range
tests/comparators/test_icc.py:45: IndexError
__________________________ test_compare_non_existing ___________________________
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7efd07d8ca90>
icc1 = <<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.icc>
@skip_unless_tools_exist('cd-iccdump')
def test_compare_non_existing(monkeypatch, icc1):
monkeypatch.setattr(Config, 'new_file', True)
difference = icc1.compare(NonExistingFile('/nonexisting', icc1))
assert difference.source2 == '/nonexisting'
> assert len(difference.details) > 0
E assert 0 > 0
E + where 0 = len([])
E + where [] = <Difference /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.icc -- /nonexisting []>.details
tests/comparators/test_icc.py:52: AssertionError
============== 4 failed, 228 passed, 15 skipped in 140.83 seconds ==============
E: pybuild pybuild:276: test: plugin distutils failed with: exit code=1: cd /tmp/testrun/.pybuild/pythonX.Y_3.5/build; python3.5 -m pytest -vv -r sxX --cov=diffoscope --cov-report=term-missing --cov-report=html
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.5 returned exit code 13
debian/rules:29: 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 1116:
dpkg-buildpackage -rfakeroot -us -uc failed
+ cleanup
+ '[' -e /chroots/chroot-run-sid.W86EXZX9S/tmp/testrun/stats.csv ']'
++ ls -1 '/chroots/chroot-run-sid.W86EXZX9S/tmp/debian-edu-doc_*.changes'
++ true
+ CHANGES=
+ '[' '!' -z '' ']'
+ '[' false = true ']'
+ '[' -d /chroots/chroot-run-sid.W86EXZX9S/proc ']'
+ sudo umount -l /chroots/chroot-run-sid.W86EXZX9S/proc
+ '[' -d /chroots/chroot-run-sid.W86EXZX9S/testrun ']'
+ '[' -d /chroots/chroot-run-sid.W86EXZX9S ']'
+ sudo rm -rf --one-file-system /chroots/chroot-run-sid.W86EXZX9S
Mon 9 Jan 17:04:05 UTC 2017 - /srv/jenkins/bin/chroot-run.sh stopped running as /tmp/jenkins-script-0bxzzdrr, which will now be removed.
Build step 'Execute shell' marked build as failure
More information about the Qa-jenkins-scm
mailing list