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

Switch to ICU tokenizer #939

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Use ICU system package

d585a63
Select commit
Loading
Failed to load commit list.
Open

Switch to ICU tokenizer #939

Use ICU system package
d585a63
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / tests-lint-black succeeded Nov 22, 2024 in 5m 51s

FirefoxCI (pull_request)

Run tests

Details

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

Task Status

Started: 2024-11-22T22:55:43.711Z
Resolved: 2024-11-22T22:56:22.505Z
Task Execution Time: 38 seconds, 794 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

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


[taskcluster 2024-11-22 22:55:43.823Z] Task ID: GMJxZvHISCeHTsADp_sZ5g
[taskcluster 2024-11-22 22:55:43.823Z] Worker ID: 4753701653514597776
[taskcluster 2024-11-22 22:55:43.823Z] Worker Group: us-central1-c
[taskcluster 2024-11-22 22:55:43.823Z] Worker Node Type: projects/887720501152/machineTypes/n2-highmem-32
[taskcluster 2024-11-22 22:55:43.823Z] Worker Pool: translations-1/b-linux-large-gcp
[taskcluster 2024-11-22 22:55:43.823Z] Worker Version: 38.0.5
[taskcluster 2024-11-22 22:55:43.823Z] Public IP: 34.29.146.84
[taskcluster 2024-11-22 22:55:43.823Z] Hostname: translations-1-b-linux-large-gcp-kupcggkbt9kshv4lfcxhfq
[taskcluster 2024-11-22 22:55:43.823Z] using cache "translations-level-1-checkouts-v3-7afeb851dd97df8f3607-R1EFkifFQeGwp4XnSTV8UQ" -> /builds/worker/checkouts

[taskcluster 2024-11-22 22:55:46.721Z] Downloading artifact "public/image.tar.zst" from task ID: R1EFkifFQeGwp4XnSTV8UQ.
[taskcluster 2024-11-22 22:55:49.569Z] Downloaded artifact successfully.
[taskcluster 2024-11-22 22:55:49.570Z] Downloaded 311.502 mb
[taskcluster 2024-11-22 22:55:49.571Z] Decompressing downloaded image
[taskcluster 2024-11-22 22:55:51.817Z] Loading docker image from downloaded archive.
[taskcluster 2024-11-22 22:56:05.383Z] Image 'public/image.tar.zst' from task 'R1EFkifFQeGwp4XnSTV8UQ' loaded.  Using image ID sha256:73eddebd254f75e6e44b14725a7da08e6a621d6932e4ac7be5d88ad09c610bf3.
[taskcluster 2024-11-22 22:56:05.555Z] === Task Starting ===
[setup 2024-11-22T22:56:08.253Z] run-task started in /builds/worker
[setup 2024-11-22T22:56:08.253Z] 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-22T22:56:08.253Z] Python version: 3.10.12
[cache 2024-11-22T22:56:08.255Z] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2024-11-22T22:56:08.255Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-11-22T22:56:08.255Z] volume /builds/worker/checkouts is a cache
[setup 2024-11-22T22:56:08.255Z] running as worker:worker
[vcs 2024-11-22T22:56:08.255Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2024-11-22T22:56:08.257Z] executing ['git', 'clone', 'https://github.com/mozilla/translations', '/builds/worker/checkouts/vcs']
[vcs 2024-11-22T22:56:08.258Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2024-11-22T22:56:10.004Z] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/mozilla/translations', 'icu_tokenizer']
[vcs 2024-11-22T22:56:10.263Z] From https://github.com/mozilla/translations
[vcs 2024-11-22T22:56:10.263Z]  * branch            icu_tokenizer -> FETCH_HEAD
[vcs 2024-11-22T22:56:10.270Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/mozilla/translations', 'icu_tokenizer']
[vcs 2024-11-22T22:56:10.441Z] From https://github.com/mozilla/translations
[vcs 2024-11-22T22:56:10.441Z]  * branch            icu_tokenizer -> FETCH_HEAD
[vcs 2024-11-22T22:56:10.449Z] executing ['git', 'checkout', '-f', '-B', 'icu_tokenizer', 'd585a63a6abc04ece83e26ce51a0caa2f7fa21e6']
[vcs 2024-11-22T22:56:11.247Z] Switched to a new branch 'icu_tokenizer'
[vcs 2024-11-22T22:56:11.267Z] executing ['git', 'submodule', 'init']
[vcs 2024-11-22T22:56:11.287Z] Submodule '3rd_party/browsermt-marian-dev' (https://github.com/browsermt/marian-dev) registered for path '3rd_party/browsermt-marian-dev'
[vcs 2024-11-22T22:56:11.288Z] Submodule 'extract-lex' (https://github.com/marian-nmt/extract-lex) registered for path '3rd_party/extract-lex'
[vcs 2024-11-22T22:56:11.288Z] Submodule 'fast_align' (https://github.com/clab/fast_align) registered for path '3rd_party/fast_align'
[vcs 2024-11-22T22:56:11.288Z] Submodule '3rd_party/kenlm' (https://github.com/kpu/kenlm) registered for path '3rd_party/kenlm'
[vcs 2024-11-22T22:56:11.289Z] Submodule '3rd_party/marian-dev' (https://github.com/marian-nmt/marian-dev) registered for path '3rd_party/marian-dev'
[vcs 2024-11-22T22:56:11.289Z] Submodule '3rd_party/preprocess' (https://github.com/kpu/preprocess.git) registered for path '3rd_party/preprocess'
[vcs 2024-11-22T22:56:11.289Z] 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-22T22:56:11.290Z] Submodule 'inference/3rd_party/emsdk' (https://github.com/emscripten-core/emsdk.git) registered for path 'inference/3rd_party/emsdk'
[vcs 2024-11-22T22:56:11.290Z] Submodule 'inference/3rd_party/ssplit-cpp' (https://github.com/browsermt/ssplit-cpp) registered for path 'inference/3rd_party/ssplit-cpp'
[vcs 2024-11-22T22:56:11.291Z] executing ['git', 'submodule', 'update', '--force']
[vcs 2024-11-22T22:56:11.313Z] Cloning into '/builds/worker/checkouts/vcs/3rd_party/browsermt-marian-dev'...
[vcs 2024-11-22T22:56:12.552Z] Cloning into '/builds/worker/checkouts/vcs/3rd_party/extract-lex'...
[vcs 2024-11-22T22:56:12.805Z] Cloning into '/builds/worker/checkouts/vcs/3rd_party/fast_align'...
[vcs 2024-11-22T22:56:13.093Z] Cloning into '/builds/worker/checkouts/vcs/3rd_party/kenlm'...
[vcs 2024-11-22T22:56:13.698Z] Cloning into '/builds/worker/checkouts/vcs/3rd_party/marian-dev'...
[vcs 2024-11-22T22:56:15.198Z] Cloning into '/builds/worker/checkouts/vcs/3rd_party/preprocess'...
[vcs 2024-11-22T22:56:15.613Z] Cloning into '/builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev'...
[vcs 2024-11-22T22:56:16.829Z] Cloning into '/builds/worker/checkouts/vcs/inference/3rd_party/emsdk'...
[vcs 2024-11-22T22:56:17.348Z] Cloning into '/builds/worker/checkouts/vcs/inference/3rd_party/ssplit-cpp'...
[vcs 2024-11-22T22:56:17.756Z] Submodule path '3rd_party/browsermt-marian-dev': checked out '11c6ae7c46be21ef96ed10c60f28022fa968939f'
[vcs 2024-11-22T22:56:17.766Z] Submodule path '3rd_party/extract-lex': checked out '42fa605b53f32eaf6c6e0b5677255c21c91b3d49'
[vcs 2024-11-22T22:56:17.777Z] Submodule path '3rd_party/fast_align': checked out 'cab1e9aac8d3bb02ff5ae58218d8d225a039fa11'
[vcs 2024-11-22T22:56:17.804Z] Submodule path '3rd_party/kenlm': checked out 'bbf4fc511266c5d4515047055d7bdec659a6e158'
[vcs 2024-11-22T22:56:17.918Z] Submodule path '3rd_party/marian-dev': checked out 'e8a1a2530fb84cbff7383302ebca393e5875c441'
[vcs 2024-11-22T22:56:17.938Z] Submodule path '3rd_party/preprocess': checked out '64307314b4d5a9a0bd529b5c1036b0710d995eec'
[vcs 2024-11-22T22:56:18.010Z] Submodule path 'inference/3rd_party/browsermt-marian-dev': checked out '2781d735d4a10dca876d61be587afdab2726293c'
[vcs 2024-11-22T22:56:18.030Z] Submodule path 'inference/3rd_party/emsdk': checked out '2346baa7bb44a4a0571cc75f1986ab9aaa35aa03'
[vcs 2024-11-22T22:56:18.044Z] Submodule path 'inference/3rd_party/ssplit-cpp': checked out 'a311f9865ade34db1e8e080e6cc146f55dafb067'
[vcs 2024-11-22T22:56:18.044Z] cleaning git checkout...
[vcs 2024-11-22T22:56:18.044Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-11-22T22:56:18.047Z] removing []
[vcs 2024-11-22T22:56:18.047Z] successfully cleaned git checkout!
[vcs 2024-11-22T22:56:18.049Z] TinderboxPrint:<a href='https://github.com/mozilla/translations/commit/d585a63a6abc04ece83e26ce51a0caa2f7fa21e6' title='Built from translations commit d585a63a6abc04ece83e26ce51a0caa2f7fa21e6'>d585a63a6abc04ece83e26ce51a0caa2f7fa21e6</a>
[task 2024-11-22T22:56:18.049Z] executing ['bash', '-c', 'task lint-black']
[task 2024-11-22T22:56:18.056Z] task: [poetry-install-*] poetry install --only black --no-root
[task 2024-11-22T22:56:18.508Z] Creating virtualenv firefox-translations-hlUNdH3O-py3.10 in /builds/worker/.cache/pypoetry/virtualenvs
[task 2024-11-22T22:56:18.972Z] Installing dependencies from lock file
[task 2024-11-22T22:56:19.382Z] 
[task 2024-11-22T22:56:19.382Z] Package operations: 8 installs, 0 updates, 0 removals
[task 2024-11-22T22:56:19.382Z] 
[task 2024-11-22T22:56:19.383Z]   - Installing click (8.1.7)
[task 2024-11-22T22:56:19.383Z]   - Installing mypy-extensions (1.0.0)
[task 2024-11-22T22:56:19.384Z]   - Installing packaging (24.2)
[task 2024-11-22T22:56:19.384Z]   - Installing pathspec (0.12.1)
[task 2024-11-22T22:56:19.385Z]   - Installing platformdirs (4.3.6)
[task 2024-11-22T22:56:19.385Z]   - Installing tomli (2.1.0)
[task 2024-11-22T22:56:19.386Z]   - Installing typing-extensions (4.12.2)
[task 2024-11-22T22:56:19.690Z]   - Installing black (23.12.1)
[task 2024-11-22T22:56:19.956Z] task: [lint-black] ./utils/tasks/black-check.sh
[task 2024-11-22T22:56:19.958Z] poetry run black . --check --diff
[task 2024-11-22T22:56:21.182Z] All done! ✨ 🍰 ✨
[task 2024-11-22T22:56:21.182Z] 106 files would be left unchanged.
[task 2024-11-22T22:56:21.206Z] The python code formatting is correct.
[taskcluster 2024-11-22 22:56:21.955Z] === Task Finished ===
[taskcluster 2024-11-22 22:56:21.955Z] Successful task run with exit code: 0 completed in 38.133 seconds