Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1669412

Summary: scenario.test_server_software_config timedout
Product: Red Hat OpenStack Reporter: Chen <cchen>
Component: python-heat-tests-tempestAssignee: Rabi Mishra <ramishra>
Status: CLOSED ERRATA QA Contact: Arik Chernetsky <achernet>
Severity: low Docs Contact:
Priority: low    
Version: 13.0 (Queens)CC: jschluet, ramishra
Target Milestone: z6Keywords: Reopened, Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-heat-tests-tempest-0.3.0-1.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-30 17:23:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
The standard output for tempest command
none
disk-image-create output
none
heat logs, tempest.conf and standard output none

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