08-18-2021 07:24 PM
I'm a communication networks student and I have a project to do some network tests using pyats xpresso dashboard [pyats xpresso][1]
and I use Docker image ciscotestautomation/pyats to do the test which has Dockerfile:
[Dockerfile for creating pyats-docker][2]
And an entrypoint.sh file contains:
[pyats docker-entrypoint.sh][2]
the problem is:
I created a volume in the ubuntu docker host to upload some test files to the docker container "pyats".
and I got the following Error Details:
"Run upload failed - upload failed because zip_path was not found."
and the run console log is:
[Entrypoint] Starting pyATS Docker Image ...
[Entrypoint] Workspace Directory: /pyats
[Entrypoint] Activating workspace
/entrypoint.sh: line 11: /pyats/bin/activate: No such file or directory
[Entrypoint] Starting pyATS Docker Image ...
[Entrypoint] Workspace Directory: /pyats
[Entrypoint] Activating workspace
/entrypoint.sh: line 11: /pyats/bin/activate: No such file or directory
/entrypoint.sh: line 11: /pyats/bin/activate: No such file or directory
[Entrypoint] Starting pyATS Docker Image ...
[Entrypoint] Workspace Directory: /pyats
[Entrypoint] Activating workspace
[1]: https://github.com/CiscoTestAutomation/xpresso
[2]: https://github.com/CiscoTestAutomation/pyats-docker/blob/master/21.7/full/docker-entrypoint.sh
how to solve the issue, I am a newbie to docker and pyats xpresso as well. and I think the issue is in docker volume if I am not wrong.