lp.bugs.tests.test_bugchanges.TestBugChanges.test_change_information_type_using_api fails intermittently/rarely in parallel tests

Bug #996773 reported by Gary Poster
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Brad Crittenden

Bug Description

the isolated subunit output for this error, including traceback, can be found here: http://pastebin.ubuntu.com/975994/

This accompanied out buildbot presentation/subunit integration falling over (bug 996729), so we do not have a nice clean worker list from buildbot. It can be extracted from a fixed version of the full subunit stream, which can be found here: http://ubuntuone.com/3bHbIqNkVQtrvuRcvjI6JU . I'll produce that tomorrow if noone beats me to it.

Related branches

Revision history for this message
Gary Poster (gary) wrote :
Download full text (3.2 KiB)

It failed again without the display error. worker 4's test list is here: http://pastebin.ubuntu.com/977185/

======================================================================
ERROR: lp.bugs.tests.test_bugchanges.TestBugChanges.test_change_information_type_using_api
worker ID: worker-4
----------------------------------------------------------------------
Traceback (most recent call last):
_StringException: librarian-log: {{{
2012-05-09 07:05:41+0530 [-] Log opened.
2012-05-09 07:05:41+0530 [-] twistd 11.1.0 (/usr/bin/python2.6 2.6.5) starting up.
2012-05-09 07:05:41+0530 [-] reactor class: twisted.internet.pollreactor.PollReactor.
2012-05-09 07:05:41+0530 [-] FileUploadFactory starting on 36821
2012-05-09 07:05:41+0530 [-] Starting factory <lp.services.librarianserver.libraryprotocol.FileUploadFactory instance at 0xa28226c>
2012-05-09 07:05:41+0530 [-] Site starting on 50939
2012-05-09 07:05:41+0530 [-] Starting factory <twisted.web.server.Site instance at 0xa28222c>
2012-05-09 07:05:41+0530 [-] FileUploadFactory starting on 35075
2012-05-09 07:05:41+0530 [-] Starting factory <lp.services.librarianserver.libraryprotocol.FileUploadFactory instance at 0xa2822ac>
2012-05-09 07:05:41+0530 [-] Site starting on 33450
2012-05-09 07:05:41+0530 [-] Starting factory <twisted.web.server.Site instance at 0xa28294c>
2012-05-09 07:05:41+0530 [-] Not using upstream librarian
2012-05-09 07:05:41+0530 [-] daemon ready!
}}}

Traceback (most recent call last):
  File "/var/lib/buildbot/slaves/slave/lucid-devel/build/lib/lp/bugs/tests/test_bugchanges.py", line 692, in test_change_information_type_using_api
    webservice = launchpadlib_for('test', person)
  File "/var/lib/buildbot/slaves/slave/lucid-devel/build/lib/lp/testing/_webservice.py", line 162, in launchpadlib_for
    version=version, cache=cache)
  File "/var/lib/buildbot/dependencies/eggs/launchpadlib-1.9.12-py2.6.egg/launchpadlib/launchpad.py", line 198, in __init__
    credentials, service_root, cache, timeout, proxy_info, version)
  File "/var/lib/buildbot/dependencies/eggs/lazr.restfulclient-0.12.2-py2.6.egg/lazr/restfulclient/resource.py", line 467, in __init__
    self._browser.get(root_resource), 'application/json')
  File "/var/lib/buildbot/dependencies/eggs/lazr.restfulclient-0.12.2-py2.6.egg/lazr/restfulclient/_browser.py", line 386, in get
    response, content = self._request(url, extra_headers=headers)
  File "/var/lib/buildbot/dependencies/eggs/lazr.restfulclient-0.12.2-py2.6.egg/lazr/restfulclient/_browser.py", line 376, in _request
    raise error
ServerError: HTTP Error 503: Service Temporarily Unavailable
Response headers:
---
-content-encoding: gzip
connection: close
content-length: 407
content-type: text/html; charset=iso-8859-1
date: Wed, 09 May 2012 01:39:31 GMT
status: 503
vary: Accept-Encoding
---
Response body:
---
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>503 Service Temporarily Unavailable</title>
</head><body>
<h1>Service Temporarily Unavailable</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
<hr>
<address>Apache/2.2.14 (Ubuntu) Server at api.laun...

Read more...

Brad Crittenden (bac)
Changed in launchpad:
assignee: nobody → Brad Crittenden (bac)
status: Triaged → In Progress
assignee: Brad Crittenden (bac) → nobody
Brad Crittenden (bac)
Changed in launchpad:
assignee: nobody → Brad Crittenden (bac)
Revision history for this message
Brad Crittenden (bac) wrote :

Minimal failure set:

lp.services.webservice.tests.test_wadl_generation.SmokeTestWadlAndDocGeneration.test_wadl

lp.bugs.tests.test_bugchanges.TestBugChanges.test_change_information_type_using_api

Revision history for this message
Brad Crittenden (bac) wrote :

The wadl created and cached by test_wadl causes the second test to fail. If test_wadl resets the cache when done then this problem goes away. Still investigating to find out why the cached wadl causes the test failure.

Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
William Grant (wgrant)
tags: added: qa-untestable
removed: qa-needstesting
William Grant (wgrant)
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.