comments are not preserved in some cases (skipping after resume)

Bug #1458587 reported by Zygmunt Krynicki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PlainBox (Toolkit)
New
Undecided
Unassigned

Bug Description

}vagrant@vagrant-ubuntu-trusty-32:~/src/plainbox$ stubbox run -i 2013.com.canonical.plainbox::representative/plugin/user-interact-verify -f json -p with-io-log,with-comments
==========================[ Analyzing Jobs ]==========================
========================[ Session Statistics ]========================
This session is about 0.00% complete
Estimated duration cannot be determined for automated jobs.
Estimated duration is 60.00 for manual jobs.
Size of the desired job list: 1
Size of the effective execution plan: 1
======================[ Running Selected Jobs ]=======================
---------[ Running job 1 / 1. Estimated time left: 0:00:30 ]----------
---------------[ Job with plugin=user-interact-verify ]---------------
ID: 2013.com.canonical.plainbox::representative/plugin/user-interact-verify
Category: 2013.com.canonical.plainbox::plugin-representative
Job with plugin=user-interact-verify
Pick an action
    => press ENTER to continue
  c => add a comment
  s => skip this job
  q => save the session and quit
[csq]: c
Please enter your comments:
before
Job with plugin=user-interact-verify
Pick an action
    => press ENTER to continue
  c => add a comment
  s => skip this job
  q => save the session and quit
[csq]: q
vagrant@vagrant-ubuntu-trusty-32:~/src/plainbox$ stubbox run -i 2013.com.canonical.plainbox::representative/plugin/user-interact-verify -f json -p with-io-log,with-comments
====================[ Resume Incomplete Session ]=====================
There is 1 incomplete session that might be resumed
Do you want to resume session 'pbox-x29r_rql'?
  r => resume this session
  n => next session
  c => create new session
[rnc]: r
Previous session run tried to execute job: 2013.com.canonical.plainbox::representative/plugin/user-interact-verify
What do you want to do with that job?
  s => skip that job
  p => mark it as passed and continue
  f => mark it as failed and continue
  r => run it again
[spfr]: s
========================[ Session Statistics ]========================
This session is about 100.00% complete
Estimated duration cannot be determined for automated jobs.
Estimated duration is 60.00 for manual jobs.
Size of the desired job list: 1
Size of the effective execution plan: 1
======================[ Running Selected Jobs ]=======================
=============================[ Results ]==============================
{
    "result_map": {
        "2013.com.canonical.plainbox::representative/plugin/user-interact-verify": {
            "summary": "Job with plugin=user-interact-verify",
            "category_id": "2013.com.canonical.plainbox::plugin-representative",
            "outcome": "skip",
            "comments": "Skipped after resuming execution",
            "io_log": []
        }
    }
}vagrant@vagrant-ubuntu-trusty-32:~/src/plainbox$

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.