[Bug 1430773] Re: crash on unicode decode error

Launchpad Bug Tracker 1430773 at bugs.launchpad.net
Fri Mar 13 18:07:58 UTC 2015


This bug was fixed in the package autopkgtest - 3.12

---------------
autopkgtest (3.12) unstable; urgency=medium


  * ssh-setup/adb: Re-enable ssh after reboot, in case an upgrade disables it.
  * ssh-setup/adb: Try to create /userdata/.adb_onlock, to get adb after
    rebooting without human interaction.
  * Fix apt-get install --simulate version parsing with third-party sources.
    (LP: #1430017)
  * ssh-setup-nova: Add --security-groups option. (LP: #1429862)
  * adt-buildvm-ubuntu-cloud: Avoid non-blocking reads from the socket in
    verbose mode, this sometimes causes hangs. Go back to blocking reads, but
    don't wait between them.
  * Fix UnicodeDecodeError on .deb package name reading. (LP: #1430773)
  * adt-virt-ssh: Export $SUDO_ASKPASS to tests if sudo is available.
    (LP: #1431421)

 -- Martin Pitt <mpitt at debian.org>  Fri, 13 Mar 2015 12:52:49 +0100

** Changed in: autopkgtest (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1430773

Title:
  crash on unicode decode error

Status in autopkgtest package in Ubuntu:
  Fix Released

Bug description:
  autopackagetest crashed for me while working on the update to the
  twine package:

  
  adt-run --changes /home/zyga/Dropbox/Debian/twine/build-area/twine_1.5.0-1_amd64.changes --- schroot sid-amd64-sbuild
  ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

  adt-run [13:30:53]: version 3.11.1
  adt-run [13:30:58]: testbed dpkg architecture: amd64
  adt-run [13:30:58]: ERROR: unexpected error:
  Traceback (most recent call last):
    File "/usr/bin/adt-run", line 1837, in main
      process_actions()
    File "/usr/bin/adt-run", line 1748, in process_actions
      pkg = deb_package_name(arg)
    File "/usr/bin/adt-run", line 1499, 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 0xe2 in position 902: ordinal not in range(128)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1430773/+subscriptions



More information about the foundations-bugs mailing list