profile_tasks bogus time with multiple playbooks #52760
Labels
affects_2.7
This issue/PR affects Ansible v2.7
bug
This issue/PR relates to a bug.
P3
Priority 3 - Approved, No Time Limitation
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
verified
This issue has been verified/reproduced by maintainer
SUMMARY
When ansible-playbook is invoked with two playbooks, the profile_tasks reports a bogus time for the last task in the first playbook in the summary at the end. Instead of the actual time taken by that task, it reports the time since the epoch.
ISSUE TYPE
COMPONENT NAME
profile_tasks
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
EL7
STEPS TO REPRODUCE
EXPECTED RESULTS
"sleep 1c" in the summary should show approx 1 second (actual "1.21s" in the example below)
ACTUAL RESULTS
"sleep 1c" in the summary shows time since epoch ("1550785925.32s")
The text was updated successfully, but these errors were encountered: