[Qa-jenkins-scm] Build failed in Jenkins: reproducible_diffoscope_from_git_branches #173
jenkins at jenkins.debian.net
jenkins at jenkins.debian.net
Thu Jun 1 17:11:59 UTC 2017
See <https://jenkins.debian.net/job/reproducible_diffoscope_from_git_branches/173/display/redirect>
------------------------------------------
[...truncated 1.02 MB...]
difference = Difference(None, self.name, other.name, source=source)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <[AttributeError("'Difference' object has no attribute '_details'") raised in repr()] Difference object at 0x7f62cfece518>
unified_diff = None
path1 = '/tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.zip'
path2 = '/tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.zip'
source = None, comment = None, has_internal_linenos = False, details = None
def __init__(self, unified_diff, path1, path2, source=None, comment=None, has_internal_linenos=False, details=None):
self._comments = []
if comment:
if type(comment) is list:
self._comments.extend(comment)
else:
self._comments.append(comment)
self._unified_diff = unified_diff
# allow to override declared file paths, useful when comparing
# tempfiles
if source:
if type(source) is list:
self._source1, self._source2 = source
else:
self._source1 = source
self._source2 = source
else:
self._source1 = path1
self._source2 = path2
# Ensure renderable types
> if not isinstance(self._source1, (str, unicode)):
E NameError: name 'unicode' is not defined
comment = None
details = None
has_internal_linenos = False
path1 = '/tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.zip'
path2 = '/tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.zip'
self = <[AttributeError("'Difference' object has no attribute '_details'") raised in repr()] Difference object at 0x7f62cfece518>
source = None
unified_diff = None
diffoscope/difference.py:81: NameError
__________________________ test_compare_non_existing ___________________________
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f62cfe84a90>
zip1 = <<class 'diffoscope.comparators.utils.specialize.ZipFile'> /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.zip>
@skip_unless_tools_exist('zipinfo')
def test_compare_non_existing(monkeypatch, zip1):
> assert_non_existing(monkeypatch, zip1)
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f62cfe84a90>
zip1 = <<class 'diffoscope.comparators.utils.specialize.ZipFile'> /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.zip>
tests/comparators/test_zip.py:70:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/utils/nonexisting.py:29: in assert_non_existing
difference = fixture.compare(MissingFile('/nonexisting', fixture))
diffoscope/comparators/utils/file.py:271: in compare
difference = self._compare_using_details(other, source)
diffoscope/comparators/utils/file.py:214: in _compare_using_details
difference = Difference(None, self.name, other.name, source=source)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <[AttributeError("'Difference' object has no attribute '_details'") raised in repr()] Difference object at 0x7f62cfe842e8>
unified_diff = None
path1 = '/tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.zip'
path2 = '/nonexisting', source = None, comment = None
has_internal_linenos = False, details = None
def __init__(self, unified_diff, path1, path2, source=None, comment=None, has_internal_linenos=False, details=None):
self._comments = []
if comment:
if type(comment) is list:
self._comments.extend(comment)
else:
self._comments.append(comment)
self._unified_diff = unified_diff
# allow to override declared file paths, useful when comparing
# tempfiles
if source:
if type(source) is list:
self._source1, self._source2 = source
else:
self._source1 = source
self._source2 = source
else:
self._source1 = path1
self._source2 = path2
# Ensure renderable types
> if not isinstance(self._source1, (str, unicode)):
E NameError: name 'unicode' is not defined
comment = None
details = None
has_internal_linenos = False
path1 = '/tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.zip'
path2 = '/nonexisting'
self = <[AttributeError("'Difference' object has no attribute '_details'") raised in repr()] Difference object at 0x7f62cfe842e8>
source = None
unified_diff = None
diffoscope/difference.py:81: NameError
__________________________ test_mozzip_no_differences __________________________
mozzip1 = <<class 'diffoscope.comparators.utils.specialize.MozillaZipFile'> /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.mozzip>
def test_mozzip_no_differences(mozzip1):
> difference = mozzip1.compare(mozzip1)
mozzip1 = <<class 'diffoscope.comparators.utils.specialize.MozillaZipFile'> /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.mozzip>
tests/comparators/test_zip.py:76:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
diffoscope/comparators/utils/file.py:271: in compare
difference = self._compare_using_details(other, source)
diffoscope/comparators/utils/file.py:214: in _compare_using_details
difference = Difference(None, self.name, other.name, source=source)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <[AttributeError("'Difference' object has no attribute '_details'") raised in repr()] Difference object at 0x7f62cf3e3e48>
unified_diff = None
path1 = '/tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.mozzip'
path2 = '/tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.mozzip'
source = None, comment = None, has_internal_linenos = False, details = None
def __init__(self, unified_diff, path1, path2, source=None, comment=None, has_internal_linenos=False, details=None):
self._comments = []
if comment:
if type(comment) is list:
self._comments.extend(comment)
else:
self._comments.append(comment)
self._unified_diff = unified_diff
# allow to override declared file paths, useful when comparing
# tempfiles
if source:
if type(source) is list:
self._source1, self._source2 = source
else:
self._source1 = source
self._source2 = source
else:
self._source1 = path1
self._source2 = path2
# Ensure renderable types
> if not isinstance(self._source1, (str, unicode)):
E NameError: name 'unicode' is not defined
comment = None
details = None
has_internal_linenos = False
path1 = '/tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.mozzip'
path2 = '/tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.mozzip'
self = <[AttributeError("'Difference' object has no attribute '_details'") raised in repr()] Difference object at 0x7f62cf3e3e48>
source = None
unified_diff = None
diffoscope/difference.py:81: NameError
_______________________ test_mozzip_compare_non_existing _______________________
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f62cfd56748>
mozzip1 = <<class 'diffoscope.comparators.utils.specialize.MozillaZipFile'> /tmp/testrun/.pybuild/pythonX.Y_3.5/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 0x7f62cfd56748>
mozzip1 = <<class 'diffoscope.comparators.utils.specialize.MozillaZipFile'> /tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.mozzip>
tests/comparators/test_zip.py:99:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/utils/nonexisting.py:29: in assert_non_existing
difference = fixture.compare(MissingFile('/nonexisting', fixture))
diffoscope/comparators/utils/file.py:271: in compare
difference = self._compare_using_details(other, source)
diffoscope/comparators/utils/file.py:214: in _compare_using_details
difference = Difference(None, self.name, other.name, source=source)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <[AttributeError("'Difference' object has no attribute '_details'") raised in repr()] Difference object at 0x7f62cfd56b70>
unified_diff = None
path1 = '/tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.mozzip'
path2 = '/nonexisting', source = None, comment = None
has_internal_linenos = False, details = None
def __init__(self, unified_diff, path1, path2, source=None, comment=None, has_internal_linenos=False, details=None):
self._comments = []
if comment:
if type(comment) is list:
self._comments.extend(comment)
else:
self._comments.append(comment)
self._unified_diff = unified_diff
# allow to override declared file paths, useful when comparing
# tempfiles
if source:
if type(source) is list:
self._source1, self._source2 = source
else:
self._source1 = source
self._source2 = source
else:
self._source1 = path1
self._source2 = path2
# Ensure renderable types
> if not isinstance(self._source1, (str, unicode)):
E NameError: name 'unicode' is not defined
comment = None
details = None
has_internal_linenos = False
path1 = '/tmp/testrun/.pybuild/pythonX.Y_3.5/build/tests/data/test1.mozzip'
path2 = '/nonexisting'
self = <[AttributeError("'Difference' object has no attribute '_details'") raised in repr()] Difference object at 0x7f62cfd56b70>
source = None
unified_diff = None
diffoscope/difference.py:81: NameError
========= 160 failed, 83 passed, 14 skipped, 90 error in 82.61 seconds =========
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd /tmp/testrun/.pybuild/pythonX.Y_3.5/build; python3.5 -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.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 1116:
dpkg-buildpackage -rfakeroot -us -uc failed
+ cleanup
+ '[' -e /chroots/chroot-run-sid.wBsj2qumN/tmp/testrun/stats.csv ']'
+ '[' true = true ']'
+ mkdir -p <https://jenkins.debian.net/job/reproducible_diffoscope_from_git_branches/ws/job-exports>
++ ls -1A /chroots/chroot-run-sid.wBsj2qumN//tmp/job-exports
+ '[' '!' -z test-results ']'
+ cp -drv /chroots/chroot-run-sid.wBsj2qumN//tmp/job-exports/test-results <https://jenkins.debian.net/job/reproducible_diffoscope_from_git_branches/ws/job-exports/>
‘/chroots/chroot-run-sid.wBsj2qumN//tmp/job-exports/test-results’ -> ‘<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_branches/ws/job-exports/test-results%E2%80%99>
‘/chroots/chroot-run-sid.wBsj2qumN//tmp/job-exports/test-results/tests.xml’ -> ‘<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_branches/ws/job-exports/test-results/tests.xml%E2%80%99>
++ ls -1 '/chroots/chroot-run-sid.wBsj2qumN/tmp/debian-edu-doc_*.changes'
++ true
+ CHANGES=
+ '[' '!' -z '' ']'
+ '[' false = true ']'
+ '[' -d /chroots/chroot-run-sid.wBsj2qumN/proc ']'
+ sudo umount -l /chroots/chroot-run-sid.wBsj2qumN/proc
+ '[' -d /chroots/chroot-run-sid.wBsj2qumN/testrun ']'
+ '[' -d /chroots/chroot-run-sid.wBsj2qumN ']'
+ sudo rm -rf --one-file-system /chroots/chroot-run-sid.wBsj2qumN
Thu 1 Jun 17:11:58 UTC 2017 - /srv/jenkins/bin/chroot-run.sh stopped running as /tmp/jenkins-script-xILWf5BK, which will now be removed.
Build step 'Execute shell' marked build as failure
More information about the Qa-jenkins-scm
mailing list