subunit stream corruption when python test processes segfault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Critical
|
Unassigned |
Bug Description
Running these tests http://
To reproduce:
setup an instance the way Steve has, and run
:~/launchpad/
Where the load list is from the pastebin.
The stream will then be corrupt - running it through subunit2pyunit, for instance, will spew a lot of test protocol data to stdout, and show an additional failed test - the disconnected during test.
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → Critical |
summary: |
- subunit stream corruption with jenkins test runs + subunit stream corruption when python test processses segfault |
tags: | added: test-system |
summary: |
- subunit stream corruption when python test processses segfault + subunit stream corruption when python test processes segfault |
lp.registry. tests.test_ distributionmir ror_prober. TestProberProto colAndFactory. test_connect_ to_proxy_ when_http_ proxy_exists layers. YUIAppServerLay er:setUp is the last virtual test: tests.test_ distributionmir ror_prober. TestProberProto colAndFactory. test_connect_ to_proxy_ when_http_ proxy_exists layers. TwistedLayer: tearDown layers. BaseLayer: tearDown layers. BaseLayer: setUp layers. MemcachedLayer: setUp layers. YUIAppServerLay er:setUp
is the last actual test before stream data gets exposed, and lp.testing.
"
lp.registry.
lp.testing.
lp.testing.
Running in a subprocess.
lp.testing.
lp.testing.
lp.testing.
test: Could not communicate with subprocess
successful: Could not communicate with subprocess
"
Note that 'Running in a subprocess.\n'
should be 'test: Running in a subprocess.\n' -s the corruption is ~ there.
looking at the raw stream we see:" layers. YUIAppServerLay er:setUp layers. YUIAppServerLay er:setUp lp.testing. layers. YUIAppServerLay er tests/test_ yuixhr_ fixture_ facet with_banner
test: lp.testing.
tags: zope:layer
time: 2012-10-03 04:01:37.335434Z
successful: lp.testing.
tags: zope:layer:
time: 2012-10-03 04:01:37.775637Z
test: lp/testing/
test: Could not communicate with subprocess
tags: zope:error_
successful: Could not communicate with subprocess
"
Which suggests that lp/testing/ tests/test_ yuixhr_ fixture_ facet is failing sufficiently hard that the finally: block which should be reporting on the test failure isn't executing at all - not even enough to report that it didn't complete the test.