[Qa-jenkins-scm] Build failed in Jenkins: reproducible_diffoscope_from_git_branches #211

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Sun Sep 10 04:50:22 UTC 2017


See <https://jenkins.debian.net/job/reproducible_diffoscope_from_git_branches/211/display/redirect>

------------------------------------------
[...truncated 453.35 KB...]

args       = ('/tmp/tmpkztw1efq_diffoscope', UUID('0bb0ca85-dbae-4bcc-b48c-0ba355fd6a63'))
funcname   = 'join'
hasbytes   = False
hasstr     = True
s          = UUID('0bb0ca85-dbae-4bcc-b48c-0ba355fd6a63')

/usr/lib/python3.6/genericpath.py:149: TypeError
__________________________ test_compare_non_existing ___________________________

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe3e93c9ac8>
gzip1 = <<class 'abc.GzipFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/test1.gz>

    def test_compare_non_existing(monkeypatch, gzip1):
        monkeypatch.setattr(Config(), 'new_file', True)
>       difference = gzip1.compare(MissingFile('/nonexisting', gzip1))

gzip1      = <<class 'abc.GzipFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/test1.gz>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe3e93c9ac8>

tests/comparators/test_gzip.py:81: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
diffoscope/comparators/utils/file.py:300: in compare
    difference = self._compare_using_details(other, source)
diffoscope/comparators/utils/file.py:255: in _compare_using_details
    details.extend(self.as_container.compare(other.as_container, no_recurse=no_recurse))
diffoscope/comparators/utils/container.py:126: in comparisons
    my_members = OrderedDict(self.get_adjusted_members_sizes())
diffoscope/comparators/utils/container.py:122: in get_adjusted_members_sizes
    size = path_apparent_size(member.path)
diffoscope/comparators/utils/archive.py:97: in path
    self._path = self.container.extract(self._name, self._temp_dir.name)
diffoscope/tools.py:89: in tool_check
    return fn(*args, **kwargs)
diffoscope/comparators/gzip.py:46: in extract
    dest_path = self.get_path_name(dest_dir)
diffoscope/comparators/utils/container.py:72: in get_path_name
    return os.path.join(dest_dir, uuid.uuid4())
/usr/lib/python3.6/posixpath.py:92: in join
    genericpath._check_arg_types('join', a, *p)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

funcname = 'join'
args = ('/tmp/tmpxmgpzr0j_diffoscope', UUID('bda8b7af-8ec7-4755-bfdf-7b7ed9c2e894'))
hasstr = True, hasbytes = False
s = UUID('bda8b7af-8ec7-4755-bfdf-7b7ed9c2e894')

    def _check_arg_types(funcname, *args):
        hasstr = hasbytes = False
        for s in args:
            if isinstance(s, str):
                hasstr = True
            elif isinstance(s, bytes):
                hasbytes = True
            else:
                raise TypeError('%s() argument must be str or bytes, not %r' %
>                               (funcname, s.__class__.__name__)) from None
E               TypeError: join() argument must be str or bytes, not 'UUID'

args       = ('/tmp/tmpxmgpzr0j_diffoscope', UUID('bda8b7af-8ec7-4755-bfdf-7b7ed9c2e894'))
funcname   = 'join'
hasbytes   = False
hasstr     = True
s          = UUID('bda8b7af-8ec7-4755-bfdf-7b7ed9c2e894')

/usr/lib/python3.6/genericpath.py:149: TypeError
_____________________________ test_no_differences ______________________________

ipk1 = <<class 'abc.IpkFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/base-files_157-r45695_ar71xx.ipk>

    def test_no_differences(ipk1):
>       difference = ipk1.compare(ipk1)

ipk1       = <<class 'abc.IpkFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/base-files_157-r45695_ar71xx.ipk>

tests/comparators/test_ipk.py:38: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
diffoscope/comparators/utils/file.py:300: in compare
    difference = self._compare_using_details(other, source)
diffoscope/comparators/utils/file.py:255: in _compare_using_details
    details.extend(self.as_container.compare(other.as_container, no_recurse=no_recurse))
diffoscope/comparators/utils/container.py:126: in comparisons
    my_members = OrderedDict(self.get_adjusted_members_sizes())
diffoscope/comparators/utils/container.py:122: in get_adjusted_members_sizes
    size = path_apparent_size(member.path)
diffoscope/comparators/utils/archive.py:97: in path
    self._path = self.container.extract(self._name, self._temp_dir.name)
diffoscope/tools.py:89: in tool_check
    return fn(*args, **kwargs)
diffoscope/comparators/gzip.py:46: in extract
    dest_path = self.get_path_name(dest_dir)
diffoscope/comparators/utils/container.py:72: in get_path_name
    return os.path.join(dest_dir, uuid.uuid4())
/usr/lib/python3.6/posixpath.py:92: in join
    genericpath._check_arg_types('join', a, *p)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

funcname = 'join'
args = ('/tmp/tmpm72e_rkk_diffoscope', UUID('0b17b861-009d-425d-8307-246d1b82afe8'))
hasstr = True, hasbytes = False
s = UUID('0b17b861-009d-425d-8307-246d1b82afe8')

    def _check_arg_types(funcname, *args):
        hasstr = hasbytes = False
        for s in args:
            if isinstance(s, str):
                hasstr = True
            elif isinstance(s, bytes):
                hasbytes = True
            else:
                raise TypeError('%s() argument must be str or bytes, not %r' %
>                               (funcname, s.__class__.__name__)) from None
E               TypeError: join() argument must be str or bytes, not 'UUID'

args       = ('/tmp/tmpm72e_rkk_diffoscope', UUID('0b17b861-009d-425d-8307-246d1b82afe8'))
funcname   = 'join'
hasbytes   = False
hasstr     = True
s          = UUID('0b17b861-009d-425d-8307-246d1b82afe8')

/usr/lib/python3.6/genericpath.py:149: TypeError
__________________________ test_compare_non_existing ___________________________

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe3d97cc278>
ipk1 = <<class 'abc.IpkFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/base-files_157-r45695_ar71xx.ipk>

    def test_compare_non_existing(monkeypatch, ipk1):
        monkeypatch.setattr(Config(), 'new_file', True)
>       difference = ipk1.compare(MissingFile('/nonexisting', ipk1))

ipk1       = <<class 'abc.IpkFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/base-files_157-r45695_ar71xx.ipk>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe3d97cc278>

tests/comparators/test_ipk.py:60: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
diffoscope/comparators/utils/file.py:300: in compare
    difference = self._compare_using_details(other, source)
diffoscope/comparators/utils/file.py:255: in _compare_using_details
    details.extend(self.as_container.compare(other.as_container, no_recurse=no_recurse))
diffoscope/comparators/utils/container.py:126: in comparisons
    my_members = OrderedDict(self.get_adjusted_members_sizes())
diffoscope/comparators/utils/container.py:122: in get_adjusted_members_sizes
    size = path_apparent_size(member.path)
diffoscope/comparators/utils/archive.py:97: in path
    self._path = self.container.extract(self._name, self._temp_dir.name)
diffoscope/tools.py:89: in tool_check
    return fn(*args, **kwargs)
diffoscope/comparators/gzip.py:46: in extract
    dest_path = self.get_path_name(dest_dir)
diffoscope/comparators/utils/container.py:72: in get_path_name
    return os.path.join(dest_dir, uuid.uuid4())
/usr/lib/python3.6/posixpath.py:92: in join
    genericpath._check_arg_types('join', a, *p)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

funcname = 'join'
args = ('/tmp/tmpnmzbfe72_diffoscope', UUID('6a3884c1-59c0-43dc-a9eb-523ec0cd1b65'))
hasstr = True, hasbytes = False
s = UUID('6a3884c1-59c0-43dc-a9eb-523ec0cd1b65')

    def _check_arg_types(funcname, *args):
        hasstr = hasbytes = False
        for s in args:
            if isinstance(s, str):
                hasstr = True
            elif isinstance(s, bytes):
                hasbytes = True
            else:
                raise TypeError('%s() argument must be str or bytes, not %r' %
>                               (funcname, s.__class__.__name__)) from None
E               TypeError: join() argument must be str or bytes, not 'UUID'

args       = ('/tmp/tmpnmzbfe72_diffoscope', UUID('6a3884c1-59c0-43dc-a9eb-523ec0cd1b65'))
funcname   = 'join'
hasbytes   = False
hasstr     = True
s          = UUID('6a3884c1-59c0-43dc-a9eb-523ec0cd1b65')

/usr/lib/python3.6/genericpath.py:149: TypeError
_____________________________ test_no_differences ______________________________

file1 = <<class 'abc.GzipFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/test1.rdx>

    def test_no_differences(file1):
>       difference = file1.compare(file1)

file1      = <<class 'abc.GzipFile'> /tmp/testrun/.pybuild/pythonX.Y_3.6/build/tests/data/test1.rdx>

tests/comparators/test_rdata.py:37: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
diffoscope/comparators/utils/file.py:300: in compare
    difference = self._compare_using_details(other, source)
diffoscope/comparators/utils/file.py:255: in _compare_using_details
    details.extend(self.as_container.compare(other.as_container, no_recurse=no_recurse))
diffoscope/comparators/utils/container.py:126: in comparisons
    my_members = OrderedDict(self.get_adjusted_members_sizes())
diffoscope/comparators/utils/container.py:122: in get_adjusted_members_sizes
    size = path_apparent_size(member.path)
diffoscope/comparators/utils/archive.py:97: in path
    self._path = self.container.extract(self._name, self._temp_dir.name)
diffoscope/tools.py:89: in tool_check
    return fn(*args, **kwargs)
diffoscope/comparators/gzip.py:46: in extract
    dest_path = self.get_path_name(dest_dir)
diffoscope/comparators/utils/container.py:72: in get_path_name
    return os.path.join(dest_dir, uuid.uuid4())
/usr/lib/python3.6/posixpath.py:92: in join
    genericpath._check_arg_types('join', a, *p)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

funcname = 'join'
args = ('/tmp/tmplbtkf8c1_diffoscope', UUID('5c53bbd7-7cd1-4131-b25f-f7dc6856820f'))
hasstr = True, hasbytes = False
s = UUID('5c53bbd7-7cd1-4131-b25f-f7dc6856820f')

    def _check_arg_types(funcname, *args):
        hasstr = hasbytes = False
        for s in args:
            if isinstance(s, str):
                hasstr = True
            elif isinstance(s, bytes):
                hasbytes = True
            else:
                raise TypeError('%s() argument must be str or bytes, not %r' %
>                               (funcname, s.__class__.__name__)) from None
E               TypeError: join() argument must be str or bytes, not 'UUID'

args       = ('/tmp/tmplbtkf8c1_diffoscope', UUID('5c53bbd7-7cd1-4131-b25f-f7dc6856820f'))
funcname   = 'join'
hasbytes   = False
hasstr     = True
s          = UUID('5c53bbd7-7cd1-4131-b25f-f7dc6856820f')

/usr/lib/python3.6/genericpath.py:149: TypeError
======== 15 failed, 316 passed, 16 skipped, 18 error in 386.23 seconds =========
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd /tmp/testrun/.pybuild/pythonX.Y_3.6/build; python3.6 -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.6 3.5" returned exit code 13
debian/rules:50: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25
make[1]: Leaving directory '/tmp/testrun'
debian/rules:36: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1124:
dpkg-buildpackage -rfakeroot -us -uc failed
'/chroots/chroot-run-sid.CfS4yVAT2//tmp/job-exports/test-results' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_branches/ws/job-exports/test-results'>
'/chroots/chroot-run-sid.CfS4yVAT2//tmp/job-exports/test-results/tests.xml' -> '<https://jenkins.debian.net/job/reproducible_diffoscope_from_git_branches/ws/job-exports/test-results/tests.xml'>
Sun 10 Sep 04:50:22 UTC 2017 - /srv/jenkins/bin/chroot-run.sh stopped running as /tmp/jenkins-script-Q26bnNWy, which will now be removed.
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list