Duckietown Challenges Home Challenges Submissions

Job 24528

Job ID24528
submission4289
userFrank (Chude) Qian 🇨🇦
user labelPredictorLast
challengeaido2-PRED
stepstep1-simulation
statuserror
up to date Note that this job is not up to date; the challenge has been changed.
evaluatorip-172-31-35-218-10491
date started
date completed
duration0:01:09
message
Unexpected exception [...]
Unexpected exception:
Traceback (most recent call last):
  File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 370, in deserialize_dataclass
    attrs[k] = ipce_to_object(v, global_symbols, encountered, expect_type=expect_type)
  File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 310, in ipce_to_object
    return deserialize_Dict(K, mj, global_symbols, encountered)
  File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 428, in deserialize_Dict
    attrs[k] = ipce_to_object(v, global_symbols, encountered, expect_type=V)
  File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 282, in ipce_to_object
    return schema_to_type(schema, global_symbols, encountered)
  File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 453, in schema_to_type
    res = schema_to_type_(schema0, global_symbols, encountered)
  File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 555, in schema_to_type_
    assert False, schema  # pragma: no cover
AssertionError: {'title': 'Any'}

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

Traceback (most recent call last):
  File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 370, in deserialize_dataclass
    attrs[k] = ipce_to_object(v, global_symbols, encountered, expect_type=expect_type)
  File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 315, in ipce_to_object
    return deserialize_dataclass(K, mj, global_symbols, encountered)
  File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 375, in deserialize_dataclass
    raise Exception(msg) from e
