`run-task` image does not put required deps in the path
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- cli, infrastructure
Hướng nghiên cứu
Start by tracing how the run-task image installs requirements.in into requirements.txt and configures the runtime environment. Reproduce the logged install and taskgraph decision command, then verify that the taskgraph executable is available during execution. Done means the example command runs successfully without “taskgraph: command not found”.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I have taskcluster-taskgraph in my requirements.in file and would expect the binary to be in my path during runtime.
Example task https://community-tc.services.mozilla.com/tasks/f3hPgRYPSSeU6HJQGdM19Q/runs/0/logs/live/public/logs/live.log#L80-136
pip install and task execution logs:
[pip-install 2025-10-14T21:17:33.179+00:00] executing ['uv', 'pip', 'install', '--python', '/usr/bin/python3', '--target', '/builds/worker/.local/lib/python3.11/site-packages', '--require-hashes', '-r', '/builds/worker/checkouts/src/taskcluster/requirements.txt']
[pip-install 2025-10-14T21:17:33.222+00:00] Using CPython 3.11.2 interpreter at: /usr/bin/python3
[pip-install 2025-10-14T21:17:33.520+00:00] Resolved 44 packages in 295ms
[pip-install 2025-10-14T21:17:33.573+00:00] Downloading aiohttp (1.7MiB)
[pip-install 2025-10-14T21:17:33.575+00:00] Downloading pygments (1.2MiB)
[pip-install 2025-10-14T21:17:33.740+00:00] Downloaded aiohttp
[pip-install 2025-10-14T21:17:33.785+00:00] Downloaded pygments
[pip-install 2025-10-14T21:17:33.785+00:00] Prepared 44 packages in 263ms
[pip-install 2025-10-14T21:17:33.807+00:00] Installed 44 packages in 21ms
[pip-install 2025-10-14T21:17:33.807+00:00] + aiohappyeyeballs==2.6.1
[pip-install 2025-10-14T21:17:33.807+00:00] + aiohttp==3.13.0
[pip-install 2025-10-14T21:17:33.807+00:00] + aiosignal==1.4.0
[pip-install 2025-10-14T21:17:33.807+00:00] + appdirs==1.4.4
[pip-install 2025-10-14T21:17:33.807+00:00] + arrow==1.3.0
[pip-install 2025-10-14T21:17:33.807+00:00] + async-timeout==5.0.1
[pip-install 2025-10-14T21:17:33.807+00:00] + attrs==25.4.0
[pip-install 2025-10-14T21:17:33.807+00:00] + binaryornot==0.4.4
[pip-install 2025-10-14T21:17:33.807+00:00] + certifi==2025.10.5
[pip-install 2025-10-14T21:17:33.807+00:00] + chardet==5.2.0
[pip-install 2025-10-14T21:17:33.807+00:00] + charset-normalizer==3.4.4
[pip-install 2025-10-14T21:17:33.807+00:00] + click==8.3.0
[pip-install 2025-10-14T21:17:33.807+00:00] + cookiecutter==2.6.0
[pip-install 2025-10-14T21:17:33.807+00:00] + frozenlist==1.8.0
[pip-install 2025-10-14T21:17:33.807+00:00] + giturlparse==0.12.0
[pip-install 2025-10-14T21:17:33.808+00:00] + idna==3.11
[pip-install 2025-10-14T21:17:33.808+00:00] + jinja2==3.1.6
[pip-install 2025-10-14T21:17:33.808+00:00] + json-e==4.8.0
[pip-install 2025-10-14T21:17:33.808+00:00] + markdown-it-py==4.0.0
[pip-install 2025-10-14T21:17:33.808+00:00] + markupsafe==3.0.3
[pip-install 2025-10-14T21:17:33.808+00:00] + mdurl==0.1.2
[pip-install 2025-10-14T21:17:33.808+00:00] + mohawk==1.1.0
[pip-install 2025-10-14T21:17:33.808+00:00] + mozilla-repo-urls==0.2.2
[pip-install 2025-10-14T21:17:33.808+00:00] + multidict==6.7.0
[pip-install 2025-10-14T21:17:33.808+00:00] + propcache==0.4.1
[pip-install 2025-10-14T21:17:33.808+00:00] + pygments==2.19.2
[pip-install 2025-10-14T21:17:33.808+00:00] + python-dateutil==2.9.0.post0
[pip-install 2025-10-14T21:17:33.808+00:00] + python-slugify==8.0.4
[pip-install 2025-10-14T21:17:33.808+00:00] + pyyaml==6.0.3
[pip-install 2025-10-14T21:17:33.808+00:00] + redo==3.0.0
[pip-install 2025-10-14T21:17:33.808+00:00] + requests==2.32.5
[pip-install 2025-10-14T21:17:33.808+00:00] + rich==14.2.0
[pip-install 2025-10-14T21:17:33.808+00:00] + six==1.17.0
[pip-install 2025-10-14T21:17:33.808+00:00] + slugid==2.0.0
[pip-install 2025-10-14T21:17:33.808+00:00] + taskcluster==91.0.0
[pip-install 2025-10-14T21:17:33.808+00:00] + taskcluster-taskgraph==16.2.1
[pip-install 2025-10-14T21:17:33.808+00:00] + taskcluster-urls==13.0.1
[pip-install 2025-10-14T21:17:33.808+00:00] + text-unidecode==1.3
[pip-install 2025-10-14T21:17:33.808+00:00] + toml==0.10.2
[pip-install 2025-10-14T21:17:33.808+00:00] + types-python-dateutil==2.9.0.20251008
[pip-install 2025-10-14T21:17:33.808+00:00] + typing-extensions==4.15.0
[pip-install 2025-10-14T21:17:33.808+00:00] + urllib3==2.5.0
[pip-install 2025-10-14T21:17:33.808+00:00] + voluptuous==0.15.2
[pip-install 2025-10-14T21:17:33.808+00:00] + yarl==1.22.0
[task 2025-10-14T21:17:33.815+00:00] executing ['bash', '-cx', 'ln -s /builds/worker/artifacts artifacts && taskgraph decision --pushlog-id=\'0\' --pushdate=\'0\' --project=\'taskcluster\' --message="" --owner=\'[email protected]\' --level=\'1\' --repository-type=git --target-tasks-method=taskcluster-branches --tasks-for=\'github-pull-request\' --base-repository=\'https://github.com/taskcluster/taskcluster\' --base-ref=\'main\' --base-rev=\'0fe066c9a95e48b26b582824b00d97d0b0f96181\' --head-repository=\'https://github.com/taskcluster/taskcluster\' --head-ref=\'matt-boris/taskgraph16.2.1\' --head-rev=\'afe5a53d14b89c6946551761187c74c4b14d5bd2\' --head-tag=\'\' && echo "{}" > artifacts/actions.json # taskcluster is not using actions.json, setting to {} so CoT can still verify\n']
[task 2025-10-14T21:17:33.816+00:00] + ln -s /builds/worker/artifacts artifacts
[task 2025-10-14T21:17:33.817+00:00] + taskgraph decision --pushlog-id=0 --pushdate=0 --project=taskcluster --message= [email protected] --level=1 --repository-type=git --target-tasks-method=taskcluster-branches --tasks-for=github-pull-request --base-repository=https://github.com/taskcluster/taskcluster --base-ref=main --base-rev=0fe066c9a95e48b26b582824b00d97d0b0f96181 --head-repository=https://github.com/taskcluster/taskcluster --head-ref=matt-boris/taskgraph16.2.1 --head-rev=afe5a53d14b89c6946551761187c74c4b14d5bd2 --head-tag=
[task 2025-10-14T21:17:33.818+00:00] bash: line 1: taskgraph: command not found
- Ngôn ngữ chính
- Python
- Star
- 26
- Fork
- 55
- Merge trung bình
- 2 ngày 6 phút
- Pull request đã merge (30 ngày)
- 15
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của taskcluster/taskgraph
-
Dependency Dashboard Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
taskcluster/taskgraph#952 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
taskcluster/taskgraph#915 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feature
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
taskcluster/taskgraph#911 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
taskcluster/taskgraph#882 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Further optimize Git clones Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
taskcluster/taskgraph#865 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của taskcluster/taskgraph
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
gradio-app/gradio#13895 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
build-error
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
spack/spack-packages#6713 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Use issue templates Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ActivityWatch/activitywatch#1464 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: The ckg tool drops the return type of every decorated Python method in class search results Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
bytedance/trae-agent#483 ·
Maintainer thường phản hồi trong vòng 1 ngày