[Qa-jenkins-scm] Build failed in Jenkins: reproducible_diffoscope_from_git_branches #544
jenkins at jenkins.debian.net
jenkins at jenkins.debian.net
Sat Jul 13 01:26:40 BST 2019
See <https://jenkins.debian.net/job/reproducible_diffoscope_from_git_branches/544/display/redirect>
------------------------------------------
[...truncated 424.13 KB...]
if entry.isblk or entry.ischr:
size_or_dev = '{major:>3},{minor:>3}'.format(major=entry.rdevmajor, minor=entry.rdevminor)
else:
size_or_dev = entry.size
> mtime = time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(entry.mtime)) + '.{:06d}'.format(entry.mtime_nsec // 1000)
E AttributeError: 'ArchiveEntry' object has no attribute 'mtime_nsec'
diffoscope/comparators/libarchive.py:71: AttributeError
_____________________________ test_fuzzy_matching ______________________________
fuzzy_tar1 = <<class 'abc.TarFile'> /tmp/testrun/.pybuild/cpython3_3.7/build/tests/comparators/../data/fuzzy1.tar>
fuzzy_tar2 = <<class 'abc.TarFile'> /tmp/testrun/.pybuild/cpython3_3.7/build/tests/comparators/../data/fuzzy2.tar>
@pytest.mark.skipif(miss_tlsh, reason='tlsh is missing')
def test_fuzzy_matching(fuzzy_tar1, fuzzy_tar2):
> differences = fuzzy_tar1.compare(fuzzy_tar2).details
tests/comparators/test_utils.py:49:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
diffoscope/comparators/binary.py:207: in compare
difference = self._compare_using_details(other, source)
diffoscope/comparators/binary.py:175: in _compare_using_details
details.extend(filter(None, self.compare_details(other, source)))
diffoscope/comparators/tar.py:40: in compare_details
self.path, other.path, source="file list")]
diffoscope/difference.py:333: in from_text_readers
*args, **kwargs)
diffoscope/difference.py:306: in from_feeder
unified_diff = diff(feeder1, feeder2)
diffoscope/difference.py:270: in diff
return run_diff(fd1, fd2, end_nl_q1, end_nl_q2)
/usr/lib/python3.7/contextlib.py:119: in __exit__
next(self.gen)
diffoscope/difference.py:205: in fd_from_feeder
t.join()
diffoscope/difference.py:183: in join
raise ex
diffoscope/difference.py:169: in run
super().run(*args, **kwargs)
/usr/lib/python3.7/threading.py:870: in run
self._target(*self._args, **self._kwargs)
diffoscope/difference.py:190: in feed
end_nl = feeder(f)
diffoscope/difference.py:232: in feeder
for buf in in_file:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = '/tmp/testrun/.pybuild/cpython3_3.7/build/tests/comparators/../data/fuzzy2.tar'
def list_libarchive(path):
with libarchive.file_reader(path) as archive:
for entry in archive:
if entry.isblk or entry.ischr:
size_or_dev = '{major:>3},{minor:>3}'.format(major=entry.rdevmajor, minor=entry.rdevminor)
else:
size_or_dev = entry.size
> mtime = time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(entry.mtime)) + '.{:06d}'.format(entry.mtime_nsec // 1000)
E AttributeError: 'ArchiveEntry' object has no attribute 'mtime_nsec'
diffoscope/comparators/libarchive.py:71: AttributeError
________________________ test_fuzzy_matching_only_once _________________________
fuzzy_tar1 = <<class 'abc.TarFile'> /tmp/testrun/.pybuild/cpython3_3.7/build/tests/comparators/../data/fuzzy1.tar>
fuzzy_tar3 = <<class 'abc.TarFile'> /tmp/testrun/.pybuild/cpython3_3.7/build/tests/comparators/../data/fuzzy3.tar>
@pytest.mark.skipif(miss_tlsh, reason='tlsh is missing')
def test_fuzzy_matching_only_once(fuzzy_tar1, fuzzy_tar3):
> differences = fuzzy_tar1.compare(fuzzy_tar3).details
tests/comparators/test_utils.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
diffoscope/comparators/binary.py:207: in compare
difference = self._compare_using_details(other, source)
diffoscope/comparators/binary.py:175: in _compare_using_details
details.extend(filter(None, self.compare_details(other, source)))
diffoscope/comparators/tar.py:40: in compare_details
self.path, other.path, source="file list")]
diffoscope/difference.py:333: in from_text_readers
*args, **kwargs)
diffoscope/difference.py:306: in from_feeder
unified_diff = diff(feeder1, feeder2)
diffoscope/difference.py:270: in diff
return run_diff(fd1, fd2, end_nl_q1, end_nl_q2)
/usr/lib/python3.7/contextlib.py:119: in __exit__
next(self.gen)
diffoscope/difference.py:205: in fd_from_feeder
t.join()
diffoscope/difference.py:183: in join
raise ex
diffoscope/difference.py:169: in run
super().run(*args, **kwargs)
/usr/lib/python3.7/threading.py:870: in run
self._target(*self._args, **self._kwargs)
diffoscope/difference.py:190: in feed
end_nl = feeder(f)
diffoscope/difference.py:232: in feeder
for buf in in_file:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = '/tmp/testrun/.pybuild/cpython3_3.7/build/tests/comparators/../data/fuzzy3.tar'
def list_libarchive(path):
with libarchive.file_reader(path) as archive:
for entry in archive:
if entry.isblk or entry.ischr:
size_or_dev = '{major:>3},{minor:>3}'.format(major=entry.rdevmajor, minor=entry.rdevminor)
else:
size_or_dev = entry.size
> mtime = time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(entry.mtime)) + '.{:06d}'.format(entry.mtime_nsec // 1000)
E AttributeError: 'ArchiveEntry' object has no attribute 'mtime_nsec'
diffoscope/comparators/libarchive.py:71: AttributeError
____________________________ test_no_fuzzy_matching ____________________________
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7ff6a0c31d50>
fuzzy_tar_in_tar1 = <<class 'abc.TarFile'> /tmp/testrun/.pybuild/cpython3_3.7/build/tests/comparators/../data/fuzzy-tar-in-tar1.tar>
fuzzy_tar_in_tar2 = <<class 'abc.TarFile'> /tmp/testrun/.pybuild/cpython3_3.7/build/tests/comparators/../data/fuzzy-tar-in-tar2.tar>
@pytest.mark.skipif(miss_tlsh, reason='tlsh is missing')
def test_no_fuzzy_matching(monkeypatch, fuzzy_tar_in_tar1, fuzzy_tar_in_tar2):
monkeypatch.setattr(Config, 'fuzzy_threshold', 0)
> difference = fuzzy_tar_in_tar1.compare(fuzzy_tar_in_tar2)
tests/comparators/test_utils.py:73:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
diffoscope/comparators/binary.py:207: in compare
difference = self._compare_using_details(other, source)
diffoscope/comparators/binary.py:175: in _compare_using_details
details.extend(filter(None, self.compare_details(other, source)))
diffoscope/comparators/tar.py:40: in compare_details
self.path, other.path, source="file list")]
diffoscope/difference.py:333: in from_text_readers
*args, **kwargs)
diffoscope/difference.py:306: in from_feeder
unified_diff = diff(feeder1, feeder2)
diffoscope/difference.py:270: in diff
return run_diff(fd1, fd2, end_nl_q1, end_nl_q2)
/usr/lib/python3.7/contextlib.py:119: in __exit__
next(self.gen)
diffoscope/difference.py:205: in fd_from_feeder
t.join()
diffoscope/difference.py:183: in join
raise ex
diffoscope/difference.py:169: in run
super().run(*args, **kwargs)
/usr/lib/python3.7/threading.py:870: in run
self._target(*self._args, **self._kwargs)
diffoscope/difference.py:190: in feed
end_nl = feeder(f)
diffoscope/difference.py:232: in feeder
for buf in in_file:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = '/tmp/testrun/.pybuild/cpython3_3.7/build/tests/comparators/../data/fuzzy-tar-in-tar2.tar'
def list_libarchive(path):
with libarchive.file_reader(path) as archive:
for entry in archive:
if entry.isblk or entry.ischr:
size_or_dev = '{major:>3},{minor:>3}'.format(major=entry.rdevmajor, minor=entry.rdevminor)
else:
size_or_dev = entry.size
> mtime = time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(entry.mtime)) + '.{:06d}'.format(entry.mtime_nsec // 1000)
E AttributeError: 'ArchiveEntry' object has no attribute 'mtime_nsec'
diffoscope/comparators/libarchive.py:71: AttributeError
_______________________ test_no_fuzzy_matching_new_file ________________________
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7ff6a0c310d0>
fuzzy_tar_in_tar1 = <<class 'abc.TarFile'> /tmp/testrun/.pybuild/cpython3_3.7/build/tests/comparators/../data/fuzzy-tar-in-tar1.tar>
fuzzy_tar_in_tar2 = <<class 'abc.TarFile'> /tmp/testrun/.pybuild/cpython3_3.7/build/tests/comparators/../data/fuzzy-tar-in-tar2.tar>
@pytest.mark.skipif(miss_tlsh, reason='tlsh is missing')
def test_no_fuzzy_matching_new_file(monkeypatch, fuzzy_tar_in_tar1, fuzzy_tar_in_tar2):
monkeypatch.setattr(Config, 'fuzzy_threshold', 0)
monkeypatch.setattr(Config, 'new_file', True)
> difference = fuzzy_tar_in_tar1.compare(fuzzy_tar_in_tar2)
tests/comparators/test_utils.py:81:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
diffoscope/comparators/binary.py:207: in compare
difference = self._compare_using_details(other, source)
diffoscope/comparators/binary.py:175: in _compare_using_details
details.extend(filter(None, self.compare_details(other, source)))
diffoscope/comparators/tar.py:40: in compare_details
self.path, other.path, source="file list")]
diffoscope/difference.py:333: in from_text_readers
*args, **kwargs)
diffoscope/difference.py:306: in from_feeder
unified_diff = diff(feeder1, feeder2)
diffoscope/difference.py:270: in diff
return run_diff(fd1, fd2, end_nl_q1, end_nl_q2)
/usr/lib/python3.7/contextlib.py:119: in __exit__
next(self.gen)
diffoscope/difference.py:205: in fd_from_feeder
t.join()
diffoscope/difference.py:183: in join
raise ex
diffoscope/difference.py:169: in run
super().run(*args, **kwargs)
/usr/lib/python3.7/threading.py:870: in run
self._target(*self._args, **self._kwargs)
diffoscope/difference.py:190: in feed
end_nl = feeder(f)
diffoscope/difference.py:232: in feeder
for buf in in_file:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = '/tmp/testrun/.pybuild/cpython3_3.7/build/tests/comparators/../data/fuzzy-tar-in-tar2.tar'
def list_libarchive(path):
with libarchive.file_reader(path) as archive:
for entry in archive:
if entry.isblk or entry.ischr:
size_or_dev = '{major:>3},{minor:>3}'.format(major=entry.rdevmajor, minor=entry.rdevminor)
else:
size_or_dev = entry.size
> mtime = time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(entry.mtime)) + '.{:06d}'.format(entry.mtime_nsec // 1000)
E AttributeError: 'ArchiveEntry' object has no attribute 'mtime_nsec'
diffoscope/comparators/libarchive.py:71: AttributeError
=============================== warnings summary ===============================
diffoscope/comparators/ipk.py:26
/tmp/testrun/.pybuild/cpython3_3.7/build/diffoscope/comparators/ipk.py:26: DeprecationWarning: invalid escape sequence \.
RE_FILE_EXTENSION = re.compile('\.ipk$')
diffoscope/comparators/rpm_fallback.py:24
/tmp/testrun/.pybuild/cpython3_3.7/build/diffoscope/comparators/rpm_fallback.py:24: DeprecationWarning: invalid escape sequence \s
RE_FILE_TYPE = re.compile('^RPM\s')
diffoscope/presenters/html.py:299
/tmp/testrun/.pybuild/cpython3_3.7/build/diffoscope/presenters/html.py:299: DeprecationWarning: invalid escape sequence \<
t.write('<br/><span class="diffponct">\</span>')
.pybuild/cpython3_3.7/build/tests/test_main.py::test_list_tools
/tmp/testrun/.pybuild/cpython3_3.7/build/diffoscope/__init__.py:239: DeprecationWarning: dist() and linux_distribution() functions are deprecated in Python 3.5
return platform.linux_distribution()[0]
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=== 37 failed, 157 passed, 13 skipped, 4 warnings, 26 error in 67.68 seconds ===
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd /tmp/testrun/.pybuild/cpython3_3.7/build; python3.7 -m pytest tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.7 returned exit code 13
make: *** [debian/rules:14: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed
W: No exported results found in /tmp/job-exports
Sat 13 Jul 00:26:39 UTC 2019 - /srv/jenkins/bin/chroot-run.sh stopped running as /tmp/jenkins-script-UdAC6rhi, which will now be removed.
Build step 'Execute shell' marked build as failure
More information about the Qa-jenkins-scm
mailing list