Skip to content
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

Getting weird "file does not exist" errors #3

Open
vpavlin opened this issue Apr 27, 2015 · 1 comment
Open

Getting weird "file does not exist" errors #3

vpavlin opened this issue Apr 27, 2015 · 1 comment

Comments

@vpavlin
Copy link

vpavlin commented Apr 27, 2015

Hey, I can't figure this out, maybe you will..

I get this after every Scenario:

On 192.168.122.99 returned 1
stderr: cat: /tmp/dockerregistryusersysredhatcombrewrhel715scratch.cid: No such file or directory
cmd: cat /tmp/dockerregistryusersysredhatcombrewrhel715scratch.cid

Although when I do (in the VM I use to run the tests):

[root@localhost test-containers]# ls /tmp/dockerregistryusersysredhatcombrewrhel715scratch.cid
/tmp/dockerregistryusersysredhatcombrewrhel715scratch.cid
[root@localhost test-containers]# more /tmp/dockerregistryusersysredhatcombrewrhel715scratch.cid
d0adf2d22d4c9152a519bbb8b8a41eabb91fb1ba5209530aaf7acabc286527da
[root@localhost test-containers]# 

I was looking at common_environment but...I don't know:)

@vrutkovs
Copy link
Member

Its caused by https://github.com/Containers-Testing-Framework/ctf-cli/blob/master/ctf_cli/common_environment.py#L137: we're removing cid file, where docker container ID used to be stored.

I guess the solution here would be to simply check if the file exists before removing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants