The CreatorCon Call for Content is officially open! Get started here.

ATF stuck - Test run gets stuck when a previous run is cancelled

Rashmi Jayarama
Tera Contributor

Has anyone noticed that if we cancel an ATF test run  and delete the run, then subsequent runs of that test keep getting stuck. Even though there is no running instance of that test. How to overcome this?

 

Waiting while another run of this test completes. 

 

RashmiJayarama_0-1680787757740.png

 

 

6 REPLIES 6

Thanks @Hemant Goldar , But in my case the tests are server side scripts, so browser(runner) should not be the issue here.

santosh_k
Tera Contributor

Hi @Rashmi Jayarama 

 

I think its because as soon as you run a test it will Impersonate a certain user and due to previous test has not completed the Impersonated user has not been rolled back hence it might be the case of the test is not re-running. Please check which user is still Impersonated if its the test user then please change it yourself it might help.

 

If it helped please accept my solution and give me a like. 

 

Thanks and Regards,

Santosh

Krauzi
Tera Expert

Did you find a solution? Got the same problem. Cleared all relevant records from:
sys_atf_test_result
sys_progress_worker
sys_execution_tracker
sys_atf_agent