Execution
Date
15 Dec 2025 10:19:13 +0000
Duration
00:23:12.82
Controller
aio1.openstack.local
User
root
Versions
Ansible
2.18.6
ara
1.7.4 / 1.7.4
Python
3.12.3
Summary
9
Hosts
618
Tasks
960
Results
108
Plays
456
Files
0
Records
Task result details
-
StatusOK
-
Duration00:00:01.93
-
PlayInstallation and setup of Tempest
-
Taskos_tempest : Move over workspace when config is updated
-
Date15 Dec 2025 10:36:04 +0000
-
Module / Actionansible.builtin.shell (/home/zuul/src/opendev.org/openstack/openstack-ansible-os_tempest/tasks/tempest_post_install.yml:45)
-
Tags
- skip_ansible_lint
- tempest-config
| Field | Value |
|---|---|
| changed |
False |
| cmd |
set -e
if [ -d /openstack/venvs/tempest-32.0.0.0rc2.dev6/bin ]; then
. /openstack/venvs/tempest-32.0.0.0rc2.dev6/bin/activate
else
exit 0
fi
if tempest workspace list | grep ' workspace '; then
# Get a backup suffix
export CURDATE=$(date +"%d%^b%g_%H%M%S%Z")
# Get the dirname for 'workspace' directly from the tempest workspace list
WSPATH=$(dirname $(tempest workspace list | awk '{if($2 == "workspace"){print $4}}'))
# Rename the workspace
tempest workspace rename --old-name workspace --new-name workspace_${CURDATE}
# A workspace move only changes the config. The move happens manually.
if [ -d "${WSPATH}/workspace" ]
then
mv ${WSPATH}/workspace ${WSPATH}/workspace_${CURDATE}
tempest workspace move --name workspace_${CURDATE} --path ${WSPATH}/workspace_${CURDATE}/
fi
exit 3
fi
|
| delta |
0:00:01.425939 |
| end |
2025-12-15 10:36:04.646666 |
| failed_when_result |
False |
| invocation |
{ "module_args": { "_raw_params": "set -e\n\nif [ -d /openstack/venvs/tempest-32.0.0.0rc2.dev6/bin ]; then\n . /openstack/venvs/tempest-32.0.0.0rc2.dev6/bin/activate\nelse\n exit 0\nfi\n\nif tempest workspace list | grep ' workspace '; then\n\n # Get a backup suffix\n export CURDATE=$(date +\"%d%^b%g_%H%M%S%Z\")\n\n # Get the dirname for 'workspace' directly from the tempest workspace list\n WSPATH=$(dirname $(tempest workspace list | awk '{if($2 == \"workspace\"){print $4}}'))\n\n # Rename the workspace\n tempest workspace rename --old-name workspace --new-name workspace_${CURDATE}\n\n # A workspace move only changes the config. The move happens manually.\n if [ -d \"${WSPATH}/workspace\" ]\n then\n mv ${WSPATH}/workspace ${WSPATH}/workspace_${CURDATE}\n tempest workspace move --name workspace_${CURDATE} --path ${WSPATH}/workspace_${CURDATE}/\n fi\n\n exit 3\nfi\n", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": "/bin/bash", "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } } |
| msg |
|
| rc |
0 |
| start |
2025-12-15 10:36:03.220727 |
| stderr |
|
| stderr_lines |
[]
|
| stdout |
|
| stdout_lines |
[]
|