Build from Master branch is failing
See original GitHub issuebazel --version
bazel 2.2.0
git rev-parse HEAD
296a0051e1692da91a9b0d3c9b878ac571dc9819
bazel build gerrit-oauth-provider --sandbox_debug --verbose_failures
ERROR: /home/gerrit2/plugins/oauth-provider/BUILD:10:1: Executing genrule //:gerrit-oauth-provider__gen_stamp_info failed (Exit 1): linux-sandbox failed: error executing command
(cd /home/gerrit2/.cache/bazel/_bazel_gerrit2/bf76389c5f1cd45ff338a06b1beec72d/sandbox/linux-sandbox/1/execroot/com_github_davido_gerrit_oauth_provider && \
exec env - \
TMPDIR=/tmp \
/home/gerrit2/.cache/bazel/_bazel_gerrit2/install/a968348e0a72afc534c7baff88ca46f1/linux-sandbox -t 15 -w /home/gerrit2/.cache/bazel/_bazel_gerrit2/bf76389c5f1cd45ff338a06b1beec72d/sandbox/linux-sandbox/1/execroot/com_github_davido_gerrit_oauth_provider -w /tmp -w /dev/shm -D -- /bin/bash -c 'source external/bazel_tools/tools/genrule/genrule-setup.sh; cat bazel-out/stable-status.txt | grep "^STABLE_BUILD_GERRIT-OAUTH-PROVIDER_LABEL" | awk '\''{print $NF}'\'' > bazel-out/host/bin/gerrit-oauth-provider__gen_stamp_info.txt') linux-sandbox failed: error executing command
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
master branch build failing? · Issue #58 · google/loaner - GitHub
I see that the master branch build is failing since an update 22 days ago. Is anyone going to take a look at...
Read more >Git failed to build in master branch (#6761) · Issues - GitLab
As seen from https://dev.gitlab.org/gitlab/omnibus-gitlab/-/pipelines/232254/failures, building git fails with the following error.
Read more >git - Master builds ok, but taking a clean branch from master ...
The build machine builds this new branch and even though I made no changes it fails. Usually 10-1000 unit tests fail.
Read more >Failing on the master branch instead of failing on...
If you had failing test, created a branch, fixed it locally on a branch, pushed to repository and Bamboo states it's failing a...
Read more >Build failed on swift master branch - Compiler
with this command I got to the build error previously described. I have been trying to build swift for several days now with...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Can you try to build with latest Bazel release 3.6.0, this is the latest Bazel release: https://github.com/bazelbuild/bazel/releases/tag/3.6.0.
Also consider to build oauth plugin from here: https://gerrit.googlesource.com/plugins/oauth.
The latest commits from oauth-plugin were not replicated in this repositories.
Of course you could just grab the binaries from Gerrit CI:
https://gerrit-ci.gerritforge.com/view/Plugins-master/job/plugin-oauth-bazel-master-master/
This is now fixed, see https://github.com/davido/gerrit-oauth-provider/issues/89#issuecomment-713676936.