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

Occasionally missing output files from remote cache with BwtB #21989

Closed
joeljeske opened this issue Apr 12, 2024 · 5 comments
Closed

Occasionally missing output files from remote cache with BwtB #21989

joeljeske opened this issue Apr 12, 2024 · 5 comments
Labels
team-Remote-Exec Issues and PRs for the Execution (Remote) team type: bug untriaged

Comments

@joeljeske
Copy link
Contributor

Description of the bug:

After bumping from Bazel 6.4.0 -> 7.1.1, I see that after Bazel completes a build with remote_download_topelevel, sometimes there are one or more missing files that should have been downloaded from RBE/RC. It is inconsistent which files are missing, and do not have a pattern in mnemonic or file extension. If I retry the same build on that machine immediately after, the file is still missing.

Which category does this issue belong to?

Remote Execution

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

I do not have a consistent repro yet.

Which operating system are you running Bazel on?

Ubuntu

What is the output of bazel info release?

release 7.1.1

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.

Yes. I did not see these errors in 6.4.0

Have you found anything relevant by searching the web?

No response

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

No response

@github-actions github-actions bot added the team-Remote-Exec Issues and PRs for the Execution (Remote) team label Apr 12, 2024
@brentleyjones
Copy link
Contributor

Maybe #20737 is related? Does --noexperimental_merged_skyframe_analysis_execution fix it for you?

@joeljeske
Copy link
Contributor Author

Ah interesting. Let me give it a shot.

@joeljeske
Copy link
Contributor Author

Yes, @brentleyjones you are right. Flipping that flag off has eliminated this class of errors. Thank you!

Perhaps #20737 should be re-titled to not appear BEP-specific, but rather any output files could be missing?

@brentleyjones
Copy link
Contributor

cc: @coeuvre

@tjgq
Copy link
Contributor

tjgq commented Apr 23, 2024

Pretty sure this is a dupe of #20737.

@tjgq tjgq closed this as not planned Won't fix, can't repro, duplicate, stale Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Remote-Exec Issues and PRs for the Execution (Remote) team type: bug untriaged
Projects
None yet
Development

No branches or pull requests

6 participants