Execution
Date
14 Dec 2025 10:21:40 +0000
Duration
00:43:55.98
Controller
aio1.openstack.local
User
root
Versions
Ansible
2.18.6
ara
1.7.4 / 1.7.4
Python
3.13.5
Summary
13
Hosts
2438
Tasks
2413
Results
107
Plays
511
Files
0
Records
Task result details
-
StatusOK
-
Duration00:00:00.95
-
PlayInstallation and setup of Tempest
-
Taskos_tempest : Move over workspace when config is updated
-
Date14 Dec 2025 11:00:54 +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.1.0.dev19/bin ]; then
. /openstack/venvs/tempest-32.1.0.dev19/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:00.696479 |
| end |
2025-12-14 11:00:54.680334 |
| failed_when_result |
False |
| invocation |
{ "module_args": { "_raw_params": "set -e\n\nif [ -d /openstack/venvs/tempest-32.1.0.dev19/bin ]; then\n . /openstack/venvs/tempest-32.1.0.dev19/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-14 11:00:53.983855 |
| stderr |
|
| stderr_lines |
[]
|
| stdout |
|
| stdout_lines |
[]
|