[Qa-jenkins-scm] Build failed in Jenkins: reproducible_diffoscope_from_git_master #501
jenkins at jenkins.debian.net
jenkins at jenkins.debian.net
Fri Jun 29 10:00:04 BST 2018
See <https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/501/display/redirect?page=changes>
Changes:
[lamby] Open new changelog entry for version 99.
------------------------------------------
[...truncated 1.18 MB...]
Caller is responsible for deleting the directory when done with it.
"""
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
names = _get_candidate_names()
if output_type is bytes:
names = map(_os.fsencode, names)
for seq in range(TMP_MAX):
name = next(names)
file = _os.path.join(dir, prefix + name + suffix)
try:
> _os.mkdir(file, 0o700)
E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/diffoscope-spenja6c/tmpwn465i52_diffoscope'
dir = '/tmp/diffoscope-spenja6c'
file = '/tmp/diffoscope-spenja6c/tmpwn465i52_diffoscope'
name = 'wn465i52'
names = <tempfile._RandomNameSequence object at 0x7f4fc6d88898>
output_type = <class 'str'>
prefix = 'tmp'
seq = 0
suffix = '_diffoscope'
/usr/lib/python3.7/tempfile.py:505: FileNotFoundError
_______________________ test_mozzip_compare_non_existing _______________________
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f4fbb48d518>
mozzip1 = <<class 'abc.MozillaZipFile'> /tmp/testrun/.pybuild/cpython3_3.7/build/tests/data/test1.mozzip>
@skip_unless_tools_exist('zipinfo')
def test_mozzip_compare_non_existing(monkeypatch, mozzip1):
> assert_non_existing(monkeypatch, mozzip1)
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f4fbb48d518>
mozzip1 = <<class 'abc.MozillaZipFile'> /tmp/testrun/.pybuild/cpython3_3.7/build/tests/data/test1.mozzip>
tests/comparators/test_zip.py:112:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/utils/nonexisting.py:29: in assert_non_existing
difference = fixture.compare(MissingFile('/nonexisting', fixture))
diffoscope/comparators/utils/file.py:366: in compare
difference = self._compare_using_details(other, source)
diffoscope/comparators/utils/file.py:304: in _compare_using_details
details.extend(self.compare_details(other, source))
diffoscope/comparators/zip.py:169: in compare_details
zipinfo_difference = Difference.from_command(MozillaZipinfo, self.path, other.path) or \
diffoscope/difference.py:233: in from_command
return Difference.from_command_exc(klass, path1, path2, *args, **kwargs)[0]
diffoscope/difference.py:270: in from_command_exc
**kwargs
diffoscope/difference.py:186: in from_feeder
unified_diff = diff(feeder1, feeder2)
diffoscope/diff.py:321: in diff
tmpdir = get_temporary_directory().name
diffoscope/tempfiles.py:43: in get_temporary_directory
d = tempfile.TemporaryDirectory(*args, **kwargs)
/usr/lib/python3.7/tempfile.py:927: in __init__
self.name = mkdtemp(suffix, prefix, dir)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
suffix = '_diffoscope', prefix = 'tmp', dir = '/tmp/diffoscope-spenja6c'
def mkdtemp(suffix=None, prefix=None, dir=None):
"""User-callable function to create and return a unique temporary
directory. The return value is the pathname of the directory.
Arguments are as for mkstemp, except that the 'text' argument is
not accepted.
The directory is readable, writable, and searchable only by the
creating user.
Caller is responsible for deleting the directory when done with it.
"""
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
names = _get_candidate_names()
if output_type is bytes:
names = map(_os.fsencode, names)
for seq in range(TMP_MAX):
name = next(names)
file = _os.path.join(dir, prefix + name + suffix)
try:
> _os.mkdir(file, 0o700)
E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/diffoscope-spenja6c/tmpo9e_da9c_diffoscope'
dir = '/tmp/diffoscope-spenja6c'
file = '/tmp/diffoscope-spenja6c/tmpo9e_da9c_diffoscope'
name = 'o9e_da9c'
names = <tempfile._RandomNameSequence object at 0x7f4fc6d88898>
output_type = <class 'str'>
prefix = 'tmp'
seq = 0
suffix = '_diffoscope'
/usr/lib/python3.7/tempfile.py:505: FileNotFoundError
--------- 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 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 29 6 79% 123, 131-135
diffoscope/comparators/android.py 40 13 68% 42-44, 50, 54-70, 73, 76, 79
diffoscope/comparators/apk.py 100 67 33% 41, 46-98, 101, 105-107, 110, 113, 116, 119-142, 145-151, 164, 168-181
diffoscope/comparators/ar.py 26 7 73% 41-51
diffoscope/comparators/berkeley_db.py 19 5 74% 35-41
diffoscope/comparators/binary.py 16 0 100%
diffoscope/comparators/binwalk.py 53 23 57% 37-38, 45, 48, 51, 54, 64, 73, 77, 80-108, 111-118
diffoscope/comparators/bzip2.py 24 6 75% 40, 44-50
diffoscope/comparators/cbfs.py 85 43 49% 39-40, 45, 48, 54-65, 68, 71, 74, 78-84, 97-99, 122-125, 129-142, 145
diffoscope/comparators/cpio.py 10 1 90% 35
diffoscope/comparators/deb.py 116 69 41% 36-37, 45-59, 68-77, 87-90, 93-100, 111-118, 122-132, 152-161, 164-166, 169, 176-190, 204
diffoscope/comparators/debian.py 142 44 69% 39-41, 45, 49, 53, 59, 62, 65, 70-71, 75-87, 90-91, 94-100, 106, 109, 124, 143-160, 186-202, 232, 241-255, 273, 290
diffoscope/comparators/debian_fallback.py 25 14 44% 28-32, 39-44, 51-56
diffoscope/comparators/device.py 47 11 77% 41-43, 49-52, 73-75, 81-84
diffoscope/comparators/dex.py 26 6 77% 36, 45, 49-53
diffoscope/comparators/directory.py 162 96 41% 53-56, 66, 75-81, 91-101, 107-110, 114-134, 140-177, 215, 219, 231-245, 250, 253-258, 264-276, 279-290
diffoscope/comparators/docx.py 13 0 100%
diffoscope/comparators/dtb.py 13 0 100%
diffoscope/comparators/elf.py 283 169 40% 68, 71-77, 81, 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, 269-277, 282-283, 287, 291, 298, 301, 304, 307, 310, 314, 318, 326, 339-355, 360, 370-384, 389-403, 417-468, 473-560, 563, 566, 592-593
diffoscope/comparators/fontconfig.py 27 0 100%
diffoscope/comparators/fonts.py 15 1 93% 35
diffoscope/comparators/fsimage.py 58 37 36% 39-60, 63-66, 69, 72-76, 85-97
diffoscope/comparators/gettext.py 36 14 61% 46-61
diffoscope/comparators/gif.py 40 18 55% 46-48, 53-60, 64, 81-105
diffoscope/comparators/git.py 29 0 100%
diffoscope/comparators/gnumeric.py 19 3 84% 56-64
diffoscope/comparators/gzip.py 26 6 77% 41, 45-51
diffoscope/comparators/haskell.py 58 13 78% 37, 47, 86-88, 97, 103-108, 112, 123-124, 141, 144
diffoscope/comparators/icc.py 13 0 100%
diffoscope/comparators/image.py 78 39 50% 50, 79, 89-107, 112-127, 132, 140-143, 157-171, 193-222, 229-231
diffoscope/comparators/ipk.py 4 0 100%
diffoscope/comparators/iso9660.py 48 19 60% 33, 50-51, 55-62, 65-67, 88, 98-107
diffoscope/comparators/java.py 46 13 72% 42, 45-47, 68-73, 90-91, 96-99
diffoscope/comparators/javascript.py 12 0 100%
diffoscope/comparators/json.py 40 13 68% 29-30, 48, 68-92
diffoscope/comparators/llvm.py 16 3 81% 33, 42, 50
diffoscope/comparators/macho.py 56 28 50% 33-35, 39, 42, 46-49, 54, 59, 64, 69, 81-87, 93-125
diffoscope/comparators/missing_file.py 48 7 85% 54, 67, 70, 88-91, 100
diffoscope/comparators/mono.py 13 0 100%
diffoscope/comparators/odt.py 13 0 100%
diffoscope/comparators/ogg.py 13 0 100%
diffoscope/comparators/openssh.py 13 0 100%
diffoscope/comparators/pcap.py 13 0 100%
diffoscope/comparators/pdf.py 13 0 100%
diffoscope/comparators/pgp.py 13 0 100%
diffoscope/comparators/png.py 30 10 67% 51-75
diffoscope/comparators/ppu.py 54 17 69% 55-57, 71, 79-92
diffoscope/comparators/ps.py 24 9 62% 36, 45-53
diffoscope/comparators/rdata.py 45 19 58% 44-58, 64, 78, 82, 88, 96-98
diffoscope/comparators/rpm.py 70 68 3% 23-112
diffoscope/comparators/rpm_fallback.py 11 4 64% 32-36
diffoscope/comparators/rust.py 32 11 66% 39, 42, 45, 48-57, 67
diffoscope/comparators/sqlite.py 13 0 100%
diffoscope/comparators/squashfs.py 161 88 45% 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
diffoscope/comparators/symlink.py 32 3 91% 40, 58-59
diffoscope/comparators/tar.py 12 0 100%
diffoscope/comparators/text.py 33 6 82% 35, 58, 60-63, 68
diffoscope/comparators/utils/__init__.py 0 0 100%
diffoscope/comparators/utils/archive.py 90 26 71% 38, 53, 57, 61, 65, 69, 72, 75-80, 108-109, 114, 117, 120, 125, 128, 131, 137, 140, 143, 146, 150, 153, 158
diffoscope/comparators/utils/command.py 44 6 86% 63, 73, 76, 79, 99, 103
diffoscope/comparators/utils/compare.py 90 11 88% 71-77, 91, 102-103, 105-106, 116
diffoscope/comparators/utils/container.py 106 37 65% 47-49, 67, 71, 74, 79-80, 103-120, 147-149, 159-161, 164-170, 179-181, 189, 192
diffoscope/comparators/utils/file.py 220 69 69% 50-56, 82-92, 104, 205, 212-213, 253-270, 274, 278, 282, 317-319, 338-341, 347-350, 370-374, 379-386, 390-396, 400-402, 406-408, 419-421
diffoscope/comparators/utils/fuzzy.py 29 18 38% 36-56
diffoscope/comparators/utils/libarchive.py 159 25 84% 43-45, 48-50, 109, 114, 137, 140, 144, 151, 154, 167, 181, 195-196, 199-203, 209, 228, 243, 261-262
diffoscope/comparators/utils/specialize.py 31 2 94% 70, 73
diffoscope/comparators/xml.py 41 3 93% 112, 139-140
diffoscope/comparators/xsb.py 16 3 81% 33-35
diffoscope/comparators/xz.py 27 6 78% 41, 45-51
diffoscope/comparators/zip.py 88 35 60% 48-50, 56, 62, 67, 70, 73, 76, 79, 82, 87, 90, 93, 99-103, 106-109, 121, 129, 144-155, 172
diffoscope/config.py 42 4 90% 75-82
diffoscope/diff.py 413 73 82% 101, 135-138, 197, 232, 234, 246-247, 253, 278-280, 292-317, 364, 369-379, 408-409, 444-448, 473-477, 490-491, 547, 564, 569, 602-603, 606-607, 619-620, 623-629, 637-640, 650-653, 668
diffoscope/difference.py 173 35 80% 47, 102, 198-202, 215, 239-240, 250, 257-258, 272-286, 327, 332-335, 340-342, 346, 350, 354, 357, 360
diffoscope/exc.py 14 1 93% 35
diffoscope/excludes.py 24 9 62% 31-34, 39-45
diffoscope/external_tools.py 3 0 100%
diffoscope/feeders.py 58 10 83% 76-77, 83-96, 110
diffoscope/locale.py 13 0 100%
diffoscope/logging.py 15 0 100%
diffoscope/main.py 247 47 81% 66, 253, 255-257, 267-269, 275-288, 301, 316, 335-355, 364, 372, 380-382, 386-390, 412, 416-421, 437, 444-445, 450, 462-463, 465, 469-470, 486
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 153 66% 79-86, 129-132, 136, 138-140, 156-159, 219, 228-229, 232, 259, 263, 267, 281, 287-288, 293-301, 341, 354, 369-373, 377, 380-386, 396-411, 414-429, 457-460, 464-469, 472, 477-480, 490-491, 503-508, 513-524, 529-541, 556, 573-576, 590, 644, 679, 703, 718-719, 729-758, 770-783, 806
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 14 26% 25-26, 29-43, 46-49
diffoscope/presenters/restructuredtext.py 25 19 24% 27-28, 31-47, 50-57
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, 298, 342, 405-409
diffoscope/profiling.py 40 0 100%
diffoscope/progress.py 153 20 87% 34-44, 70, 78-81, 84, 109, 116, 164-165, 211, 243, 258
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% 57-58, 66-78
diffoscope/tools.py 64 24 62% 26-27, 54-55, 82-83, 95, 108, 112-115, 119-134
--------------------------------------------------------------------------
TOTAL 5684 1769 69%
Coverage HTML written to dir htmlcov
=========================== short test summary info ============================
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_cbfs.py:96: requires cbfstool
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_cbfs.py:101: requires cbfstool
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_cbfs.py:106: requires cbfstool
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_cbfs.py:118: requires cbfstool
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_cbfs.py:129: requires cbfstool
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_cbfs.py:137: requires cbfstool
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_fsimage.py:59: requires guestfs module
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_fsimage.py:71: requires guestfs module
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_fsimage.py:90: requires guestfs module
SKIP [1] /tmp/testrun/.pybuild/cpython3_3.7/build/tests/comparators/test_haskell.py:37: mismatch between system ghc and fixture
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_java.py:77: requires procyon-decompiler
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_java.py:87: requires procyon-decompiler
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_macho.py:50: requires otool and lipo
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_macho.py:58: requires otool and lipo
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_ps.py:58: requires ps2ascii <= 9.21 (9.22
detected)
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_rpm.py:43: requires rpm module
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_rpm.py:54: requires rpm module
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_rpm.py:62: requires rpm module
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_rpm.py:71: requires rpm module
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_rpm.py:80: requires rpm module
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_utils.py:46: requires
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_utils.py:51: requires /missing
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_utils.py:68: requires tlsh module
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_utils.py:79: requires tlsh module
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_utils.py:89: requires tlsh module
SKIP [1] .pybuild/cpython3_3.7/build/tests/comparators/test_utils.py:97: requires tlsh module
======== 167 failed, 98 passed, 26 skipped, 99 error in 626.68 seconds =========
E: pybuild pybuild:336: test: plugin distutils failed with: exit code=1: 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.wSh3grHJw//tmp/job-exports/test-results' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/ws/job-exports/test-results'>
'/chroots/chroot-run-sid.wSh3grHJw//tmp/job-exports/test-results/tests.xml' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_master/ws/job-exports/test-results/tests.xml'>
Fri 29 Jun 09:00:03 UTC 2018 - /srv/jenkins/bin/chroot-run.sh stopped running as /tmp/jenkins-script-qZ3lbo5g, which will now be removed.
Build step 'Execute shell' marked build as failure
More information about the Qa-jenkins-scm
mailing list