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

//src/test/shell/bazel:srcs_test failed to build on Intel macOS due to local_bazel_source_list #21495

Open
meteorcloudy opened this issue Feb 26, 2024 · 0 comments
Labels
breakage flaky test macos-infra-update P2 We'll consider working on this in future. (Assignee optional) type: bug

Comments

@meteorcloudy
Copy link
Member

Description of the bug:

https://buildkite.com/bazel/bazel-bazel/builds/26996#018de4f2-93fd-4253-b7ad-0c990cbb3765

(11:57:23) ERROR: /private/var/tmp/_bazel_buildkite/42e36ea1c1dcd25f4ab5af8d98bf3465/external/_main~bazel_test_deps~local_bazel_source_list/BUILD:2:8: Executing genrule @@_main~bazel_test_deps~local_bazel_source_list//:sources failed: (Exit 1): bash failed: error executing Genrule command (from target @@_main~bazel_test_deps~local_bazel_source_list//:sources)
  (cd /private/var/tmp/_bazel_buildkite/42e36ea1c1dcd25f4ab5af8d98bf3465/sandbox/darwin-sandbox/8920/execroot/_main && \
  exec env - \
    PATH=/Users/buildkite/Library/Caches/bazelisk/downloads/sha256/0a9bfb9581a37049b7dcf204cc569b0458bedba20e84c55c0952161e036525ba/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin \
  /bin/bash -c 'source external/bazel_tools/tools/genrule/genrule-setup.sh; cat external/_main~bazel_test_deps~local_bazel_source_list/find.result.raw | grep -Ev '\''^(\.git|.ijwb|out/|output/|bazel-|derived|tools/defaults/BUILD)'\'' | grep -Ev '\''XXXXXXXXXXXXXX1268778dfsdf4'\'' | sort -u > bazel-out/darwin_x86_64-fastbuild/bin/external/_main~bazel_test_deps~local_bazel_source_list/sources.txt')
# Configuration: c1e7f9352bff897263fedb8c095e0afd372722603f37668d6a04cdf8ec4bda5f
# Execution platform: //:default_host_platform
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging

Which category does this issue belong to?

No response

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

This seems to be only reproducible on Intel macOS machines on CI.

Which operating system are you running Bazel on?

macOS (Intel)

What is the output of bazel info release?

No response

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse HEAD ?

No response

Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

@meteorcloudy meteorcloudy added type: bug P2 We'll consider working on this in future. (Assignee optional) breakage macos-infra-update flaky test labels Feb 26, 2024
copybara-service bot pushed a commit that referenced this issue Feb 26, 2024
This tests is very flaky in postsubmit on macOS Intel machines.

#21495

PiperOrigin-RevId: 610376373
Change-Id: Id215898317e8b1f1485e5dbaf72e9555307b83db
bazel-io pushed a commit to bazel-io/bazel that referenced this issue Mar 15, 2024
This tests is very flaky in postsubmit on macOS Intel machines.

bazelbuild#21495

PiperOrigin-RevId: 610376373
Change-Id: Id215898317e8b1f1485e5dbaf72e9555307b83db
github-merge-queue bot pushed a commit that referenced this issue Mar 15, 2024
This tests is very flaky in postsubmit on macOS Intel machines.

#21495

Commit
548bf4d

PiperOrigin-RevId: 610376373
Change-Id: Id215898317e8b1f1485e5dbaf72e9555307b83db

Co-authored-by: Googler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breakage flaky test macos-infra-update P2 We'll consider working on this in future. (Assignee optional) type: bug
Projects
None yet
Development

No branches or pull requests

4 participants