You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand that AWX is open source software provided for free and that I might not receive a timely response.
I am NOT reporting a (potential) security vulnerability. (These should be emailed to [email protected] instead.)
Bug Summary
When a AAP job ends with status error the module will still wait for event_processing_finished and this can take long time (hours) hence the job will wait until timeout is reached.
AWX version
4.5.15
Select the relevant components
UI
UI (tech preview)
API
Docs
Collection
CLI
Other
Installation method
N/A
Modifications
no
Ansible version
2.16
Operating system
RHEL 9
Web browser
No response
Steps to reproduce
force a job to end with status error. ensure event processing time take longer than job_wait timeout setting.
name: Configure Windows test VM
ansible.controller.job_launch:
job_template: "This Job will fail with status error"
register: Job
name: Wait for job to fail with status error
ansible.controller.job_wait:
job_id: "{{ Job.id }}"
timeout: 7200
interval: 30
Expected results
wait_job should not timeout it should report back that job failed sooner.
Actual results
TASK [Wait for server to be configured] ****************************************
task path: /runner/project/automated_tests/tasks/windows_configure_vm.yml:24
fatal: [localhost]: FAILED! => {"changed": false, "elapsed": 7204.267789, "finished": null, "id": 352663, "msg": "Monitoring of Job - 352663 aborted due to timeout", "started": "2025-01-23T09:00:18.690410Z", "status": "running"}
Additional information
No response
The text was updated successfully, but these errors were encountered:
Please confirm the following
[email protected]
instead.)Bug Summary
When a AAP job ends with status error the module will still wait for event_processing_finished and this can take long time (hours) hence the job will wait until timeout is reached.
AWX version
4.5.15
Select the relevant components
Installation method
N/A
Modifications
no
Ansible version
2.16
Operating system
RHEL 9
Web browser
No response
Steps to reproduce
force a job to end with status error. ensure event processing time take longer than job_wait timeout setting.
name: Configure Windows test VM
ansible.controller.job_launch:
job_template: "This Job will fail with status error"
register: Job
name: Wait for job to fail with status error
ansible.controller.job_wait:
job_id: "{{ Job.id }}"
timeout: 7200
interval: 30
Expected results
wait_job should not timeout it should report back that job failed sooner.
Actual results
TASK [Wait for server to be configured] ****************************************
task path: /runner/project/automated_tests/tasks/windows_configure_vm.yml:24
fatal: [localhost]: FAILED! => {"changed": false, "elapsed": 7204.267789, "finished": null, "id": 352663, "msg": "Monitoring of Job - 352663 aborted due to timeout", "started": "2025-01-23T09:00:18.690410Z", "status": "running"}
Additional information
No response
The text was updated successfully, but these errors were encountered: