-
Notifications
You must be signed in to change notification settings - Fork 216
[Bug] Need to optimize the test scripts for tests/embeddings/test_embeddings_ovms.sh #1481
Copy link
Copy link
Closed
Labels
Description
Priority
P2-High
OS type
Ubuntu
Hardware type
Xeon-SPR
Installation method
- Pull docker images from hub.docker.com
- Build docker images from source
- Other
Deploy method
- Docker
- Docker Compose
- Kubernetes Helm Charts
- Other
Running nodes
Single Node
What's the version?
main branch
Description
While migrate CI into a new test cluster, we found the tests/embeddings/test_embeddings_ovms.sh has some hardcode dependency of the test ENV. Need to modify the test scripts make sure it can run on a clean test ENV.
https://github.com/opea-project/GenAIComps/actions/runs/14132097047/job/39594788082?pr=1475
Reproduce steps
Run tests/embeddings/test_embeddings_ovms.sh without local cache.
Raw log
chmod: cannot access '/cache/hub': No such file or directory
+ docker run -v /home/runner/.cache/huggingface:/cache ubuntu:22.04 chmod o+rw /cache/hub/.locks
chmod: cannot access '/cache/hub/.locks': No such file or directory
+ docker run -v /home/runner/.cache/huggingface:/cache ubuntu:22.04 chmod -R o+rw /cache/hub/.locks/models--thenlper--gte-small
chmod: cannot access '/cache/hub/.locks/models--thenlper--gte-small': No such file or directory
+ true
+ docker run -v /home/runner/.cache/huggingface:/cache ubuntu:22.04 chmod -R o+rw /cache/hub/models--thenlper--gte-small
chmod: cannot access '/cache/hub/models--thenlper--gte-small': No such file or directoryAttachments
No response
Reactions are currently unavailable