feat!: add support to publish to huawei store#1475
Open
abhishekmadan30 wants to merge 1 commit into
Open
firefoxci-taskcluster / tox-pushapkscript-311
succeeded
Jun 30, 2026 in 36s
FirefoxCI (pull_request)
pushapkscript tox-py311
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2026-06-30T17:54:07.687Z
Resolved: 2026-06-30T17:54:43.691Z
Task Execution Time: 36 seconds, 4 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: AhYEhAASRg2_5nFcZn81zQ
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2026-06-30T17:54:07.744Z] Worker Type (scriptworker-1/images) settings:
[taskcluster 2026-06-30T17:54:07.744Z] {
[taskcluster 2026-06-30T17:54:07.744Z] "generic-worker": {
[taskcluster 2026-06-30T17:54:07.744Z] "config": {
[taskcluster 2026-06-30T17:54:07.744Z] "headlessTasks": true
[taskcluster 2026-06-30T17:54:07.744Z] },
[taskcluster 2026-06-30T17:54:07.744Z] "engine": "multiuser",
[taskcluster 2026-06-30T17:54:07.744Z] "go-arch": "amd64",
[taskcluster 2026-06-30T17:54:07.744Z] "go-os": "linux",
[taskcluster 2026-06-30T17:54:07.744Z] "go-version": "go1.26.2",
[taskcluster 2026-06-30T17:54:07.744Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v99.2.1",
[taskcluster 2026-06-30T17:54:07.744Z] "revision": "ddb9ce7efdb98ae2d0917b69778e9f3cd125e07f",
[taskcluster 2026-06-30T17:54:07.744Z] "source": "https://github.com/taskcluster/taskcluster/commits/ddb9ce7efdb98ae2d0917b69778e9f3cd125e07f",
[taskcluster 2026-06-30T17:54:07.744Z] "version": "99.2.1"
[taskcluster 2026-06-30T17:54:07.744Z] },
[taskcluster 2026-06-30T17:54:07.744Z] "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-2404-amd64-headless-googlecompute-2026-05-04",
[taskcluster 2026-06-30T17:54:07.744Z] "instance-id": "7017407477237529736",
[taskcluster 2026-06-30T17:54:07.744Z] "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2026-06-30T17:54:07.744Z] "local-ipv4": "10.128.0.251",
[taskcluster 2026-06-30T17:54:07.744Z] "project-id": "fxci-production-level1-workers",
[taskcluster 2026-06-30T17:54:07.744Z] "public-hostname": "scriptworker-1-images-rk9hhr0mrh-vwbigckbqjg.c.fxci-production-level1-workers.internal",
[taskcluster 2026-06-30T17:54:07.744Z] "public-ipv4": "34.57.26.30",
[taskcluster 2026-06-30T17:54:07.744Z] "region": "us-central1",
[taskcluster 2026-06-30T17:54:07.744Z] "zone": "us-central1-f"
[taskcluster 2026-06-30T17:54:07.744Z] }
[taskcluster 2026-06-30T17:54:07.744Z] Task ID: AhYEhAASRg2_5nFcZn81zQ
[taskcluster 2026-06-30T17:54:07.744Z] === Task Starting ===
[taskcluster 2026-06-30T17:54:09.231Z] [mounts] No existing writable directory cache 'scriptworker-level-1-checkouts-v3-aeb56a8acbdc7df6c7d5-Xg9erKcYR-mM-r4sYzPyiA' - creating /home/generic-worker/caches/JH8yySsrQiG43mXIvS3-OQ
[taskcluster 2026-06-30T17:54:09.231Z] [mounts] Creating directory /home/task_178284204666049/cache0
[taskcluster 2026-06-30T17:54:09.241Z] [mounts] Successfully mounted writable directory cache '/home/task_178284204666049/cache0'
[taskcluster 2026-06-30T17:54:09.242Z] [mounts] Downloading task Xg9erKcYR-mM-r4sYzPyiA artifact public/image.tar.zst to /home/generic-worker/downloads/fdQK0S7oSrWAO5mqROvGhw
[taskcluster 2026-06-30T17:54:13.206Z] [mounts] Downloaded 145784151 bytes with SHA256 03d542e5931380bac9ef930533fdfa08bff03e45a2a424fda1136beed2bd345f from task Xg9erKcYR-mM-r4sYzPyiA artifact public/image.tar.zst to /home/generic-worker/downloads/fdQK0S7oSrWAO5mqROvGhw
[taskcluster:warn 2026-06-30T17:54:13.207Z] [mounts] Download /home/generic-worker/downloads/fdQK0S7oSrWAO5mqROvGhw of task Xg9erKcYR-mM-r4sYzPyiA artifact public/image.tar.zst has SHA256 03d542e5931380bac9ef930533fdfa08bff03e45a2a424fda1136beed2bd345f but task payload does not declare a required value, so content authenticity cannot be verified
[taskcluster 2026-06-30T17:54:13.207Z] [mounts] File mount "dockerimage" handled by registered handler (cache: /home/generic-worker/downloads/fdQK0S7oSrWAO5mqROvGhw, SHA256: 03d542e5931380bac9ef930533fdfa08bff03e45a2a424fda1136beed2bd345f)
[taskcluster 2026-06-30T17:54:13.207Z] [d2g] Loading docker image
[taskcluster 2026-06-30T17:54:18.132Z] [d2g] Loaded docker image "pushapkscript-test-py311:latest"
[taskcluster 2026-06-30T17:54:18.132Z] Executing command 0: docker run -t --name taskcontainer_L4Odu3z-QQSET0IFLDtpgQ --memory-swap -1 --pids-limit -1 --pull=never --log-driver=none '--add-host=localhost.localdomain:127.0.0.1' -v /home/task_178284204666049/cache0:/builds/worker/checkouts --add-host=taskcluster:host-gateway --env-file 'env.list' 580009edb449bf04cc1e0ce230c448b61176a2d7286fe9c3e462669e8d1d0b30 /usr/local/bin/run-task --scriptworker-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- sh -lxce 'uv run tox -e pushapkscript-py311'
[setup 2026-06-30T17:54:20.168+00:00] run-task started in /
[setup 2026-06-30T17:54:20.168+00:00] Invoked by command: --scriptworker-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- sh -lxce uv run tox -e pushapkscript-py311
[setup 2026-06-30T17:54:20.168+00:00] Python version: 3.11.15
[setup 2026-06-30T17:54:20.169+00:00] Subprocess python version:
cpython-3.11.15-linux-x86_64-gnu /usr/local/bin/python3.11
cpython-3.11.15-linux-x86_64-gnu /usr/local/bin/python3 -> python3.11
cpython-3.11.15-linux-x86_64-gnu /usr/local/bin/python -> python3
[cache 2026-06-30T17:54:20.351+00:00] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2026-06-30T17:54:20.352+00:00] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2026-06-30T17:54:20.352+00:00] volume /builds/worker/checkouts is a cache
[setup 2026-06-30T17:54:20.352+00:00] running as worker:worker
[vcs 2026-06-30T17:54:20.352+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2026-06-30T17:54:20.354+00:00] executing ['git', 'clone', 'https://github.com/mozilla-releng/scriptworker-scripts', '/builds/worker/checkouts/vcs']
[vcs 2026-06-30T17:54:20.356+00:00] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2026-06-30T17:54:25.922+00:00] executing ['git', 'fetch', 'https://github.com/abhishekmadan30/scriptworker-scripts', 'huawei-attempt']
[vcs 2026-06-30T17:54:26.211+00:00] From https://github.com/abhishekmadan30/scriptworker-scripts
[vcs 2026-06-30T17:54:26.211+00:00] * branch huawei-attempt -> FETCH_HEAD
[vcs 2026-06-30T17:54:26.213+00:00] executing ['git', 'checkout', '-f', '-B', 'huawei-attempt', '4e5ca343de5669c7ad492e0fd6f819ec96d551ba']
[vcs 2026-06-30T17:54:27.248+00:00] Switched to a new branch 'huawei-attempt'
[vcs 2026-06-30T17:54:27.248+00:00] cleaning git checkout...
[vcs 2026-06-30T17:54:27.248+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2026-06-30T17:54:27.256+00:00] removing []
[vcs 2026-06-30T17:54:27.256+00:00] successfully cleaned git checkout!
[vcs 2026-06-30T17:54:27.258+00:00] TinderboxPrint:<a href='https://github.com/abhishekmadan30/scriptworker-scripts/commit/4e5ca343de5669c7ad492e0fd6f819ec96d551ba' title='Built from scriptworker-scripts commit 4e5ca343de5669c7ad492e0fd6f819ec96d551ba'>4e5ca343de5669c7ad492e0fd6f819ec96d551ba</a>
[task 2026-06-30T17:54:27.258+00:00] executing ['sh', '-lxce', 'uv run tox -e pushapkscript-py311']
[task 2026-06-30T17:54:27.259+00:00] + id -u
[task 2026-06-30T17:54:27.260+00:00] + [ 1000 -eq 0 ]
[task 2026-06-30T17:54:27.260+00:00] + PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
[task 2026-06-30T17:54:27.260+00:00] + export PATH
[task 2026-06-30T17:54:27.260+00:00] + [ $ ]
[task 2026-06-30T17:54:27.260+00:00] + [ ]
[task 2026-06-30T17:54:27.260+00:00] + id -u
[task 2026-06-30T17:54:27.261+00:00] + [ 1000 -eq 0 ]
[task 2026-06-30T17:54:27.261+00:00] + PS1=$
[task 2026-06-30T17:54:27.261+00:00] + [ -d /etc/profile.d ]
[task 2026-06-30T17:54:27.261+00:00] + run-parts --list --regex ^[a-zA-Z0-9_][a-zA-Z0-9._-]*\.sh$ /etc/profile.d
[task 2026-06-30T17:54:27.262+00:00] + unset i
[task 2026-06-30T17:54:27.262+00:00] + uv run tox -e pushapkscript-py311
[task 2026-06-30T17:54:27.353+00:00] Using CPython 3.11.15 interpreter at: /usr/local/bin/python3
[task 2026-06-30T17:54:27.353+00:00] Creating virtual environment at: .venv
[task 2026-06-30T17:54:28.337+00:00] Building configloader @ file:///builds/worker/checkouts/vcs/configloader
[task 2026-06-30T17:54:28.400+00:00] Downloading pygments (1.2MiB)
[task 2026-06-30T17:54:28.400+00:00] Downloading ruff (10.8MiB)
[task 2026-06-30T17:54:28.401+00:00] Downloading virtualenv (7.2MiB)
[task 2026-06-30T17:54:28.401+00:00] Downloading uv (23.7MiB)
[task 2026-06-30T17:54:28.401+00:00] Downloading mypy (13.9MiB)
[task 2026-06-30T17:54:28.920+00:00] Downloaded virtualenv
[task 2026-06-30T17:54:29.067+00:00] Downloaded ruff
[task 2026-06-30T17:54:29.212+00:00] Downloaded uv
[task 2026-06-30T17:54:29.219+00:00] Downloaded pygments
[task 2026-06-30T17:54:29.375+00:00] Downloaded mypy
[task 2026-06-30T17:54:29.470+00:00] Built configloader @ file:///builds/worker/checkouts/vcs/configloader
[task 2026-06-30T17:54:29.666+00:00] Installed 32 packages in 195ms
[task 2026-06-30T17:54:30.304+00:00] pushapkscript-py311: venv> .venv/bin/uv venv -p cpython3.11 --allow-existing '--prompt=vcs[pushapkscript-py311]' --python-preference system /builds/worker/checkouts/vcs/.tox/pushapkscript-py311
[task 2026-06-30T17:54:30.528+00:00] pushapkscript-py311: uv-sync> .venv/bin/uv sync --locked --python-preference system -p cpython3.11
[task 2026-06-30T17:54:31.216+00:00] pushapkscript-py311: commands[0] /builds/worker/checkouts/vcs/pushapkscript> tox -e py311
[task 2026-06-30T17:54:31.819+00:00] py311: venv> /builds/worker/checkouts/vcs/.tox/pushapkscript-py311/bin/uv venv -p cpython3.11 --allow-existing '--prompt=pushapkscript[py311]' --python-preference system /builds/worker/checkouts/vcs/.tox/py311
[task 2026-06-30T17:54:31.955+00:00] py311: uv-sync> /builds/worker/checkouts/vcs/.tox/pushapkscript-py311/bin/uv sync --locked --python-preference system -p cpython3.11
[task 2026-06-30T17:54:33.305+00:00] py311: commands[0]> py.test --cov-config=tox.ini --cov-append --cov=/builds/worker/checkouts/vcs/pushapkscript/src/pushapkscript --cov-report term-missing tests
[task 2026-06-30T17:54:38.659+00:00] ============================= test session starts ==============================
[task 2026-06-30T17:54:38.659+00:00] platform linux -- Python 3.11.15, pytest-8.4.2, pluggy-1.6.0
[task 2026-06-30T17:54:38.659+00:00] cachedir: /builds/worker/checkouts/vcs/.tox/py311/.pytest_cache
[task 2026-06-30T17:54:38.659+00:00] rootdir: /builds/worker/checkouts/vcs/pushapkscript
[task 2026-06-30T17:54:38.659+00:00] configfile: tox.ini
[task 2026-06-30T17:54:38.659+00:00] plugins: cov-7.1.0, asyncio-0.26.0
[task 2026-06-30T17:54:38.659+00:00] asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function
[task 2026-06-30T17:54:38.659+00:00] collected 90 items
[task 2026-06-30T17:54:38.659+00:00]
[task 2026-06-30T17:54:40.615+00:00] tests/integration/test_integration_script.py ........ [ 8%]
[task 2026-06-30T17:54:40.943+00:00] tests/test_config.py .... [ 13%]
[task 2026-06-30T17:54:40.958+00:00] tests/test_jarsigner.py ..... [ 18%]
[task 2026-06-30T17:54:40.996+00:00] tests/test_manifest.py ..................... [ 42%]
[task 2026-06-30T17:54:41.019+00:00] tests/test_publish_config.py .................. [ 62%]
[task 2026-06-30T17:54:41.051+00:00] tests/test_script.py .............. [ 77%]
[task 2026-06-30T17:54:41.106+00:00] tests/test_task.py .............. [ 93%]
[task 2026-06-30T17:54:41.555+00:00] tests/test_utils.py ...... [100%]
[task 2026-06-30T17:54:41.555+00:00]
[task 2026-06-30T17:54:41.555+00:00] =============================== warnings summary ===============================
[task 2026-06-30T17:54:41.555+00:00] tests/test_script.py::test_async_main[beta-upstream_artifacts0-False-False]
[task 2026-06-30T17:54:41.555+00:00] /builds/worker/checkouts/vcs/.tox/py311/lib/python3.11/site-packages/pytest_asyncio/plugin.py:949: DeprecationWarning: pytest-asyncio detected an unclosed event loop when tearing down the event_loop
[task 2026-06-30T17:54:41.555+00:00] fixture: <_UnixSelectorEventLoop running=False closed=False debug=False>
[task 2026-06-30T17:54:41.555+00:00] pytest-asyncio will close the event loop for you, but future versions of the
[task 2026-06-30T17:54:41.555+00:00] library will no longer do so. In order to ensure compatibility with future
[task 2026-06-30T17:54:41.555+00:00] versions, please make sure that:
[task 2026-06-30T17:54:41.555+00:00] 1. Any custom "event_loop" fixture properly closes the loop after yielding it
[task 2026-06-30T17:54:41.555+00:00] 2. The scopes of your custom "event_loop" fixtures do not overlap
[task 2026-06-30T17:54:41.555+00:00] 3. Your code does not modify the event loop in async fixtures or tests
[task 2026-06-30T17:54:41.555+00:00]
[task 2026-06-30T17:54:41.555+00:00] warnings.warn(
[task 2026-06-30T17:54:41.555+00:00]
[task 2026-06-30T17:54:41.555+00:00] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[task 2026-06-30T17:54:41.555+00:00] ================================ tests coverage ================================
[task 2026-06-30T17:54:41.555+00:00] _______________ coverage: platform linux, python 3.11.15-final-0 _______________
[task 2026-06-30T17:54:41.555+00:00]
[task 2026-06-30T17:54:41.555+00:00] Name Stmts Miss Branch BrPart Cover Missing
[task 2026-06-30T17:54:41.555+00:00] ---------------------------------------------------------------------------------
[task 2026-06-30T17:54:41.555+00:00] src/pushapkscript/__init__.py 0 0 0 0 100%
[task 2026-06-30T17:54:41.555+00:00] src/pushapkscript/exceptions.py 8 0 0 0 100%
[task 2026-06-30T17:54:41.555+00:00] src/pushapkscript/jarsigner.py 18 0 2 0 100%
[task 2026-06-30T17:54:41.555+00:00] src/pushapkscript/manifest.py 38 0 14 0 100%
[task 2026-06-30T17:54:41.555+00:00] src/pushapkscript/publish.py 10 1 4 1 86% 36
[task 2026-06-30T17:54:41.555+00:00] src/pushapkscript/publish_config.py 48 4 16 3 89% 26-31, 76, 80
[task 2026-06-30T17:54:41.555+00:00] src/pushapkscript/script.py 66 9 18 2 82% 40-47, 78
[task 2026-06-30T17:54:41.555+00:00] src/pushapkscript/task.py 13 0 0 0 100%
[task 2026-06-30T17:54:41.555+00:00] src/pushapkscript/utils.py 2 0 0 0 100%
[task 2026-06-30T17:54:41.555+00:00] ---------------------------------------------------------------------------------
[task 2026-06-30T17:54:41.555+00:00] TOTAL 203 14 54 6 91%
[task 2026-06-30T17:54:41.555+00:00] ======================== 90 passed, 1 warning in 7.16s =========================
[task 2026-06-30T17:54:41.919+00:00] py311: OK (10.10=setup[1.49]+cmd[8.61] seconds)
[task 2026-06-30T17:54:41.919+00:00] congratulations :) (10.15 seconds)
[task 2026-06-30T17:54:41.964+00:00] pushapkscript-py311: OK (11.66=setup[0.92]+cmd[10.75] seconds)
[task 2026-06-30T17:54:41.964+00:00] congratulations :) (11.74 seconds)
[taskcluster 2026-06-30T17:54:43.085Z] Exit Code: 0
[taskcluster 2026-06-30T17:54:43.085Z] User Time: 11.935ms
[taskcluster 2026-06-30T17:54:43.085Z] Kernel Time: 13.771ms
[taskcluster 2026-06-30T17:54:43.085Z] Wall Time: 24.952831266s
[taskcluster 2026-06-30T17:54:43.085Z] Average Available System Memory: 14.37 GiB
[taskcluster 2026-06-30T17:54:43.085Z] Average System Memory Used: 1.24 GiB
[taskcluster 2026-06-30T17:54:43.085Z] Peak System Memory Used: 1.30 GiB
[taskcluster 2026-06-30T17:54:43.085Z] Total System Memory: 15.61 GiB
[taskcluster 2026-06-30T17:54:43.085Z] Result: SUCCEEDED
[taskcluster 2026-06-30T17:54:43.086Z] === Task Finished ===
[taskcluster 2026-06-30T17:54:43.086Z] Task Duration: 24.953413215s
[taskcluster 2026-06-30T17:54:43.233Z] [mounts] Preserving cache: Moving "/home/task_178284204666049/cache0" to "/home/generic-worker/caches/JH8yySsrQiG43mXIvS3-OQ"
Loading