question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build from Master branch is failing

See original GitHub issue
bazel --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:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
davidocommented, Oct 16, 2020

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/

0reactions
davidocommented, Oct 22, 2020
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found