gentle-tomato-480
06/05/2025, 10:55 AMremote.wait
, I'm getting the following error:
ValueError: Missing node from mapping: fn0
gentle-tomato-480
06/05/2025, 10:56 AMflyteidl==1.15.1
flytekit==1.15.0
gentle-tomato-480
06/05/2025, 10:58 AM@pytest.mark.timeout(120)
def test_workflow_e2e():
storage_path = "xxx"
OUTPUT_BUCKET= "xxx"
# Trigger workflow using local code
execution_id = run("workflow.py","workflow", "--storage_path", storage_path, "--output_bucket", OUTPUT_BUCKET)
# Observe it
remote = FlyteRemote(Config.auto(config_file=CONFIG), PROJECT, DOMAIN)
execution = remote.fetch_execution(name=execution_id)
# Assert that it ran under 120 seconds. Wait throws an exception in case of timeout
try:
execution = remote.wait(execution=execution, timeout=datetime.timedelta(minutes=2))
except FlyteTimeout as timeout:
assert False, timeout
print("Execution Error:", execution.error)
assert execution.closure.phase == WorkflowExecutionPhase.SUCCEEDED, f"Execution failed with phase: {execution.closure.phase}"
gentle-tomato-480
06/05/2025, 1:37 PMremote.wait
seems to work just fine/the Error is not throwngentle-tomato-480
06/05/2025, 4:01 PMremote.wait
which calls remote.sync
on a workflow that has branches (so conditionals
, I assume), I get the following error:
E AttributeError: 'FlyteBranchNode' object has no attribute 'interface'
../../../../../anaconda3/envs/flyte/lib/python3.10/site-packages/flytekit/remote/remote.py:2648: AttributeError
gentle-tomato-480
06/05/2025, 4:04 PMexecution = remote.wait(execution=execution, timeout=timeout)
../../../../../anaconda3/envs/flyte/lib/python3.10/site-packages/flytekit/remote/remote.py:2384: in wait
execution = self.sync_execution(execution, sync_nodes=sync_nodes)
../../../../../anaconda3/envs/flyte/lib/python3.10/site-packages/flytekit/remote/remote.py:2479: in sync_execution
node_execs[n.id.node_id] = self.sync_node_execution(n, node_mapping)
clean-glass-36808
06/05/2025, 4:52 PMon_failure
, I think the missing node error is a bug but may not be reported yet. I see it in the flytekit/pyflyte outputgentle-tomato-480
06/05/2025, 5:01 PM