* checkbox-ng:commands:newcli: Automatically export results to JSON
The json result file will be automatically saved as:
~/.local/share/plainbox/results.json Fixes
https://bugs.launchpad.net/checkbox-ng/+bug/1452217
* checkbox-ng:service: remove zombie session after restarting In
checkbox-gui when session got restarted, new session would be
created and added to session_list in a kind of zombie state, as it
has had remove() called on it before. This led to weird behaviour
of pulling some stuff from half-dead session like no generated
jobs from local ones. This patch gets rid of those dangling
zombie-sessions. Fixes:
https://bugs.launchpad.net/cdts/+bug/1451541
* checkbox-ng:commands:newcli: fix disappearing tests after
rerunning This patch makes reruning not hide some of the tests. It
does so by not updating 'main' runlist, but by using rerun
candidates list instead. Fixes: https://bugs.launchpad.net
/checkbox-ng/+bug/1445001
* checkbox-ng:commands:newcli: make rerun show up only in
interactive sessions This patch makes re-run screen appear only
when running interactive session.
* checkbox-ng: add re-running tests to the flow of checkbox-ng This
patch makes checkbox-ng ask user whether they would like to re-run
any of the tests that crashed or failed. Fixes:
https://bugs.launchpad.net/checkbox-ng/+bug/1328479
* checkbox-ng: add re-run screen This patch adds a class that
handles selection of tests to be re-run. It uses
ScrollableTreeNode class as the base changing repainting and event
handler.
* checkbox-ng:service: assign to ObjectWrapper.native with lock held
* Revert "checkbox-ng:service: use custom dbus object path for
results" This reverts commit
53e26723a496eaee7d27e7eaf051b259e1550371.
* checkbox-ng:service: use custom dbus object path for results This
patch changes the way object paths are created for results so that
they don't reflect the identity of the wrapped object, but
instead, of the wrapper itself.
* checkbox-ng:service: create new objects on result modification
This patch does three tightly coupled things: - It entirely
prevents any modifications to job results, as seen in the service
(while keeping the interface that allows one to do so over dbus).
Each such change is now replaced by the creation of a new result
that internally replaces the last one. - It removes all signal
handling related to such modifications (so no more
subscribe/unsubscribe calls) - It suppresses a KeyError that would
be raised when a (replaced) result was being removed. This can
happen when a result replaces itself (internally) and we try to
remove the old instance again (only holding the python-side, aka
native, object as the key).
* checkbox-ng:service: use JobResultBuilder for SetOutcome() This
patch uses a result builder in the sequence of calls that
implement the SetOutcome logic (used for manual and interactive
jobs only). This is done to prevent modification of any existing
result.
* checkbox-ng:dbus_ex: add setter for ObjectWrapper.native This
patch makes it possible to re-target an ObjectWrapper so that from
the outside, nothing changes, but on the inside, the object being
wrapped (the python object being wrapped with a dbus interface) is
indeed changed. The main motivation for this change is to make it
possible to re-wire results on any change (which are about to
become immutable).
* checkbox-ng:commands:newcli: don't clobber outcome This patch
makes checkbox-ng create a new result object rather than modifying
the existing one before a re-run session.
* checkbox-ng:commands:sru: Create the session with exporter units
included Add exporters to the list of units in order to get them
from the session manager exporter_map property. Fixes:
https://bugs.launchpad.net/plainbox-provider-canonical-
certification/+bug/1469106
* checkbox-ng: Use the new exporter units By default the exporter
units are those available in the plainbox special provider so that
existing cli based launchers can still work with units. The cli
launcher gets a new config section for exporter units in the form
of: [exporter] exporter_unit_id_1 exporter_unit_id_2 ...