Errors on ./mach taskgraph load-task
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start with the ./mach taskgraph load-task entry point and reproduce the reported task ID with and without --develop. Read third_party/python/taskcluster_taskgraph/taskgraph/run-task/fetch-content around command_task_artifacts and extract_archive, then trace the --develop handling for tasks without $REPOSITORIES. Done means the command succeeds or reports a clear, actionable limitation for both invocation modes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
It was recommended to run this command to verify platfrom specific failures on a local machine without pushing to TRY. I tried with and without --develop, but neither worked for me.
Here's a failed build that we want to verify a fix for: https://firefox-ci-tc.services.mozilla.com/tasks/EHQBumY9RXuOxR2DVGi1lg/runs/0
./mach taskgraph load-task --develop EHQBumY9RXuOxR2DVGi1lg
warning: Using --develop can cause data loss.
Running `taskgraph load-task --develop` means the task will operate
on your actual source repository. Make sure you verify the task
doesn't perform any destructive operations against your repository.
Set TASKGRAPH_LOAD_TASK_NO_WARN=1 to disable this warning.
Proceed? [y/N]: y
0:12.86 D loading config from `taskcluster/config.yml`
0:12.86 D Using default TASKCLUSTER_ROOT_URL
0:12.87 D Starting new HTTPS connection (1): firefox-ci-tc.services.mozilla.com:443
0:12.98 D https://firefox-ci-tc.services.mozilla.com:443 "GET /api/queue/v1/task/EHQBumY9RXuOxR2DVGi1lg HTTP/1.1" 200 None
0:12.98 Loading 'build-linux64-nightlyasrelease/opt' from task EHQBumY9RXuOxR2DVGi1lg
0:12.98 D Using default TASKCLUSTER_ROOT_URL
0:12.98 Downloading from https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/A2-T9qrFTnGQSU-KMkhehw/artifacts/public/image.tar.zst
0:12.98 D Starting new HTTPS connection (1): firefox-ci-tc.services.mozilla.com:443
0:13.10 D https://firefox-ci-tc.services.mozilla.com:443 "GET /api/queue/v1/task/A2-T9qrFTnGQSU-KMkhehw/artifacts/public/image.tar.zst HTTP/1.1" 303 127
0:13.10 D Starting new HTTPS connection (1): firefoxci.taskcluster-artifacts.net:443
0:13.54 D https://firefoxci.taskcluster-artifacts.net:443 "GET /A2-T9qrFTnGQSU-KMkhehw/0/public/image.tar.zst HTTP/1.1" 200 199377319
Loaded image: debian12-amd64-build:latest
0:47.24 Found docker image: docker.io/library/debian12-amd64-build:latest
0:47.24 Try: docker run -ti --rm docker.io/library/debian12-amd64-build:latest bash
0:47.24 E Can't use --develop with task that doesn't define any $REPOSITORIES!
0:47.71 Collecting usage
0:47.71 D Resetting Glean
0:47.72 D Storing ping 'df386887-81f9-4ff4-90b1-ccff76ed63b9' at '/Users/epavlov/.mozbuild/glean/pending_pings/df386887-81f9-4ff4-90b1-ccff76ed63b9'
0:47.72 Processing ping at: /Users/epavlov/.mozbuild/glean/pending_pings/df386887-81f9-4ff4-90b1-ccff76ed63b9
0:47.72 The ping 'usage' was submitted and will be sent as soon as possible
0:47.73 D Starting new HTTPS connection (1): o1069899.ingest.sentry.io:443
0:47.80 D https://o1069899.ingest.sentry.io:443 "POST /api/6250014/envelope/ HTTP/1.1" 200 0
./mach taskgraph load-task EHQBumY9RXuOxR2DVGi1lg
...
[fetches 2026-03-02T18:20:47.039+00:00] Verified size of https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Ra-goS-aTGSwpufDRsyYZg/artifacts/public/build/clang.tar.zst
[fetches 2026-03-02T18:20:47.040+00:00] Extracting /builds/worker/fetches/clang.tar.zst to /builds/worker/fetches
[fetches 2026-03-02T18:20:50.483+00:00] /builds/worker/fetches/clang.tar.zst extracted in 3.442s
[fetches 2026-03-02T18:20:50.483+00:00] Removing /builds/worker/fetches/clang.tar.zst
[fetches 2026-03-02T18:20:50.531+00:00] Traceback (most recent call last):
[fetches 2026-03-02T18:20:50.531+00:00] File "/builds/worker/checkouts/gecko/third_party/python/taskcluster_taskgraph/taskgraph/run-task/fetch-content", line 1042, in <module>
[fetches 2026-03-02T18:20:50.533+00:00] sys.exit(main())
[fetches 2026-03-02T18:20:50.534+00:00] ^^^^^^
[fetches 2026-03-02T18:20:50.534+00:00] File "/builds/worker/checkouts/gecko/third_party/python/taskcluster_taskgraph/taskgraph/run-task/fetch-content", line 1038, in main
[fetches 2026-03-02T18:20:50.534+00:00] return args.func(args)
[fetches 2026-03-02T18:20:50.534+00:00] ^^^^^^^^^^^^^^^
[fetches 2026-03-02T18:20:50.534+00:00] File "/builds/worker/checkouts/gecko/third_party/python/taskcluster_taskgraph/taskgraph/run-task/fetch-content", line 939, in command_task_artifacts
[fetches 2026-03-02T18:20:50.534+00:00] fetch_urls(downloads)
[fetches 2026-03-02T18:20:50.534+00:00] File "/builds/worker/checkouts/gecko/third_party/python/taskcluster_taskgraph/taskgraph/run-task/fetch-content", line 659, in fetch_urls
[fetches 2026-03-02T18:20:50.534+00:00] f.result()
[fetches 2026-03-02T18:20:50.534+00:00] File "/usr/lib/python3.11/concurrent/futures/_base.py", line 449, in result
[fetches 2026-03-02T18:20:50.538+00:00] return self.__get_result()
[fetches 2026-03-02T18:20:50.538+00:00] ^^^^^^^^^^^^^^^^^^^
[fetches 2026-03-02T18:20:50.538+00:00] File "/usr/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
[fetches 2026-03-02T18:20:50.538+00:00] raise self._exception
[fetches 2026-03-02T18:20:50.538+00:00] File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
[fetches 2026-03-02T18:20:50.538+00:00] result = self.fn(*self.args, **self.kwargs)
[fetches 2026-03-02T18:20:50.538+00:00] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[fetches 2026-03-02T18:20:50.538+00:00] File "/builds/worker/checkouts/gecko/third_party/python/taskcluster_taskgraph/taskgraph/run-task/fetch-content", line 643, in fetch_and_extract
[fetches 2026-03-02T18:20:50.539+00:00] extract_archive(dest_path, dest_dir)
[fetches 2026-03-02T18:20:50.539+00:00] File "/builds/worker/checkouts/gecko/third_party/python/taskcluster_taskgraph/taskgraph/run-task/fetch-content", line 441, in extract_archive
[fetches 2026-03-02T18:20:50.539+00:00] raise Exception("%r exited %d" % (args, p.returncode))
[fetches 2026-03-02T18:20:50.539+00:00] Exception: ['tar', 'xf', '-'] exited 2
19:44.26 Collecting usage
19:44.26 D Resetting Glean
19:44.26 D Storing ping '990c2b32-e626-48a1-9946-9eee338ea603' at '/Users/epavlov/.mozbuild/glean/pending_pings/990c2b32-e626-48a1-9946-9eee338ea603'
19:44.26 Processing ping at: /Users/epavlov/.mozbuild/glean/pending_pings/990c2b32-e626-48a1-9946-9eee338ea603
19:44.26 The ping 'usage' was submitted and will be sent as soon as possible
- 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
Hướng dẫn đóng góp
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 ·
-
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 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
taskcluster/taskgraph#882 ·
-
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 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
taskcluster/taskgraph#818 · 1 bình luận ·
Tất cả issue của taskcluster/taskgraph
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
stephrobert/dsoxlab#238 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
sublimehq/package_control#1780 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
nwg-piotr/nwg-displays#145 ·