"Rerun last test" or "Continue" caused error and all test results got lost
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PlainBox (Toolkit) |
Fix Released
|
High
|
Zygmunt Krynicki |
Bug Description
Steps:
1. Quit checkbox GUI manually or run poweroff/reboot test and wait it complete
2. Re-launch checkbox GUI
3. Click "Rerun last test" or "Continue..."
Actual result:
NaN% completed showed on status bar and all test results got lost if checking Results
Expected result:
No error and results generated correctly
Packages installed:
Setting up python3-checkbox (0.17.9.
Setting up checkbox (0.17.9.
Setting up checkbox-
Setting up python3-
Setting up plainbox-
Setting up python3-plainbox (0.16~c1~
Setting up python3-checkbox-ng (0.14~c1~
Setting up checkbox-ng (0.14~c1~
Setting up checkbox-ng-service (0.14~c1~
Setting up plainbox-
Setting up plainbox-
Setting up checkbox-gui (0.28~c1~
Setting up checkbox-
Setting up plainbox (0.16~c1~
Setting up plainbox-
Setting up plainbox-
Setting up plainbox-
Setting up plainbox-
Changed in plainbox-provider-checkbox: | |
milestone: | none → 0.15 |
affects: | checkbox-gui → plainbox |
Changed in plainbox: | |
milestone: | none → 0.17 |
The root cause seems to be this crash:
Traceback (most recent call last): python3/ dist-packages/ checkbox_ ng/dbus_ ex/decorators. py", line 223, in sanity python3/ dist-packages/ checkbox_ ng/service. py", line 990, in Remove native. remove( ) python3/ dist-packages/ plainbox/ impl/session/ legacy. py", line 171, in remove manager. destroy( ) python3/ dist-packages/ plainbox/ impl/session/ legacy. py", line 184, in manager _commit_ manager( ) python3/ dist-packages/ plainbox/ impl/session/ legacy. py", line 202, in _commit_manager _commit_ resume( ) python3/ dist-packages/ plainbox/ impl/session/ legacy. py", line 226, in _commit_resume python3/ dist-packages/ plainbox/ impl/session/ manager. py", line 331, in load_session lper(unit_ list).resume( data, early_cb) python3/ dist-packages/ plainbox/ impl/session/ resume. py", line 218, in resume json(json_ repr, early_cb) python3/ dist-packages/ plainbox/ impl/session/ resume. py", line 243, in _resume_json job_list) .resume_ json(json_ repr, early_cb) python3/ dist-packages/ plainbox/ impl/session/ resume. py", line 446, in resume_json SessionState( session_ repr, early_cb) python3/ dist-packages/ plainbox/ impl/session/ resume. py", line 472, in _build_SessionState _restore_ SessionState_ jobs_and_ results( session, session_repr) python3/ dist-packages/ plainbox/ impl/session/ resume. py", line 508, in _restore_ SessionState_ jobs_and_ results _process_ job(session, jobs_repr, results_repr, job_id) python3/ dist-packages/ plainbox/ impl/session/ resume. py", line 576, in _process_job python3/ dist-packages/ plainbox/ impl/session/ resume. py", line 793, in _validate nError( error_msg) impl.session. resume. CorruptedSessio nError: Missing value for key '2013.com. canonical. certification: :acpi_sleep_ attachment'
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.job_list, last_storage, lambda session: self)
File "/usr/lib/
state = SessionResumeHe
File "/usr/lib/
return self._resume_
File "/usr/lib/
self.
File "/usr/lib/
return self._build_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
results_repr, key=job_id, value_type=list, value_none=True)
File "/usr/lib/
raise CorruptedSessio
plainbox.
I need to check out the session to know more (it's attached so no more data is needed at this time)