fwts_test.py Traceback on Artful
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Support Library |
Fix Released
|
High
|
Maciej Kisielewski |
Bug Description
[Description]
When running suspend/
No protocol specified
Unable to init server: Could not connect: Connection refused
(zenity:6790): Gtk-WARNING **: cannot open display: :0
=======
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
progress_
BrokenPipeError: [Errno 32] Broken pipe
[Steps to Reproduce]
Run sru.pxu of the plainbox-
For example, run
checkbox-cli /usr/bin/
ubuntu@
#!/usr/bin/env checkbox-cli
[launcher]
launcher_version = 1
[config]
config_filename = $HOME/taipeilab
[test plan]
unit = com.canonical.
forced = yes
[test selection]
forced = yes
[ui]
type = silent
auto_retry = yes
max_attempts = 3
delay_before_retry = 15
taipeilab.conf contains private lab env variables that I don't want to show publicly.
[Expected Results]
The system performs the suspend and passes the test.
[Actual Result]
The test job failed and showed the Traceback information.
[More Information]
Issuing this command directly could not reproduce this issue:
checkbox-cli run com.canonical.
ubuntu@
=======
--------------[ Running job 1 / 3. Estimated time left: 0:01:30 ]---------------
-------
ID: com.canonical.
Category: com.canonical.
... 8< -------
state: supported
-------
Outcome: job passed
--------------[ Running job 2 / 3. Estimated time left: 0:01:30 ]---------------
-------
ID: com.canonical.
Category: com.canonical.
... 8< -------
freeze: supported
mem: supported
disk: supported
-------
Outcome: job passed
--------------[ Running job 3 / 3. Estimated time left: 0:01:30 ]---------------
-------
ID: com.canonical.
Category: com.canonical.
... 8< -------
=======
- Cycle 0: Status: PASS Sleep Elapsed: 0.91698 Resume Elapsed: 2.33190
Average time to sleep: 0.91698
Average time to resume: 2.33190
Passed: 1
- sleep
-------
Outcome: job passed
Finalizing session that hasn't been submitted anywhere: checkbox-
=======
☑ : rtc
☑ : sleep
☑ : suspend/
[Package Information]
ubuntu@
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
un checkbox <none> <none> (no description available)
ii checkbox-
ii checkbox-ng 0.35.0+
ii plainbox 0.38.0+
ii plainbox-
ii plainbox-
ii plainbox-
ii plainbox-
un plainbox-
ii python3-checkbox-ng 0.35.0+
ii python3-
ii python3-plainbox 0.38.0+
ubuntu@
ubuntu@
Linux 201507-18697 4.13.0-22-generic #25-Ubuntu SMP Tue Dec 19 11:13:36 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful
ubuntu@
Related branches
- Jonathan Cave (community): Approve
-
Diff: 26 lines (+6/-2)1 file modifiedcheckbox_support/scripts/fwts_test.py (+6/-2)
Changed in checkbox-support: | |
status: | New → In Progress |
assignee: | nobody → Maciej Kisielewski (kissiel) |
importance: | Undecided → High |
milestone: | none → 0.37.0 |
Changed in checkbox-support: | |
status: | In Progress → Fix Committed |
Changed in checkbox-support: | |
status: | Fix Committed → Fix Released |