Duckietown Challenges Home Challenges Submissions

Job 33359

Job ID33359
submission6802
userAnthony Courchesne 🇨🇦
user labelbaseline-duckietown
challengeaido5-LF-sim-validation
stepLFv-sim
statusfailed
up to date Note that this job is not up to date; the challenge has been changed.
evaluatorreg09
date started
date completed
duration0:01:05
message
InvalidSubmission: T [...]
InvalidSubmission:
Traceback (most recent call last):
  File "experiment_manager.py", line 443, in run_episode
    r: MsgReceived = await loop.run_in_executor(executor, f)
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.8/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 133, in write_topic_and_expect
    ob: MsgReceived = self.read_one(expect_topic=expect, timeout=timeout)
  File "/usr/local/lib/python3.8/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 216, in read_one
    msgs = read_reply(self.fpout, timeout=timeout, waiting_for=waiting_for, nickname=self.nickname,)
  File "/usr/local/lib/python3.8/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 299, in read_reply
    others = read_until_over(fpout, timeout=timeout, nickname=nickname)
  File "/usr/local/lib/python3.8/site-packages/zuper_nodes_wrapper/wrapper_outside.py", line 327, in read_until_over
    raise RemoteNodeAborted(m)
zuper_nodes.structures.RemoteNodeAborted: External node "ego" aborted:

error in ego |Exception while handling a message on topic "get_commands".
             |
             || Traceback (most recent call last):
             ||   File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper.py", line 319, in loop
             ||     handle_message_node(parsed, receiver0, context0)
             ||   File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper.py", line 474, in handle_message_node
             ||     call_if_fun_exists(agent, expect_fn, data=ob, context=context, timing=timing)
             ||   File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/utils.py", line 21, in call_if_fun_exists
             ||     f(**kwargs)
             ||   File "solution.py", line 66, in on_received_get_commands
             ||     context.write('commands', commands)
             ||   File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper.py", line 99, in write
             ||     self._write(topic, data, timing, with_schema)
             ||   File "/usr/local/lib/python3.8/dist-packages/zuper_nodes_wrapper/wrapper.py", line 112, in _write
             ||     check_isinstance(data, klass)
             ||   File "/usr/local/lib/python3.8/dist-packages/zuper_commons/types/zc_checks.py", line 13, in check_isinstance
             ||     raise_type_mismatch(ob, expected, **kwargs)
             ||   File "/usr/local/lib/python3.8/dist-packages/zuper_commons/types/zc_checks.py", line 25, in raise_type_mismatch
             ||     raise ZValueError(msg, expected=expected, obtained=type(ob), **kwargs)
             || zuper_commons.types.exceptions.ZValueError: Object not of expected type:
             || │ expected: dataclass aido_schemas.schemas.Duckiebot1Commands
             || │            field  wheels : dataclass aido_schemas.schemas.PWMCommands
             || │                             field  motor_left : float
             || │                             field motor_right : float
             || │                                       __doc__
             || │                                                         PWM commands are floats between -1 and 1.
             || │            field    LEDS : dataclass aido_schemas.schemas.LEDSCommands
             || │                             field      center : dataclass aido_schemas.schemas.RGB
             || │                                                  field       r : float
             || │                                                  field       g : float
             || │                                                  field       b : float
             || │                                                        __doc__   RGB(r: float, g: float, b: float)
             || │                             field  front_left : dataclass aido_schemas.schemas.RGB
             || │                                                  field       r : float
             || │                                                  field       g : float
             || │                                                  field       b : float
             || │                                                        __doc__   RGB(r: float, g: float, b: float)
             || │                             field front_right : dataclass aido_schemas.schemas.RGB
             || │                                                  field       r : float
             || │                                                  field       g : float
             || │                                                  field       b : float
             || │                                                        __doc__   RGB(r: float, g: float, b: float)
             || │                             field   back_left : dataclass aido_schemas.schemas.RGB
             || │                                                  field       r : float
             || │                                                  field       g : float
             || │                                                  field       b : float
             || │                                                        __doc__   RGB(r: float, g: float, b: float)
             || │                             field  back_right : dataclass aido_schemas.schemas.RGB
             || │                                                  field       r : float
             || │                                                  field       g : float
             || │                                                  field       b : float
             || │                                                        __doc__   RGB(r: float, g: float, b: float)
             || │                                       __doc__   LEDSCommands(center: aido_schemas.schemas.RGB, fro
             || │                  __doc__   Duckiebot1Commands(wheels: aido_schemas.schemas.PW
             || │ obtained: dict
             || │   object: dict[2]
             || │           │ wheels: {motor_left: 0.0, motor_right: 0.0}
             || │           │ LEDS:
             || │           │ dict[5]
             || │           │ │ center: {r: 0.5, g: 0.5, b: 0.5}
             || │           │ │ front_left: {r: 0.5, g: 0.5, b: 0.5}
             || │           │ │ front_right: {r: 0.5, g: 0.5, b: 0.5}
             || │           │ │ back_left: {r: 0.5, g: 0.5, b: 0.5}
             || │           │ │ back_right: {r: 0.5, g: 0.5, b: 0.5}
             ||

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/duckietown_challenges/cie_concrete.py", line 666, in scoring_context
    yield cie
  File "experiment_manager.py", line 607, in <module>
    wrap(cie)
  File "experiment_manager.py", line 595, in wrap
    asyncio.run(main(cie, logdir, attempts), debug=True)
  File "/usr/local/lib/python3.8/asyncio/runners.py", line 43, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "experiment_manager.py", line 213, in main
    length_s = await run_episode(
  File "experiment_manager.py", line 447, in run_episode
    raise dc.InvalidSubmission(msg) from e
duckietown_challenges.exceptions.InvalidSubmission: Trouble with communication to the agent.
Artefacts hidden. If you are the author, please login using the top-right link or use the dashboard.

Highlights

Artifacts

The artifacts are hidden.

Container logs

The logs are hidden.