← Back to issue list

plainbox test failure

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1796000
Type
issue
State
closed
Author
~sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Plainbox/checkbox exporter failure was fixed by updating the checkbox-ng dependency in the plainbox spread run (commit bcf9ba69d); the maintainer closed the issue as already fixed.

Resolution: closed resolved

Reason: Commit bcf9ba69d updated the checkbox-ng dependency used by the plainbox spread run, resolving the exporter failure. Maintainer ~kissiel closed the issue on 2020-04-09, noting it had already been fixed more than a year earlier.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Figure out why checkbox-simple.checkbox-cli run com.example::always-pass returns https://travis-ci.org/snapcore/snapcraft/jobs/436438859#L1560 est_install_and_execution (tests.integration.snapd.test_checkbox_snap.CheckboxTestCase) Problems encountered when loading com.canonical.plainbox:exporters provider: [PlugInError("Problem in unit definition, \x1b[31m\x1b[1merror\x1b[0m: /snap/checkbox-simple/x1/lib/python3.5/site-packages/plainbox/impl/providers/exporters/units/exporter.pxu:24: exporter 'tar', field 'entry_point', 'extra' does not exist in evaluation environment.",)] ===========================[ Running Selected Jobs ]============================ --------------[ Running job 1 / 1. Estimated time left: 0:00:00 ]--------------- -------------------------[ A test that always passes ]-------------------------- ID: com.example::always-pass Category: com.example::simple ... 8< ------------------------------------------------------------------------- ------------------------------------------------------------------------- >8 --- Outcome: job passed Finalizing session that hasn't been submitted anywhere: checkbox-run-2018-10-03T04.25.30 ==================================[ Results ]=================================== Application Malfunction Detected Traceback (most recent call last): File "/snap/checkbox-simple/x1/lib/python3.5/site-packages/guacamole/core.py", line 248, in eat return self._dispatch() File "/snap/checkbox-simple/x1/lib/python3.5/site-packages/guacamole/core.py", line 298, in _dispatch result = ingredient.dispatch(self.context) File "/snap/checkbox-simple/x1/lib/python3.5/site-packages/guacamole/ingredients/cmdtree.py", line 152, in dispatch return self._dispatch(context, 0) File "/snap/checkbox-simple/x1/lib/python3.5/site-packages/guacamole/ingredients/cmdtree.py", line 179, in _dispatch return self._dispatch_None(context, level, retval, command) File "/snap/checkbox-simple/x1/lib/python3.5/site-packages/guacamole/ingredients/cmdtree.py", line 208, in _dispatch_None return self._dispatch(context, level + 1) File "/snap/checkbox-simple/x1/lib/python3.5/site-packages/guacamole/ingredients/cmdtree.py", line 165, in _dispatch retval = command.invoked(context) File "/snap/checkbox-simple/x1/lib/python3.5/site-packages/checkbox_ng/launcher/subcommands.py", line 791, in invoked self._print_results() File "/snap/checkbox-simple/x1/lib/python3.5/site-packages/checkbox_ng/launcher/subcommands.py", line 846, in _print_results self.exporter, transport, self.exporter_opts) File "/snap/checkbox-simple/x1/lib/python3.5/site-packages/plainbox/impl/decorators.py", line 142, in wrapper raise exc File "/snap/checkbox-simple/x1/lib/python3.5/site-packages/plainbox/impl/decorators.py", line 136, in wrapper return func(*args, **kwargs) File "/snap/checkbox-simple/x1/lib/python3.5/site-packages/plainbox/impl/session/assistant.py", line 1533, in export_to_transport exporter = self._manager.create_exporter(exporter_id, options) File "/snap/checkbox-simple/x1/lib/python3.5/site-packages/plainbox/impl/session/manager.py", line 504, in create_exporter exporter_support = self.exporter_map[exporter_id] KeyError: 'com.canonical.plainbox::text' Please report a bug including the information from the paragraph above. To report the bug visit https://bugs.launchpad.net/checkbox-ng/+filebug We are sorry for the inconvenience!

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Plainbox/checkbox exporter failure was fixed by updating the checkbox-ng dependency in the plainbox spread run (commit bcf9ba69d); the maintainer closed the issue as already fixed.
stealth/space-bunny-alpha — closed resolved Plainbox test failure was already fixed; maintainer ~kissiel closed the issue as obsolete in April 2020.
stealth/space-bunny-alpha — closed resolved Plainbox/checkbox exporter failure was fixed by updating checkbox-ng in the plainbox spread run (commit bcf9ba69d); the maintainer later closed the issue as already fixed.
stealth/space-bunny-alpha — closed resolved Resolved by updating the Checkbox NG dependency in the Plainbox test, fixing the missing exporter and KeyError for com.canonical.plainbox::text.
stealth/space-bunny-alpha — closed resolved Fixed by updating the Checkbox NG dependency in the Plainbox test, resolving the exporter mismatch (commit bcf9ba69d).
qwen/qwen3.6-35b-a3b — — Closed without comments or resolution. The plainbox test failure involving a missing exporter key and plugin error was abandoned or resolved upstream. No fix details provided.
qwen/qwen3.6-35b-a3b — — Closed without resolution or comments after 500 days. The issue reported a plainbox exporter configuration error causing test failures in checkbox-simple. Likely abandoned.
qwen/qwen3.6-35b-a3b — — Closed without comments or recorded resolution. The plainbox exporter configuration error and KeyError were likely abandoned or resolved upstream due to prolonged inactivity.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution or comments. The plainbox exporter KeyError and plugin error were likely abandoned or resolved by upstream updates.

Update history

Date Change
created

Related work

  • Likely Fixed By: bcf9ba69d (confidence 100%)

    Commit message identifies the checkbox-ng dependency update that addressed the failing plainbox spread test.

Related issues

Issue Project State Summary Similarity
#1931 No plainbox snapcraft merged Merged PR #1931 (b7d3662a4), replacing obsolete Plainbox app and test parts with checkbox-cli/checkbox-ng and removing Plainbox from provider tests.
78%
#1889 tests: remove plainbox part from plugin tests snapcraft merged Merged #1889 (commit df9f7f795), removing the obsolete plainbox part from plugin tests after Plainbox was folded into Checkbox, fixing integration-test failures.
74%
#2140 lp 1768233 workaround for plainbox_provider plugin snapcraft merged Merged PR #2140, restoring plainbox-provider Checkbox builds by adding pip, setuptools and wheel as stage-packages, with an integration test (commit d932f0fc6).
70%