Exception: Cannot deserialize attribute inputs (expect: typing.Dict[str, type])
value: {'get_logs': {'type': 'null', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'get_state': {'type': 'null', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'set_state': {'title': 'Any', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'set_config': {'$id': 'http://invalid.json-schema.org/SetConfig#', 'type': 'object', 'order': ['key', 'value'], 'title': 'SetConfig', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['key', 'value'], '__module__': 'zuper_nodes_wrapper.meta_protocol', 'properties': {'key': {'type': 'string', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'value': {'title': 'Any', '$schema': 'http://json-schema.org/draft-07/schema#'}}, 'description': 'SetConfig(key: str, value: Any)', '__qualname__': 'SetConfig'}, 'describe_node': {'type': 'null', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'describe_build': {'type': 'null', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'describe_config': {'type': 'null', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'describe_protocol': {'type': 'null', '$schema': 'http://json-schema.org/draft-07/schema#'}}

| Traceback (most recent call last):
|   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 370, in deserialize_dataclass
|     attrs[k] = ipce_to_object(v, global_symbols, encountered, expect_type=expect_type)
|   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 310, in ipce_to_object
|     return deserialize_Dict(K, mj, global_symbols, encountered)
|   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 428, in deserialize_Dict
|     attrs[k] = ipce_to_object(v, global_symbols, encountered, expect_type=V)
|   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 282, in ipce_to_object
|     return schema_to_type(schema, global_symbols, encountered)
|   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 453, in schema_to_type
|     res = schema_to_type_(schema0, global_symbols, encountered)
|   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 555, in schema_to_type_
|     assert False, schema  # pragma: no cover
| AssertionError: {'title': 'Any'}
| 

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

Traceback (most recent call last):
  File "/project/src/duckietown-challenges/src/duckietown_challenges/cie_concrete.py", line 610, in scoring_context
    yield cie
  File "experiment_manager.py", line 75, in <module>
    main(cie)
  File "experiment_manager.py", line 26, in main
    agent_ci._get_node_protocol()
  File "/project/src/zuper-nodes/src/zuper_nodes_wrapper/wrapper_outside.py", line 79, in _get_node_protocol
    timeout=timeout)
  File "/project/src/zuper-nodes/src/zuper_nodes_wrapper/wrapper_outside.py", line 92, in write_topic_and_expect
    ob: MsgReceived = self.read_one(expect_topic=expect, timeout=timeout)
  File "/project/src/zuper-nodes/src/zuper_nodes_wrapper/wrapper_outside.py", line 211, in read_one
    data = ipce_to_object(msg[FIELD_DATA], {}, expect_type=klass)
  File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 315, in ipce_to_object
    return deserialize_dataclass(K, mj, global_symbols, encountered)
  File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 375, in deserialize_dataclass
    raise Exception(msg) from e
Exception: Cannot deserialize attribute meta (expect: <class 'zuper_nodes.language.InteractionProtocol'>)
value: {'inputs': {'get_logs': {'type': 'null', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'get_state': {'type': 'null', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'set_state': {'title': 'Any', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'set_config': {'$id': 'http://invalid.json-schema.org/SetConfig#', 'type': 'object', 'order': ['key', 'value'], 'title': 'SetConfig', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['key', 'value'], '__module__': 'zuper_nodes_wrapper.meta_protocol', 'properties': {'key': {'type': 'string', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'value': {'title': 'Any', '$schema': 'http://json-schema.org/draft-07/schema#'}}, 'description': 'SetConfig(key: str, value: Any)', '__qualname__': 'SetConfig'}, 'describe_node': {'type': 'null', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'describe_build': {'type': 'null', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'describe_config': {'type': 'null', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'describe_protocol': {'type': 'null', '$schema': 'http://json-schema.org/draft-07/schema#'}}, 'outputs': {'logs': {'type': 'array', 'items': {'type': 'string', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'title': 'List[str]', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'aborted': {'type': 'string', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'node_state': {'title': 'Any', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'set_state_ack': {'type': 'null', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'set_config_ack': {'type': 'null', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'set_state_error': {'type': 'string', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'node_description': {'$id': 'http://invalid.json-schema.org/NodeDescription#', 'type': 'object', 'order': ['description'], 'title': 'NodeDescription', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['description'], '__module__': 'zuper_nodes_wrapper.meta_protocol', 'properties': {'description': {'type': 'string', '$schema': 'http://json-schema.org/draft-07/schema#'}}, 'description': 'NodeDescription(description: str)', '__qualname__': 'NodeDescription'}, 'set_config_error': {'type': 'string', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'build_description': {'$id': 'http://invalid.json-schema.org/BuildDescription#', 'type': 'object', 'order': [], 'title': 'BuildDescription', '$schema': 'http://json-schema.org/draft-07/schema#', '__module__': 'zuper_nodes_wrapper.meta_protocol', 'description': 'BuildDescription()', '__qualname__': 'BuildDescription'}, 'config_description': {'$id': 'http://invalid.json-schema.org/ConfigDescription#', 'type': 'object', 'order': ['config', 'current'], 'title': 'ConfigDescription', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['config', 'current'], '__module__': 'zuper_nodes_wrapper.meta_protocol', 'properties': {'config': {'$ref': 'http://json-schema.org/draft-07/schema#', 'title': 'type'}, 'current': {'title': 'Any', '$schema': 'http://json-schema.org/draft-07/schema#'}}, 'description': 'ConfigDescription(config: type, current: Any)', '__qualname__': 'ConfigDescription'}, 'protocol_description': {'$id': 'http://invalid.json-schema.org/ProtocolDescription#', 'type': 'object', 'order': ['data', 'meta'], 'title': 'ProtocolDescription', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['data', 'meta'], '__module__': 'zuper_nodes_wrapper.meta_protocol', 'properties': {'data': {'$id': 'http://invalid.json-schema.org/InteractionProtocol#', 'type': 'object', 'order': ['description', 'inputs', 'outputs', 'language'], 'title': 'InteractionProtocol', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['description', 'inputs', 'language', 'outputs'], '__module__': 'zuper_nodes.language', 'properties': {'inputs': {'type': 'object', 'title': 'Dict[str,type]', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'$schema': {}}, 'additionalProperties': {'$ref': 'http://json-schema.org/draft-07/schema#', 'title': 'type'}}, 'outputs': {'type': 'object', 'title': 'Dict[str,type]', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'$schema': {}}, 'additionalProperties': {'$ref': 'http://json-schema.org/draft-07/schema#', 'title': 'type'}}, 'language': {'type': 'string', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'description': {'type': 'string', '$schema': 'http://json-schema.org/draft-07/schema#'}}, 'description': 'InteractionProtocol(description: str, inputs: Dict[str, type], outputs: Dict[str, type], language: str)', '__qualname__': 'InteractionProtocol'}, 'meta': {'$id': 'http://invalid.json-schema.org/InteractionProtocol#', 'type': 'object', 'order': ['description', 'inputs', 'outputs', 'language'], 'title': 'InteractionProtocol', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['description', 'inputs', 'language', 'outputs'], '__module__': 'zuper_nodes.language', 'properties': {'inputs': {'type': 'object', 'title': 'Dict[str,type]', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'$schema': {}}, 'additionalProperties': {'$ref': 'http://json-schema.org/draft-07/schema#', 'title': 'type'}}, 'outputs': {'type': 'object', 'title': 'Dict[str,type]', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'$schema': {}}, 'additionalProperties': {'$ref': 'http://json-schema.org/draft-07/schema#', 'title': 'type'}}, 'language': {'type': 'string', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'description': {'type': 'string', '$schema': 'http://json-schema.org/draft-07/schema#'}}, 'description': 'InteractionProtocol(description: str, inputs: Dict[str, type], outputs: Dict[str, type], language: str)', '__qualname__': 'InteractionProtocol'}}, 'description': 'ProtocolDescription(data: zuper_nodes.language.InteractionProtocol, meta: zuper_nodes.language.InteractionProtocol)', '__qualname__': 'ProtocolDescription'}}, 'language': '((in:describe_config ; out:config_description) | (in:set_config ; (out:set_config_ack | out:set_config_error)) | (in:describe_protocol ; out:protocol_description) | (in:describe_node ; out:node_description) | (in:describe_build ; out:build_description) | (in:get_state ; out:node_state) | (in:set_state ; (out:set_state_ack | out:set_state_error)) | (in:get_logs ; out:logs) | out:aborted)*', 'description': '\nBasic interaction protocol for nodes spoken by the node wrapper.\n\n    '}

| Traceback (most recent call last):
|   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 370, in deserialize_dataclass
|     attrs[k] = ipce_to_object(v, global_symbols, encountered, expect_type=expect_type)
|   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 310, in ipce_to_object
|     return deserialize_Dict(K, mj, global_symbols, encountered)
|   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 428, in deserialize_Dict
|     attrs[k] = ipce_to_object(v, global_symbols, encountered, expect_type=V)
|   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 282, in ipce_to_object
|     return schema_to_type(schema, global_symbols, encountered)
|   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 453, in schema_to_type
|     res = schema_to_type_(schema0, global_symbols, encountered)
|   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 555, in schema_to_type_
|     assert False, schema  # pragma: no cover
| AssertionError: {'title': 'Any'}
| 
| The above exception was the direct cause of the following exception:
| 
| Traceback (most recent call last):
|   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 370, in deserialize_dataclass
|     attrs[k] = ipce_to_object(v, global_symbols, encountered, expect_type=expect_type)
|   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 315, in ipce_to_object
|     return deserialize_dataclass(K, mj, global_symbols, encountered)
|   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 375, in deserialize_dataclass
|     raise Exception(msg) from e
| Exception: Cannot deserialize attribute inputs (expect: typing.Dict[str, type])
| value: {'get_logs': {'type': 'null', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'get_state': {'type': 'null', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'set_state': {'title': 'Any', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'set_config': {'$id': 'http://invalid.json-schema.org/SetConfig#', 'type': 'object', 'order': ['key', 'value'], 'title': 'SetConfig', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['key', 'value'], '__module__': 'zuper_nodes_wrapper.meta_protocol', 'properties': {'key': {'type': 'string', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'value': {'title': 'Any', '$schema': 'http://json-schema.org/draft-07/schema#'}}, 'description': 'SetConfig(key: str, value: Any)', '__qualname__': 'SetConfig'}, 'describe_node': {'type': 'null', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'describe_build': {'type': 'null', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'describe_config': {'type': 'null', '$schema': 'http://json-schema.org/draft-07/schema#'}, 'describe_protocol': {'type': 'null', '$schema': 'http://json-schema.org/draft-07/schema#'}}
| 
| | Traceback (most recent call last):
| |   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 370, in deserialize_dataclass
| |     attrs[k] = ipce_to_object(v, global_symbols, encountered, expect_type=expect_type)
| |   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 310, in ipce_to_object
| |     return deserialize_Dict(K, mj, global_symbols, encountered)
| |   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 428, in deserialize_Dict
| |     attrs[k] = ipce_to_object(v, global_symbols, encountered, expect_type=V)
| |   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 282, in ipce_to_object
| |     return schema_to_type(schema, global_symbols, encountered)
| |   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 453, in schema_to_type
| |     res = schema_to_type_(schema0, global_symbols, encountered)
| |   File "/project/src/zuper-utils/src/zuper_json/ipce.py", line 555, in schema_to_type_
| |     assert False, schema  # pragma: no cover
| | AssertionError: {'title': 'Any'}
| |
| 
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.