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


Field Value
changed
True
cmd
set -e
if [ ! -d /root/workspace/etc ]; then
    if [ -d /openstack/venvs/tempest-32.1.0.dev19/bin ]; then
        . /openstack/venvs/tempest-32.1.0.dev19/bin/activate
    fi
    # (guilhermesp) We are adding this conditional here to avoid
    # breakage when we are upgrade from rocky to stein as the workspace
    # path has been change between these two releases
    if tempest workspace list | grep ' workspace '; then
        # Init not working on existing entry. Renme old workspace instead and init new.
        export CURDATE=$(date +"%d%^b%g_%H%M%S%Z")
        WSPATH=$(dirname $(tempest workspace list | awk '{if($2 == "workspace"){print $4}}'))

        tempest workspace rename --old-name workspace --new-name workspace_${CURDATE}

        mv ${WSPATH}/workspace ${WSPATH}/workspace_${CURDATE}
        tempest workspace move --name workspace_${CURDATE} --path ${WSPATH}/workspace_${CURDATE}/
        tempest init ${CURWORKSPACE}
    else
        tempest init --name workspace /root/workspace
        exit 3
    fi
fi
delta
0:00:01.327689
end
2025-12-14 11:00:56.387881
failed_when_result
False
invocation
{
    "module_args": {
        "_raw_params": "set -e\nif [ ! -d /root/workspace/etc ]; then\n    if [ -d /openstack/venvs/tempest-32.1.0.dev19/bin ]; then\n        . /openstack/venvs/tempest-32.1.0.dev19/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        # 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        WSPATH=$(dirname $(tempest workspace list | awk '{if($2 == \"workspace\"){print $4}}'))\n\n        tempest workspace rename --old-name workspace --new-name workspace_${CURDATE}\n\n        mv ${WSPATH}/workspace ${WSPATH}/workspace_${CURDATE}\n        tempest workspace move --name workspace_${CURDATE} --path ${WSPATH}/workspace_${CURDATE}/\n        tempest init ${CURWORKSPACE}\n    else\n        tempest init --name workspace /root/workspace\n        exit 3\n    fi\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
non-zero return code
rc
3
start
2025-12-14 11:00:55.060192
stderr

stderr_lines
[]
stdout

stdout_lines
[]