Comment 0 for bug 1783532

Revision history for this message
Ray Chen (ray.chen) wrote :

Steps to reproduced
1. Run checkbox-cli slave and checkbox-cli remote localhost on DUT
2. After few tests, Hit Ctrl-C twice to disconnect form slave
3. Resume checkbox-cli master DUT_IP on another machine

got below traceback

u@Ray-ConsoleWatcher-Inspiron-5477-AIO:~$ checkbox-cli master 10.101.46.163
Connecting to 10.101.46.163:18871. Timeout: 30s
rejoined session. Running job (50/434): com.canonical.certification::audio/channels
Enter sudo password:

-------------------------------[ audio/channels ]-------------------------------
ID: com.canonical.certification::audio/channels
Category: Audio tests

                        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/remote.py", line 170, in invoked
    self.connect_and_run(ctx.args.host, port)
  File "/usr/lib/python3/dist-packages/checkbox_ng/launcher/remote.py", line 224, in connect_and_run
    }[state]()
  File "/usr/lib/python3/dist-packages/checkbox_ng/launcher/remote.py", line 348, in wait_and_continue
    self.continue_session()
  File "/usr/lib/python3/dist-packages/checkbox_ng/launcher/remote.py", line 352, in continue_session
    self.run_jobs(todo)
  File "/usr/lib/python3/dist-packages/checkbox_ng/launcher/remote.py", line 364, in run_jobs
    for interaction in self.sa.run_job(job['id']):
  File "/usr/lib/python3/dist-packages/plainbox/vendor/rpyc/core/netref.py", line 199, in __call__
    return syncreq(_self, consts.HANDLE_CALL, args, kwargs)
  File "/usr/lib/python3/dist-packages/plainbox/vendor/rpyc/core/netref.py", line 72, in syncreq
    return conn.sync_request(handler, oid, *args)
  File "/usr/lib/python3/dist-packages/plainbox/vendor/rpyc/core/protocol.py", line 523, in sync_request
    raise obj
_get_exception_class.<locals>.Derived: expected ('testsselected',), is running

========= Remote Traceback (1) =========
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/plainbox/vendor/rpyc/core/protocol.py", line 347, in _dispatch_request
    res = self._HANDLERS[handler](self, *args)
  File "/usr/lib/python3/dist-packages/plainbox/vendor/rpyc/core/protocol.py", line 624, in _handle_call
    return self._local_objects[oid](*args, **dict(kwargs))
  File "/usr/lib/python3/dist-packages/plainbox/impl/session/remote_assistant.py", line 169, in fun
    "expected %s, is %s" % (states, self._state))
AssertionError: expected ('testsselected',), is running

  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!

================================================================================
The DUT are 18.04 and remote master are 16.04