Unable to run ATF - Unable to find the rollback context id

Edxavier Robert
Mega Sage

Hi All, 

I am getting this error message when I running my ATF's : Unable to find the rollback context id for recording the server step execution

 

Does anyone know what could be the issue?

1 ACCEPTED SOLUTION

Rao Vamshi
Kilo Guru

Hi @Edxavier Robert 

This error message is typically associated with the use of the "Rollback" functionality in an Automated Test Framework (ATF) test. The error indicates that the system is unable to find the correct rollback context ID for the step being executed.

The most common cause of this error is a mismatch between the rollback context ID and the test step being executed. This can occur if the context ID has changed since the test was originally created, or if the test step is referencing the wrong context ID.

To resolve this issue, you may want to try the following steps:

1. Verify that the rollback context ID referenced in the test step is correct.
2. Check to see if the context ID has changed since the test was created and update the test step accordingly.
3. Ensure that the rollback context is enabled for the test.
4. Try running the test again after updating the context ID in the test step.


Please mark correct/helpful, if your query has been addressed and/or answered!



Thanks,
Vamshi

View solution in original post

2 REPLIES 2

Rao Vamshi
Kilo Guru

Hi @Edxavier Robert 

This error message is typically associated with the use of the "Rollback" functionality in an Automated Test Framework (ATF) test. The error indicates that the system is unable to find the correct rollback context ID for the step being executed.

The most common cause of this error is a mismatch between the rollback context ID and the test step being executed. This can occur if the context ID has changed since the test was originally created, or if the test step is referencing the wrong context ID.

To resolve this issue, you may want to try the following steps:

1. Verify that the rollback context ID referenced in the test step is correct.
2. Check to see if the context ID has changed since the test was created and update the test step accordingly.
3. Ensure that the rollback context is enabled for the test.
4. Try running the test again after updating the context ID in the test step.


Please mark correct/helpful, if your query has been addressed and/or answered!



Thanks,
Vamshi

Edxavier Robert
Mega Sage

Thanks @Rao Vamshi for your response. In effect that was the issue. When I clone down my PROD instance to DEV the sys_number_counter was in the exclude list. So, there was a miss match between the sys_number_counter and sys_rollback_context. 

 

The sys_number_counter need to be the same as the last record on the sys_rollback_context table.