example launcher in tutorial does not work

Bug #1741117 reported by Jeff Lane 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Next Generation Checkbox (CLI)
Fix Released
Medium
Maciej Kisielewski

Bug Description

So finally, after filing all these bugs:

1741116 Launcher does not list ANY stock reports. Checkbox-ng generates them anyway.
1741115 file output type returns a traceback.
1741111 checkbox-ng ignores UI type declaration in launcher
1741109 checkbox-ng doesn't know what the hide-automated UI output is

I decided to simply copy/paste the example fully automated launcher and try that. It too fails to do anything it's defined to do (other than automatically running the tests. The launcher, as defined in the docs at

http://checkbox.readthedocs.io/en/latest/launcher-tutorial.html

is:

#!/usr/bin/env checkbox-cli

[launcher]
launcher_version = 1
app_id = com.canonical.certification:smoke-test
stock_reports = text

[test plan]
unit = com.canonical.certification::smoke
forced = yes

[test selection]
forced = yes

# ^^ The above parts work.

[ui]
type = silent
# This does not work, it dumps all the standard output to screen.

[transport:out]
type = stream
stream = stdout

[exporter:text]
unit = com.canonical.plainbox::text

[report:screen]
transport = outfile
exporter = text
#^^ this fails with a traceback.

Related branches

Jeff Lane  (bladernr)
Changed in checkbox-ng:
assignee: nobody → Maciej Kisielewski (kissiel)
Changed in checkbox-ng:
status: New → In Progress
importance: Undecided → Medium
milestone: none → 0.36.0
Changed in checkbox-ng:
status: In Progress → Fix Committed
Changed in checkbox-ng:
milestone: 0.36.0 → 1.0.0
Changed in checkbox-ng:
status: Fix Committed → Fix Released
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.