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

ci.bazel.io's Bazel job is failing on Linux #1239

Closed
damienmg opened this issue May 6, 2016 · 5 comments
Closed

ci.bazel.io's Bazel job is failing on Linux #1239

damienmg opened this issue May 6, 2016 · 5 comments
Assignees
Labels
P0 This is an emergency and more important than other current work. (Assignee required) type: bug under investigation

Comments

@damienmg
Copy link
Contributor

damienmg commented May 6, 2016

ERROR: /home/ci/workspace/Bazel/JAVA_VERSION/1.8/PLATFORM_NAME/linux-x86_64/src/main/tools/BUILD:31:1: C++ compilation of rule '//src/main/tools:namespace-sandbox' failed: namespace-sandbox failed: error executing command /home/ci/.cache/bazel/_bazel_ci/5f3cd5a16c8c04003810da50910b348c/linux-x86_64/_bin/namespace-sandbox ... (remaining 39 argument(s) skipped).
src/main/tools/namespace-sandbox.c:707: execvp(argv[0], argv): No such file or directory

@damienmg damienmg self-assigned this May 6, 2016
@damienmg damienmg added type: bug under investigation P0 This is an emergency and more important than other current work. (Assignee required) labels May 6, 2016
@damienmg
Copy link
Contributor Author

damienmg commented May 6, 2016

@damienmg
Copy link
Contributor Author

damienmg commented May 6, 2016

It fails while src:dummy_darwin_tool_src_tools_xcode_xcrunwrapper_xcrunwrapper.

Not reproducible on my workstation

@damienmg
Copy link
Contributor Author

damienmg commented May 6, 2016

oops that's in determinism test.

@damienmg
Copy link
Contributor Author

damienmg commented May 6, 2016

Ok that's C++ compilation so definitely coming from the C++ auto-configuration. Let see what's wrong

bazel-io pushed a commit that referenced this issue May 6, 2016
*** Reason for rollback ***

Roll-forward with fix:
- Previous test did let the all_files group with the wrapper script, and it got removed when creating the actual change. Added it back

Tested with `./compile.sh determinism`

*** Original change description ***

Automated [] rollback of commit 87a5858.

*** Reason for rollback ***

The sandbox fix did not fix. More work is needed.

Fixes #1239

*** Original change description ***

Automated [] rollback of commit b4549fe.

*** Reason for rollback ***

Rollforward with fixes:
  - Quote single-quote in the environment exports
  - Exclude the following environment variables: _ and dotted names
  - Add the wrapper to the dependency of the crosstool chain so it gets shipped to the sandbox.

Hopefu...

--
MOS_MIGRATED_REVID=121667505
@Cescante
Copy link

Cescante commented Jun 18, 2016

Why is the commit rolled back? I'm getting this issue on ubuntu 16.04 for all bazel versions starting 0.2.2, and
error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for bazel 0.2.1 and before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 This is an emergency and more important than other current work. (Assignee required) type: bug under investigation
Projects
None yet
Development

No branches or pull requests

2 participants