[Bug 1259529] [NEW] UnicodeEncodeError in adt-run psummary call

Sebastien Bacher seb128 at ubuntu.com
Tue Dec 10 12:45:53 UTC 2013


Public bug reported:

That's seen on https://jenkins.qa.ubuntu.com/job/trusty-adt-
gtk-3.0/26/ARCH=i386,label=adt/console

"Traceback (most recent call last):
  File "/usr/bin/adt-run", line 1987, in main
dsc0t-build          FAIL status: 0, stderr: gtktest.c: In function ���main���:
    process_actions()
  File "/usr/bin/adt-run", line 1956, in process_actions
    run_tests(stanzas, act.tests_tree)
  File "/usr/bin/adt-run", line 1063, in run_tests
    t.run(tree)
  File "/usr/bin/adt-run", line 1253, in run
    self.reportfail('status: %d, stderr: %s' % (rc, stderr_top))
  File "/usr/bin/adt-run", line 1096, in reportfail
    report(self.what, 'FAIL ' + m)
  File "/usr/bin/adt-run", line 169, in report
    preport('%-20s %s' % (tname, result.decode('UTF-8', 'replace')))
  File "/usr/bin/adt-run", line 165, in preport
    psummary(m)
  File "/usr/bin/adt-run", line 159, in psummary
    print >>summary_stream, m
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2018' in position 68: ordinal not in range(128)"

Steps to reproduce it locally:
$ dget http://archive.ubuntu.com/ubuntu/pool/main/g/gtk+3.0/gtk+3.0_3.10.6-0ubuntu1.dsc
$ dpkg-source -x gtk+3.0_3.10.6-0ubuntu1.dsc
$ cd gtk+3.0-3.10.6
$ LANG=C sudo adt-run -B ./ --- adt-virt-null

** Affects: autopkgtest (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/1259529

Title:
  UnicodeEncodeError in adt-run psummary call

Status in “autopkgtest” package in Ubuntu:
  New

Bug description:
  That's seen on https://jenkins.qa.ubuntu.com/job/trusty-adt-
  gtk-3.0/26/ARCH=i386,label=adt/console

  "Traceback (most recent call last):
    File "/usr/bin/adt-run", line 1987, in main
  dsc0t-build          FAIL status: 0, stderr: gtktest.c: In function ���main���:
      process_actions()
    File "/usr/bin/adt-run", line 1956, in process_actions
      run_tests(stanzas, act.tests_tree)
    File "/usr/bin/adt-run", line 1063, in run_tests
      t.run(tree)
    File "/usr/bin/adt-run", line 1253, in run
      self.reportfail('status: %d, stderr: %s' % (rc, stderr_top))
    File "/usr/bin/adt-run", line 1096, in reportfail
      report(self.what, 'FAIL ' + m)
    File "/usr/bin/adt-run", line 169, in report
      preport('%-20s %s' % (tname, result.decode('UTF-8', 'replace')))
    File "/usr/bin/adt-run", line 165, in preport
      psummary(m)
    File "/usr/bin/adt-run", line 159, in psummary
      print >>summary_stream, m
  UnicodeEncodeError: 'ascii' codec can't encode character u'\u2018' in position 68: ordinal not in range(128)"

  Steps to reproduce it locally:
  $ dget http://archive.ubuntu.com/ubuntu/pool/main/g/gtk+3.0/gtk+3.0_3.10.6-0ubuntu1.dsc
  $ dpkg-source -x gtk+3.0_3.10.6-0ubuntu1.dsc
  $ cd gtk+3.0-3.10.6
  $ LANG=C sudo adt-run -B ./ --- adt-virt-null

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



More information about the foundations-bugs mailing list