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

BuildFileNotFoundException: no such package '@@[unknown repo 'buildkite_config' requested from @@]//config': The repository '@@[unknown repo 'buildkite_config' requested from @@]' could not be resolved: No repository visible as '@buildkite_config' from main repository #3713

Closed
sgowroji opened this issue Jan 18, 2024 · 7 comments · Fixed by bazelbuild/continuous-integration#1939

Comments

@sgowroji
Copy link

sgowroji commented Jan 18, 2024

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3599#018d1aba-e116-47ac-bd22-d9b2ca73bcc5

Platform: Ubuntu

Logs:

(04:01:57) ERROR: /var/lib/buildkite-agent/builds/bk-docker-w343/bazel-org-repo-root/rules_nodejs/e2e/smoke/BUILD.bazel:156:8: com.google.devtools.build.lib.packages.BuildFileNotFoundException: no such package '@@[unknown repo 'buildkite_config' requested from @@]//config': The repository '@@[unknown repo 'buildkite_config' requested from @@]' could not be resolved: No repository visible as '@buildkite_config' from main repository
(04:01:57) ERROR: Analysis of target '//:require_acorn' failed; build aborted

Bzlmod is enabled by default at HEAD, Requires a fix in the configuration.

Culprit: bazelbuild/bazel@30d033c

Steps:

git clone -v https://github.com/bazelbuild/rules_nodejs.git 
git reset 9898ac17be19f7a4a268ba7123e969bcc6f693b6 --hard
export USE_BAZEL_VERSION=3e7052824b54158d72e4b07d6330aa41a9857707
cd e2e/smoke
bazel build //... 

CC Greenteam @meteorcloudy

@sgowroji
Copy link
Author

CC @alexeagle @gregmagolan

@alexeagle
Copy link
Collaborator

buildkite_config doesn't seem like anything in rules_nodejs. Is this something now expected by the Bazel CI?

@sgowroji
Copy link
Author

@meteorcloudy Can you please guide on the above comments. Thanks

@meteorcloudy
Copy link
Collaborator

Yes, it's required by Bazel CI to run with RBE. It's defined in one of the smoke test:
https://github.com/bazelbuild/rules_nodejs/blob/9898ac17be19f7a4a268ba7123e969bcc6f693b6/e2e/smoke/WORKSPACE.bazel#L57-L62

However, in the downstream pipeline, Bzlmod is enabled at HEAD and there is a WORKSPACE.bzlmod file there.
So moving the definition to MODULE.bazel or WORKSPACE.bzlmod could solve this problem.

@sgowroji
Copy link
Author

Hi @alexeagle, Any update on the above failures ?

@sgowroji
Copy link
Author

sgowroji commented Feb 5, 2024

Hi @alexeagle, Above CI is still failing in Downstream, We will be moving it to Disabled CI pipelines until this issue gets fixed. Thanks!

@sgowroji
Copy link
Author

sgowroji commented Apr 5, 2024

CI is Green now in Disabled Pipeline. Closing this issue now and enabling the rules_nodejs in downstream CI

@sgowroji sgowroji closed this as completed Apr 5, 2024
meteorcloudy pushed a commit to bazelbuild/continuous-integration that referenced this issue Apr 11, 2024
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 a pull request may close this issue.

3 participants