Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Errors on ./mach taskgraph load-task

Abierto
#915 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
docker, python
Área
ci-cd, devops, tooling

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
Python
Estrellas
26
Forks
55
Merge medio
2 d 6 min
PR fusionados (30 d)
15

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de taskcluster/taskgraph

Todos los issues de taskcluster/taskgraph

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.