[Qa-jenkins-scm] Build failed in Jenkins: reproducible_diffoscope_from_git_branches #266
jenkins at jenkins.debian.net
jenkins at jenkins.debian.net
Wed May 16 08:34:45 BST 2018
See <https://jenkins.debian.net/job/reproducible_diffoscope_from_git_branches/266/display/redirect>
------------------------------------------
[...truncated 238.49 KB...]
copying diffoscope/comparators/rpm.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/ppu.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/png.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/pdf.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/mono.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/libarchive.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/java.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/iso9660.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/ipk.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/image.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/haskell.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/gzip.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/gettext.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/fsimage.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/fonts.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/elf.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/directory.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/dex.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/device.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/debian_fallback.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/debian.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/deb.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/cpio.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/cbfs.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/bzip2.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/binary.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
copying diffoscope/comparators/__init__.py -> /tmp/testrun/.pybuild/cpython3_3.6/build/diffoscope/comparators
make[1]: Leaving directory '/tmp/testrun'
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:217: cd /tmp/testrun/.pybuild/cpython3_3.6/build; python3.6 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.6.5, pytest-3.3.2, py-1.5.3, pluggy-0.6.0
rootdir: /tmp/testrun, inifile:
collected 197 items
tests/test_difference.py .. [ 1%]
tests/test_main.py ............. [ 7%]
tests/comparators/test_binary.py .................. [ 16%]
tests/comparators/test_bzip2.py ...... [ 19%]
tests/comparators/test_cbfs.py ssssss [ 22%]
tests/comparators/test_cpio.py ..F... [ 25%]
tests/comparators/test_deb.py ........... [ 31%]
tests/comparators/test_debian.py ........... [ 37%]
tests/comparators/test_dex.py .sss [ 39%]
tests/comparators/test_directory.py .... [ 41%]
tests/comparators/test_elf.py ........ [ 45%]
tests/comparators/test_epub.py .... [ 47%]
tests/comparators/test_fonts.py F.s. [ 49%]
tests/comparators/test_fsimage.py .sss [ 51%]
tests/comparators/test_gettext.py ..... [ 53%]
tests/comparators/test_gzip.py ..F.... [ 57%]
tests/comparators/test_image.py ..s. [ 59%]
tests/comparators/test_ipk.py ..F.. [ 61%]
tests/comparators/test_iso9660.py ....... [ 65%]
tests/comparators/test_java.py ..ss [ 67%]
tests/comparators/test_mono.py ..s. [ 69%]
tests/comparators/test_pdf.py ..ss. [ 72%]
tests/comparators/test_png.py ..s. [ 74%]
tests/comparators/test_ppu.py s.s. [ 76%]
tests/comparators/test_rpm.py .Fssss [ 79%]
tests/comparators/test_sqlite.py F.s. [ 81%]
tests/comparators/test_squashfs.py ..F.s... [ 85%]
tests/comparators/test_tar.py ....... [ 88%]
tests/comparators/test_text.py ...... [ 91%]
tests/comparators/test_utils.py ..... [ 94%]
tests/comparators/test_xz.py ...... [ 97%]
tests/comparators/test_zip.py ..... [100%]
=================================== FAILURES ===================================
_________________________________ test_listing _________________________________
differences = [<Difference file list -- file list []>, <Difference dir/link -- dir/link []>, <Difference dir/text -- dir/text []>]
@pytest.mark.skipif(tool_missing('cpio'), reason='missing cpio')
def test_listing(differences):
expected_diff = open(os.path.join(os.path.dirname(__file__), '../data/cpio_listing_expected_diff')).read()
> assert differences[0].unified_diff == expected_diff
E AssertionError: assert '@@ -1,4 +1,4...4 2015 dir\n' == '@@ -1,4 +1,4 ...4 15:11 dir\n'
E Skipping 56 identical leading characters in diff, use -v to show
E - 6 Jun 24 2015 dir/link -> broken
E ? ---
E + 6 Jun 24 15:10 dir/link -> broken
E ? +++
E - +lrwxrwxrwx 1 1000 1000 13 Jun 24 2015 dir/link -> really-broken
E ? ---...
E
E ...Full output truncated (20 lines hidden), use '-vv' to show
tests/comparators/test_cpio.py:53: AssertionError
---------------------------- Captured stderr setup -----------------------------
WARNING multi
utils.py 213 WARNING multi
------------------------------ Captured log setup ------------------------------
utils.py 213 WARNING multi
_____________________________ test_identification ______________________________
ttf1 = <<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/cpython3_3.6/build/tests/comparators/../data/Samyak-Malayalam1.ttf>
def test_identification(ttf1):
> assert isinstance(ttf1, TtfFile)
E AssertionError: assert False
E + where False = isinstance(<<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/cpython3_3.6/build/tests/comparators/../data/Samyak-Malayalam1.ttf>, TtfFile)
tests/comparators/test_fonts.py:40: AssertionError
________________________________ test_metadata _________________________________
differences = [<Difference metadata -- metadata []>, <Difference test1 -- test2 []>]
def test_metadata(differences):
assert differences[0].source1 == 'metadata'
assert differences[0].source2 == 'metadata'
expected_diff = open(os.path.join(os.path.dirname(__file__), '../data/gzip_metadata_expected_diff')).read()
> assert differences[0].unified_diff == expected_diff
E AssertionError: assert '@@ -1 +1 @@\...al size 671\n' == '@@ -1 +1 @@\n..., from Unix\n'
E Skipping 92 identical leading characters in diff, use -v to show
E - from Unix, original size 446
E + from Unix
E - +gzip compressed data, last modified: Tue Jun 23 10:12:28 2015, from Unix, original size 671
E ? -------------------
E + +gzip compressed data, last modified: Tue Jun 23 10:12:28 2015, from Unix
tests/comparators/test_gzip.py:54: AssertionError
---------------------------- Captured stderr setup -----------------------------
WARNING multi
utils.py 213 WARNING multi
------------------------------ Captured log setup ------------------------------
utils.py 213 WARNING multi
________________________________ test_metadata _________________________________
differences = [<Difference metadata -- metadata []>, <Difference base-files_157-r45695_ar71xx.ipk-content -- base-files_157-r45918_a...common.sh -- ./lib/upgrade/common.sh []>, <Difference ./lib/upgrade/platform.sh -- ./lib/upgrade/platform.sh []>]>]>]>]
def test_metadata(differences):
assert differences[0].source1 == 'metadata'
expected_diff = open(os.path.join(os.path.dirname(__file__), '../data/ipk_metadata_expected_diff')).read()
> assert differences[0].unified_diff == expected_diff
E AssertionError: assert '@@ -1 +1 @@\... size 61440\n' == '@@ -1 +1 @@\n..., from Unix\n'
E Skipping 75 identical leading characters in diff, use -v to show
E - from Unix, original size 61440
E + from Unix
E - +gzip compressed data, last modified: Mon Jun 8 17:31:21 2015, from Unix, original size 61440
E ? ---------------------
E + +gzip compressed data, last modified: Mon Jun 8 17:31:21 2015, from Unix
tests/comparators/test_ipk.py:52: AssertionError
---------------------------- Captured stderr setup -----------------------------
WARNING multi
utils.py 213 WARNING multi
WARNING multi
utils.py 213 WARNING multi
WARNING multi
utils.py 213 WARNING multi
WARNING multi
utils.py 213 WARNING multi
WARNING multi
utils.py 213 WARNING multi
WARNING multi
utils.py 213 WARNING multi
------------------------------ Captured log setup ------------------------------
utils.py 213 WARNING multi
utils.py 213 WARNING multi
utils.py 213 WARNING multi
utils.py 213 WARNING multi
utils.py 213 WARNING multi
utils.py 213 WARNING multi
_____________________________ test_no_differences ______________________________
rpm1 = <<class 'abc.RpmFile'> /tmp/testrun/.pybuild/cpython3_3.6/build/tests/comparators/../data/test1.rpm>
@pytest.mark.skipif(miss_rpm_module, reason='rpm module is not installed')
def test_no_differences(rpm1):
> difference = rpm1.synchronized_compare(rpm1)
tests/comparators/test_rpm.py:49:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
diffoscope/comparators/binary.py:222: in synchronized_compare
difference.finish_threads()
diffoscope/difference.py:394: in finish_threads
detail = detail.result()
diffoscope/difference.py:282: in result
self._difference = self._future.result(*args)
/usr/lib/python3.6/concurrent/futures/_base.py:432: in result
return self.__get_result()
/usr/lib/python3.6/concurrent/futures/_base.py:384: in __get_result
raise self._exception
/usr/lib/python3.6/concurrent/futures/thread.py:56: in run
result = self.fn(*self.args, **self.kwargs)
diffoscope/comparators/__init__.py:111: in compare_files_with_notification
difference = compare_files(file1, file2, source=source)
diffoscope/comparators/__init__.py:97: in compare_files
if file1.has_same_content_as(file2):
diffoscope/__init__.py:96: in tool_check
return original_function(*args, **kwargs)
diffoscope/comparators/binary.py:181: in has_same_content_as
my_size = os.path.getsize(self.path)
diffoscope/comparators/utils.py:241: in path
self._path = self.container.extract(self._name, self._temp_dir.name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (<diffoscope.comparators.rpm.RpmContainer object at 0x7f977805c3c8>, 'content', '/tmp/tmpwkydm2b4diffoscope')
kwargs = {}
@wraps(original_function)
def tool_check(*args, **kwargs):
> raise RequiredToolNotFound(command)
E diffoscope.RequiredToolNotFound: rpm2cpio
diffoscope/__init__.py:100: RequiredToolNotFound
----------------------------- Captured stderr call -----------------------------
WARNING multi
utils.py 213 WARNING multi
------------------------------ Captured log call -------------------------------
utils.py 213 WARNING multi
_____________________________ test_identification ______________________________
sqlite3db1 = <<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/cpython3_3.6/build/tests/comparators/../data/test1.sqlite3>
def test_identification(sqlite3db1):
> assert isinstance(sqlite3db1, Sqlite3Database)
E AssertionError: assert False
E + where False = isinstance(<<class 'diffoscope.comparators.binary.FilesystemFile'> /tmp/testrun/.pybuild/cpython3_3.6/build/tests/comparators/../data/test1.sqlite3>, Sqlite3Database)
tests/comparators/test_sqlite.py:40: AssertionError
_______________________________ test_no_warnings _______________________________
capfd = <_pytest.capture.CaptureFixture object at 0x7f97706e8860>
squashfs1 = <<class 'abc.SquashfsFile'> /tmp/testrun/.pybuild/cpython3_3.6/build/tests/comparators/../data/test1.squashfs>
squashfs2 = <<class 'abc.SquashfsFile'> /tmp/testrun/.pybuild/cpython3_3.6/build/tests/comparators/../data/test2.squashfs>
def test_no_warnings(capfd, squashfs1, squashfs2):
_ = squashfs1.synchronized_compare(squashfs2)
_, err = capfd.readouterr()
> assert err == ''
E AssertionError: assert ' WARNING mul...NING multi\n' == ''
E - WARNING multi
E - utils.py 213 WARNING multi
tests/comparators/test_squashfs.py:50: AssertionError
------------------------------ Captured log call -------------------------------
utils.py 213 WARNING multi
============== 7 failed, 162 passed, 28 skipped in 102.69 seconds ==============
E: pybuild pybuild:336: test: plugin distutils failed with: exit code=1: cd /tmp/testrun/.pybuild/cpython3_3.6/build; python3.6 -m pytest tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.6 returned exit code 13
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1152:
dpkg-buildpackage -rfakeroot -us -uc -ui failed
W: No exported results found in /tmp/job-exports
Wed 16 May 07:34:45 UTC 2018 - /srv/jenkins/bin/chroot-run.sh stopped running as /tmp/jenkins-script-G0leqT2J, which will now be removed.
Build step 'Execute shell' marked build as failure
More information about the Qa-jenkins-scm
mailing list