forked from opendatahub-io/data-science-pipelines
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance error messages for resource op and artifact tracking (kubeflo…
…w#572) * enchance error messages * update logs * update logs
- Loading branch information
Showing
10 changed files
with
36 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 8 additions & 11 deletions
19
sdk/python/tests/compiler/testdata/artifact_passing_using_volume.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
[busybox : main] start /tekton/results/dummy-output-path end | ||
|
||
[busybox : copy-artifacts] Added `storage` successfully. | ||
[busybox : copy-artifacts] tar: /tekton/results/dummy-output-path: No such file or directory | ||
[busybox : copy-artifacts] tar: error exit delayed from previous errors | ||
[busybox : copy-artifacts] `dummy_output_path.tgz` -> `storage/mlpipeline/artifacts/component-yaml-pipeline/busybox/dummy_output_path.tgz` | ||
[busybox : copy-artifacts] Total: 0 B, Transferred: 29 B, Speed: 5 B/s | ||
[busybox : copy-artifacts] /tekton/results/dummy-output-path file does not exist. Skip artifact tracking for dummy_output_path | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
[create-pvc : main] time="2021-04-23T20:28:56Z" level=error msg="Initialize script failed: exit status 2:" | ||
[create-pvc : main] time="2021-04-23T20:28:56Z" level=info msg="kubectl create -f /tmp/manifest.yaml -o json" | ||
[create-pvc : main] time="2021-04-23T20:28:56Z" level=info msg=kubeflow/PersistentVolumeClaim./volumeop-basic-my-pvc | ||
[create-pvc : main] time="2021-04-23T20:28:56Z" level=info msg="Saving resource output parameters" | ||
[create-pvc : main] time="2021-04-23T20:28:56Z" level=info msg="[kubectl get PersistentVolumeClaim./volumeop-basic-my-pvc -o jsonpath={} -n kubeflow]" | ||
[create-pvc : main] time="2021-04-23T20:28:56Z" level=info msg="Saved output parameter: manifest, value: map[apiVersion:v1 kind:PersistentVolumeClaim metadata:map[annotations:map[ibm.io/provisioning-status:{\"status\":\"inprogress\",\"time\":\"2021-04-23T20:28:56Z\",\"attempt\":1,\"retry\":false,\"pluginid\":\"ibm-file-plugin-1619200208\",\"pvcid\":\"8d0a5e2a-7e12-46eb-8c46-dc40e2ceb280\"} volume.beta.kubernetes.io/storage-provisioner:ibm.io/ibmc-file] creationTimestamp:2021-04-23T20:28:56Z finalizers:[kubernetes.io/pvc-protection] labels:map[region:us-south zone:sjc04] managedFields:[map[apiVersion:v1 fieldsType:FieldsV1 fieldsV1:map[f:metadata:map[f:annotations:map[f:ibm.io/provisioning-status:map[]] f:labels:map[.:map[] f:region:map[] f:zone:map[]]]] manager:armada-storage-file-plugin operation:Update time:2021-04-23T20:28:56Z] map[apiVersion:v1 fieldsType:FieldsV1 fieldsV1:map[f:metadata:map[f:annotations:map[.:map[] f:volume.beta.kubernetes.io/storage-provisioner:map[]]]] manager:kube-controller-manager operation:Update time:2021-04-23T20:28:56Z] map[apiVersion:v1 fieldsType:FieldsV1 fieldsV1:map[f:spec:map[f:accessModes:map[] f:resources:map[f:requests:map[.:map[] f:storage:map[]]] f:volumeMode:map[]] f:status:map[f:phase:map[]]] manager:kubectl operation:Update time:2021-04-23T20:28:56Z]] name:volumeop-basic-my-pvc namespace:kubeflow resourceVersion:98730 selfLink:/api/v1/namespaces/kubeflow/persistentvolumeclaims/volumeop-basic-my-pvc uid:8d0a5e2a-7e12-46eb-8c46-dc40e2ceb280] spec:map[accessModes:[ReadWriteOnce] resources:map[requests:map[storage:10M]] storageClassName:ibmc-file-gold-gid volumeMode:Filesystem] status:map[phase:Pending]]" | ||
[create-pvc : main] time="2021-04-23T20:28:56Z" level=info msg="[kubectl get PersistentVolumeClaim./volumeop-basic-my-pvc -o jsonpath={.metadata.name} -n kubeflow]" | ||
[create-pvc : main] time="2021-04-23T20:28:57Z" level=info msg="Saved output parameter: name, value: volumeop-basic-my-pvc" | ||
[create-pvc : main] time="2021-04-23T20:28:57Z" level=info msg="[kubectl get PersistentVolumeClaim./volumeop-basic-my-pvc -o jsonpath={.status.capacity.storage} -n kubeflow]" | ||
[create-pvc : main] time="2021-04-23T20:28:57Z" level=info msg="Saved output parameter: size, value: " | ||
|
||
|
||
[create-pvc : main] time="2021-04-29T01:02:11Z" level=info msg="kubectl create -f /tmp/manifest.yaml -o json" | ||
[create-pvc : main] time="2021-04-29T01:02:11Z" level=info msg=kubeflow/PersistentVolumeClaim./volumeop-basic-63777-my-pvc | ||
[create-pvc : main] time="2021-04-29T01:02:11Z" level=info msg="Saving resource output parameters" | ||
[create-pvc : main] time="2021-04-29T01:02:11Z" level=info msg="[kubectl get PersistentVolumeClaim./volumeop-basic-63777-my-pvc -o jsonpath={} -n kubeflow]" | ||
[create-pvc : main] time="2021-04-29T01:02:12Z" level=info msg="Saved output parameter: manifest, value: {\"apiVersion\":\"v1\",\"kind\":\"PersistentVolumeClaim\",\"metadata\":{\"annotations\":{\"ibm.io/provisioning-status\":\"{\\\"status\\\":\\\"inprogress\\\",\\\"time\\\":\\\"2021-04-29T01:02:11Z\\\",\\\"attempt\\\":1,\\\"retry\\\":false,\\\"pluginid\\\":\\\"ibm-file-plugin-1619479127\\\",\\\"pvcid\\\":\\\"2dac3c70-eb65-40c2-9d1f-5632dad10232\\\"}\",\"volume.beta.kubernetes.io/storage-provisioner\":\"ibm.io/ibmc-file\"},\"creationTimestamp\":\"2021-04-29T01:02:11Z\",\"finalizers\":[\"kubernetes.io/pvc-protection\"],\"labels\":{\"region\":\"us-south\",\"zone\":\"sjc04\"},\"managedFields\":[{\"apiVersion\":\"v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\".\":{},\"f:volume.beta.kubernetes.io/storage-provisioner\":{}}}},\"manager\":\"kube-controller-manager\",\"operation\":\"Update\",\"time\":\"2021-04-29T01:02:11Z\"},{\"apiVersion\":\"v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:spec\":{\"f:accessModes\":{},\"f:resources\":{\"f:requests\":{\".\":{},\"f:storage\":{}}},\"f:volumeMode\":{}},\"f:status\":{\"f:phase\":{}}},\"manager\":\"kubectl-create\",\"operation\":\"Update\",\"time\":\"2021-04-29T01:02:11Z\"},{\"apiVersion\":\"v1\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:annotations\":{\"f:ibm.io/provisioning-status\":{}},\"f:labels\":{\".\":{},\"f:region\":{},\"f:zone\":{}}}},\"manager\":\"armada-storage-file-plugin\",\"operation\":\"Update\",\"time\":\"2021-04-29T01:02:12Z\"}],\"name\":\"volumeop-basic-63777-my-pvc\",\"namespace\":\"kubeflow\",\"resourceVersion\":\"1402962\",\"selfLink\":\"/api/v1/namespaces/kubeflow/persistentvolumeclaims/volumeop-basic-63777-my-pvc\",\"uid\":\"2dac3c70-eb65-40c2-9d1f-5632dad10232\"},\"spec\":{\"accessModes\":[\"ReadWriteOnce\"],\"resources\":{\"requests\":{\"storage\":\"10M\"}},\"storageClassName\":\"ibmc-file-gold-gid\",\"volumeMode\":\"Filesystem\"},\"status\":{\"phase\":\"Pending\"}}" | ||
[create-pvc : main] time="2021-04-29T01:02:12Z" level=info msg="[kubectl get PersistentVolumeClaim./volumeop-basic-63777-my-pvc -o jsonpath={.metadata.name} -n kubeflow]" | ||
[create-pvc : main] time="2021-04-29T01:02:12Z" level=info msg="Saved output parameter: name, value: volumeop-basic-63777-my-pvc" | ||
[create-pvc : main] time="2021-04-29T01:02:12Z" level=info msg="[kubectl get PersistentVolumeClaim./volumeop-basic-63777-my-pvc -o jsonpath={.status.capacity.storage} -n kubeflow]" | ||
[create-pvc : main] time="2021-04-29T01:02:12Z" level=info msg="Saved output parameter: size, value: " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters