initialize tempest workspace: A workspace already exists

Bug #1896126 reported by Rafael Folco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
Critical
Rafael Folco

Bug Description

https://api.us-east.open-edge.io:8080/swift/v1/AUTH_e02c11e4e2c24efc98022353c88ab506/zuul_opendev_logs_33b/751340/4/check/tripleo-ci-centos-8-standalone-upgrade/33b4916/job-output.txt

2020-09-17 17:34:29.875184 | primary | TASK [os_tempest : Initialise tempest workspace] *******************************
2020-09-17 17:34:29.875302 | primary | Thursday 17 September 2020 17:34:29 +0000 (0:00:00.061) 1:01:27.689 ****
2020-09-17 17:34:34.074754 | primary | fatal: [undercloud]: FAILED! => {
2020-09-17 17:34:34.074821 | primary | "changed": false,
2020-09-17 17:34:34.075170 | primary | "cmd": "set -e\nif [ ! -d /root/tempest/etc ]; then\n if [ -d /openstack/venvs/tempest-untagged/bin ]; then\n . /openstack/venvs/tempest-untagged/bin/activate\n fi\n # (guilhermesp) We are adding this conditional here to avoid\n # breakage when we are upgrade from rocky to stein as the workspace\n # path has been change between these two releases\n if tempest workspace list | grep ' workspace '; then\n if ! tempest workspace list | grep ' workspace ' | grep -w /root/tempest; then\n # Init not working on existing entry. Renme old workspace instead and init new.\n export CURDATE=$(date +\"%d%^b%g_%H%M%S%Z\")\n tempest workspace rename --old-name workspace --new-name workspace_${CURDATE}\n tempest init /root/tempest\n fi\n fi\n tempest init /root/tempest\n exit 3\nfi\n",
2020-09-17 17:34:34.075206 | primary | "delta": "0:00:03.662236",
2020-09-17 17:34:34.075232 | primary | "end": "2020-09-17 17:34:34.032901",
2020-09-17 17:34:34.075258 | primary | "failed_when_result": true,
2020-09-17 17:34:34.075567 | primary | "rc": 1,
2020-09-17 17:34:34.075614 | primary | "start": "2020-09-17 17:34:30.370665"
2020-09-17 17:34:34.075651 | primary | }
2020-09-17 17:34:34.075677 | primary |
2020-09-17 17:34:34.075709 | primary | STDOUT:
2020-09-17 17:34:34.075735 | primary |
2020-09-17 17:34:34.075779 | primary | A workspace already exists with name: tempest.
2020-09-17 17:34:34.075808 | primary |
2020-09-17 17:34:34.075832 | primary |
2020-09-17 17:34:34.075856 | primary | STDERR:
2020-09-17 17:34:34.075879 | primary |
2020-09-17 17:34:34.075903 | primary | /usr/lib/python3.6/site-packages/oslo_config/types.py:57: UserWarning: converting '3000' to a string
2020-09-17 17:34:34.075928 | primary | warnings.warn('converting \'%s\' to a string' % str_val)
2020-09-17 17:34:34.075952 | primary |
2020-09-17 17:34:34.075975 | primary |
2020-09-17 17:34:34.075999 | primary | MSG:
2020-09-17 17:34:34.076022 | primary |
2020-09-17 17:34:34.076046 | primary | non-zero return code

Tags: alert ci
Changed in tripleo:
milestone: victoria-3 → wallaby-1
Changed in tripleo:
milestone: wallaby-1 → wallaby-2
Changed in tripleo:
milestone: wallaby-2 → wallaby-3
Changed in tripleo:
milestone: wallaby-3 → wallaby-rc1
Changed in tripleo:
milestone: wallaby-rc1 → xena-1
Changed in tripleo:
milestone: xena-1 → xena-2
Changed in tripleo:
milestone: xena-2 → xena-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_tempest yoga-eom

This issue was fixed in the openstack/openstack-ansible-os_tempest yoga-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_tempest victoria-eom

This issue was fixed in the openstack/openstack-ansible-os_tempest victoria-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_tempest wallaby-eom

This issue was fixed in the openstack/openstack-ansible-os_tempest wallaby-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_tempest xena-eom

This issue was fixed in the openstack/openstack-ansible-os_tempest xena-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_tempest zed-eom

This issue was fixed in the openstack/openstack-ansible-os_tempest zed-eom release.

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.