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

rules_rust is failing on ubuntu 14.04 #379

Closed
meteorcloudy opened this issue Nov 12, 2018 · 5 comments · Fixed by bazelbuild/rules_rust#159
Closed

rules_rust is failing on ubuntu 14.04 #379

meteorcloudy opened this issue Nov 12, 2018 · 5 comments · Fixed by bazelbuild/rules_rust#159
Labels

Comments

@meteorcloudy
Copy link
Member

https://buildkite.com/bazel/bazel-with-downstream-projects-bazel/builds/581#37a1729b-a2af-4e71-a884-3a6b569cb84f

ERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/86f1779ca733938ca729bb6388303f9b/external/examples/hello_out_dir/BUILD:8:1: Couldn't build file external/examples/hello_out_dir/hello_out_dir.out_dir: error executing shell command: '/bin/bash -c mkdir bazel-out/k8-fastbuild/bin/external/examples/hello_out_dir/hello_out_dir.out_dir && tar -xzf external/examples/hello_out_dir/repacked_srcs.tar.gz -C bazel-out/k8-fastbuild/bin/ex...' failed (Exit 1) bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped)
--
  |  
  | Use --sandbox_debug to see verbose messages from the sandbox
  | mkdir: cannot create directory 'bazel-out/k8-fastbuild/bin/external/examples/hello_out_dir/hello_out_dir.out_dir': File exists

I couldn't reproduce this on my local machine. So I believe this is a CI issue.

FYI @philwo @fweikert

@meteorcloudy
Copy link
Member Author

Not failing anymore

@meteorcloudy
Copy link
Member Author

Happening again at https://buildkite.com/bazel/bazel-with-downstream-projects-bazel/builds/596#d492de0e-a52c-4237-9bac-6b916a095be7
Not sure why mkdir failed with File exists,
/cc @damienmg Do you have any idea on this? Can we clean up the directory before executing mkdir?

@damienmg
Copy link
Contributor

damienmg commented Nov 16, 2018 via email

@damienmg
Copy link
Contributor

Should be fixed now :)

@meteorcloudy
Copy link
Member Author

Thank you so much!

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