[Reproducible-builds] Bug#798398: diffoscope: another case of UnicodeDecodeError

Mattia Rizzolo mattia at mapreri.org
Tue Sep 8 19:36:15 UTC 2015


Package: diffoscope
Version: 33

Seen on our CI:

Mon Sep  7 06:32:26 UTC 2015 - diffoscope 33 will be used to compare the two builds:
+ set +e
+ set -x
+ timeout 30m schroot --directory /srv/reproducible-results/tmp.KycJGWlSkf -c source:jenkins-reproducible-unstable-diffoscope -- sh -c 'export TMPDIR=/srv/reproducible-results/tmp.KycJGWlSkf/dbd-tmp-Td0AFvk ; diffoscope             --html /srv/reproducible-results/tmp.KycJGWlSkf/gnome-clocks_3.16.1-1.debbindiff.html           --text /srv/reproducible-results/tmp.KycJGWlSkf/gnome-clocks_3.16.1-1.debbindiff.txt            /srv/reproducible-results/tmp.KycJGWlSkf/b1/gnome-clocks_3.16.1-1_amd64.changes             /srv/reproducible-results/tmp.KycJGWlSkf/b2/gnome-clocks_3.16.1-1_amd64.changes'

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/diffoscope/__main__.py", line 141, in main
    sys.exit(run_diffoscope(parsed_args))
  File "/usr/lib/python2.7/dist-packages/diffoscope/__main__.py", line 118, in run_diffoscope
    parsed_args.file1, parsed_args.file2)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/__init__.py", line 79, in compare_root_paths
    return compare_files(file1, file2)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/__init__.py", line 96, in compare_files
    return file1.compare(file2, source)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/binary.py", line 77, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/binary.py", line 177, in compare
    difference = self._compare_using_details(other, source)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/binary.py", line 150, in _compare_using_details
    details = [d for d in self.compare_details(other, source) if d is not None]
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/binary.py", line 77, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/debian.py", line 143, in compare_details
    differences.extend(my_container.compare(other_container))
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/utils.py", line 197, in compare
    difference = diffoscope.comparators.compare_files(my_file, other_file)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/__init__.py", line 96, in compare_files
    return file1.compare(file2, source)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/binary.py", line 77, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/binary.py", line 177, in compare
    difference = self._compare_using_details(other, source)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/binary.py", line 150, in _compare_using_details
    details = [d for d in self.compare_details(other, source) if d is not None]
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/binary.py", line 77, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/deb.py", line 86, in compare_details
    differences.extend(my_container.compare(other_container))
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/utils.py", line 197, in compare
    difference = diffoscope.comparators.compare_files(my_file, other_file)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/__init__.py", line 96, in compare_files
    return file1.compare(file2, source)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/binary.py", line 77, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/binary.py", line 177, in compare
    difference = self._compare_using_details(other, source)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/binary.py", line 150, in _compare_using_details
    details = [d for d in self.compare_details(other, source) if d is not None]
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/binary.py", line 77, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/xz.py", line 69, in compare_details
    return my_container.compare(other_container)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/utils.py", line 197, in compare
    difference = diffoscope.comparators.compare_files(my_file, other_file)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/__init__.py", line 96, in compare_files
    return file1.compare(file2, source)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/binary.py", line 77, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/binary.py", line 177, in compare
    difference = self._compare_using_details(other, source)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/binary.py", line 150, in _compare_using_details
    details = [d for d in self.compare_details(other, source) if d is not None]
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/binary.py", line 77, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/deb.py", line 160, in compare_details
    differences.extend(my_container.compare(other_container))
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/utils.py", line 197, in compare
    difference = diffoscope.comparators.compare_files(my_file, other_file)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/__init__.py", line 96, in compare_files
    return file1.compare(file2, source)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/binary.py", line 77, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/binary.py", line 177, in compare
    difference = self._compare_using_details(other, source)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/binary.py", line 150, in _compare_using_details
    details = [d for d in self.compare_details(other, source) if d is not None]
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/binary.py", line 77, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/elf.py", line 87, in compare_details
    return _compare_elf_data(self.path, other.path)
  File "/usr/lib/python2.7/dist-packages/diffoscope/comparators/elf.py", line 74, in _compare_elf_data
    differences.append(Difference.from_command(ReadelfDebugDump, path1, path2))
  File "/usr/lib/python2.7/dist-packages/diffoscope/difference.py", line 342, in from_command
    difference = Difference.from_feeder(feeder1, feeder2, path1, path2, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/diffoscope/difference.py", line 298, in from_feeder
    unified_diff = diff(feeder1, feeder2)
  File "/usr/lib/python2.7/dist-packages/diffoscope/difference.py", line 267, in diff
    return run_diff(fd1, fd2, end_nl_q1, end_nl_q2)
  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
    self.gen.next()
  File "/usr/lib/python2.7/dist-packages/diffoscope/difference.py", line 210, in fd_from_feeder
    t.join()
  File "/usr/lib/python2.7/dist-packages/diffoscope/difference.py", line 188, in join
    raise except_type, except_class, None
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 78: ordinal not in range(128)


-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  http://mapreri.org                              : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150908/90fbfe24/attachment.sig>


More information about the Reproducible-builds mailing list