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

Improve error handling when mounting the bottlerocket source code fails. #332

Open
jmt-lab opened this issue Jul 23, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@jmt-lab
Copy link
Contributor

jmt-lab commented Jul 23, 2024

A customer attempted to build bottlerocket variants inside of a docker container with the docker daemon socket shared between the host and the container. The build failed when buildsys orchestrated docker build to mount the sources into the build context because of the directory going from container volume -> host -> build-context. (bottlerocket-os/bottlerocket#4100)

However, the error message is rather unhelpful and doesn't give any actionable feedback. We should investigate if we can handle this case more gracefully.

2024-07-23 23:46:20 [ERROR] the directory /tmp/sources doesn't contain a Cargo.toml file
Error while executing command, exit code: 1
Error: Command was unsuccessful, exit code 105
Error while executing command, exit code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant