Project

General

Profile

Actions

action #66619

closed

OpenQA jobs roll back to the wrong snapshot on hard test failure

Added by MDoucha over 4 years ago. Updated over 3 years ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2020-05-07
Due date:
% Done:

0%

Estimated time:

Description

When a job includes multiple modules that create a snapshot, VM rollback appears to always use the very first snapshot instead of the last one.

Example: https://openqa.suse.de/tests/4203253#step/AD044/6
Module AD043 failed and triggered VM rollback. The remaining modules then fail with the following error:

/tmp/aiodio/junkfile: No such file or directory

This means that the VM was rolled back all the way to boot_ltp. But it was supposed to use the snapshot created by create_junkfile_ltp.

This does not appear to be a new issue. The same error appears in all LTP aiodio jobs which failed since VM rollback was enabled for them by https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/9264
Oldest known example: https://openqa.suse.de/tests/3987350#step/AD037/6

Actions

Also available in: Atom PDF