-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Unable to run rest api tests - No such container:path: test_cvat_server_1:\tmp #5063
Comments
Hi! Could you please say:
Could you also try to follow the advice from this discussion? |
Hmm, in the develop branch containers use underscores in their names. Which CVAT version are you using? Did you modify files somehow? |
No, this seems unrelated. Did you try to rename any containers? The developer installation instructions for SDK and CLI are available here. You'll need to install both SDK and CLI like this: |
No, I didn't try to rename them, should I? |
I'm not sure why in your case the containers have the |
I will close the issue as resolved. Feel free to reopen, if needed. |
My actions before raising this issue
Expected Behaviour
Running tests
Current Behaviour
When I run a specific test or all tests using "pytest ./tests/python" I'm getting an error msg:
No such container:path: test_cvat_server_1:\tmp
Possible Solution
It seems to me, Docker doesn't execute copying function properly
tests/python/shared/fixtures/init.py :196 - docker_restore_data_volumes
Context
Environment was installed in accordance with the instructions
Here is a problem with copying tarball or creating "tmp" directory
I also tried to add required directory in test-cvat_server-1 container manually but it didn't work out
If you know what can I do about it please let me know. Thank you


Your Environment
! _pytest.outcomes.Exit: Command failed: docker container cp C:\Users\Я\PycharmProjects\cvat\tests\python\shared\assets\cvat_db\cvat_data.tar.bz2 test_cvat_server_1:/tmp/cvat_data.tar.

bz2.
Error message: Error: No such container:path: test_cvat_server_1:\tmp
The text was updated successfully, but these errors were encountered: