-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-28465][K8s] Fix integration tests which fail due to missing ceph-nano image #25222
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
Conversation
|
@erikerlandson pls review. |
|
@shaneknapp docker is failing above any ideas? |
|
Test build #107973 has finished for PR 25222 at commit
|
|
|
||
| new ContainerBuilder() | ||
| .withImage("ceph/daemon:v4.0.0-stable-4.0-master-centos-7-x86_64") | ||
| .withImage("ceph/daemon:latest") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this might break in a future (or future major) version of ceph/daemon? we are sure this will be always compatible?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@felixcheung Nope but if it does I can ping the guys on ceph-nano to help. The safest way to do this (like the way I tried but they deleted the image), is to push an image somewhere and use that. Is there a dockerhub repo which we can use?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless Shane sets up a docker registry that we can use for the integration tests, I guess this is the best we can do for now. I'll merge this to get tests going, we can look at alternatives separately.
|
test this please |
|
Kubernetes integration test starting |
|
Test build #108124 has finished for PR 25222 at commit
|
|
Kubernetes integration test status success |
|
test this please |
|
Kubernetes integration test starting |
|
Test build #108127 has finished for PR 25222 at commit
|
|
Kubernetes integration test status success |
|
test this please |
|
Test build #108133 has finished for PR 25222 at commit
|
|
Kubernetes integration test starting |
|
Kubernetes integration test status success |
|
Merging to master. |
…endencies" test ### What changes were proposed in this pull request? This PR use a specific version of docker image instead of `latest`. As of today, when I run K8s integration test locally, this test case fails always. Also, in this PR, I shows two consecutive failures with a dummy change. - #27465 (comment) - #27465 (comment) ``` - Launcher client dependencies *** FAILED *** ``` After that, I added the patch and K8s Integration test passed. - #27465 (comment) ### Why are the changes needed? [SPARK-28465](#25222) switched from `v4.0.0-stable-4.0-master-centos-7-x86_64` to `latest` to catch up the API change. However, the API change seems to occur again. We had better use a specific version to prevent accidental failures. ```scala - .withImage("ceph/daemon:v4.0.0-stable-4.0-master-centos-7-x86_64") + .withImage("ceph/daemon:latest") ``` ### Does this PR introduce any user-facing change? No. ### How was this patch tested? Pass `Launcher client dependencies` test in Jenkins K8s Integration Suite. Or, run K8s Integration test locally. Closes #27465 from dongjoon-hyun/SPARK-K8S-IT. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]> (cherry picked from commit 9d90c8b) Signed-off-by: Dongjoon Hyun <[email protected]>
…endencies" test ### What changes were proposed in this pull request? This PR use a specific version of docker image instead of `latest`. As of today, when I run K8s integration test locally, this test case fails always. Also, in this PR, I shows two consecutive failures with a dummy change. - #27465 (comment) - #27465 (comment) ``` - Launcher client dependencies *** FAILED *** ``` After that, I added the patch and K8s Integration test passed. - #27465 (comment) ### Why are the changes needed? [SPARK-28465](#25222) switched from `v4.0.0-stable-4.0-master-centos-7-x86_64` to `latest` to catch up the API change. However, the API change seems to occur again. We had better use a specific version to prevent accidental failures. ```scala - .withImage("ceph/daemon:v4.0.0-stable-4.0-master-centos-7-x86_64") + .withImage("ceph/daemon:latest") ``` ### Does this PR introduce any user-facing change? No. ### How was this patch tested? Pass `Launcher client dependencies` test in Jenkins K8s Integration Suite. Or, run K8s Integration test locally. Closes #27465 from dongjoon-hyun/SPARK-K8S-IT. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
What changes were proposed in this pull request?
Fixes the tests. Follows instructions here: ceph/cn#115 (comment)
How was this patch tested?
Manually by running the tests with minikube.