Tests can fail when bzr emits an unexpected "unsupported locale setting" warning

Bug #972456 reported by Benji York on 2012-04-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
High
Benji York

Bug Description

Here is a representative test failure (of many):

failure: bzrlib.plugins.lpserve.test_lpserve.TestLPServiceInSubprocess.test_sigterm_exits_nicely [ multipart
Content-Type: text/x-traceback;charset=utf8,language=python
traceback
372
Traceback (most recent call last):
_StringException: Empty attachments:
  server-log

log: {{{
34.889 started lp-service subprocess
35.977 bzr: warning: unsupported locale setting
}}}

Traceback (most recent call last):
  File "/var/lib/buildbot/slaves/slave/lucid-devel/build/bzrplugins/lpserve/test_lpserve.py", line 389, in setUp
    self.service_path) = self.start_service_subprocess()
  File "/var/lib/buildbot/slaves/slave/lucid-devel/build/bzrplugins/lpserve/test_lpserve.py", line 471, in start_service_subprocess
    proc = self._start_subprocess(path, env_changes)
  File "/var/lib/buildbot/slaves/slave/lucid-devel/build/bzrplugins/lpserve/test_lpserve.py", line 442, in _start_subprocess
    self.assertEqual(expected, path_line)
AssertionError: not equal:
a = 'Listening on socket: /tmp/tmp-lp-service-lF0MvP.sock\n'
b = 'bzr: warning: unsupported locale setting\n'

0
]

Related branches

Benji York (benji) on 2012-04-03
Changed in launchpad:
importance: Undecided → High
status: New → In Progress
assignee: nobody → Benji York (benji)
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Aaron Bentley (abentley) on 2012-04-04
tags: added: qa-untestable
removed: qa-needstesting
Steve Kowalik (stevenk) on 2012-04-05
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers