Skip to content

Bug 1968280 - Draft: Landoscript should fetch file modes for newly added or files being removed. #1292

Draft
elkal98 wants to merge 3 commits into
mozilla-releng:masterfrom
elkal98:landoscript-enhancement
Draft

Bug 1968280 - Draft: Landoscript should fetch file modes for newly added or files being removed. #1292
elkal98 wants to merge 3 commits into
mozilla-releng:masterfrom
elkal98:landoscript-enhancement

Merge branch 'mozilla-releng:master' into landoscript-enhancement

1dd6ee8
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / tox-landoscript-python311 succeeded Nov 15, 2025 in 2m 52s

FirefoxCI (pull_request)

landoscript tox-py311

Details

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

Task Status

Started: 2025-11-15T16:36:16.177Z
Resolved: 2025-11-15T16:37:21.989Z
Task Execution Time: 1 minute, 5 seconds, 812 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log


[taskcluster 2025-11-15 16:36:16.230Z] Task ID: MzdwgZVOTq2TQx4VuvV51A
[taskcluster 2025-11-15 16:36:16.230Z] Worker ID: 7215087964172653918
[taskcluster 2025-11-15 16:36:16.230Z] Worker Group: us-west1-b
[taskcluster 2025-11-15 16:36:16.230Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2025-11-15 16:36:16.230Z] Worker Pool: scriptworker-1/b-linux-gcp
[taskcluster 2025-11-15 16:36:16.230Z] Worker Version: 38.0.5
[taskcluster 2025-11-15 16:36:16.230Z] Public IP: 136.118.189.172
[taskcluster 2025-11-15 16:36:16.230Z] Hostname: scriptworker-1-b-linux-gcp-rsp-x24bt2-gjmmbr0veuq
[taskcluster 2025-11-15 16:36:16.230Z] using cache "scriptworker-level-1-checkouts-v3-f59e202b9f4c189775df-bn4Fyl9FQnGhHSh892yfyw" -> /builds/worker/checkouts

[taskcluster 2025-11-15 16:36:20.812Z] Downloading artifact "public/image.tar.zst" from task ID: bn4Fyl9FQnGhHSh892yfyw.
[taskcluster 2025-11-15 16:36:25.813Z] Download Progress: 94.08%
[taskcluster 2025-11-15 16:36:26.214Z] Downloaded artifact successfully.
[taskcluster 2025-11-15 16:36:26.214Z] Downloaded 284.868 mb
[taskcluster 2025-11-15 16:36:26.215Z] Decompressing downloaded image
[taskcluster 2025-11-15 16:36:28.473Z] Loading docker image from downloaded archive.
[taskcluster 2025-11-15 16:36:45.285Z] Image 'public/image.tar.zst' from task 'bn4Fyl9FQnGhHSh892yfyw' loaded.  Using image ID sha256:e82b2153fc4a2a6e8fb82052e28e58db90f2d392910ee5d2304acb1ae8b627f2.
[taskcluster 2025-11-15 16:36:45.477Z] === Task Starting ===
[setup 2025-11-15T16:36:48.330+00:00] run-task started in /
[setup 2025-11-15T16:36:48.330+00:00] Invoked by command: --scriptworker-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- sh -lxce uv run tox -e landoscript-py311
[setup 2025-11-15T16:36:48.330+00:00] Python version: 3.11.9
[cache 2025-11-15T16:36:48.332+00:00] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2025-11-15T16:36:48.332+00:00] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2025-11-15T16:36:48.332+00:00] volume /builds/worker/checkouts is a cache
[setup 2025-11-15T16:36:48.332+00:00] running as worker:worker
[vcs 2025-11-15T16:36:48.332+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2025-11-15T16:36:48.335+00:00] executing ['git', 'clone', 'https://github.com/mozilla-releng/scriptworker-scripts', '/builds/worker/checkouts/vcs']
[vcs 2025-11-15T16:36:48.336+00:00] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2025-11-15T16:36:52.985+00:00] executing ['git', 'fetch', '--no-tags', 'https://github.com/elkal98/scriptworker-scripts', 'landoscript-enhancement']
[vcs 2025-11-15T16:36:53.309+00:00] From https://github.com/elkal98/scriptworker-scripts
[vcs 2025-11-15T16:36:53.309+00:00]  * branch              landoscript-enhancement -> FETCH_HEAD
[vcs 2025-11-15T16:36:53.311+00:00] executing ['git', 'checkout', '-f', '-B', 'landoscript-enhancement', '1dd6ee84b429dd83193a3829970c8fd22c8912e2']
[vcs 2025-11-15T16:36:54.332+00:00] Switched to a new branch 'landoscript-enhancement'
[vcs 2025-11-15T16:36:54.333+00:00] cleaning git checkout...
[vcs 2025-11-15T16:36:54.333+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2025-11-15T16:36:54.340+00:00] removing []
[vcs 2025-11-15T16:36:54.340+00:00] successfully cleaned git checkout!
[vcs 2025-11-15T16:36:54.342+00:00] TinderboxPrint:<a href='https://github.com/elkal98/scriptworker-scripts/commit/1dd6ee84b429dd83193a3829970c8fd22c8912e2' title='Built from scriptworker-scripts commit 1dd6ee84b429dd83193a3829970c8fd22c8912e2'>1dd6ee84b429dd83193a3829970c8fd22c8912e2</a>
[task 2025-11-15T16:36:54.342+00:00] executing ['sh', '-lxce', 'uv run tox -e landoscript-py311']
[task 2025-11-15T16:36:54.343+00:00] + id -u
[task 2025-11-15T16:36:54.344+00:00] + [ 1000 -eq 0 ]
[task 2025-11-15T16:36:54.344+00:00] + PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
[task 2025-11-15T16:36:54.344+00:00] + export PATH
[task 2025-11-15T16:36:54.344+00:00] + [ $  ]
[task 2025-11-15T16:36:54.344+00:00] + [  ]
[task 2025-11-15T16:36:54.344+00:00] + id -u
[task 2025-11-15T16:36:54.345+00:00] + [ 1000 -eq 0 ]
[task 2025-11-15T16:36:54.345+00:00] + PS1=$ 
[task 2025-11-15T16:36:54.345+00:00] + [ -d /etc/profile.d ]
[task 2025-11-15T16:36:54.345+00:00] + [ -r /etc/profile.d/*.sh ]
[task 2025-11-15T16:36:54.345+00:00] + unset i
[task 2025-11-15T16:36:54.345+00:00] + uv run tox -e landoscript-py311
[task 2025-11-15T16:36:54.403+00:00] Using CPython 3.11.9 interpreter at: /usr/local/bin/python3
[task 2025-11-15T16:36:54.404+00:00] Creating virtual environment at: .venv
[task 2025-11-15T16:36:55.352+00:00]    Building configloader @ file:///builds/worker/checkouts/vcs/configloader
[task 2025-11-15T16:36:55.383+00:00] Downloading virtualenv (5.7MiB)
[task 2025-11-15T16:36:55.383+00:00] Downloading pygments (1.2MiB)
[task 2025-11-15T16:36:55.391+00:00] Downloading mypy (12.6MiB)
[task 2025-11-15T16:36:55.393+00:00] Downloading ruff (12.7MiB)
[task 2025-11-15T16:36:55.393+00:00] Downloading uv (20.4MiB)
[task 2025-11-15T16:36:55.985+00:00]  Downloading ruff
[task 2025-11-15T16:36:56.159+00:00]  Downloading uv
[task 2025-11-15T16:36:56.163+00:00]  Downloading virtualenv
[task 2025-11-15T16:36:56.223+00:00]  Downloading pygments
[task 2025-11-15T16:36:56.363+00:00]  Downloading mypy
[task 2025-11-15T16:36:56.633+00:00]       Built configloader @ file:///builds/worker/checkouts/vcs/configloader
[task 2025-11-15T16:36:56.728+00:00] Installed 29 packages in 93ms
[task 2025-11-15T16:36:57.469+00:00] landoscript-py311: venv> .venv/bin/uv venv -p /builds/worker/checkouts/vcs/.venv/bin/python --allow-existing --python-preference system /builds/worker/checkouts/vcs/.tox/landoscript-py311
[task 2025-11-15T16:36:57.534+00:00] landoscript-py311: uv-sync> uv sync --locked --python-preference system -p /builds/worker/checkouts/vcs/.venv/bin/python
[task 2025-11-15T16:36:58.175+00:00] landoscript-py311: commands[0] /builds/worker/checkouts/vcs/landoscript> tox -e py311
[task 2025-11-15T16:36:58.921+00:00] py311: venv> /builds/worker/checkouts/vcs/.tox/landoscript-py311/bin/uv venv -p /builds/worker/checkouts/vcs/.tox/landoscript-py311/bin/python3 --allow-existing --python-preference system /builds/worker/checkouts/vcs/.tox/py311
[task 2025-11-15T16:36:58.936+00:00] py311: uv-sync> uv sync --locked --python-preference system -p /builds/worker/checkouts/vcs/.tox/landoscript-py311/bin/python3
[task 2025-11-15T16:36:59.992+00:00] py311: commands[0]> py.test --cov-config=tox.ini --cov-append --cov=/builds/worker/checkouts/vcs/landoscript/src/landoscript --cov-report term-missing tests
[task 2025-11-15T16:37:05.722+00:00] ============================= test session starts ==============================
[task 2025-11-15T16:37:05.722+00:00] platform linux -- Python 3.11.9, pytest-8.4.2, pluggy-1.6.0
[task 2025-11-15T16:37:05.723+00:00] cachedir: /builds/worker/checkouts/vcs/.tox/py311/.pytest_cache
[task 2025-11-15T16:37:05.723+00:00] rootdir: /builds/worker/checkouts/vcs/landoscript
[task 2025-11-15T16:37:05.723+00:00] configfile: tox.ini
[task 2025-11-15T16:37:05.723+00:00] plugins: responses-0.5.1, aioresponses-0.3.0, anyio-4.11.0, asyncio-0.26.0, scriptworker-client-0.1.0, cov-7.0.0
[task 2025-11-15T16:37:05.723+00:00] asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function
[task 2025-11-15T16:37:05.723+00:00] collected 93 items
[task 2025-11-15T16:37:05.723+00:00] 
[task 2025-11-15T16:37:06.674+00:00] tests/test_android_l10n_import.py .......                                [  7%]
[task 2025-11-15T16:37:07.127+00:00] tests/test_android_l10n_sync.py ......                                   [ 13%]
[task 2025-11-15T16:37:08.685+00:00] tests/test_l10n_bump.py ..............                                   [ 29%]
[task 2025-11-15T16:37:10.024+00:00] tests/test_merge_day.py ........                                         [ 37%]
[task 2025-11-15T16:37:10.143+00:00] tests/test_rerun_handling.py ......                                      [ 44%]
[task 2025-11-15T16:37:10.974+00:00] tests/test_script.py ...................                                 [ 64%]
[task 2025-11-15T16:37:11.063+00:00] tests/test_tag.py .......                                                [ 72%]
[task 2025-11-15T16:37:11.079+00:00] tests/test_util_diffs.py ..........                                      [ 82%]
[task 2025-11-15T16:37:18.373+00:00] tests/test_version_bump.py ................                              [100%]
[task 2025-11-15T16:37:18.373+00:00] 
[task 2025-11-15T16:37:18.373+00:00] ================================ tests coverage ================================
[task 2025-11-15T16:37:18.373+00:00] _______________ coverage: platform linux, python 3.11.9-final-0 ________________
[task 2025-11-15T16:37:18.373+00:00] 
[task 2025-11-15T16:37:18.373+00:00] Name                                             Stmts   Miss Branch BrPart  Cover   Missing
[task 2025-11-15T16:37:18.373+00:00] --------------------------------------------------------------------------------------------
[task 2025-11-15T16:37:18.373+00:00] src/landoscript/__init__.py                          0      0      0      0   100%
[task 2025-11-15T16:37:18.373+00:00] src/landoscript/actions/__init__.py                  0      0      0      0   100%
[task 2025-11-15T16:37:18.373+00:00] src/landoscript/actions/android_l10n_import.py      96      5     28      3    94%   96-97, 100-101, 116
[task 2025-11-15T16:37:18.373+00:00] src/landoscript/actions/android_l10n_sync.py        90      6     28      4    92%   88-89, 92-93, 105, 114
[task 2025-11-15T16:37:18.373+00:00] src/landoscript/actions/l10n_bump.py               119      4     32      2    96%   70-71, 79, 144
[task 2025-11-15T16:37:18.373+00:00] src/landoscript/actions/merge_day.py               193      7     60     10    93%   93->97, 97->112, 106, 127, 170, 176, 212, 224->226, 264, 277
[task 2025-11-15T16:37:18.374+00:00] src/landoscript/actions/tag.py                      31      0      8      0   100%
[task 2025-11-15T16:37:18.374+00:00] src/landoscript/actions/version_bump.py             78      2     24      2    96%   77, 90
[task 2025-11-15T16:37:18.374+00:00] src/landoscript/errors.py                            7      0      0      0   100%
[task 2025-11-15T16:37:18.374+00:00] src/landoscript/lando.py                            71      1     20      1    98%   117
[task 2025-11-15T16:37:18.374+00:00] src/landoscript/script.py                          160      9     62      4    94%   22-29, 112->122, 170-171, 237, 250-251, 255
[task 2025-11-15T16:37:18.374+00:00] src/landoscript/treestatus.py                       17      0      2      0   100%
[task 2025-11-15T16:37:18.374+00:00] src/landoscript/util/__init__.py                     0      0      0      0   100%
[task 2025-11-15T16:37:18.374+00:00] src/landoscript/util/diffs.py                       33      0     16      0   100%
[task 2025-11-15T16:37:18.374+00:00] src/landoscript/util/l10n.py                        20      0      4      0   100%
[task 2025-11-15T16:37:18.374+00:00] src/landoscript/util/log.py                          5      0      2      0   100%
[task 2025-11-15T16:37:18.374+00:00] src/landoscript/util/version.py                     12      2      4      2    75%   20, 24
[task 2025-11-15T16:37:18.374+00:00] --------------------------------------------------------------------------------------------
[task 2025-11-15T16:37:18.374+00:00] TOTAL                                              932     36    290     28    95%
[task 2025-11-15T16:37:18.374+00:00] ============================= 93 passed in 12.51s ==============================
[task 2025-11-15T16:37:18.774+00:00]   py311: OK (19.86=setup[1.08]+cmd[18.78] seconds)
[task 2025-11-15T16:37:18.774+00:00]   congratulations :) (19.90 seconds)
[task 2025-11-15T16:37:18.816+00:00]   landoscript-py311: OK (21.35=setup[0.71]+cmd[20.64] seconds)
[task 2025-11-15T16:37:18.816+00:00]   congratulations :) (21.41 seconds)
[taskcluster 2025-11-15 16:37:21.235Z] === Task Finished ===
[taskcluster 2025-11-15 16:37:21.236Z] Successful task run with exit code: 0 completed in 65.008 seconds