Skip to content

Commit

Permalink
fix(app-testing): snapshot failure capture
Browse files Browse the repository at this point in the history
  • Loading branch information
y3rsh authored May 30, 2024
1 parent f8ec80a commit 48bd802
Show file tree
Hide file tree
Showing 35 changed files with 168 additions and 1,212 deletions.
Original file line number Diff line number Diff line change
@@ -1,74 +1,18 @@
{
"commands": [
{
"commandType": "home",
"notes": [],
"params": {},
"result": {},
"status": "succeeded"
}
],
"config": {
"apiVersion": [
2,
18
],
"protocolType": "python"
},
"commands": [],
"config": {},
"errors": [
{
"detail": "ParameterDefinitionError [line 104]: Maximum is type 'str', but must be of parameter type 'int'",
"errorCode": "4000",
"errorInfo": {},
"errorType": "ExceptionInProtocolError",
"wrappedErrors": [
{
"detail": "opentrons.protocols.parameters.types.ParameterDefinitionError: Maximum is type 'str', but must be of parameter type 'int'",
"errorCode": "4000",
"errorInfo": {
"args": "(\"Maximum is type 'str', but must be of parameter type 'int'\",)",
"class": "ParameterDefinitionError",
"traceback": " File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/execution/execute_python.py\", line 80, in _parse_and_set_parameters\n exec(\"add_parameters(__param_context)\", new_globs)\n\n File \"<string>\", line 1, in <module>\n\n File \"Flex_X_v2_18_NO_PIPETTES_Overrides_BadTypesInRTP_Override_wrong_type_in_maximum.py\", line 104, in add_parameters\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/_parameter_context.py\", line 56, in add_int\n parameter = parameter_definition.create_int_parameter(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/parameters/parameter_definition.py\", line 178, in create_int_parameter\n return ParameterDefinition(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/parameters/parameter_definition.py\", line 73, in __init__\n validation.validate_options(default, minimum, maximum, choices, parameter_type)\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/parameters/validation.py\", line 266, in validate_options\n _validate_min_and_max(minimum, maximum, parameter_type)\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/parameters/validation.py\", line 218, in _validate_min_and_max\n raise ParameterDefinitionError(\n"
},
"errorType": "PythonException",
"wrappedErrors": []
}
]
}
],
"files": [
{
"name": "Flex_X_v2_18_NO_PIPETTES_Overrides_BadTypesInRTP_Override_wrong_type_in_maximum.py",
"role": "main"
},
{
"name": "cpx_4_tuberack_100ul.json",
"role": "labware"
},
{
"name": "opentrons_ot3_96_tiprack_1000ul_rss.json",
"role": "labware"
},
{
"name": "opentrons_ot3_96_tiprack_200ul_rss.json",
"role": "labware"
},
{
"name": "opentrons_ot3_96_tiprack_50ul_rss.json",
"role": "labware"
},
{
"name": "sample_labware.json",
"role": "labware"
"analysis_execution_time": null,
"command_exit_code": 1,
"command_output": "/root/.opentrons/robot_settings.json not found. Loading defaults\n/root/.opentrons/robot_settings.json not found. Loading defaults\nBelt calibration not found.\nError: ParameterDefinitionError [line 104]: Maximum is type 'str', but must be of parameter type 'int'\nfrom_conf {} default {<InstrumentProbeType.PRIMARY: 1>: '/data/pressure_sensor_data.csv'}\nresult {}\n"
}
],
"files": [],
"labware": [],
"liquids": [],
"metadata": {
"protocolName": "Description Too Long 2.18"
},
"metadata": [],
"modules": [],
"pipettes": [],
"robotType": "OT-3 Standard",
"runTimeParameters": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@
"errorInfo": {
"args": "('trash bin in slot 12 prevents heaterShakerModuleV1 from using slot 9.',)",
"class": "DeckConflictError",
"traceback": " File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/execution/execute_python.py\", line 124, in run_python\n exec(\"run(__context)\", new_globs)\n\n File \"<string>\", line 1, in <module>\n\n File \"OT2_X_v2_16_None_None_HS_HeaterShakerConflictWithTrashBin2.py\", line 11, in run\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/api_support/util.py\", line 383, in _check_version_wrapper\n return decorated_obj(*args, **kwargs)\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/protocol_context.py\", line 814, in load_module\n module_core = self._core.load_module(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/core/engine/protocol.py\", line 423, in load_module\n deck_conflict.check(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/core/engine/deck_conflict.py\", line 203, in check\n wrapped_deck_conflict.check(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/motion_planning/deck_conflict.py\", line 210, in check\n raise DeckConflictError(\n"
"traceback": " File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/execution/execute_python.py\", line 147, in exec_run\n exec(\"run(__context)\", new_globs)\n\n File \"<string>\", line 1, in <module>\n\n File \"OT2_X_v2_16_None_None_HS_HeaterShakerConflictWithTrashBin2.py\", line 11, in run\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/api_support/util.py\", line 383, in _check_version_wrapper\n return decorated_obj(*args, **kwargs)\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/protocol_context.py\", line 823, in load_module\n module_core = self._core.load_module(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/core/engine/protocol.py\", line 423, in load_module\n deck_conflict.check(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/core/engine/deck_conflict.py\", line 203, in check\n wrapped_deck_conflict.check(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/motion_planning/deck_conflict.py\", line 210, in check\n raise DeckConflictError(\n"
},
"errorType": "PythonException",
"wrappedErrors": []
Expand Down
Original file line number Diff line number Diff line change
@@ -1,74 +1,18 @@
{
"commands": [
{
"commandType": "home",
"notes": [],
"params": {},
"result": {},
"status": "succeeded"
}
],
"config": {
"apiVersion": [
2,
18
],
"protocolType": "python"
},
"commands": [],
"config": {},
"errors": [
{
"detail": "ParameterDefinitionError [line 95]: Minimum is type 'str', but must be of parameter type 'int'",
"errorCode": "4000",
"errorInfo": {},
"errorType": "ExceptionInProtocolError",
"wrappedErrors": [
{
"detail": "opentrons.protocols.parameters.types.ParameterDefinitionError: Minimum is type 'str', but must be of parameter type 'int'",
"errorCode": "4000",
"errorInfo": {
"args": "(\"Minimum is type 'str', but must be of parameter type 'int'\",)",
"class": "ParameterDefinitionError",
"traceback": " File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/execution/execute_python.py\", line 80, in _parse_and_set_parameters\n exec(\"add_parameters(__param_context)\", new_globs)\n\n File \"<string>\", line 1, in <module>\n\n File \"Flex_X_v2_18_NO_PIPETTES_Overrides_BadTypesInRTP_Override_wrong_type_in_minimum.py\", line 95, in add_parameters\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/_parameter_context.py\", line 56, in add_int\n parameter = parameter_definition.create_int_parameter(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/parameters/parameter_definition.py\", line 178, in create_int_parameter\n return ParameterDefinition(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/parameters/parameter_definition.py\", line 73, in __init__\n validation.validate_options(default, minimum, maximum, choices, parameter_type)\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/parameters/validation.py\", line 266, in validate_options\n _validate_min_and_max(minimum, maximum, parameter_type)\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/parameters/validation.py\", line 213, in _validate_min_and_max\n raise ParameterDefinitionError(\n"
},
"errorType": "PythonException",
"wrappedErrors": []
}
]
}
],
"files": [
{
"name": "Flex_X_v2_18_NO_PIPETTES_Overrides_BadTypesInRTP_Override_wrong_type_in_minimum.py",
"role": "main"
},
{
"name": "cpx_4_tuberack_100ul.json",
"role": "labware"
},
{
"name": "opentrons_ot3_96_tiprack_1000ul_rss.json",
"role": "labware"
},
{
"name": "opentrons_ot3_96_tiprack_200ul_rss.json",
"role": "labware"
},
{
"name": "opentrons_ot3_96_tiprack_50ul_rss.json",
"role": "labware"
},
{
"name": "sample_labware.json",
"role": "labware"
"analysis_execution_time": null,
"command_exit_code": 1,
"command_output": "/root/.opentrons/robot_settings.json not found. Loading defaults\n/root/.opentrons/robot_settings.json not found. Loading defaults\nBelt calibration not found.\nError: ParameterDefinitionError [line 95]: Minimum is type 'str', but must be of parameter type 'int'\nfrom_conf {} default {<InstrumentProbeType.PRIMARY: 1>: '/data/pressure_sensor_data.csv'}\nresult {}\n"
}
],
"files": [],
"labware": [],
"liquids": [],
"metadata": {
"protocolName": "Description Too Long 2.18"
},
"metadata": [],
"modules": [],
"pipettes": [],
"robotType": "OT-3 Standard",
"runTimeParameters": []
}
Original file line number Diff line number Diff line change
@@ -1,74 +1,18 @@
{
"commands": [
{
"commandType": "home",
"notes": [],
"params": {},
"result": {},
"status": "succeeded"
}
],
"config": {
"apiVersion": [
2,
18
],
"protocolType": "python"
},
"commands": [],
"config": {},
"errors": [
{
"detail": "TypeError [line 11]: ParameterContext.add_int() missing 1 required positional argument: 'display_name'",
"errorCode": "4000",
"errorInfo": {},
"errorType": "ExceptionInProtocolError",
"wrappedErrors": [
{
"detail": "TypeError: ParameterContext.add_int() missing 1 required positional argument: 'display_name'",
"errorCode": "4000",
"errorInfo": {
"args": "(\"ParameterContext.add_int() missing 1 required positional argument: 'display_name'\",)",
"class": "TypeError",
"traceback": " File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/execution/execute_python.py\", line 80, in _parse_and_set_parameters\n exec(\"add_parameters(__param_context)\", new_globs)\n\n File \"<string>\", line 1, in <module>\n\n File \"OT2_X_v2_18_None_None_NoRTPdisplay_name.py\", line 11, in add_parameters\n"
},
"errorType": "PythonException",
"wrappedErrors": []
}
]
}
],
"files": [
{
"name": "OT2_X_v2_18_None_None_NoRTPdisplay_name.py",
"role": "main"
},
{
"name": "cpx_4_tuberack_100ul.json",
"role": "labware"
},
{
"name": "opentrons_ot3_96_tiprack_1000ul_rss.json",
"role": "labware"
},
{
"name": "opentrons_ot3_96_tiprack_200ul_rss.json",
"role": "labware"
},
{
"name": "opentrons_ot3_96_tiprack_50ul_rss.json",
"role": "labware"
},
{
"name": "sample_labware.json",
"role": "labware"
"analysis_execution_time": null,
"command_exit_code": 1,
"command_output": "/root/.opentrons/robot_settings.json not found. Loading defaults\n/root/.opentrons/robot_settings.json not found. Loading defaults\nDeck calibration not found.\n/root/.opentrons/deck_calibration.json not found. Loading defaults\nError: TypeError [line 11]: ParameterContext.add_int() missing 1 required positional argument: 'display_name'\n"
}
],
"files": [],
"labware": [],
"liquids": [],
"metadata": {
"protocolName": "No RTP Display Name"
},
"metadata": [],
"modules": [],
"pipettes": [],
"robotType": "OT-2 Standard",
"runTimeParameters": []
}
Original file line number Diff line number Diff line change
@@ -1,74 +1,18 @@
{
"commands": [
{
"commandType": "home",
"notes": [],
"params": {},
"result": {},
"status": "succeeded"
}
],
"config": {
"apiVersion": [
2,
18
],
"protocolType": "python"
},
"commands": [],
"config": {},
"errors": [
{
"detail": "ParameterValueError [line 32]: Parameter must be between 1 and 3 inclusive.",
"errorCode": "4000",
"errorInfo": {},
"errorType": "ExceptionInProtocolError",
"wrappedErrors": [
{
"detail": "opentrons.protocols.parameters.types.ParameterValueError: Parameter must be between 1 and 3 inclusive.",
"errorCode": "4000",
"errorInfo": {
"args": "('Parameter must be between 1 and 3 inclusive.',)",
"class": "ParameterValueError",
"traceback": " File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/execution/execute_python.py\", line 80, in _parse_and_set_parameters\n exec(\"add_parameters(__param_context)\", new_globs)\n\n File \"<string>\", line 1, in <module>\n\n File \"Flex_X_v2_18_NO_PIPETTES_Overrides_DefaultOutOfRangeRTP_Override_default_less_than_minimum.py\", line 32, in add_parameters\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/_parameter_context.py\", line 56, in add_int\n parameter = parameter_definition.create_int_parameter(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/parameters/parameter_definition.py\", line 178, in create_int_parameter\n return ParameterDefinition(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/parameters/parameter_definition.py\", line 84, in __init__\n self.value: ParamType = default\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/parameters/parameter_definition.py\", line 104, in value\n raise ParameterValueError(\n"
},
"errorType": "PythonException",
"wrappedErrors": []
}
]
}
],
"files": [
{
"name": "Flex_X_v2_18_NO_PIPETTES_Overrides_DefaultOutOfRangeRTP_Override_default_less_than_minimum.py",
"role": "main"
},
{
"name": "cpx_4_tuberack_100ul.json",
"role": "labware"
},
{
"name": "opentrons_ot3_96_tiprack_1000ul_rss.json",
"role": "labware"
},
{
"name": "opentrons_ot3_96_tiprack_200ul_rss.json",
"role": "labware"
},
{
"name": "opentrons_ot3_96_tiprack_50ul_rss.json",
"role": "labware"
},
{
"name": "sample_labware.json",
"role": "labware"
"analysis_execution_time": null,
"command_exit_code": 1,
"command_output": "/root/.opentrons/robot_settings.json not found. Loading defaults\n/root/.opentrons/robot_settings.json not found. Loading defaults\nBelt calibration not found.\nError: ParameterValueError [line 32]: Parameter must be between 1 and 3 inclusive.\nfrom_conf {} default {<InstrumentProbeType.PRIMARY: 1>: '/data/pressure_sensor_data.csv'}\nresult {}\n"
}
],
"files": [],
"labware": [],
"liquids": [],
"metadata": {
"protocolName": "Default not in range"
},
"metadata": [],
"modules": [],
"pipettes": [],
"robotType": "OT-3 Standard",
"runTimeParameters": []
}
Loading

0 comments on commit 48bd802

Please sign in to comment.