-
Notifications
You must be signed in to change notification settings - Fork 402
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
[Feature] Running end-to-end tests on local machine #589
Conversation
I just realized we may need to separate these functions into different files. that will be easier for our future updates. I posted another patch #591 and this should make our changes to ci tests more convenient. |
Thank you for this patch! Feel free to ping me for review when it passes CI/CD tests. |
I found an interesting bug when I tried to use argparse to simplify the logic of
The error message "unrecognized arguments: --input" in Experiment1 is reported by |
d240afd
to
80a43fa
Compare
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.
Thanks, this is a great improvement.
We need to download (docker pull) all necessary docker images before we load the images into a KinD cluster. Without this, the command kind load docker-image kuberay/apiserver:nightly will report an error message as follows. ERROR: image: "kuberay/apiserver:nightly" not present locally In addition, we also use kind load command to preload the rayproject/ray image into KinD cluster. Although the Kubernetes cluster will pull the ray image automatically when we create a custom resource RayCluster, pulling rayproject/ray:1.9.0 (2.44GB) may cause ImagePullBackOff (Link) due to timeout. In addition, the RayCluster startup time will vary based on network speed and make the tests flaky.
Why are these changes needed?
We need to download (
docker pull
) all necessary docker images before we load the images into a KinD cluster. Without this, the commandkind load docker-image kuberay/apiserver:nightly
will report an error message as follows.In addition, we also use
kind load
command to preload therayproject/ray
image into KinD cluster. Although the Kubernetes cluster will pull the ray image automatically when we create a custom resourceRayCluster
, pullingrayproject/ray:1.9.0
(2.44GB) may causeImagePullBackOff
(Link) due to timeout. In addition, theRayCluster
startup time will vary based on network speed and make the tests flaky.Related issue number
Closes #590
Checks
cd /path/to/your/kuberay python3 tests/compatibility-test.py