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 Mar 9, 2024
1 parent 1e66720 commit 482451a
Show file tree
Hide file tree
Showing 16 changed files with 47 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2674,7 +2674,7 @@
"errorInfo": {
"args": "('thermocyclerModuleV2 in slot 7 prevents thermocyclerModuleV1 from using slot 7.',)",
"class": "DeckConflictError",
"traceback": " File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/execution/execute_python.py\", line 69, in run_python\n exec(\"run(__context)\", new_globs)\n\n File \"<string>\", line 1, in <module>\n\n File \"OT2_P300S_Thermocycler_Moam_Error.py\", line 19, 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 816, in load_module\n module_core = self._core.load_module(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/core/legacy/legacy_protocol_core.py\", line 339, in load_module\n self._deck_layout[resolved_location] = geometry\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/core/legacy/deck.py\", line 186, in __setitem__\n deck_conflict.check(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/motion_planning/deck_conflict.py\", line 211, in check\n raise DeckConflictError(\n"
"traceback": " File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/execution/execute_python.py\", line 69, in run_python\n exec(\"run(__context)\", new_globs)\n\n File \"<string>\", line 1, in <module>\n\n File \"OT2_P300S_Thermocycler_Moam_Error.py\", line 19, 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 803, in load_module\n module_core = self._core.load_module(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/core/legacy/legacy_protocol_core.py\", line 333, in load_module\n self._deck_layout[resolved_location] = geometry\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/core/legacy/deck.py\", line 186, in __setitem__\n 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
Expand Up @@ -564,7 +564,7 @@
"errorInfo": {
"args": "('nest_1_reservoir_290ml in slot C4 prevents temperatureModuleV2 from using slot C3.',)",
"class": "DeckConflictError",
"traceback": " File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/execution/execute_python.py\", line 69, in run_python\n exec(\"run(__context)\", new_globs)\n\n File \"<string>\", line 1, in <module>\n\n File \"Flex_None_None_TM_2_16_AnalysisError_ModuleInStagingAreaCol3.py\", line 17, 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 816, 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 438, 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 207, in check\n wrapped_deck_conflict.check(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/motion_planning/deck_conflict.py\", line 224, in check\n raise DeckConflictError(\n"
"traceback": " File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/execution/execute_python.py\", line 69, in run_python\n exec(\"run(__context)\", new_globs)\n\n File \"<string>\", line 1, in <module>\n\n File \"Flex_None_None_TM_2_16_AnalysisError_ModuleInStagingAreaCol3.py\", line 17, 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 803, 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 424, 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 206, in check\n wrapped_deck_conflict.check(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/motion_planning/deck_conflict.py\", line 223, in check\n raise DeckConflictError(\n"
},
"errorType": "PythonException",
"wrappedErrors": []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8269,7 +8269,7 @@
"commandType": "moveToAddressableAreaForDropTip",
"params": {
"addressableAreaName": "movableTrashB3",
"alternateDropLocation": true,
"alternateDropLocation": false,
"forceDirect": false,
"ignoreTipConfiguration": true,
"offset": {
Expand All @@ -8280,7 +8280,7 @@
},
"result": {
"position": {
"x": 466.25,
"x": 434.25,
"y": 257.0,
"z": 40.0
}
Expand Down Expand Up @@ -8372,7 +8372,7 @@
"commandType": "moveToAddressableAreaForDropTip",
"params": {
"addressableAreaName": "movableTrashB3",
"alternateDropLocation": true,
"alternateDropLocation": false,
"forceDirect": false,
"ignoreTipConfiguration": true,
"offset": {
Expand All @@ -8383,7 +8383,7 @@
},
"result": {
"position": {
"x": 402.25,
"x": 434.25,
"y": 257.0,
"z": 40.0
}
Expand Down Expand Up @@ -8475,7 +8475,7 @@
"commandType": "moveToAddressableAreaForDropTip",
"params": {
"addressableAreaName": "movableTrashB3",
"alternateDropLocation": true,
"alternateDropLocation": false,
"forceDirect": false,
"ignoreTipConfiguration": true,
"offset": {
Expand All @@ -8486,7 +8486,7 @@
},
"result": {
"position": {
"x": 466.25,
"x": 434.25,
"y": 257.0,
"z": 40.0
}
Expand Down Expand Up @@ -8578,7 +8578,7 @@
"commandType": "moveToAddressableAreaForDropTip",
"params": {
"addressableAreaName": "movableTrashB3",
"alternateDropLocation": true,
"alternateDropLocation": false,
"forceDirect": false,
"ignoreTipConfiguration": true,
"offset": {
Expand All @@ -8589,7 +8589,7 @@
},
"result": {
"position": {
"x": 402.25,
"x": 434.25,
"y": 257.0,
"z": 40.0
}
Expand Down Expand Up @@ -8681,7 +8681,7 @@
"commandType": "moveToAddressableAreaForDropTip",
"params": {
"addressableAreaName": "movableTrashB3",
"alternateDropLocation": true,
"alternateDropLocation": false,
"forceDirect": false,
"ignoreTipConfiguration": true,
"offset": {
Expand All @@ -8692,7 +8692,7 @@
},
"result": {
"position": {
"x": 466.25,
"x": 434.25,
"y": 257.0,
"z": 40.0
}
Expand Down Expand Up @@ -8784,7 +8784,7 @@
"commandType": "moveToAddressableAreaForDropTip",
"params": {
"addressableAreaName": "movableTrashB3",
"alternateDropLocation": true,
"alternateDropLocation": false,
"forceDirect": false,
"ignoreTipConfiguration": true,
"offset": {
Expand All @@ -8795,7 +8795,7 @@
},
"result": {
"position": {
"x": 402.25,
"x": 434.25,
"y": 257.0,
"z": 40.0
}
Expand Down Expand Up @@ -8887,7 +8887,7 @@
"commandType": "moveToAddressableAreaForDropTip",
"params": {
"addressableAreaName": "movableTrashB3",
"alternateDropLocation": true,
"alternateDropLocation": false,
"forceDirect": false,
"ignoreTipConfiguration": true,
"offset": {
Expand All @@ -8898,7 +8898,7 @@
},
"result": {
"position": {
"x": 466.25,
"x": 434.25,
"y": 257.0,
"z": 40.0
}
Expand Down Expand Up @@ -8990,7 +8990,7 @@
"commandType": "moveToAddressableAreaForDropTip",
"params": {
"addressableAreaName": "movableTrashB3",
"alternateDropLocation": true,
"alternateDropLocation": false,
"forceDirect": false,
"ignoreTipConfiguration": true,
"offset": {
Expand All @@ -9001,7 +9001,7 @@
},
"result": {
"position": {
"x": 402.25,
"x": 434.25,
"y": 257.0,
"z": 40.0
}
Expand Down Expand Up @@ -9093,7 +9093,7 @@
"commandType": "moveToAddressableAreaForDropTip",
"params": {
"addressableAreaName": "movableTrashB3",
"alternateDropLocation": true,
"alternateDropLocation": false,
"forceDirect": false,
"ignoreTipConfiguration": true,
"offset": {
Expand All @@ -9104,7 +9104,7 @@
},
"result": {
"position": {
"x": 466.25,
"x": 434.25,
"y": 257.0,
"z": 40.0
}
Expand Down Expand Up @@ -9196,7 +9196,7 @@
"commandType": "moveToAddressableAreaForDropTip",
"params": {
"addressableAreaName": "movableTrashB3",
"alternateDropLocation": true,
"alternateDropLocation": false,
"forceDirect": false,
"ignoreTipConfiguration": true,
"offset": {
Expand All @@ -9207,7 +9207,7 @@
},
"result": {
"position": {
"x": 402.25,
"x": 434.25,
"y": 257.0,
"z": 40.0
}
Expand Down Expand Up @@ -9299,7 +9299,7 @@
"commandType": "moveToAddressableAreaForDropTip",
"params": {
"addressableAreaName": "movableTrashB3",
"alternateDropLocation": true,
"alternateDropLocation": false,
"forceDirect": false,
"ignoreTipConfiguration": true,
"offset": {
Expand All @@ -9310,7 +9310,7 @@
},
"result": {
"position": {
"x": 466.25,
"x": 434.25,
"y": 257.0,
"z": 40.0
}
Expand Down Expand Up @@ -9402,7 +9402,7 @@
"commandType": "moveToAddressableAreaForDropTip",
"params": {
"addressableAreaName": "movableTrashB3",
"alternateDropLocation": true,
"alternateDropLocation": false,
"forceDirect": false,
"ignoreTipConfiguration": true,
"offset": {
Expand All @@ -9413,7 +9413,7 @@
},
"result": {
"position": {
"x": 402.25,
"x": 434.25,
"y": 257.0,
"z": 40.0
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10512,7 +10512,7 @@
"commandType": "moveToAddressableAreaForDropTip",
"params": {
"addressableAreaName": "movableTrashC1",
"alternateDropLocation": true,
"alternateDropLocation": false,
"forceDirect": false,
"ignoreTipConfiguration": true,
"offset": {
Expand All @@ -10523,7 +10523,7 @@
},
"result": {
"position": {
"x": 54.25,
"x": 22.25,
"y": 150.0,
"z": 40.0
}
Expand Down Expand Up @@ -10757,7 +10757,7 @@
"commandType": "moveToAddressableAreaForDropTip",
"params": {
"addressableAreaName": "movableTrashD1",
"alternateDropLocation": true,
"alternateDropLocation": false,
"forceDirect": false,
"ignoreTipConfiguration": true,
"offset": {
Expand All @@ -10768,7 +10768,7 @@
},
"result": {
"position": {
"x": 54.25,
"x": 22.25,
"y": 43.0,
"z": 40.0
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,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 69, in run_python\n exec(\"run(__context)\", new_globs)\n\n File \"<string>\", line 1, in <module>\n\n File \"OT2_None_None_HS_2_16_AnalysisError_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 816, 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 438, 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 207, in check\n wrapped_deck_conflict.check(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/motion_planning/deck_conflict.py\", line 211, in check\n raise DeckConflictError(\n"
"traceback": " File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/execution/execute_python.py\", line 69, in run_python\n exec(\"run(__context)\", new_globs)\n\n File \"<string>\", line 1, in <module>\n\n File \"OT2_None_None_HS_2_16_AnalysisError_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 803, 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 424, 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 206, 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
Expand Up @@ -6909,7 +6909,7 @@
"errorInfo": {
"args": "('Cannot aspirate more than pipette max volume',)",
"class": "AssertionError",
"traceback": " File \"/usr/local/lib/python3.10/site-packages/opentrons/commands/publisher.py\", line 113, in publish_context\n yield\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/instrument_context.py\", line 267, in aspirate\n self._core.aspirate(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/core/legacy_simulator/legacy_instrument_core.py\", line 119, in aspirate\n new_volume <= self._pipette_dict[\"working_volume\"]\n"
"traceback": " File \"/usr/local/lib/python3.10/site-packages/opentrons/commands/publisher.py\", line 113, in publish_context\n yield\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/instrument_context.py\", line 266, in aspirate\n self._core.aspirate(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/core/legacy_simulator/legacy_instrument_core.py\", line 118, in aspirate\n new_volume <= self._pipette_dict[\"working_volume\"]\n"
},
"errorType": "PythonException",
"wrappedErrors": []
Expand Down Expand Up @@ -6949,7 +6949,7 @@
"errorInfo": {
"args": "('Cannot aspirate more than pipette max volume',)",
"class": "AssertionError",
"traceback": " File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_runner/task_queue.py\", line 90, in _run\n await self._run_func()\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_runner/legacy_wrappers.py\", line 173, in execute\n await to_thread.run_sync(run_protocol, protocol, context)\n\n File \"/usr/local/lib/python3.10/site-packages/anyio/to_thread.py\", line 33, in run_sync\n return await get_asynclib().run_sync_in_worker_thread(\n\n File \"/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py\", line 877, in run_sync_in_worker_thread\n return await future\n\n File \"/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py\", line 807, in run\n result = context.run(func, *args)\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/execution/execute.py\", line 45, in run_protocol\n execute_json_v4.dispatch_json(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/execution/execute_json_v4.py\", line 272, in dispatch_json\n pipette_command_map[command_type]( # type: ignore\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/execution/execute_json_v3.py\", line 159, in _aspirate\n pipette.aspirate(volume, location)\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/instrument_context.py\", line 267, in aspirate\n self._core.aspirate(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/core/legacy_simulator/legacy_instrument_core.py\", line 119, in aspirate\n new_volume <= self._pipette_dict[\"working_volume\"]\n"
"traceback": " File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_runner/task_queue.py\", line 90, in _run\n await self._run_func()\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_runner/legacy_wrappers.py\", line 173, in execute\n await to_thread.run_sync(run_protocol, protocol, context)\n\n File \"/usr/local/lib/python3.10/site-packages/anyio/to_thread.py\", line 33, in run_sync\n return await get_asynclib().run_sync_in_worker_thread(\n\n File \"/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py\", line 877, in run_sync_in_worker_thread\n return await future\n\n File \"/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py\", line 807, in run\n result = context.run(func, *args)\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/execution/execute.py\", line 45, in run_protocol\n execute_json_v4.dispatch_json(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/execution/execute_json_v4.py\", line 272, in dispatch_json\n pipette_command_map[command_type]( # type: ignore\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocols/execution/execute_json_v3.py\", line 159, in _aspirate\n pipette.aspirate(volume, location)\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/instrument_context.py\", line 266, in aspirate\n self._core.aspirate(\n\n File \"/usr/local/lib/python3.10/site-packages/opentrons/protocol_api/core/legacy_simulator/legacy_instrument_core.py\", line 118, in aspirate\n new_volume <= self._pipette_dict[\"working_volume\"]\n"
},
"errorType": "PythonException",
"wrappedErrors": []
Expand Down
Loading

0 comments on commit 482451a

Please sign in to comment.