plainbox.impl.depmgr.DependencyDuplicateError: duplicate job id: 'com.canonical.certification::wireless/wireless_scanning_UNKNOWN'

Bug #1749857 reported by dann frazier
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
High
Sylvain Pineau

Bug Description

Hi - I tried installing and running the test suite manually, as described in the self testing guide, but it is failing with this error. I tried clearing cache, etc - but no lu

Freshly installed w/ a standard MAAS (official images), but with a PPA kernel. Systems are arm64.

ubuntu@grotrian:~$ canonical-certification-server
=========================[ Resume Incomplete Session ]==========================
There are 0 incomplete sessions that might be resumed
Preparing...
============[ Bootstrap com.canonical.certification::device (1/3) ]=============
ERROR:plainbox.bug:Undeclared exception DependencyDuplicateError raised from use_job_result

                        Application Malfunction Detected

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/guacamole/core.py", line 248, in eat
    return self._dispatch()
  File "/usr/lib/python3/dist-packages/guacamole/core.py", line 298, in _dispatch
    result = ingredient.dispatch(self.context)
  File "/usr/lib/python3/dist-packages/guacamole/ingredients/cmdtree.py", line 152, in dispatch
    return self._dispatch(context, 0)
  File "/usr/lib/python3/dist-packages/guacamole/ingredients/cmdtree.py", line 179, in _dispatch
    return self._dispatch_None(context, level, retval, command)
  File "/usr/lib/python3/dist-packages/guacamole/ingredients/cmdtree.py", line 208, in _dispatch_None
    return self._dispatch(context, level + 1)
  File "/usr/lib/python3/dist-packages/guacamole/ingredients/cmdtree.py", line 165, in _dispatch
    retval = command.invoked(context)
  File "/usr/lib/python3/dist-packages/checkbox_ng/launcher/subcommands.py", line 218, in invoked
    self._start_new_session()
  File "/usr/lib/python3/dist-packages/checkbox_ng/launcher/subcommands.py", line 375, in _start_new_session
    self._run_bootstrap_jobs(bs_jobs)
  File "/usr/lib/python3/dist-packages/checkbox_ng/launcher/stages.py", line 231, in _run_bootstrap_jobs
    self.sa.use_job_result(job_id, result_builder.get_result())
  File "/usr/lib/python3/dist-packages/plainbox/impl/decorators.py", line 142, in wrapper
    raise exc
  File "/usr/lib/python3/dist-packages/plainbox/impl/decorators.py", line 136, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/plainbox/impl/session/assistant.py", line 1407, in use_job_result
    self._context.state.update_job_result(job, result)
  File "/usr/lib/python3/dist-packages/plainbox/impl/session/state.py", line 1001, in update_job_result
    job.controller.observe_result(self, job, result)
  File "/usr/lib/python3/dist-packages/plainbox/impl/ctrl.py", line 259, in observe_result
    self._process_resource_result(session_state, job, result)
  File "/usr/lib/python3/dist-packages/plainbox/impl/ctrl.py", line 267, in _process_resource_result
    self._instantiate_templates(session_state, job, result)
  File "/usr/lib/python3/dist-packages/plainbox/impl/ctrl.py", line 320, in _instantiate_templates
    session_state.add_unit(new_unit)
  File "/usr/lib/python3/dist-packages/plainbox/impl/session/state.py", line 1076, in add_unit
    return self._add_job_unit(new_unit, recompute)
  File "/usr/lib/python3/dist-packages/plainbox/impl/session/state.py", line 1103, in _add_job_unit
    raise DependencyDuplicateError(existing_job, new_job)
plainbox.impl.depmgr.DependencyDuplicateError: duplicate job id: 'com.canonical.certification::wireless/wireless_scanning_UNKNOWN'

  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!

ubuntu@grotrian:~$

Related branches

Rod Smith (rodsmith)
Changed in checkbox-ng:
importance: Undecided → High
Revision history for this message
dann frazier (dannf) wrote :

Note that this seems to be platform specific. I'm able to successfully deploy/install & run cert tests on other models of arm64 servers from the same MAAS, but not on these Cavium ThunderX CRBs.

Changed in checkbox-ng:
assignee: nobody → Sylvain Pineau (sylvain-pineau)
affects: checkbox-ng → plainbox-provider-checkbox
Changed in plainbox-provider-checkbox:
milestone: none → 0.43.0
status: New → In Progress
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Revision history for this message
dann frazier (dannf) wrote :

Thanks for the fix! Do you have an ETA when this will be available in the certification PPA?

Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.