acoustic-carpenter-78188
09/27/2023, 8:23 AMUnkonwn state in the dashboard, whilst the toplevel workflow is still runnning instead of failing as expected.
I've tested this in a dev sendbox with version v1.9.1.
import time
from datetime import timedelta
from flytekit import task, workflow, Resources
@task(
timeout=timedelta(seconds=1),
# Just making sure that things run on my local machine; not required to reproduce
limits=Resources(cpu="0.5", mem="500Mi"),
)
def demo_task():
time.sleep(10)
@workflow
def subworkflow():
demo_task()
@workflow
def demo_workflow():
subworkflow()
image▾
flytectl for that execution:
- node_exec:
closure:
createdAt: "2023-09-27T08:14:27.730147Z"
outputUri: <s3://my-s3-bucket/metadata/propeller/dask-testing-development-f43853b3ae7cc4a469ee/start-node/data/0/outputs.pb>
phase: SUCCEEDED
updatedAt: "2023-09-27T08:14:27.730373Z"
id:
executionId:
domain: development
name: f43853b3ae7cc4a469ee
project: dask-testing
nodeId: start-node
inputUri: <s3://my-s3-bucket/metadata/propeller/dask-testing-development-f43853b3ae7cc4a469ee/start-node/data/inputs.pb>
metadata:
specNodeId: start-node
- child_nodes:
- node_exec:
closure:
createdAt: "2023-09-27T08:14:30.079744Z"
phase: SKIPPED
updatedAt: "2023-09-27T08:14:30.079926Z"
id:
executionId:
domain: development
name: f43853b3ae7cc4a469ee
project: dask-testing
nodeId: n0-0-end-node
inputUri: <s3://my-s3-bucket/metadata/propeller/dask-testing-development-f43853b3ae7cc4a469ee/n0/data/0/end-node/inputs.pb>
metadata:
retryGroup: "0"
specNodeId: end-node
- node_exec:
closure:
createdAt: "2023-09-27T08:14:27.912820Z"
startedAt: "2023-09-27T08:14:28.073327Z"
updatedAt: "2023-09-27T08:14:29.993783Z"
id:
executionId:
domain: development
name: f43853b3ae7cc4a469ee
project: dask-testing
nodeId: n0-0-n0
inputUri: <s3://my-s3-bucket/metadata/propeller/dask-testing-development-f43853b3ae7cc4a469ee/n0/data/0/n0/inputs.pb>
metadata:
retryGroup: "0"
specNodeId: n0
task_execs:
- closure:
createdAt: "2023-09-27T08:14:28.048292Z"
duration: 1.026488s
error:
code: Task Aborted
message: node timed out
eventVersion: 1
logs:
- messageFormat: JSON
name: Kubernetes Logs (User)
uri: <http://localhost:30080/kubernetes-dashboard/#/log/dask-testing-development/f43853b3ae7cc4a469ee-n0-0-n0-0/pod?namespace=dask-testing-development>
metadata:
generatedName: f43853b3ae7cc4a469ee-n0-0-n0-0
pluginIdentifier: container
phase: ABORTED
reason: '[ContainersNotReady|ContainerCreating]: containers with unready status:
[f43853b3ae7cc4a469ee-n0-0-n0-0]|'
reasons:
- message: task submitted to K8s
occurredAt: "2023-09-27T08:14:28.048292Z"
- message: Scheduling
occurredAt: "2023-09-27T08:14:28.166021Z"
- message: '[ContainersNotReady|ContainerCreating]: containers with unready
status: [f43853b3ae7cc4a469ee-n0-0-n0-0]|'
occurredAt: "2023-09-27T08:14:28Z"
startedAt: "2023-09-27T08:14:29Z"
taskType: python-task
updatedAt: "2023-09-27T08:14:30.026488Z"
id:
nodeExecutionId:
executionId:
domain: development
name: f43853b3ae7cc4a469ee
project: dask-testing
nodeId: n0-0-n0
taskId:
domain: development
name: flyte_dev_setup.workflows.demo_task
project: dask-testing
resourceType: TASK
version: pytest-c9761586
inputUri: <s3://my-s3-bucket/metadata/propeller/dask-testing-development-f43853b3ae7cc4a469ee/n0/data/0/n0/inputs.pb>
- node_exec:
closure:
createdAt: "2023-09-27T08:14:27.858971Z"
outputUri: <s3://my-s3-bucket/metadata/propeller/dask-testing-development-f43853b3ae7cc4a469ee/n0/data/0/start-node/0/outputs.pb>
phase: SUCCEEDED
updatedAt: "2023-09-27T08:14:27.859360Z"
id:
executionId:
domain: development
name: f43853b3ae7cc4a469ee
project: dask-testing
nodeId: n0-0-start-node
inputUri: <s3://my-s3-bucket/metadata/propeller/dask-testing-development-f43853b3ae7cc4a469ee/n0/data/0/start-node/inputs.pb>
metadata:
retryGroup: "0"
specNodeId: start-node
node_exec:
closure:
createdAt: "2023-09-27T08:14:27.768020Z"
phase: RUNNING
startedAt: "2023-09-27T08:14:27.877543Z"
updatedAt: "2023-09-27T08:14:27.877613Z"
id:
executionId:
domain: development
name: f43853b3ae7cc4a469ee
project: dask-testing
nodeId: n0
inputUri: <s3://my-s3-bucket/metadata/propeller/dask-testing-development-f43853b3ae7cc4a469ee/n0/data/inputs.pb>
metadata:
isParentNode: true
specNodeId: n0
Screenshots
No response
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyte