Bug#815729: Fails with UnicodeDecodeError

Guido Günther agx at sigxcpu.org
Wed Feb 24 07:57:55 UTC 2016


Package: autopkgtest
Version: 3.6jessie1
Severity: important

Hi,
on jessie autopkgtest fails with

+ adt-run --help
+ grep -q -- --output-dir
+ OUTPUT_OPTION=--output-dir
+ mkdir -p /build/autopkgtest.out
+ mkdir -p /home/agx
+ newpid adt-run --output-dir /build/autopkgtest.out --summary /build/autopkgtest.summary /build/whatmaps_0.0.9-1+deb8u1_all.deb --built-tree /build/whatmaps-0.0.9 --- adt-virt-null
adt-run [07:54:03]: version 3.6jessie1
adt-run [07:54:03]: testbed dpkg architecture: amd64
adt-run [07:54:03]: ERROR: unexpected error:
Traceback (most recent call last):
  File "/usr/bin/adt-run", line 1675, in main
    process_actions()
  File "/usr/bin/adt-run", line 1599, in process_actions
    pkg = deb_package_name(arg)
  File "/usr/bin/adt-run", line 1364, in deb_package_name
    (rc, output) = script_out(cmd, stdout=subprocess.PIPE)
  File "/usr/bin/adt-run", line 136, in script_out
    output = process.communicate()[0]
  File "/usr/lib/python3.4/subprocess.py", line 947, in communicate
    stdout = _eintr_retry_call(self.stdout.read)
  File "/usr/lib/python3.4/subprocess.py", line 491, in _eintr_retry_call
    return func(*args)
  File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 79: ordinal not in range(128)
+ EXIT=20
+ tar -caf /build/autopkgtest.tar.gz /build/autopkgtest.out
tar: Removing leading `/' from member names
+ exit 20

This happens when running the autopktests for whatmaps in a cowbuiler
chroot usind the hook provided by pbuilder
(/usr/share/doc/pbuilder/examples/B20autopkgtest).

Cheers,
 -- Guido

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages autopkgtest depends on:
ii  apt-utils       1.2.3
ii  libdpkg-perl    1.18.4
ii  procps          2:3.3.11-3
ii  python3         3.5.1-1
ii  python3-debian  0.1.27

Versions of packages autopkgtest recommends:
ii  autodep8  0.3

Versions of packages autopkgtest suggests:
ii  lxc          1:1.1.5-1
pn  lxd-client   <none>
ii  qemu-system  1:2.5+dfsg-5
ii  qemu-utils   1:2.5+dfsg-5
ii  schroot      1.6.10-2

-- no debconf information



More information about the autopkgtest-devel mailing list