Stress tests are failing (experimental-queue)

Bug #1536956 reported by Marc Koderer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Medium
Ghanshyam Mann

Bug Description

http://logs.openstack.org/31/259931/7/experimental/periodic-tempest-dsvm-stress-master/16ec225/console.html

Error:

2016-01-22 05:10:55.563 | stress runtests: PYTHONHASHSEED='1926475237'
2016-01-22 05:10:55.563 | stress runtests: commands[0] | run-tempest-stress -d 3600 -S -s -t tempest/stress/etc/stress-tox-job.json
2016-01-22 05:10:59.642 | ERROR: InvocationError: '/opt/stack/new/tempest/.tox/stress/bin/run-tempest-stress -d 3600 -S -s -t tempest/stress/etc/stress-tox-job.json'
2016-01-22 05:10:59.642 | ___________________________________ summary ____________________________________
2016-01-22 05:10:59.643 | ERROR: stress: commands failed
2016-01-22 05:10:59.659 | + GATE_RETVAL=1
2016-01-22 05:10:59.659 | + RETVAL=1
2016-01-22 05:10:59.659 | + '[' 1 -ne 0 ']'
2016-01-22 05:10:59.659 | + echo 'ERROR: the main setup script run by this job failed - exit code: 1'
2016-01-22 05:10:59.659 | ERROR: the main setup script run by this job failed - exit code: 1

Marc Koderer (m-koderer)
Changed in tempest:
importance: Undecided → Medium
assignee: nobody → Marc Koderer (m-koderer)
status: New → Triaged
Revision history for this message
Ghanshyam Mann (ghanshyammann) wrote :

That is because of credential used by stress tests.

by default it use configured cred and which are recently removed from devstack.

We should make stress tetts to use dynamic one-

https://github.com/openstack/tempest/blob/master/tempest/stress/etc/stress-tox-job.json

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.openstack.org/271195

Changed in tempest:
assignee: Marc Koderer (m-koderer) → Ghanshyam Mann (ghanshyammann)
status: Triaged → In Progress
Revision history for this message
Ghanshyam Mann (ghanshyammann) wrote :

Another issue here is no domain name in case of v3 API-

http://logs.openstack.org/95/271195/1/experimental/gate-tempest-dsvm-stress-keystonev3/afdf20f/logs/tempest.txt.gz#_2016-01-22_13_25_08_868

2016-01-22 13:25:08.868 29401 ERROR tempest Traceback (most recent call last):
2016-01-22 13:25:08.868 29401 ERROR tempest File ".tox/stress/bin/run-tempest-stress", line 10, in <module>
2016-01-22 13:25:08.868 29401 ERROR tempest sys.exit(main())
2016-01-22 13:25:08.868 29401 ERROR tempest File "/opt/stack/new/tempest/tempest/cmd/run_stress.py", line 154, in main
2016-01-22 13:25:08.868 29401 ERROR tempest return action(ns)
2016-01-22 13:25:08.868 29401 ERROR tempest File "/opt/stack/new/tempest/tempest/cmd/run_stress.py", line 134, in action
2016-01-22 13:25:08.868 29401 ERROR tempest ns.stop)
2016-01-22 13:25:08.868 29401 ERROR tempest File "/opt/stack/new/tempest/tempest/stress/driver.py", line 159, in stress_openstack
2016-01-22 13:25:08.868 29401 ERROR tempest users_client)
2016-01-22 13:25:08.868 29401 ERROR tempest File "/opt/stack/new/tempest/tempest/common/cred_client.py", line 177, in get_creds_client
2016-01-22 13:25:08.868 29401 ERROR tempest return V3CredsClient(identity_client, project_domain_name)
2016-01-22 13:25:08.868 29401 ERROR tempest File "/opt/stack/new/tempest/tempest/common/cred_client.py", line 135, in __init__
2016-01-22 13:25:08.868 29401 ERROR tempest params={'name': domain_name})['domains'][0]
2016-01-22 13:25:08.868 29401 ERROR tempest IndexError: list index out of range
2016-01-22 13:25:08.868 29401 ERROR tempest

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/271195
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=627debfeb8139b249c48a1e4af4bb492a5d87211
Submitter: Jenkins
Branch: master

commit 627debfeb8139b249c48a1e4af4bb492a5d87211
Author: Ghanshyam <email address hidden>
Date: Fri Jan 22 18:11:00 2016 +0900

    Fix stress tests job to use dynamic cred

    Stress tests use configured credential by default and
    after removing the support of those depricated cred from devstack
    stress experimental job started failing.

    Using dynamic cred by default there.

    Another issue is that stress tests do not pass domain name
    in case of identity v3 API which leads to failure.
    This was hidden issue as stress tests were not running with dynamic creds.

    Change-Id: I4fb2534f2fb73305d0d8dc077a72c33ba81bd189
    Closes-Bug: #1536956

Changed in tempest:
status: In Progress → 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.