[Bug 1451448] Re: bzr fails to build on vivid (release) and trusty (test-rebuild only)

Vincent Ladeuil 1451448 at bugs.launchpad.net
Thu May 28 09:27:31 UTC 2015


Sorry for the reply delay :-/

I've been able to reproduce on vivid.

These tests are racy (yet another occurrence of running a TCP server and
client in the same process (different threads)).

Out of the ~800 http tests, those two ones are the simplest: they
connect to an http server that always reply with a 'Bad status' message
and close the connection.

Running  'bzr selftest --parallel=fork -v -s bt.test_http.TestBadStatusServer' repeatedly, I can:
- see the test pass,
- see the test fail as reported,
- see the test hang

Definitely a race :-/

This can be fixed in two ways:
- run the server in a separate process,
- identify the race more precisely and fix it.

The former requires some tedious work, the later requires some deep
investigation :-/

I've sent a patch to debian to disable these tests until they are
properly fixed. We don't lose significant coverage doing so (pqm will
still run them to gate lp:bzr).

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

Title:
  bzr fails to build on vivid (release) and trusty (test-rebuild only)

Status in Bazaar Version Control System:
  Confirmed
Status in bzr package in Ubuntu:
  Confirmed
Status in bzr source package in Trusty:
  Confirmed
Status in bzr source package in Vivid:
  Confirmed

Bug description:
  bzr fails to build on vivid (release) and trusty (test-rebuild only)

  various test failures seen, likely exposed by python 2.7.10.

  release:
  https://launchpad.net/ubuntu/+archive/test-rebuild-20150402/+build/7133674

  test rebuild:
  https://launchpad.net/ubuntu/+archive/test-rebuild-20150501-updates/+build/7375272

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/1451448/+subscriptions



More information about the foundations-bugs mailing list