Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test WASM Translations in CI #927

Merged
merged 17 commits into from
Nov 14, 2024

Add test cases for current translations WASM bindings

c8380a8
Select commit
Loading
Failed to load commit list.
Merged

Test WASM Translations in CI #927

Add test cases for current translations WASM bindings
c8380a8
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / tests-lint-black succeeded Nov 14, 2024 in 2m 46s

FirefoxCI (pull_request)

Run tests

Details

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

Task Status

Started: 2024-11-14T17:06:18.030Z
Resolved: 2024-11-14T17:07:03.013Z
Task Execution Time: 44 seconds, 983 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

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


[taskcluster 2024-11-14 17:06:18.163Z] Task ID: dwtKUCntQb2LoAvW5Q9Frw
[taskcluster 2024-11-14 17:06:18.164Z] Worker ID: 5111924513228690290
[taskcluster 2024-11-14 17:06:18.164Z] Worker Group: us-central1-c
[taskcluster 2024-11-14 17:06:18.164Z] Worker Node Type: projects/887720501152/machineTypes/n2-highmem-32
[taskcluster 2024-11-14 17:06:18.164Z] Worker Pool: translations-1/b-linux-large-gcp
[taskcluster 2024-11-14 17:06:18.164Z] Worker Version: 38.0.5
[taskcluster 2024-11-14 17:06:18.164Z] Public IP: 34.29.4.15
[taskcluster 2024-11-14 17:06:18.164Z] Hostname: translations-1-b-linux-large-gcp-csas3cloqfe8ujallqhkkq
[taskcluster 2024-11-14 17:06:18.164Z] using cache "translations-level-1-checkouts-v3-7afeb851dd97df8f3607-b6a4cyBFRma4ryrTwDlBNQ" -> /builds/worker/checkouts

