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

[Bazel CI] Error with Jq buildozer/npm/package.json failed #1277

Closed
sgowroji opened this issue Jul 8, 2024 · 3 comments
Closed

[Bazel CI] Error with Jq buildozer/npm/package.json failed #1277

sgowroji opened this issue Jul 8, 2024 · 3 comments

Comments

@sgowroji
Copy link
Member

sgowroji commented Jul 8, 2024

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3973#01909085-36e1-46d6-8d7f-4ca4defcf6b5

Platform: MacOS

Logs:

ERROR: /Users/buildkite/builds/bk-macos-arm64-49d5/bazel-org-repo-root/buildtools/buildozer/npm/BUILD.bazel:43:21: Jq buildozer/npm/package.json failed: (Exit 126): bash failed: error executing Jq command (from target //buildozer/npm:package)
  (cd /private/var/tmp/_bazel_buildkite/f04129956e693ff6baf12be6084dbcb1/sandbox/darwin-sandbox/455/execroot/buildtools && \
  exec env - \
  /bin/bash -c 'external/jq_darwin_arm64/jq  '\''$ARGS.named.STAMP as $stamp|.version = ($stamp.BUILD_SCM_VERSION // "0.0.0")'\'' '\''buildozer/npm/package.json'\'' > bazel-out/darwin_arm64-fastbuild/bin/buildozer/npm/package.json')
# Configuration: 70803f24e9466ec67db9601dc634d2b3809c3a78b65048c40cd86c9103753870
# Execution platform: @@internal_platforms_do_not_use//host:host
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
/bin/bash: external/jq_darwin_arm64/jq: Bad CPU type in executable
(06:07:18) INFO: Elapsed time: 35.466s, Critical Path: 6.84s
(06:07:18) INFO: 898 processes: 338 remote cache hit, 444 internal, 115 darwin-sandbox, 1 local.
(06:07:18) ERROR: Build did NOT complete successfully
STATUS
//buildozer/npm:integration_test                                FAILED TO BUILD

Culprit:

Steps:

git clone https://github.com/bazelbuild/buildtools
git reset 80f1f6802857db4d74983ee7ffa0b83e2bbeeda4  --hard
export USE_BAZEL_VERSION=8a244ccb5bd484c45bec4446211bf95c32683ac9
bazel build //... 

CC Greenteam @comius

@sgowroji
Copy link
Member Author

CC @vladmos

@vladmos
Copy link
Member

vladmos commented Jul 30, 2024

Should be fixed now.

@vladmos vladmos closed this as completed Jul 30, 2024
@Attila421
Copy link

Incongnito history

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants