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

Fix taskcluster train scripts #895

Merged
merged 1 commit into from
Oct 22, 2024

Fix taskcluster train scripts

2d0fb8c
Select commit
Loading
Failed to load commit list.
Merged

Fix taskcluster train scripts #895

Fix taskcluster train scripts
2d0fb8c
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / collect-mono-src-ru-en succeeded Oct 22, 2024 in 40m 42s

FirefoxCI (pull_request)

collect mono src ru-en

Details

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

Task Status

Started: 2024-10-22T18:40:48.261Z
Resolved: 2024-10-22T18:40:51.605Z
Task Execution Time: 3 seconds, 344 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/build/mono.en.zst
- public/logs/live_backing.log
- public/logs/live.log


[taskcluster 2024-10-22 18:40:48.397Z] Task ID: emp4nZzcSGG-wXGIZ2ervw
[taskcluster 2024-10-22 18:40:48.397Z] Worker ID: 6868397010072522708
[taskcluster 2024-10-22 18:40:48.397Z] Worker Group: us-central1-b
[taskcluster 2024-10-22 18:40:48.397Z] Worker Node Type: projects/887720501152/machineTypes/n2-highmem-32
[taskcluster 2024-10-22 18:40:48.397Z] Worker Pool: translations-1/b-linux-large-gcp-300gb
[taskcluster 2024-10-22 18:40:48.397Z] Worker Version: 38.0.5
[taskcluster 2024-10-22 18:40:48.397Z] Public IP: 34.132.120.51
[taskcluster 2024-10-22 18:40:48.397Z] Hostname: translations-1-b-linux-large-gcp-300gb-vorxoxbdt8kgbdpvihotmw
[taskcluster 2024-10-22 18:40:48.397Z] using cache "translations-level-1-checkouts-v3-7afeb851dd97df8f3607-WhHlxCxnQYW05fB1pTTteQ" -> /builds/worker/checkouts