[taskcluster 2024-11-14 17:06:20.805Z] Downloading artifact "public/image.tar.zst" from task ID: b6a4cyBFRma4ryrTwDlBNQ.
[taskcluster 2024-11-14 17:06:25.807Z] Download Progress: 34.78%
[taskcluster 2024-11-14 17:06:27.937Z] Downloaded artifact successfully.
[taskcluster 2024-11-14 17:06:27.939Z] Downloaded 264.528 mb
[taskcluster 2024-11-14 17:06:27.940Z] Decompressing downloaded image
[taskcluster 2024-11-14 17:06:30.121Z] Loading docker image from downloaded archive.
[taskcluster 2024-11-14 17:06:45.963Z] Image 'public/image.tar.zst' from task 'b6a4cyBFRma4ryrTwDlBNQ' loaded.  Using image ID sha256:7280252e9873a4af60f10c2f5520271c5ac80e0308f6bb8c10aff3385d2dca0b.
[taskcluster 2024-11-14 17:06:46.136Z] === Task Starting ===
[setup 2024-11-14T17:06:48.632Z] run-task started in /builds/worker
[setup 2024-11-14T17:06:48.632Z] Invoked by command: --firefox_translations_training-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- bash -c task lint-black
[setup 2024-11-14T17:06:48.632Z] Python version: 3.10.12
[cache 2024-11-14T17:06:48.633Z] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2024-11-14T17:06:48.633Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-11-14T17:06:48.633Z] volume /builds/worker/checkouts is a cache
[setup 2024-11-14T17:06:48.634Z] running as worker:worker
[vcs 2024-11-14T17:06:48.634Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2024-11-14T17:06:48.636Z] executing ['git', 'clone', 'https://github.com/mozilla/translations', '/builds/worker/checkouts/vcs']
[vcs 2024-11-14T17:06:48.638Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2024-11-14T17:06:49.621Z] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/mozilla/translations', 'wasm-tests']
[vcs 2024-11-14T17:06:49.797Z] From https://github.com/mozilla/translations
[vcs 2024-11-14T17:06:49.797Z]  * branch            wasm-tests -> FETCH_HEAD
[vcs 2024-11-14T17:06:49.806Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/mozilla/translations', 'wasm-tests']
[vcs 2024-11-14T17:06:50.010Z] From https://github.com/mozilla/translations
[vcs 2024-11-14T17:06:50.010Z]  * branch            wasm-tests -> FETCH_HEAD
[vcs 2024-11-14T17:06:50.019Z] executing ['git', 'checkout', '-f', '-B', 'wasm-tests', 'c8380a8a0fef5764a4204ab34a8ba5f133581033']
[vcs 2024-11-14T17:06:51.007Z] Switched to a new branch 'wasm-tests'
[vcs 2024-11-14T17:06:51.032Z] executing ['git', 'submodule', 'init']
[vcs 2024-11-14T17:06:51.056Z] Submodule '3rd_party/browsermt-marian-dev' (https://github.com/browsermt/marian-dev) registered for path '3rd_party/browsermt-marian-dev'
[vcs 2024-11-14T17:06:51.056Z] Submodule 'extract-lex' (https://github.com/marian-nmt/extract-lex) registered for path '3rd_party/extract-lex'
[vcs 2024-11-14T17:06:51.057Z] Submodule 'fast_align' (https://github.com/clab/fast_align) registered for path '3rd_party/fast_align'
[vcs 2024-11-14T17:06:51.057Z] Submodule '3rd_party/kenlm' (https://github.com/kpu/kenlm) registered for path '3rd_party/kenlm'
[vcs 2024-11-14T17:06:51.057Z] Submodule '3rd_party/marian-dev' (https://github.com/marian-nmt/marian-dev) registered for path '3rd_party/marian-dev'
[vcs 2024-11-14T17:06:51.058Z] Submodule '3rd_party/preprocess' (https://github.com/kpu/preprocess.git) registered for path '3rd_party/preprocess'
[vcs 2024-11-14T17:06:51.058Z] Submodule 'inference/3rd_party/browsermt-marian-dev' (https://github.com/browsermt/marian-dev) registered for path 'inference/3rd_party/browsermt-marian-dev'
[vcs 2024-11-14T17:06:51.059Z] Submodule 'inference/3rd_party/emsdk' (https://github.com/emscripten-core/emsdk.git) registered for path 'inference/3rd_party/emsdk'
[vcs 2024-11-14T17:06:51.059Z] Submodule 'inference/3rd_party/ssplit-cpp' (https://github.com/browsermt/ssplit-cpp) registered for path 'inference/3rd_party/ssplit-cpp'
[vcs 2024-11-14T17:06:51.060Z] executing ['git', 'submodule', 'update', '--force']
[vcs 2024-11-14T17:06:51.086Z] Cloning into '/builds/worker/checkouts/vcs/3rd_party/browsermt-marian-dev'...
[vcs 2024-11-14T17:06:52.351Z] Cloning into '/builds/worker/checkouts/vcs/3rd_party/extract-lex'...
[vcs 2024-11-14T17:06:52.615Z] Cloning into '/builds/worker/checkouts/vcs/3rd_party/fast_align'...
[vcs 2024-11-14T17:06:52.948Z] Cloning into '/builds/worker/checkouts/vcs/3rd_party/kenlm'...
[vcs 2024-11-14T17:06:53.630Z] Cloning into '/builds/worker/checkouts/vcs/3rd_party/marian-dev'...
[vcs 2024-11-14T17:06:55.153Z] Cloning into '/builds/worker/checkouts/vcs/3rd_party/preprocess'...
[vcs 2024-11-14T17:06:55.590Z] Cloning into '/builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev'...
[vcs 2024-11-14T17:06:56.865Z] Cloning into '/builds/worker/checkouts/vcs/inference/3rd_party/emsdk'...
[vcs 2024-11-14T17:06:57.368Z] Cloning into '/builds/worker/checkouts/vcs/inference/3rd_party/ssplit-cpp'...
[vcs 2024-11-14T17:06:57.785Z] Submodule path '3rd_party/browsermt-marian-dev': checked out '11c6ae7c46be21ef96ed10c60f28022fa968939f'
[vcs 2024-11-14T17:06:57.797Z] Submodule path '3rd_party/extract-lex': checked out '42fa605b53f32eaf6c6e0b5677255c21c91b3d49'
[vcs 2024-11-14T17:06:57.810Z] Submodule path '3rd_party/fast_align': checked out 'cab1e9aac8d3bb02ff5ae58218d8d225a039fa11'
[vcs 2024-11-14T17:06:57.840Z] Submodule path '3rd_party/kenlm': checked out 'bbf4fc511266c5d4515047055d7bdec659a6e158'
[vcs 2024-11-14T17:06:57.961Z] Submodule path '3rd_party/marian-dev': checked out 'e8a1a2530fb84cbff7383302ebca393e5875c441'
[vcs 2024-11-14T17:06:57.984Z] Submodule path '3rd_party/preprocess': checked out '64307314b4d5a9a0bd529b5c1036b0710d995eec'
[vcs 2024-11-14T17:06:58.062Z] Submodule path 'inference/3rd_party/browsermt-marian-dev': checked out '2781d735d4a10dca876d61be587afdab2726293c'
[vcs 2024-11-14T17:06:58.083Z] Submodule path 'inference/3rd_party/emsdk': checked out '2346baa7bb44a4a0571cc75f1986ab9aaa35aa03'
[vcs 2024-11-14T17:06:58.099Z] Submodule path 'inference/3rd_party/ssplit-cpp': checked out 'a311f9865ade34db1e8e080e6cc146f55dafb067'
[vcs 2024-11-14T17:06:58.100Z] cleaning git checkout...
[vcs 2024-11-14T17:06:58.100Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-11-14T17:06:58.104Z] removing []
[vcs 2024-11-14T17:06:58.104Z] successfully cleaned git checkout!
[vcs 2024-11-14T17:06:58.106Z] TinderboxPrint:<a href='https://github.com/mozilla/translations/commit/c8380a8a0fef5764a4204ab34a8ba5f133581033' title='Built from translations commit c8380a8a0fef5764a4204ab34a8ba5f133581033'>c8380a8a0fef5764a4204ab34a8ba5f133581033</a>
[task 2024-11-14T17:06:58.106Z] executing ['bash', '-c', 'task lint-black']
[task 2024-11-14T17:06:58.115Z] task: [poetry-install-*] poetry install --only black --no-root
[task 2024-11-14T17:06:58.604Z] Creating virtualenv firefox-translations-hlUNdH3O-py3.10 in /builds/worker/.cache/pypoetry/virtualenvs
[task 2024-11-14T17:06:59.117Z] Installing dependencies from lock file
[task 2024-11-14T17:06:59.541Z] 
[task 2024-11-14T17:06:59.541Z] Package operations: 8 installs, 0 updates, 0 removals
[task 2024-11-14T17:06:59.541Z] 
[task 2024-11-14T17:06:59.542Z]   - Installing click (8.1.7)
[task 2024-11-14T17:06:59.543Z]   - Installing mypy-extensions (1.0.0)
[task 2024-11-14T17:06:59.543Z]   - Installing packaging (24.1)
[task 2024-11-14T17:06:59.544Z]   - Installing pathspec (0.12.1)
[task 2024-11-14T17:06:59.544Z]   - Installing platformdirs (4.3.6)
[task 2024-11-14T17:06:59.544Z]   - Installing tomli (2.0.2)
[task 2024-11-14T17:06:59.545Z]   - Installing typing-extensions (4.12.2)
[task 2024-11-14T17:06:59.908Z]   - Installing black (23.12.1)
[task 2024-11-14T17:07:00.183Z] task: [lint-black] ./utils/tasks/black-check.sh
[task 2024-11-14T17:07:00.185Z] poetry run black . --check --diff
[task 2024-11-14T17:07:01.540Z] All done! ✨ 🍰 ✨
[task 2024-11-14T17:07:01.540Z] 105 files would be left unchanged.
[task 2024-11-14T17:07:01.575Z] The python code formatting is correct.
[taskcluster 2024-11-14 17:07:02.316Z] === Task Finished ===
[taskcluster 2024-11-14 17:07:02.317Z] Successful task run with exit code: 0 completed in 44.155 seconds