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

Dgoss Error when Running tests /goss/goss: no such file or directory. #923

Closed
viralsanghavi opened this issue May 29, 2024 · 3 comments
Closed
Labels

Comments

@viralsanghavi
Copy link

I have my dockerfile and goss.yaml on the root level.

  1. In my CICD I have first built the docker image with a tag name
  2. I ran dgoss run imageName
  3. I get this error below in the ss
image
@aelsabbahy
Copy link
Member

My guess is either goss doesn't exist in $PATH or the goss binary architecture and container don't align.

Try setting GOSS_PATH to /usr/local/bin/goss if that doesn't work, check the architecture of the container and goss binary.

I don't like the vagueness of this error, perhaps once we identify it, the documentation or error message in dgoss can be improved.

@aelsabbahy
Copy link
Member

Looping back on this, wondering if you had a chance to look into my suggestion above?

@aelsabbahy
Copy link
Member

Assume this issue was resolved since I haven't gotten any feedback. Feel free to re-open or open new issue if it's not.

Thanks!

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

No branches or pull requests

2 participants