AttributeError: 'BadRequest' object has no attribute 'status_code'

Bug #1263369 reported by Davanum Srinivas (DIMS)
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Medium
Unassigned

Bug Description

I see the following stack traces

ft26.1: tearDownClass (tempest.scenario.test_minimum_basic.TestMinimumBasicScenario)_StringException: Traceback (most recent call last):
  File "tempest/scenario/manager.py", line 264, in tearDownClass
    if e.__class__.__name__ == 'NotFound' or e.status_code == 404:
AttributeError: 'BadRequest' object has no attribute 'status_code

Example log:
http://logs.openstack.org/04/63304/5/check/check-tempest-dsvm-postgres-full/010c428/testr_results.html.gz

logstash shows 129 hits in last 48 hours with query "AttributeError: 'BadRequest' object has no attribute 'status_code'"

http://logstash.openstack.org/#eyJzZWFyY2giOiJcIkF0dHJpYnV0ZUVycm9yOiAnQmFkUmVxdWVzdCcgb2JqZWN0IGhhcyBubyBhdHRyaWJ1dGUgJ3N0YXR1c19jb2RlJ1wiIiwiZmllbGRzIjpbXSwib2Zmc2V0IjowLCJ0aW1lZnJhbWUiOiIxNzI4MDAiLCJncmFwaG1vZGUiOiJjb3VudCIsInRpbWUiOnsidXNlcl9pbnRlcnZhbCI6MH0sInN0YW1wIjoxMzg3NjQ4MTM4NzMyfQ==

Revision history for this message
David Kranz (david-kranz) wrote :
Changed in tempest:
status: New → Confirmed
importance: Undecided → Critical
Revision history for this message
Sean Dague (sdague) wrote :

So this isn't a critical bug, it's not actually causing gate resets, it only gets seen once other failures happen.

Changed in tempest:
importance: Critical → Medium
Changed in tempest:
status: Confirmed → Fix Committed
Changed in tempest:
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.