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

Bug #972456 reported by Benji York
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
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)
Changed in launchpad:
importance: Undecided → High
status: New → In Progress
assignee: nobody → Benji York (benji)
Revision history for this message
Gary Poster (gary) wrote :
tags: added: paralleltest
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Aaron Bentley (abentley)
tags: added: qa-untestable
removed: qa-needstesting
Steve Kowalik (stevenk)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.