- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2018 09:32 AM
My scheduled overnight tests in Dev hung for no obvious reason and I ended up killing the job after 12 hours runtime. There are no active/pending tests or transactions (besides my current one) but I'm seeing this error in the logs and manually executed tests aren't rolling back.
"ATFRollback: Rollback denied for reason: A rollback context exists in an active state (e2617861db8f57006dfb9532ca961920), you cannot rollback while another context is in progress or reverting"
Does anyone know how I can fix this? I'm assuming that a system clone would clear the slate but I'd rather not do one at present if I can avoid it.
Solved! Go to Solution.
- Labels:
-
Automated Test Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2019 03:13 AM
Late, but maybe it will help someone else struggling with this issue.
The ATF was not rolling back the changes and the data created in the test were not removed.
I checked the log, filtered it by ATF and there was this error:
"ATFRollback: Rollback denied for reason: A rollback context exists in an active state (e2617861db8f57006dfb9532ca961920), you cannot rollback while another context is in progress or reverting"
There is an active record in sys_rollback_context table. You need to change to state from active to not active (Rolled back)
Run a script in the background script to change the state of the active record in sys_rollback_context table to Rolled back.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2019 05:25 AM
Hi Pavia,
Thanks a lot. It solved my problem!!!
Regards,
Yingli Ni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2019 12:05 AM
Hi,
is there a way to make the unfinished rollback to finish rather than just change its state? I'm asking because I actually need the data to be deleted. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2019 01:03 AM
A colleague advised me there is a Rollback UI action in the rollback context form which seems to be working (will need some more time to test properly)