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

Add step to remove corrupted Bazel installation from CI cache #952

Merged
merged 4 commits into from
Apr 20, 2022

Conversation

pudelkoM
Copy link
Member

@pudelkoM pudelkoM commented Apr 13, 2022

Currently, all CI jobs fail with this Bazel error:

2022/04/12 23:15:09 Downloading https://releases.bazel.build/4.2.2/release/bazel-4.2.2-linux-x86_64...
FATAL: corrupt installation: file '/tmp/bazel-cache/output-root/install/64841bf12de13c7518c7ada0994bafe2/A-server.jar' is missing or modified.  Please remove '/tmp/bazel-cache/output-root/install/64841bf12de13c7518c7ada0994bafe2' and try again.

Exited with code exit status 36

This PR fixes this by removing the listed folder.

See also:
https://groups.google.com/g/bazel-discuss/c/1NSPPwV7ejY
bazelbuild/bazel#471
bazelbuild/bazel#14355

@codecov
Copy link

codecov bot commented Apr 13, 2022

Codecov Report

Merging #952 (2e84abb) into main (b7da752) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #952   +/-   ##
=======================================
  Coverage   79.28%   79.28%           
=======================================
  Files         342      342           
  Lines       31103    31103           
=======================================
  Hits        24659    24659           
  Misses       6444     6444           

@pudelkoM pudelkoM changed the title Clean outdated bazel binary from CI cache Add step torRemove corrupted Bazel installation from CI cache Apr 20, 2022
@pudelkoM pudelkoM changed the title Add step torRemove corrupted Bazel installation from CI cache Add step to remove corrupted Bazel installation from CI cache Apr 20, 2022
@pudelkoM pudelkoM merged commit 5d836d8 into main Apr 20, 2022
@pudelkoM pudelkoM deleted the fix-ci-cache branch April 20, 2022 21:28
ffoulkes added a commit to ipdk-io/stratum-dev that referenced this pull request Jan 18, 2024
…atum#952)

Signed-off-by: Derek G Foster <derek.foster@intel.com>
ffoulkes added a commit to ipdk-io/stratum-dev that referenced this pull request Jan 18, 2024
…atum#952)

Signed-off-by: Derek G Foster <derek.foster@intel.com>
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

Successfully merging this pull request may close these issues.

None yet

1 participant