Open chitra-raghavan opened 6 years ago
It's due to timout of ansible facts. You may check the ansible.cfg
:
fact_caching = jsonfile
fact_caching_connection = ~/.ansible/cache
fact_caching_timeout = 600
According to your log, the last time the script proceeded ok is "0:09:39.819" and failed time is "0:11:45.202".
Just change fact_caching_timeout
to 3600
or any time you want.
either try to change ansible.cfg gathering=implicit
or add : gather_facts: True for playbooks that depends on ansible_facts, like loganalyzer related playbooks.
I'll try to fix this later.
Everflow testcase in ptf topology fails in middle of execution that ansible_date_time is not defined. script : ansible/roles/test/tasks/everflow/config_test/config_test.yml The script executes few test cases from config_test.yml. After some 5-6 testcases , it terminates saying that the variable "ansible_date_time" is not defined.
For initial testcases , the variable "ansible_date_time" is defined and didn't see any issues. It fails when it executes 6th testcase
When i comment the initial 5 testcases and run the script , it runs for 6-10 testcases, but failed in 11th testcase with same error.
snip from log :
In Previous testcases , the ansible_date_time variable is defined and the script proceeded fine.