Skip to content

Fix a couple of test hangs when running sandboxed#808

Open
jcristau wants to merge 2 commits into
mozilla-releng:mainfrom
jcristau:test-hangs
Open

Fix a couple of test hangs when running sandboxed#808
jcristau wants to merge 2 commits into
mozilla-releng:mainfrom
jcristau:test-hangs

tests: mock os.kill in TaskProcess.stop() tests

f4f8e6a
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / Decision Task succeeded Jul 8, 2026 in 18s

FirefoxCI (pull_request)

The task that creates all of the other tasks in the task graph

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2026-07-08T14:28:11.407Z
Resolved: 2026-07-08T14:28:29.365Z
Task Execution Time: 17 seconds, 958 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: W8nAZoyOQ32HmSL3A3B5oA
RunId: 0

Artifacts

- public/actions.json
- public/docker-contexts/python3.11.tar.gz
- public/docker-contexts/python3.12.tar.gz
- public/docker-contexts/python3.13.tar.gz
- public/docker-contexts/python3.14.tar.gz
- public/fetch-content
- public/full-task-graph.json
- public/label-to-taskid.json
- public/logs/live_backing.log
- public/logs/live.log
- public/optimizations.log
- public/parameters.yml
- public/runnable-jobs.json
- public/run-task
- public/target-tasks.json
- public/task-graph.json


