Open pieqq opened 1 year ago
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/CHECKBOX-1287.
This message was autogenerated
@Hook25 I think you already fixed that. Would like you to confirm that it indeed is fixed.
Bug Description
When resuming a test session, if the last run job has already an outcome and comments set, the
re-run
choice does not work and just continues to the next job.Two ways of fixing the issue:
To Reproduce
q => save the session and quit
(this means that the last job run has had a outcome set already)checkbox-cli
r => resume this session
. A message should be displayed, such asPrevious session run tried to execute job: com.canonical.certification::smoke/user-interact
r => run it again
Expected output
The job mentioned in step 4 is re-run.
Actual output
The job mentioned in step 4 is not re-run; instead, the next job is started.
Environment
Checkbox v2.4 (local mode)
Relevant log output
I restart Checkbox and resume the session. When asked, I select to re-run the job, and it works as expected (because the outcome of the last run job,
smoke/manual
, was not set since I exited Checkbox beforehands):Now, I save the session and quit. This time, the last executed job is still
smoke/manual
, but its outcome has been set topass
:This time, when I restart Checkbox, resume the session and select
re-run
, Checkbox moves on to the next job (smoke/user-interact
) instead of actually re-runningsmoke/manual
: