Comments (4)
It's happening again with Bazel 3.1.0 for Linux ARM 64: https://releases.bazel.build/3.1.0/release/bazel-3.1.0-linux-arm64
I'm using Bazelisk version 1.7.3. I've also tried rolling back to 1.7.1 (by npm installing it) and the same issue persists. Is there any sort of workaround? It seems like no matter what version of Bazelisk is used, Bazelisk tries to install the latest Bazel, and there's no option otherwise.
from bazelisk.
Our pipeline for publishing Bazel binaries had some issue during the process of adding Apple Silicon machines, now it's resolved.
from bazelisk.
@KeithMoyer I can confirm that this happened a few times in the past. I'm looking into how to fix this reliably - we probably have to do this in the backend mechanism that updates the last green commit on CI. I'll update this bug when there is progress.
How long are "last green" builds kept available after a new green commit is added?
The last green builds are currently kept forever. However, there is a known race condition where the "last green" pointer can get updated before the binaries have been uploaded (because both happen in different pipelines at the moment).
from bazelisk.
This also affects the CI of the Bazel Central Registry (last in https://buildkite.com/bazel/bcr-presubmit/builds/569).
It looks like Bazelisk is using the existence of a directory as the indicator for the availability of a particular version. Is it possible that the build job uploads the individual binaries into this location as they are built rather than atomically after all have been built? Could the build jobs upload into a temporary location and then trigger a final job that moves the bucket directory into the expected location atomically?
Alternatively, perhaps Bazelisk could check the contents of the directory for the particular binary it would download.
from bazelisk.
Related Issues (20)
- Bazelisk does not print its version anymore in `1.18.0` when calling `bazelisk version` HOT 2
- py_bazelisk_test & py3_bazelisk_test is failing with Bazel@HEAD HOT 2
- Support BAZELISK_VERIFY_SHA256 for multiplatform projects HOT 1
- .bazelversion not being read in parent directory outside of WORKSPACE HOT 2
- Bazelisk is failing with "httputil:go_default_test" at Bazel@HEAD HOT 2
- `latest-1` is resolved as 7.0.0 instead of 6.4.0 HOT 1
- could not download Bazel when I want to execute the command:bazel build onos HOT 9
- bazelisk run/test hide segmentation violations
- Error loading package under directory error with Bazel@HEAD in CI HOT 6
- How to avoid bazel installation? HOT 6
- Could not download Bazel - bad file descriptor HOT 1
- caoky HOT 1
- Use cached executable if no network available
- Steps for installing Bazelisk are not new-developer friendly HOT 2
- Bazelisk pulls incorrect Bazel on Windows ARM64 HOT 2
- bazel version 6.5.0 install issue HOT 3
- Add an automatic workflow to update winget pkgs HOT 1
- Support `Tools/` in case-sensitive file systems HOT 4
- [Bazel CI] Bazelisk tests are failing at Bazel@HEAD
- could not download Bazel: could not resolve the version 'latest' to an actual version number
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bazelisk.