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 fails silently when the experimental_downloader_config path does not exist #20058

Closed
dieortin opened this issue Nov 6, 2023 · 2 comments
Assignees
Labels
P2 We'll consider working on this in future. (Assignee optional) team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. type: bug

Comments

@dieortin
Copy link

dieortin commented Nov 6, 2023

Description of the bug:

When running bazel with experimental_downloader_config set to an invalid path, bazel fails and returns without printing any error message. Thus, it's harder to know what went wrong.

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.

Run a build command like this:
bazel build //some:target --experimental_downloader_config=/etc/non_existing_file.cfg

Which operating system are you running Bazel on?

SUSE Linux RT SP4

What is the output of bazel info release?

release 6.1.2

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 master; 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

tjgq added a commit to tjgq/bazel that referenced this issue Nov 6, 2023
@tjgq tjgq added team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. and removed untriaged labels Nov 6, 2023
@meteorcloudy meteorcloudy added P2 We'll consider working on this in future. (Assignee optional) and removed untriaged labels Nov 7, 2023
@meteorcloudy meteorcloudy self-assigned this Nov 7, 2023
@meteorcloudy
Copy link
Member

@bazel-io fork 7.0.0

bazel-io pushed a commit to bazel-io/bazel that referenced this issue Nov 8, 2023
…ing.

Fixes bazelbuild#20058.

Closes bazelbuild#20061.

PiperOrigin-RevId: 580442451
Change-Id: Ic0a856e843428d655b6d11d437af7be76f3cc573
@meteorcloudy meteorcloudy assigned tjgq and unassigned meteorcloudy Nov 8, 2023
keertk pushed a commit that referenced this issue Nov 8, 2023
… is missing. (#20092)

Fixes #20058.

Closes #20061.

Commit
371e927

PiperOrigin-RevId: 580442451
Change-Id: Ic0a856e843428d655b6d11d437af7be76f3cc573

Co-authored-by: Tiago Quelhas <tjgq@google.com>
@iancha1992
Copy link
Member

A fix for this issue has been included in Bazel 7.0.0 RC5. Please test out the release candidate and report any issues as soon as possible. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 We'll consider working on this in future. (Assignee optional) team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants