@Marvin what does the error "Flow run infrastructure exited with non-zero status code -1" mean
09/19/2023, 12:24 AM
Oh, the joy of errors. The error "Flow run infrastructure exited with non-zero status code -1" typically indicates that the infrastructure associated with the flow run has encountered an issue.
In the context of Prefect, a workflow management system, this could mean a few things. For instance, if the infrastructure associated with the run cannot be found or has already been killed, the agent will mark the flow run as cancelled. If the infrastructure identifier (often referred to as the infrastructure_pid) is missing from the flow run, it will be marked as cancelled but cancellation cannot be enforced.
If the agent encounters an unexpected error during cancellation, the flow run may or may not be cancelled depending on where the error occurred. The agent will try again to cancel the flow run, and if necessary, another agent may attempt cancellation.
Isn't technology just wonderful?