Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spark-operator test is flaky #2693

Closed
jlewi opened this issue Mar 14, 2019 · 1 comment
Closed

spark-operator test is flaky #2693

jlewi opened this issue Mar 14, 2019 · 1 comment

Comments

@jlewi
Copy link
Contributor

jlewi commented Mar 14, 2019

spark-operator test is flaky.

+ echo Command failed: ks apply default -c spark-operator
+ for i in '$(seq 1 3)'
+ set +e
+ ks apply default -c spark-operator
Command failed: ks apply default -c spark-operator
level=error msg="find objects: open /mnt/test-data-volume/kubeflow-presubmit-kfctl-2676-311d2a5-6257-019e/kfctl-019e/ks_app/environments/default/params.li
bsonnet: no such file or directory"
Command failed: ks apply default -c spark-operator
command didn't succeed
+ result=1

Here's a screen shot of the graph
spark-operator

It looks like there is a race condition; we try to apply the spark operator before kfctl apply is finished.

I believe ks apply deletes and recreates the environment. I wonder if this could cause this particular error.

@jlewi
Copy link
Contributor Author

jlewi commented Mar 14, 2019

Here are logs from the kfctl apply k8s step that shows that the environment is created during that step.

 createKsEnv
+ pushd /mnt/test-data-volume/kubeflow-presubmit-kfctl-2676-311d2a5-6257-019e/kfctl-019e/ks_app
+ set +e
/mnt/test-data-volume/kubeflow-presubmit-kfctl-2676-311d2a5-6257-019e/kfctl-019e/ks_app /mnt/test-data-volume/kubeflow-presubmit-kfctl-2676-311d2a5-6257-0
19e/kfctl-019e/ks_app /mnt/test-data-volume/kubeflow-presubmit-kfctl-2676-311d2a5-6257-019e/kfctl-019e
++ ks env describe default
+ O='level=error msg="environment \"default\" was not found"'
+ RESULT=1
+ set -e
+ '[' 1 -eq 0 ']'
+ ks env add default --namespace kubeflow
level=info msg="Using context \"kfctl-019e\" from kubeconfig file \"/mnt/test-data-volume/kubeflow-presubmit-kfctl-2676-311d2a5-6257-019e/kfctl_test/.kube
/kubeconfig\""
level=info msg="Creating environment \"default\" with namespace \"kubeflow\", pointing to cluster at address \"https://35.229.52.71\""
+ popd

jlewi added a commit to jlewi/kubeflow that referenced this issue Mar 14, 2019
* Don't try to apply the spark-operator until after calling kfctl apply k8s
  because the ksonnet environment gets created during the step.

Fix kubeflow#2693
k8s-ci-robot pushed a commit that referenced this issue Mar 15, 2019
* Attempt to fix spark-operator test flakiness.

* Don't try to apply the spark-operator until after calling kfctl apply k8s
  because the ksonnet environment gets created during the step.

Fix #2693

* Disable argo deploy test because it is flaky: #1407

* Disable minikube E2E on presubmit because its timing out.

Related to #2703
saffaalvi pushed a commit to StatCan/kubeflow that referenced this issue Feb 11, 2021
…ow#2694)

* Attempt to fix spark-operator test flakiness.

* Don't try to apply the spark-operator until after calling kfctl apply k8s
  because the ksonnet environment gets created during the step.

Fix kubeflow#2693

* Disable argo deploy test because it is flaky: kubeflow#1407

* Disable minikube E2E on presubmit because its timing out.

Related to kubeflow#2703
saffaalvi pushed a commit to StatCan/kubeflow that referenced this issue Feb 12, 2021
…ow#2694)

* Attempt to fix spark-operator test flakiness.

* Don't try to apply the spark-operator until after calling kfctl apply k8s
  because the ksonnet environment gets created during the step.

Fix kubeflow#2693

* Disable argo deploy test because it is flaky: kubeflow#1407

* Disable minikube E2E on presubmit because its timing out.

Related to kubeflow#2703
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant