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 CI] Error in label_list: Illegal argument: element in 'providers' is of unexpected type #7078

Closed
sgowroji opened this issue Nov 29, 2024 · 2 comments
Assignees
Labels
awaiting-maintainer Awaiting review from Bazel team on issues product: Android Studio Android Studio plugin product: CLion CLion plugin product: IntelliJ IntelliJ plugin type: bug

Comments

@sgowroji
Copy link
Member

sgowroji commented Nov 29, 2024

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4299#0193761a-8742-4c74-ba52-e0de8d16c875

Platform: Ubuntu, Windows, MacOS

Logs:

ERROR: Traceback (most recent call last):
	File "/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/87020f10bfd322927fd655fa30af34a6/external/io_bazel_rules_scala/scala/private/common_attributes.bzl", line 18, column 28, in <toplevel>
		"deps": attr.label_list(
Error in label_list: Illegal argument: element in 'providers' is of unexpected type. Either all elements should be providers, or all elements should be lists of providers, but got list with an element of type NoneType.
ERROR: error loading package '': at /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/87020f10bfd322927fd655fa30af34a6/external/io_bazel_rules_scala/scala/scala.bzl:16:5: at /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/87020f10bfd322927fd655fa30af34a6/external/io_bazel_rules_scala/scala/private/rules/scala_binary.bzl:5:5: initialization of module 'scala/private/common_attributes.bzl' failed
Traceback (most recent call last):
  File "bazelci.py", line 4496, in <module>
    sys.exit(main())
  File "bazelci.py", line 4474, in main
    bazel_version=task_config.get("bazel") or configs.get("bazel"),
  File "bazelci.py", line 1214, in execute_commands
    bazel_version = print_bazel_version_info(bazel_binary, platform)
  File "bazelci.py", line 1512, in print_bazel_version_info
    [bazel_binary] + common_startup_flags() + ["--nosystem_rc", "--nohome_rc", "info"]
  File "bazelci.py", line 2656, in execute_command
    subprocess.PIPE if capture_stderr else None
  File "/usr/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--nosystem_rc', '--nohome_rc', 'info']' returned non-zero exit status 1.
🚨 Error: The command exited with status 1

CC Greenteam @comius

@tpasternak
Copy link
Contributor

Duplicate of #7058

@tpasternak tpasternak marked this as a duplicate of #7058 Nov 29, 2024
@mai93 mai93 closed this as completed Dec 11, 2024
@github-project-automation github-project-automation bot moved this from Untriaged to Done in Bazel IntelliJ Plugin Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-maintainer Awaiting review from Bazel team on issues product: Android Studio Android Studio plugin product: CLion CLion plugin product: IntelliJ IntelliJ plugin type: bug
Projects
Development

No branches or pull requests

5 participants