Name: conditional-execution-pipeline-with-exit-handler-c576r-3228191410 Namespace: kubeflow Priority: 0 Node: kubeflow-poc-worker-0-6558595cbd-24kxj/172.16.20.7 Start Time: Tue, 25 Aug 2020 14:40:37 +0200 Labels: pipelines.kubeflow.org/cache_enabled=true pipelines.kubeflow.org/metadata_context_id=4 pipelines.kubeflow.org/metadata_execution_id=10 pipelines.kubeflow.org/metadata_written=true workflows.argoproj.io/completed=true workflows.argoproj.io/workflow=conditional-execution-pipeline-with-exit-handler-c576r Annotations: cni.projectcalico.org/podIP: 192.168.131.57/32 cni.projectcalico.org/podIPs: 192.168.131.57/32 kubernetes.io/psp: kubeflow pipelines.kubeflow.org/component_ref: {} pipelines.kubeflow.org/component_spec: {"description": "Flip a coin and output heads or tails randomly.", "implementation": {"container": {"args": ["----output-paths", {"outputP... pipelines.kubeflow.org/metadata_input_artifact_ids: [] pipelines.kubeflow.org/metadata_output_artifact_ids: [] sidecar.istio.io/inject: false workflows.argoproj.io/node-message: Failed to determine pid for containerID be1b9699927f457b755fd8a2038a3e2003618c6e5fdf23f3bd203eb771d92896: container may have exited too qu... workflows.argoproj.io/node-name: conditional-execution-pipeline-with-exit-handler-c576r.exit-handler-1.flip-coin-op workflows.argoproj.io/template: {"name":"flip-coin-op","arguments":{},"inputs":{},"outputs":{"parameters":[{"name":"flip-coin-op-Output","valueFrom":{"path":"/tmp/outputs... Status: Failed IP: 192.168.131.57 IPs: IP: 192.168.131.57 Controlled By: Workflow/conditional-execution-pipeline-with-exit-handler-c576r Containers: wait: Container ID: docker://a3f0b07a70779aebe15744ed16b4fad3578e1a099a78d780d898c0dc79e40bf2 Image: docker.io/jvonkoho/argoexec:v2.7.5-license-compliance Image ID: docker-pullable://jvonkoho/argoexec@sha256:3983d1780fc2db0855cd536971c693d925d531f84c526f1db39864c6840d1a7c Port: Host Port: Command: argoexec wait Args: --loglevel debug --gloglevel 6 State: Terminated Reason: Error Message: Failed to determine pid for containerID be1b9699927f457b755fd8a2038a3e2003618c6e5fdf23f3bd203eb771d92896: container may have exited too quickly Exit Code: 1 Started: Tue, 25 Aug 2020 14:40:38 +0200 Finished: Tue, 25 Aug 2020 14:40:40 +0200 Ready: False Restart Count: 0 Environment: ARGO_POD_NAME: conditional-execution-pipeline-with-exit-handler-c576r-3228191410 (v1:metadata.name) ARGO_CONTAINER_RUNTIME_EXECUTOR: pns Mounts: /argo/podmetadata from podmetadata (rw) /argo/secret/mlpipeline-minio-artifact from mlpipeline-minio-artifact (ro) /var/run/secrets/kubernetes.io/serviceaccount from pipeline-runner-token-m864v (ro) main: Container ID: docker://be1b9699927f457b755fd8a2038a3e2003618c6e5fdf23f3bd203eb771d92896 Image: python:3.7 Image ID: docker-pullable://python@sha256:0bb57c218e452ace5a4d55ee3c56e3c57e29c7f43cf55192acf7289becff4b0e Port: Host Port: Command: python3 -u -c def flip_coin_op(): """Flip a coin and output heads or tails randomly.""" import random result = random.choice(['heads', 'tails']) print(result) return result def _serialize_str(str_value: str) -> str: if not isinstance(str_value, str): raise TypeError('Value "{}" has type "{}" instead of str.'.format(str(str_value), str(type(str_value)))) return str_value import argparse _parser = argparse.ArgumentParser(prog='Flip coin op', description='Flip a coin and output heads or tails randomly.') _parser.add_argument("----output-paths", dest="_output_paths", type=str, nargs=1) _parsed_args = vars(_parser.parse_args()) _output_files = _parsed_args.pop("_output_paths", []) _outputs = flip_coin_op(**_parsed_args) _outputs = [_outputs] _output_serializers = [ _serialize_str, ] import os for idx, output_file in enumerate(_output_files): try: os.makedirs(os.path.dirname(output_file)) except OSError: pass with open(output_file, 'w') as f: f.write(_output_serializers[idx](_outputs[idx])) Args: ----output-paths /tmp/outputs/Output/data State: Terminated Reason: Completed Exit Code: 0 Started: Tue, 25 Aug 2020 14:40:38 +0200 Finished: Tue, 25 Aug 2020 14:40:38 +0200 Ready: False Restart Count: 0 Environment: Mounts: /var/run/secrets/kubernetes.io/serviceaccount from pipeline-runner-token-m864v (ro) Conditions: Type Status Initialized True Ready False ContainersReady False PodScheduled True Volumes: podmetadata: Type: DownwardAPI (a volume populated by information about the pod) Items: metadata.annotations -> annotations mlpipeline-minio-artifact: Type: Secret (a volume populated by a Secret) SecretName: mlpipeline-minio-artifact Optional: false pipeline-runner-token-m864v: Type: Secret (a volume populated by a Secret) SecretName: pipeline-runner-token-m864v Optional: false QoS Class: BestEffort Node-Selectors: node-role.kubernetes.io/worker= Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s node.kubernetes.io/unreachable:NoExecute for 300s Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled default-scheduler Successfully assigned kubeflow/conditional-execution-pipeline-with-exit-handler-c576r-3228191410 to kubeflow-poc-worker-0-6558595cbd-24kxj Normal Pulled 30m kubelet, kubeflow-poc-worker-0-6558595cbd-24kxj Container image "docker.io/jvonkoho/argoexec:v2.7.5-license-compliance" already present on machine Normal Created 30m kubelet, kubeflow-poc-worker-0-6558595cbd-24kxj Created container wait Normal Started 30m kubelet, kubeflow-poc-worker-0-6558595cbd-24kxj Started container wait Normal Pulled 30m kubelet, kubeflow-poc-worker-0-6558595cbd-24kxj Container image "python:3.7" already present on machine Normal Created 30m kubelet, kubeflow-poc-worker-0-6558595cbd-24kxj Created container main Normal Started 30m kubelet, kubeflow-poc-worker-0-6558595cbd-24kxj Started container main