José Duarte
08/22/2022, 2:28 PM@flow
def test():
print("hello world")
And it will fail retro-actively from time to time:
15:18:12.953 | INFO | prefect.agent - Submitting flow run '8b6a74ba-6dbe-49bd-b303-d5e9c863a087'
15:18:13.097 | INFO | prefect.infrastructure.process - Opening process 'dangerous-ostrich'...
15:18:13.104 | INFO | prefect.agent - Completed submission of flow run '8b6a74ba-6dbe-49bd-b303-d5e9c863a087'
15:18:30.922 | ERROR | Flow run 'dangerous-ostrich' - Crash detected! Execution was interrupted by an unexpected exception.
15:18:30.954 | INFO | prefect.engine - Engine execution of flow run '8b6a74ba-6dbe-49bd-b303-d5e9c863a087' aborted by orchestrator: This run has already terminated.
hello world
15:18:35.274 | INFO | prefect.infrastructure.process - Process 'dangerous-ostrich' exited cleanly.
As you can see above, it completed successfully but at the same time it didn’t. Furthermore, the code clearly ran (hello world
was printed), but it was still marked as an error.
Shouldn’t the flow just be marked as completed?Khuyen Tran
08/22/2022, 2:51 PMJosé Duarte
08/22/2022, 2:53 PMVersion: 2.1.0
API version: 0.8.0
Python version: 3.8.9
Git commit: 30ca715c
Built: Wed, Aug 17, 2022 5:13 PM
OS/Arch: darwin/x86_64
Profile: default
Server type: hosted
Khuyen Tran
08/22/2022, 2:53 PMJosé Duarte
08/22/2022, 2:54 PMRio McMahon
09/14/2022, 3:31 PMJosé Duarte
09/14/2022, 3:32 PMNaila Chennit
09/23/2022, 1:41 PMJeff Hale
09/23/2022, 1:52 PMNaila Chennit
09/23/2022, 1:55 PMRio McMahon
09/23/2022, 3:40 PMNaila Chennit
09/26/2022, 12:14 PM