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] ModuleNotFoundError: No module named 'requests' #2183

Open
sgowroji opened this issue Feb 18, 2025 · 4 comments
Open

[Bazel CI] ModuleNotFoundError: No module named 'requests' #2183

sgowroji opened this issue Feb 18, 2025 · 4 comments

Comments

@sgowroji
Copy link
Member

sgowroji commented Feb 18, 2025

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4479#019517ab-16ba-4648-8903-0cd9a464460e

Platform: MacOS

Logs:

$ curl -sS https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?1739851852 -o bazelci.py
python3 bazelci.py runner --task=macos_arm64 --file_config=.bazelci/postsubmit.yml --git_repository=https://github.com/bazelbuild/bazel-bench.git --git_commit=5efc0e1f0a00d8cb1a8da09bd91949c81940e053 --use_but
/Users/buildkite/builds/bk-macos-arm64-tcib/bazel/bazel-at-head-plus-downstream/bazelci.py:834: SyntaxWarning: invalid escape sequence '\$'
  return re.match("^\${{\s*(\w+)\s*}}$", s)
Traceback (most recent call last):
  File "/Users/buildkite/builds/bk-macos-arm64-tcib/bazel/bazel-at-head-plus-downstream/bazelci.py", line 34, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
🚨 Error: The command exited with status 1

We are seeing this failure for multiple CI pipelines.

CC Greenteam @mai93 @meteorcloudy

@luispadron
Copy link

+1 Seeing this in rules_apple as well: https://buildkite.com/bazel/rules-apple-darwin/builds/10077

@linzhp
Copy link
Contributor

linzhp commented Feb 23, 2025

Seeing this in rules_go: https://buildkite.com/bazel/rules-go-golang/builds/7637#019533ad-b02b-4d77-9834-69048eaaeb3e/65-72

@meteorcloudy
Copy link
Member

@fweikert We do have an internal bug tracking the cause of this, right?

@fweikert
Copy link
Member

Yeah, but no progress so far. I wonder if this is just a consequence of the known stability issues, or a different issue altogether.

LeFrosch added a commit to bazelbuild/intellij that referenced this issue Feb 25, 2025
Mark MacOS CI as soft fail, since MacOS runners are broken because of bazelbuild/continuous-integration#2183.

Revert this after the issue is fixed.
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

No branches or pull requests

5 participants