[taskcluster 2024-10-22 18:40:48.926Z] Image 'public/image.tar.zst' from task 'WhHlxCxnQYW05fB1pTTteQ' loaded.  Using image ID sha256:502a53cc11fc8a59c0ca778225c5a4e38adf93683b8d4000d345029404ff6cf9.
[taskcluster 2024-10-22 18:40:48.984Z] === Task Starting ===
[setup 2024-10-22T18:40:49.296Z] run-task started in /builds/worker
[setup 2024-10-22T18:40:49.296Z] Invoked by command: --firefox_translations_training-checkout=/builds/worker/checkouts/vcs/ -- bash -c zstd -d --rm $MOZ_FETCHES_DIR/file* && $VCS_PATH/pipeline/translate/collect.sh fetches $TASK_WORKDIR/artifacts/mono.en.zst $MOZ_FETCHES_DIR/mono.ru.zst
[setup 2024-10-22T18:40:49.296Z] Python version: 3.10.12
[cache 2024-10-22T18:40:49.297Z] cache /builds/worker/checkouts exists; requirements: gid=1000 uid=1000 version=1
[volume 2024-10-22T18:40:49.297Z] volume /builds/worker/checkouts is a cache
[setup 2024-10-22T18:40:49.297Z] running as worker:worker
[vcs 2024-10-22T18:40:49.298Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2024-10-22T18:40:49.299Z] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/mozilla/firefox-translations-training', 'fix_tc_train_args']
[vcs 2024-10-22T18:40:49.504Z] From https://github.com/mozilla/firefox-translations-training
[vcs 2024-10-22T18:40:49.504Z]  * branch            fix_tc_train_args -> FETCH_HEAD
[vcs 2024-10-22T18:40:49.511Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/mozilla/firefox-translations-training', 'fix_tc_train_args']
[vcs 2024-10-22T18:40:49.683Z] From https://github.com/mozilla/firefox-translations-training
[vcs 2024-10-22T18:40:49.683Z]  * branch            fix_tc_train_args -> FETCH_HEAD
[vcs 2024-10-22T18:40:49.690Z] executing ['git', 'checkout', '-f', '-B', 'fix_tc_train_args', '2d0fb8cf64a76c1014ef9eeac29bbe483d5f3b6c']
[vcs 2024-10-22T18:40:49.796Z] Reset branch 'fix_tc_train_args'
[vcs 2024-10-22T18:40:49.796Z] executing ['git', 'submodule', 'init']
[vcs 2024-10-22T18:40:49.817Z] executing ['git', 'submodule', 'update', '--force']
[vcs 2024-10-22T18:40:49.914Z] Submodule path '3rd_party/browsermt-marian-dev': checked out '11c6ae7c46be21ef96ed10c60f28022fa968939f'
[vcs 2024-10-22T18:40:49.927Z] Submodule path '3rd_party/extract-lex': checked out '42fa605b53f32eaf6c6e0b5677255c21c91b3d49'
[vcs 2024-10-22T18:40:49.939Z] Submodule path '3rd_party/fast_align': checked out 'cab1e9aac8d3bb02ff5ae58218d8d225a039fa11'
[vcs 2024-10-22T18:40:49.967Z] Submodule path '3rd_party/kenlm': checked out 'bbf4fc511266c5d4515047055d7bdec659a6e158'
[vcs 2024-10-22T18:40:50.095Z] Submodule path '3rd_party/marian-dev': checked out 'e8a1a2530fb84cbff7383302ebca393e5875c441'
[vcs 2024-10-22T18:40:50.116Z] Submodule path '3rd_party/preprocess': checked out '64307314b4d5a9a0bd529b5c1036b0710d995eec'
[vcs 2024-10-22T18:40:50.192Z] Submodule path 'inference/3rd_party/browsermt-marian-dev': checked out '2781d735d4a10dca876d61be587afdab2726293c'
[vcs 2024-10-22T18:40:50.208Z] Submodule path 'inference/3rd_party/ssplit-cpp': checked out 'a311f9865ade34db1e8e080e6cc146f55dafb067'
[vcs 2024-10-22T18:40:50.208Z] cleaning git checkout...
[vcs 2024-10-22T18:40:50.208Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-10-22T18:40:50.211Z] removing []
[vcs 2024-10-22T18:40:50.211Z] successfully cleaned git checkout!
[vcs 2024-10-22T18:40:50.213Z] TinderboxPrint:<a href='https://github.com/mozilla/firefox-translations-training/commit/2d0fb8cf64a76c1014ef9eeac29bbe483d5f3b6c' title='Built from firefox-translations-training commit 2d0fb8cf64a76c1014ef9eeac29bbe483d5f3b6c'>2d0fb8cf64a76c1014ef9eeac29bbe483d5f3b6c</a>
[setup 2024-10-22T18:40:50.213Z] MOZ_FETCHES_DIR is /builds/worker/fetches
[fetches 2024-10-22T18:40:50.213Z] fetching artifacts
[fetches 2024-10-22T18:40:50.213Z] executing ['/usr/bin/python3', '-u', '/usr/local/bin/fetch-content', 'task-artifacts']
attempt 1/5attempt 1/5
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/UE42Ruk6TMK80zD3x00CHQ/artifacts/public/build/file.1.out.zst to /builds/worker/fetches/file.1.out.zst
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/bO1RT7fJRtqxUAlbso-50g/artifacts/public/build/mono.ru.zst to /builds/worker/fetches/mono.ru.zst

attempt 1/5
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/NhWquGuFRgWXuwGJFAkI2A/artifacts/public/build/file.2.out.zst to /builds/worker/fetches/file.2.out.zstDownloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/bO1RT7fJRtqxUAlbso-50g/artifacts/public/build/mono.ru.zst

Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/UE42Ruk6TMK80zD3x00CHQ/artifacts/public/build/file.1.out.zstDownloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/NhWquGuFRgWXuwGJFAkI2A/artifacts/public/build/file.2.out.zst

https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/UE42Ruk6TMK80zD3x00CHQ/artifacts/public/build/file.1.out.zst resolved to 1593 bytes with sha256 eca7e0a07a976da95a0d7bd28a416bc39893971ab108a3180c39d7a2c2a8bbb9 in 0.153s
Verified size of https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/UE42Ruk6TMK80zD3x00CHQ/artifacts/public/build/file.1.out.zst
Extracting /builds/worker/fetches/file.1.out.zst to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/NhWquGuFRgWXuwGJFAkI2A/artifacts/public/build/file.2.out.zst resolved to 1611 bytes with sha256 fa613542c88070a0bebe362b13cbab15f3546975f635a2091e08d77e5fe5e355 in 0.176s
Verified size of https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/NhWquGuFRgWXuwGJFAkI2A/artifacts/public/build/file.2.out.zst
Extracting /builds/worker/fetches/file.2.out.zst to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/bO1RT7fJRtqxUAlbso-50g/artifacts/public/build/mono.ru.zst resolved to 37563 bytes with sha256 304e08e5d74cb9ea8c5df020122b5ed56472d0b41a2848aecbd08b91d788b528 in 0.250s
Verified size of https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/bO1RT7fJRtqxUAlbso-50g/artifacts/public/build/mono.ru.zst
Extracting /builds/worker/fetches/mono.ru.zst to /builds/worker/fetches
PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "fetch_content", "value": 0.25341391999999985, "lowerIsBetter": true, "shouldAlert": false, "subtests": []}]}
[fetches 2024-10-22T18:40:50.552Z] finished fetching artifacts
[task 2024-10-22T18:40:50.552Z] executing ['bash', '-c', 'zstd -d --rm $MOZ_FETCHES_DIR/file* && $VCS_PATH/pipeline/translate/collect.sh fetches $TASK_WORKDIR/artifacts/mono.en.zst $MOZ_FETCHES_DIR/mono.ru.zst']
[task 2024-10-22T18:40:50.555Z] 
[task 2024-10-22T18:40:50.555Z] Decompress:  1/ 2 files. Current: .../file.1.out.zst : 0 MB...    
[task 2024-10-22T18:40:50.555Z]                                                                                
[task 2024-10-22T18:40:50.555Z] 
[task 2024-10-22T18:40:50.555Z]                                                                                
[task 2024-10-22T18:40:50.555Z] 2 files decompressed : 191453 bytes total 
[task 2024-10-22T18:40:50.557Z] + set -euo pipefail
[task 2024-10-22T18:40:50.557Z] + chunks_dir=fetches
[task 2024-10-22T18:40:50.557Z] + output_path=/builds/worker/artifacts/mono.en.zst
[task 2024-10-22T18:40:50.557Z] + mono_path=/builds/worker/fetches/mono.ru.zst
[task 2024-10-22T18:40:50.557Z] + echo '### Collecting translations'
[task 2024-10-22T18:40:50.557Z] ### Collecting translations
[task 2024-10-22T18:40:50.557Z] + find fetches -name '*.out'
[task 2024-10-22T18:40:50.558Z] + xargs cat
[task 2024-10-22T18:40:50.558Z] + zstdmt
[task 2024-10-22T18:40:50.558Z] + sort -t . -k2,2n
[task 2024-10-22T18:40:50.562Z] + echo '### Comparing number of sentences in source and artificial target files'
[task 2024-10-22T18:40:50.562Z] ### Comparing number of sentences in source and artificial target files
[task 2024-10-22T18:40:50.562Z] ++ zstdmt -dc /builds/worker/fetches/mono.ru.zst
[task 2024-10-22T18:40:50.562Z] ++ wc -l
[task 2024-10-22T18:40:50.564Z] + src_len=693
[task 2024-10-22T18:40:50.564Z] ++ zstdmt -dc /builds/worker/artifacts/mono.en.zst
[task 2024-10-22T18:40:50.564Z] ++ wc -l
[task 2024-10-22T18:40:50.566Z] + trg_len=693
[task 2024-10-22T18:40:50.566Z] + '[' 693 '!=' 693 ']'
[fetches 2024-10-22T18:40:50.566Z] removing /builds/worker/fetches
[fetches 2024-10-22T18:40:50.567Z] finished
[taskcluster 2024-10-22 18:40:50.800Z] === Task Finished ===
[taskcluster 2024-10-22 18:40:51.021Z] Successful task run with exit code: 0 completed in 2.625 seconds