Skip to content

Bazel 0.29 contains a regression with Remote Build Execution backend #9284

Closed

Description

@v-mr

Description of the problem / feature request:

Bazel 0.29.0 (#8572) has regression with Remote Build Execution backend.

Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

ERROR: /test/BUILD:205:5: failed (Exit 34). Note: Remote connection/protocol failed with: execution failed FAILED_PRECONDITION: Precondition check failed.

What operating system are you running Bazel on?

Linux 4.19.37-5+deb10u1rodete1-amd64 #1 SMP Debian 4.19.37-5+deb10u1rodete1 (2019-07-22 > 2018) x86_64 GNU/Linux

What's the output of bazel info release?

release 0.29.0

Activity

  1. self-assigned this
    on Aug 29, 2019
  2. added
    P1
    team-Remote-Exec
    on Aug 29, 2019
  3. katre commented on Aug 29, 2019

    @katre
    Collaborator

    I am investigating with @v-mr

  4. lizan commented on Aug 29, 2019

    @lizan

    We're seeing same issue in envoyproxy/envoy#8074, seems this only happens when --nocache_test_results is passed to bazel. I can reproduce it with --nocache_test_results but not without it.

  5. katre commented on Aug 29, 2019

    @katre
    Collaborator

    Thank you for the data point, @lizan.

    @v-mr has given me a repoduction case and I am bisecting now.

  6. katre commented on Aug 29, 2019

    @katre
    Collaborator

    @lizan It's possible that the difference with --nocache_test_results is that when it is not set the tests aren't executed, which seems to be where the failure is.

  7. lizan commented on Aug 29, 2019

    @lizan

    It's possible that the difference with --nocache_test_results is that when it is not set the tests aren't executed, which seems to be where the failure is.

    @katre I doubt so because I changed the our RBE image SHA at same time, which should revoke all cache in the first time when I ran without --nocache_test_results.

  8. katre commented on Aug 29, 2019

    @katre
    Collaborator

    Bisect has eventually told me that the culprit is e4ccba4. I have no idea why that is, but reverting it from master causes my reproduction to be fixed.

    I'm going to debug this further to try and determine why this change causes this failure.

  9. katre commented on Aug 30, 2019

    @katre
    Collaborator

    That commit is the one that caused the action key to change, which is apparently what causes the bug to be visible. It's not the commit that actually causes the error.

  10. buchgr commented on Aug 30, 2019

    @buchgr
    Contributor

    Trying to repro. PRECONDITION_FAILED hints at inputs not being uploaded.

  11. buchgr commented on Aug 30, 2019

    @buchgr
    Contributor
  12. buchgr commented on Aug 30, 2019

    @buchgr
    Contributor

    Fix: #9287

  13. buchgr commented on Aug 30, 2019

    @buchgr
    Contributor

    Here's a patch that applies cleanly on 0.29.0: buchgr@c475d7d

  14. added a commit that references this issue on Sep 3, 2019
    6aa95d7
  15. brandjon commented on Sep 3, 2019

    @brandjon
    Member

    Came across this issue from a buildkite "Emergency" message. Since this issue is closed (and the message refers to a solution "later today"), can the message be removed?

  16. katre commented on Sep 4, 2019

    @katre
    Collaborator

    @brandjon The core issue won't be fixed until 0.29.1 is released, hopefully tomorrow.

  17. added a commit that references this issue on Sep 10, 2019
    4f9cd08
  18. added a commit that references this issue on Sep 25, 2019
    1b771ec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1team-Remote-Exectype: bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions