Bug 1669412 - scenario.test_server_software_config timedout
Summary: scenario.test_server_software_config timedout
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-heat-tests-tempest
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: z6
: 13.0 (Queens)
Assignee: Rabi Mishra
QA Contact: Arik Chernetsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-25 07:53 UTC by Chen
Modified: 2019-04-30 17:23 UTC (History)
2 users (show)

Fixed In Version: python-heat-tests-tempest-0.3.0-1.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-30 17:23:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
The standard output for tempest command (55.60 KB, text/plain)
2019-01-30 03:45 UTC, Chen
no flags Details
disk-image-create output (696.56 KB, text/plain)
2019-01-30 03:46 UTC, Chen
no flags Details
heat logs, tempest.conf and standard output (2.02 MB, application/gzip)
2019-01-31 14:15 UTC, Chen
no flags Details


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 634453 0 None MERGED Fix test_server_software_config scenario test 2020-09-02 16:37:27 UTC
Red Hat Product Errata RHBA-2019:0926 0 None None None 2019-04-30 17:23:53 UTC

Description Chen 2019-01-25 07:53:49 UTC
Description of problem:

$ python -m testtools.run heat_tempest_plugin.tests.scenario.test_server_software_config.SoftwareConfigIntegrationTest.test_server_software_config
Tests running...
 ======================================================================
ERROR: heat_tempest_plugin.tests.scenario.test_server_software_config.SoftwareConfigIntegrationTest.test_server_software_config[id-fb2afe23-d1a8-45fc-bf8d-b18fc8412972]
----------------------------------------------------------------------

<Snip>

login as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for root.
so-onfigintegrationtest-577789467-server-n5j4qmrjycwu login:
}}}

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/heat_tempest_plugin/tests/scenario/test_server_software_config.py", line 173, in test_server_software_config
    self.check_stack()
  File "/usr/lib/python2.7/site-packages/heat_tempest_plugin/tests/scenario/test_server_software_config.py", line 78, in check_stack
    sid, res, 'CREATE_COMPLETE')
  File "/usr/lib/python2.7/site-packages/heat_tempest_plugin/common/test.py", line 338, in _wait_for_resource_status
    raise exceptions.TimeoutException(message)
heat_tempest_plugin.common.exceptions.TimeoutException: Request timed out
Details: Resource dep2b failed to reach CREATE_COMPLETE status within the required time (1200 s).

Ran 1 test in 1286.860s
FAILED (failures=1)

Version-Release number of selected component (if applicable):

OSP13

How reproducible:

100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Rabi Mishra 2019-01-25 08:34:58 UTC
You can't run this test with cirros image. It requires image with heat-agents. Please build the image as  documented[1] and then set it as 'image_ref' in tempest.conf before running the test.

Else, you can disable it in your tempest.conf as done upstream[2] by adding below.

[heat_plugin]
....

skip_scenario_test_list = 'SoftwareConfigIntegrationTest'

....

[1] https://docs.openstack.org/heat-agents/latest/install/building_image.html
[2] https://github.com/openstack/heat/blob/master/heat_integrationtests/prepare_test_env.sh#L86

Comment 3 Chen 2019-01-30 03:45:21 UTC
Hi Rabi,

Thank you very much for your reply.

The customer tried to use fedora + heat-agents but the same error still occurred. Would you please give us some advices ?

Attaching the disk-image-create and the standard output for tempest tests.

Best Regards,
Chen

Comment 4 Chen 2019-01-30 03:45:47 UTC
Created attachment 1524830 [details]
The standard output for tempest command

Comment 5 Chen 2019-01-30 03:46:15 UTC
Created attachment 1524831 [details]
disk-image-create output

Comment 7 Chen 2019-01-31 14:15:38 UTC
Created attachment 1525374 [details]
heat logs, tempest.conf and standard output

Comment 13 errata-xmlrpc 2019-04-30 17:23:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:0926


Note You need to log in before you can comment on or make changes to this bug.