[taskcluster 2026-07-08T14:28:11.553Z] Worker Type (scriptworker-1/decision) settings:
[taskcluster 2026-07-08T14:28:11.553Z]   {
[taskcluster 2026-07-08T14:28:11.553Z]     "generic-worker": {
[taskcluster 2026-07-08T14:28:11.553Z]       "config": {
[taskcluster 2026-07-08T14:28:11.553Z]         "headlessTasks": true
[taskcluster 2026-07-08T14:28:11.553Z]       },
[taskcluster 2026-07-08T14:28:11.553Z]       "engine": "multiuser",
[taskcluster 2026-07-08T14:28:11.553Z]       "go-arch": "amd64",
[taskcluster 2026-07-08T14:28:11.553Z]       "go-os": "linux",
[taskcluster 2026-07-08T14:28:11.553Z]       "go-version": "go1.26.2",
[taskcluster 2026-07-08T14:28:11.553Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v99.2.1",
[taskcluster 2026-07-08T14:28:11.553Z]       "revision": "ddb9ce7efdb98ae2d0917b69778e9f3cd125e07f",
[taskcluster 2026-07-08T14:28:11.553Z]       "source": "https://github.com/taskcluster/taskcluster/commits/ddb9ce7efdb98ae2d0917b69778e9f3cd125e07f",
[taskcluster 2026-07-08T14:28:11.553Z]       "version": "99.2.1"
[taskcluster 2026-07-08T14:28:11.553Z]     },
[taskcluster 2026-07-08T14:28:11.553Z]     "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-2404-amd64-headless-googlecompute-2026-05-04",
[taskcluster 2026-07-08T14:28:11.553Z]     "instance-id": "8691313552845431036",
[taskcluster 2026-07-08T14:28:11.553Z]     "instance-type": "projects/887720501152/machineTypes/n2-standard-2",
[taskcluster 2026-07-08T14:28:11.553Z]     "local-ipv4": "10.128.1.218",
[taskcluster 2026-07-08T14:28:11.553Z]     "project-id": "fxci-production-level1-workers",
[taskcluster 2026-07-08T14:28:11.553Z]     "public-hostname": "scriptworker-1-decision-la0tzc-lsvckcz56mhj12g.c.fxci-production-level1-workers.internal",
[taskcluster 2026-07-08T14:28:11.553Z]     "public-ipv4": "35.188.101.12",
[taskcluster 2026-07-08T14:28:11.553Z]     "region": "us-central1",
[taskcluster 2026-07-08T14:28:11.553Z]     "zone": "us-central1-a"
[taskcluster 2026-07-08T14:28:11.553Z]   }
[taskcluster 2026-07-08T14:28:11.553Z] Task ID: W8nAZoyOQ32HmSL3A3B5oA
[taskcluster 2026-07-08T14:28:11.553Z] === Task Starting ===
[taskcluster 2026-07-08T14:28:14.208Z] [d2g] Loading docker image
[taskcluster 2026-07-08T14:28:23.005Z] [d2g] Loaded docker image "docker.io/mozillareleases/taskgraph:decision-v24.1.1@sha256:c2cf963f7621b0f64dc142a04ddcc179d36afdd05c6dc1c2d198d97b55ecb394"
[taskcluster 2026-07-08T14:28:23.005Z] Executing command 0: docker run -t --name taskcontainer_LIdpyEhERYGeYMFyUY7KKg --memory-swap -1 --pids-limit -1 --pull=never --log-driver=none '--add-host=localhost.localdomain:127.0.0.1' --add-host=taskcluster:host-gateway --env-file 'env.list' 'mozillareleases/taskgraph:decision-v24.1.1@sha256:c2cf963f7621b0f64dc142a04ddcc179d36afdd05c6dc1c2d198d97b55ecb394' run-task --scriptworker-checkout=/builds/worker/checkouts/src -- bash -cx 'cd /builds/worker/checkouts/src && ln -s /builds/worker/artifacts artifacts && taskgraph decision --pushlog-id='\''0'\'' --pushdate='\''0'\'' --project='\''scriptworker'\'' --owner='\''jcristau@users.noreply.github.com'\'' --level='\''1'\'' --repository-type=git --tasks-for='\''github-pull-request'\'' --base-repository='\''https://github.com/mozilla-releng/scriptworker'\'' --base-ref='\''main'\'' --base-rev='\''1e82af6fef10d31a50bf8725205a3a1acd0f28f9'\'' --head-repository='\''https://github.com/jcristau/scriptworker'\'' --head-ref='\''test-hangs'\'' --head-rev='\''f4f8e6a42d0f3ea8b0e9521875a79a6f5f296139'\'' 
[taskcluster 2026-07-08T14:28:23.005Z] '
[setup 2026-07-08T14:28:24.719+00:00] run-task started in /
[setup 2026-07-08T14:28:24.719+00:00] Invoked by command: --scriptworker-checkout=/builds/worker/checkouts/src -- bash -cx cd /builds/worker/checkouts/src && ln -s /builds/worker/artifacts artifacts && taskgraph decision --pushlog-id='0' --pushdate='0' --project='scriptworker' --owner='jcristau@users.noreply.github.com' --level='1' --repository-type=git --tasks-for='github-pull-request' --base-repository='https://github.com/mozilla-releng/scriptworker' --base-ref='main' --base-rev='1e82af6fef10d31a50bf8725205a3a1acd0f28f9' --head-repository='https://github.com/jcristau/scriptworker' --head-ref='test-hangs' --head-rev='f4f8e6a42d0f3ea8b0e9521875a79a6f5f296139' 

[setup 2026-07-08T14:28:24.721+00:00] Python version: 3.13.5
[setup 2026-07-08T14:28:24.721+00:00] Subprocess python version: 
cpython-3.13.5-linux-x86_64-gnu    /usr/bin/python3.13
cpython-3.13.5-linux-x86_64-gnu    /usr/bin/python3 -> python3.13
[vcs 2026-07-08T14:28:24.832+00:00] WARNING: vcs checkout path (/builds/worker/checkouts/src) not in cache or volume; performance will likely suffer
[setup 2026-07-08T14:28:24.833+00:00] running as worker:worker
[vcs 2026-07-08T14:28:24.833+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/src']
[vcs 2026-07-08T14:28:24.836+00:00] executing ['git', 'clone', 'https://github.com/mozilla-releng/scriptworker', '/builds/worker/checkouts/src']
[vcs 2026-07-08T14:28:24.838+00:00] Cloning into '/builds/worker/checkouts/src'...
[vcs 2026-07-08T14:28:25.980+00:00] executing ['git', 'fetch', 'origin', '1e82af6fef10d31a50bf8725205a3a1acd0f28f9']
[vcs 2026-07-08T14:28:26.218+00:00] From https://github.com/mozilla-releng/scriptworker
[vcs 2026-07-08T14:28:26.218+00:00]  * branch            1e82af6fef10d31a50bf8725205a3a1acd0f28f9 -> FETCH_HEAD
[vcs 2026-07-08T14:28:26.224+00:00] executing ['git', 'fetch', 'https://github.com/jcristau/scriptworker', 'test-hangs']
[vcs 2026-07-08T14:28:26.527+00:00] From https://github.com/jcristau/scriptworker
[vcs 2026-07-08T14:28:26.527+00:00]  * branch            test-hangs -> FETCH_HEAD
[vcs 2026-07-08T14:28:26.529+00:00] executing ['git', 'checkout', '-f', '-B', 'test-hangs', 'f4f8e6a42d0f3ea8b0e9521875a79a6f5f296139']
[vcs 2026-07-08T14:28:26.616+00:00] Switched to a new branch 'test-hangs'
[vcs 2026-07-08T14:28:26.617+00:00] cleaning git checkout...
[vcs 2026-07-08T14:28:26.617+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2026-07-08T14:28:26.620+00:00] removing []
[vcs 2026-07-08T14:28:26.620+00:00] successfully cleaned git checkout!
[vcs 2026-07-08T14:28:26.623+00:00] TinderboxPrint:<a href='https://github.com/jcristau/scriptworker/commit/f4f8e6a42d0f3ea8b0e9521875a79a6f5f296139' title='Built from scriptworker commit f4f8e6a42d0f3ea8b0e9521875a79a6f5f296139'>f4f8e6a42d0f3ea8b0e9521875a79a6f5f296139</a>
[task 2026-07-08T14:28:26.623+00:00] executing ['bash', '-cx', "cd /builds/worker/checkouts/src && ln -s /builds/worker/artifacts artifacts && taskgraph decision --pushlog-id='0' --pushdate='0' --project='scriptworker' --owner='jcristau@users.noreply.github.com' --level='1' --repository-type=git --tasks-for='github-pull-request' --base-repository='https://github.com/mozilla-releng/scriptworker' --base-ref='main' --base-rev='1e82af6fef10d31a50bf8725205a3a1acd0f28f9' --head-repository='https://github.com/jcristau/scriptworker' --head-ref='test-hangs' --head-rev='f4f8e6a42d0f3ea8b0e9521875a79a6f5f296139' \n"]
[task 2026-07-08T14:28:26.625+00:00] + cd /builds/worker/checkouts/src
[task 2026-07-08T14:28:26.625+00:00] + ln -s /builds/worker/artifacts artifacts
[task 2026-07-08T14:28:26.626+00:00] + taskgraph decision --pushlog-id=0 --pushdate=0 --project=scriptworker --owner=jcristau@users.noreply.github.com --level=1 --repository-type=git --tasks-for=github-pull-request --base-repository=https://github.com/mozilla-releng/scriptworker --base-ref=main --base-rev=1e82af6fef10d31a50bf8725205a3a1acd0f28f9 --head-repository=https://github.com/jcristau/scriptworker --head-ref=test-hangs --head-rev=f4f8e6a42d0f3ea8b0e9521875a79a6f5f296139
[task 2026-07-08T14:28:27.159+00:00] 2026-07-08 14:28:27,159 - INFO - Loading graph configuration.
[task 2026-07-08T14:28:27.167+00:00] 2026-07-08 14:28:27,167 - WARNING - using default project parameters; add scriptworker to PER_PROJECT_PARAMETERS in /usr/local/lib/python3.13/dist-packages/taskgraph/decision.py to customize behavior for this project
[task 2026-07-08T14:28:27.168+00:00] 2026-07-08 14:28:27,167 - INFO - Using Parameters(id=2a271988b3b8) (from defaults)
[task 2026-07-08T14:28:27.168+00:00] 2026-07-08 14:28:27,168 - INFO - writing artifact file `parameters.yml`
[task 2026-07-08T14:28:27.178+00:00] 2026-07-08 14:28:27,178 - INFO - writing artifact file `actions.json`
[task 2026-07-08T14:28:27.179+00:00] 2026-07-08 14:28:27,178 - INFO - Loading kinds
[task 2026-07-08T14:28:27.180+00:00] 2026-07-08 14:28:27,180 - INFO - Generating full task set
[task 2026-07-08T14:28:27.199+00:00] 2026-07-08 14:28:27,198 - INFO - Writing docker-contexts/python3.14.tar.gz for docker image python3.14
[task 2026-07-08T14:28:27.218+00:00] 2026-07-08 14:28:27,218 - INFO - Writing docker-contexts/python3.13.tar.gz for docker image python3.13
[task 2026-07-08T14:28:27.235+00:00] 2026-07-08 14:28:27,235 - INFO - Writing docker-contexts/python3.12.tar.gz for docker image python3.12
[task 2026-07-08T14:28:27.252+00:00] 2026-07-08 14:28:27,252 - INFO - Writing docker-contexts/python3.11.tar.gz for docker image python3.11
[task 2026-07-08T14:28:27.270+00:00] 2026-07-08 14:28:27,270 - INFO - Generated 4 tasks for kind docker-image
[task 2026-07-08T14:28:27.312+00:00] 2026-07-08 14:28:27,312 - INFO - Generated 9 tasks for kind tox
[task 2026-07-08T14:28:27.315+00:00] 2026-07-08 14:28:27,315 - INFO - Generated 1 tasks for kind pr
[task 2026-07-08T14:28:27.318+00:00] 2026-07-08 14:28:27,318 - INFO - Generating full task graph
[task 2026-07-08T14:28:27.319+00:00] 2026-07-08 14:28:27,318 - INFO - Full task graph contains 14 tasks and 9 dependencies
[task 2026-07-08T14:28:27.320+00:00] 2026-07-08 14:28:27,320 - INFO - writing artifact file `full-task-graph.json`
[task 2026-07-08T14:28:27.321+00:00] 2026-07-08 14:28:27,321 - INFO - writing artifact file `runnable-jobs.json`
[task 2026-07-08T14:28:27.321+00:00] 2026-07-08 14:28:27,321 - INFO - Generating target task set
[task 2026-07-08T14:28:27.322+00:00] 2026-07-08 14:28:27,322 - INFO - Filter filter_target_tasks pruned 4 tasks (10 remain)
[task 2026-07-08T14:28:27.322+00:00] 2026-07-08 14:28:27,322 - INFO - writing artifact file `target-tasks.json`
[task 2026-07-08T14:28:27.322+00:00] 2026-07-08 14:28:27,322 - INFO - Generating target task graph
[task 2026-07-08T14:28:27.322+00:00] 2026-07-08 14:28:27,322 - INFO - Adding 4 tasks with `always_target` attribute
[task 2026-07-08T14:28:27.323+00:00] 2026-07-08 14:28:27,322 - INFO - Generating optimized task graph
[task 2026-07-08T14:28:27.323+00:00] 2026-07-08 14:28:27,323 - INFO - No tasks removed during optimization
[task 2026-07-08T14:28:27.595+00:00] 2026-07-08 14:28:27,595 - INFO - Replaced 4 tasks by index-search (index-search) during optimization.
[task 2026-07-08T14:28:27.601+00:00] 2026-07-08 14:28:27,601 - INFO - writing artifact file `task-graph.json`
[task 2026-07-08T14:28:27.602+00:00] 2026-07-08 14:28:27,602 - INFO - writing artifact file `label-to-taskid.json`
[task 2026-07-08T14:28:27.603+00:00] 2026-07-08 14:28:27,603 - INFO - Creating task with taskId XuOaCr7dS_iK3af6aF9vCQ for tox-check
[task 2026-07-08T14:28:27.604+00:00] 2026-07-08 14:28:27,604 - INFO - Creating task with taskId e39u2d2QTBqb-k1txt98lg for tox-py311
[task 2026-07-08T14:28:27.607+00:00] 2026-07-08 14:28:27,606 - INFO - Creating task with taskId TWOkrwIZTGK7QkyX7zi5EA for tox-py314
[task 2026-07-08T14:28:27.609+00:00] 2026-07-08 14:28:27,609 - INFO - Creating task with taskId GRzxR3nlTzSg9giaIbfZrQ for tox-py312-cot
[task 2026-07-08T14:28:27.611+00:00] 2026-07-08 14:28:27,611 - INFO - Creating task with taskId a7M-0ZiUR2-ZU6DUrTCLAg for tox-py314-cot
[task 2026-07-08T14:28:27.612+00:00] 2026-07-08 14:28:27,612 - INFO - Creating task with taskId LYPDN_TxTMm3i1Qi_GzTlA for tox-py313-cot
[task 2026-07-08T14:28:27.614+00:00] 2026-07-08 14:28:27,613 - INFO - Creating task with taskId AtwZixn1RR6y16c-xq90kQ for tox-py313
[task 2026-07-08T14:28:27.615+00:00] 2026-07-08 14:28:27,615 - INFO - Creating task with taskId XiqMqJRQShqr2vAvfbJcWw for tox-py311-cot
[task 2026-07-08T14:28:27.618+00:00] 2026-07-08 14:28:27,617 - INFO - Creating task with taskId OCTmDt23RrOjs2JF-_Ii8g for tox-py312
[task 2026-07-08T14:28:27.795+00:00] 2026-07-08 14:28:27,795 - INFO - Creating task with taskId Ci4X6cyqSRWwZv_FuKescw for pr-complete
[taskcluster 2026-07-08T14:28:28.137Z]                        Exit Code: 0
[taskcluster 2026-07-08T14:28:28.137Z]                        User Time: 11.704ms
[taskcluster 2026-07-08T14:28:28.137Z]                      Kernel Time: 18.531ms
[taskcluster 2026-07-08T14:28:28.137Z]                        Wall Time: 5.131470377s
[taskcluster 2026-07-08T14:28:28.137Z]  Average Available System Memory: 7.00 GiB
[taskcluster 2026-07-08T14:28:28.137Z]       Average System Memory Used: 769.10 MiB
[taskcluster 2026-07-08T14:28:28.137Z]          Peak System Memory Used: 881.07 MiB
[taskcluster 2026-07-08T14:28:28.137Z]              Total System Memory: 7.75 GiB
[taskcluster 2026-07-08T14:28:28.137Z]                           Result: SUCCEEDED
[taskcluster 2026-07-08T14:28:28.137Z] === Task Finished ===
[taskcluster 2026-07-08T14:28:28.137Z] Task Duration: 5.131974912s