comments are not preserved in some cases (user-interact)

Bug #1458577 reported by Zygmunt Krynicki
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PlainBox (Toolkit)
Fix Released
High
Unassigned

Bug Description

}vagrant@vagrant-ubuntu-trusty-32:~/src/plainbox$ stubbox run -i 2013.com.canonical.plainbox::representative/plugin/user-interact -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 ]------------------------
ID: 2013.com.canonical.plainbox::representative/plugin/user-interact
Category: 2013.com.canonical.plainbox::plugin-representative
Job with plugin=user-interact
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
Pick an action
    => press ENTER to continue
  c => add a comment
  s => skip this job
  q => save the session and quit
[csq]:
... 8< -------------------------------------------------------------------------
(interaction)
------------------------------------------------------------------------- >8 ---
Outcome: job passed
==================================[ Results ]===================================
{
    "result_map": {
        "2013.com.canonical.plainbox::representative/plugin/user-interact": {
            "summary": "Job with plugin=user-interact",
            "category_id": "2013.com.canonical.plainbox::plugin-representative",
            "outcome": "pass",
            "execution_duration": 4.600465774536133,
            "comments": null,
            "io_log": [
                [
                    0.005313,
                    "stdout",
                    "KGludGVyYWN0aW9uKQo="
                ]
            ]
        }
    }
}vagrant@vagrant-ubuntu-trusty-32:~/src/plainbox$

Related branches

Zygmunt Krynicki (zyga)
Changed in plainbox:
status: New → In Progress
assignee: nobody → Zygmunt Krynicki (zyga)
milestone: none → 0.22
importance: Undecided → High
Changed in plainbox:
milestone: 0.22 → 0.23
Changed in plainbox:
milestone: 0.23 → 0.24
Changed in plainbox:
milestone: 0.24 → 0.25
Pierre Equoy (pieq)
Changed in plainbox:
milestone: 0.25 → 0.26
Changed in plainbox:
assignee: Zygmunt Krynicki (zyga) → Sylvain Pineau (sylvain-pineau)
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

11:57 <@zyga> spineau: that bug is more complex
11:57 <@zyga> spineau: +1 on the merge but there's a different problem there too
11:57 <@zyga> spineau: you can Ctrl-C at so many places after entering input and before we have a result
11:57 <@zyga> spineau: that we still lose stuff
11:57 <@zyga> spineau: the only way to solve that would to instantly keep a partial "under construction" result in the session somewhere
11:58 <@spineau> zyga: I see

Changed in plainbox:
assignee: Sylvain Pineau (sylvain-pineau) → nobody
status: In Progress → Triaged
Changed in plainbox:
milestone: 0.26 → 0.27
Pierre Equoy (pieq)
Changed in plainbox:
milestone: 0.27 → 0.28
Pierre Equoy (pieq)
Changed in plainbox:
milestone: 0.28 → 0.29
Pierre Equoy (pieq)
Changed in plainbox:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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