test_exceed_max_template_size_fails in test_limits.py failed

Bug #1246325 reported by Qiu Hua Qiao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Expired
Undecided
Unassigned

Bug Description

Case test_exceed_max_template_size_fails failed

[root@ip9-12-17-44 tempest]# nosetests -v tempest/api/orchestration/stacks/test_limits.py
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
tempest.api.orchestration.stacks.test_limits.TestServerStackLimits.test_exceed_max_template_size_fails[gate] ... FAIL

======================================================================
FAIL: tempest.api.orchestration.stacks.test_limits.TestServerStackLimits.test_exceed_max_template_size_fails[gate]
----------------------------------------------------------------------
_StringException: pythonlogging:'': {{{
2013-10-30 08:26:15,589 Request: POST http://127.0.0.1:5000/v2.0/tokens
2013-10-30 08:26:15,700 Response Status: 200
2013-10-30 08:26:15,702 Request: POST http://9.12.17.44:8004/v1/fc2610dc5d234a71a72cf66ecf2a9be1/stacks
2013-10-30 08:26:15,901 Response Status: 201
}}}

Traceback (most recent call last):
  File "/tmp/tempest/tempest/tempest/api/orchestration/stacks/test_limits.py", line 44, in test_exceed_max_template_size_fails
    self.stack_name, template)
  File "/usr/lib/python2.6/site-packages/testtools/testcase.py", line 394, in assertRaises
    self.assertThat(our_callable, matcher)
  File "/usr/lib/python2.6/site-packages/testtools/testcase.py", line 417, in assertThat
    raise MismatchError(matchee, matcher, mismatch, verbose)
MismatchError: <bound method type.create_stack of <class 'tempest.api.orchestration.stacks.test_limits.TestServerStackLimits'>> returned 'heat787113243/bf17d952-01d8-4149-811e-956579fa0fcf'

-------------------- >> begin captured logging << --------------------
tempest.common.rest_client: INFO: Request: POST http://127.0.0.1:5000/v2.0/tokens
tempest.common.rest_client: INFO: Response Status: 200
tempest.common.rest_client: INFO: Request: POST http://9.12.17.44:8004/v1/fc2610dc5d234a71a72cf66ecf2a9be1/stacks
tempest.common.rest_client: INFO: Response Status: 201
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 1 test in 0.704s

FAILED (failures=1)

Revision history for this message
Matt Riedemann (mriedem) wrote :

What is in the heat logs?

Revision history for this message
Qiu Hua Qiao (qhqiao) wrote :
Revision history for this message
Sean Dague (sdague) wrote :

Not enough data to be useful in here

Changed in tempest:
status: New → Invalid
Revision history for this message
Qiu Hua Qiao (qhqiao) wrote :

Hi, could you tell me which data that you needed?

Changed in tempest:
status: Invalid → New
Revision history for this message
Attila Fazekas (afazekas) wrote :

Did you configured the [orchestration] max_template_size in the tempest.conf according to the
heat.conf [DEFAULT] max_template_size ?

Changed in tempest:
status: New → Incomplete
Revision history for this message
Qiu Hua Qiao (qhqiao) wrote :

I didn't change it, so it should be the default value:
#max_template_size=524288

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tempest because there has been no activity for 60 days.]

Changed in tempest:
status: Incomplete → Expired
Revision history for this message
Sergey Levchenko (slevchenko) wrote :

I'm in a same situatio, and it looks like test expects "Bad Request" response but server successfully executes request instead.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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