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 / inference-test-wasm succeeded Nov 14, 2024 in 13m 9s

FirefoxCI (pull_request)

Run build-wasm JS tests for the inference engine

Details

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

Task Status

Started: 2024-11-14T17:13:57.608Z
Resolved: 2024-11-14T17:17:27.477Z
Task Execution Time: 3 minutes, 29 seconds, 869 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

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


[taskcluster 2024-11-14 17:13:57.696Z] Task ID: Gk5OKSOnQFuGuNbDagWf7Q
[taskcluster 2024-11-14 17:13:57.696Z] Worker ID: 1268545785425532553
[taskcluster 2024-11-14 17:13:57.696Z] Worker Group: us-central1-b
[taskcluster 2024-11-14 17:13:57.696Z] Worker Node Type: projects/887720501152/machineTypes/n2-highmem-32
[taskcluster 2024-11-14 17:13:57.696Z] Worker Pool: translations-1/b-linux-large-gcp
[taskcluster 2024-11-14 17:13:57.696Z] Worker Version: 38.0.5
[taskcluster 2024-11-14 17:13:57.696Z] Public IP: 34.31.149.108
[taskcluster 2024-11-14 17:13:57.696Z] Hostname: translations-1-b-linux-large-gcp-wnnmtralqh-qqjzjp4h-wa
[taskcluster 2024-11-14 17:13:57.696Z] using cache "translations-level-1-checkouts-v3-7afeb851dd97df8f3607-RJAqCfNjSaqypDG6-sNBQQ" -> /builds/worker/checkouts

[taskcluster 2024-11-14 17:13:58.089Z] Image 'public/image.tar.zst' from task 'RJAqCfNjSaqypDG6-sNBQQ' loaded.  Using image ID sha256:2f8efeef6e7324fee76b499dea7a6d65755c168e59ca112078ca2041c51bc9d9.
[taskcluster 2024-11-14 17:13:58.135Z] === Task Starting ===
[setup 2024-11-14T17:13:58.405Z] run-task started in /builds/worker
[setup 2024-11-14T17:13:58.405Z] Invoked by command: --firefox_translations_training-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- bash -c task inference-test-wasm
[setup 2024-11-14T17:13:58.405Z] Python version: 3.10.12
[cache 2024-11-14T17:13:58.407Z] cache /builds/worker/checkouts exists; requirements: gid=1000 uid=1000 version=1
[volume 2024-11-14T17:13:58.407Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-11-14T17:13:58.407Z] volume /builds/worker/checkouts is a cache
[setup 2024-11-14T17:13:58.407Z] running as worker:worker
[vcs 2024-11-14T17:13:58.407Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']

...(2588 lines hidden)...

[task 2024-11-14T17:16:18.484Z] In file included from /builds/worker/checkouts/vcs/inference/src/translator/response.h:12:
[task 2024-11-14T17:16:18.484Z] In file included from /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/translator/beam_search.h:3:
[task 2024-11-14T17:16:18.484Z] In file included from /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/marian.h:5:
[task 2024-11-14T17:16:18.484Z] In file included from /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/common/config.h:3:
[task 2024-11-14T17:16:18.484Z] In file included from /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/3rd_party/yaml-cpp/yaml.h:17:
[task 2024-11-14T17:16:18.484Z] In file included from /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/3rd_party/yaml-cpp/node/impl.h:11:
[task 2024-11-14T17:16:18.484Z] In file included from /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/3rd_party/yaml-cpp/node/iterator.h:13:
[task 2024-11-14T17:16:18.484Z] /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/3rd_party/yaml-cpp/node/detail/iterator.h:21:35: warning: 'iterator<std::forward_iterator_tag, YAML::detail::iterator_value, long, YAML::detail::iterator_value *, YAML::detail::iterator_value>' is deprecated [-Wdeprecated-declarations]
[task 2024-11-14T17:16:18.484Z] class iterator_base : public std::iterator<std::forward_iterator_tag, V,
[task 2024-11-14T17:16:18.484Z]                                   ^
[task 2024-11-14T17:16:18.484Z] /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/3rd_party/yaml-cpp/node/impl.h:290:23: note: in instantiation of template class 'YAML::detail::iterator_base<YAML::detail::iterator_value>' requested here
[task 2024-11-14T17:16:18.484Z] inline iterator Node::begin() {
[task 2024-11-14T17:16:18.484Z]                       ^
[task 2024-11-14T17:16:18.484Z] /builds/worker/checkouts/vcs/inference/3rd_party/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__iterator/iterator.h:27:29: note: 'iterator<std::forward_iterator_tag, YAML::detail::iterator_value, long, YAML::detail::iterator_value *, YAML::detail::iterator_value>' has been explicitly marked deprecated here
[task 2024-11-14T17:16:18.484Z] struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator
[task 2024-11-14T17:16:18.484Z]                             ^
[task 2024-11-14T17:16:18.484Z] /builds/worker/checkouts/vcs/inference/3rd_party/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__config:1020:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
[task 2024-11-14T17:16:18.484Z] #  define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
[task 2024-11-14T17:16:18.484Z]                                       ^
[task 2024-11-14T17:16:18.484Z] /builds/worker/checkouts/vcs/inference/3rd_party/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__config:997:48: note: expanded from macro '_LIBCPP_DEPRECATED'
[task 2024-11-14T17:16:18.484Z] #    define _LIBCPP_DEPRECATED __attribute__ ((deprecated))
[task 2024-11-14T17:16:18.484Z]                                                ^
[task 2024-11-14T17:16:18.486Z] In file included from /builds/worker/checkouts/vcs/inference/wasm/bindings/response_bindings.cpp:10:
[task 2024-11-14T17:16:18.487Z] In file included from /builds/worker/checkouts/vcs/inference/src/translator/response.h:12:
[task 2024-11-14T17:16:18.487Z] In file included from /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/translator/beam_search.h:3:
[task 2024-11-14T17:16:18.487Z] In file included from /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/marian.h:5:
[task 2024-11-14T17:16:18.487Z] In file included from /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/common/config.h:3:
[task 2024-11-14T17:16:18.487Z] In file included from /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/3rd_party/yaml-cpp/yaml.h:17:
[task 2024-11-14T17:16:18.487Z] In file included from /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/3rd_party/yaml-cpp/node/impl.h:11:
[task 2024-11-14T17:16:18.487Z] In file included from /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/3rd_party/yaml-cpp/node/iterator.h:13:
[task 2024-11-14T17:16:18.487Z] /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/3rd_party/yaml-cpp/node/detail/iterator.h:21:35: warning: 'iterator<std::forward_iterator_tag, const YAML::detail::iterator_value, long, const YAML::detail::iterator_value *, const YAML::detail::iterator_value>' is deprecated [-Wdeprecated-declarations]
[task 2024-11-14T17:16:18.487Z] class iterator_base : public std::iterator<std::forward_iterator_tag, V,
[task 2024-11-14T17:16:18.487Z]                                   ^
[task 2024-11-14T17:16:18.487Z] /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/3rd_party/yaml-cpp/node/impl.h:283:29: note: in instantiation of template class 'YAML::detail::iterator_base<const YAML::detail::iterator_value>' requested here
[task 2024-11-14T17:16:18.487Z] inline const_iterator Node::begin() const {
[task 2024-11-14T17:16:18.487Z]                             ^
[task 2024-11-14T17:16:18.487Z] /builds/worker/checkouts/vcs/inference/3rd_party/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__iterator/iterator.h:27:29: note: 'iterator<std::forward_iterator_tag, const YAML::detail::iterator_value, long, const YAML::detail::iterator_value *, const YAML::detail::iterator_value>' has been explicitly marked deprecated here
[task 2024-11-14T17:16:18.487Z] struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator
[task 2024-11-14T17:16:18.487Z]                             ^
[task 2024-11-14T17:16:18.487Z] /builds/worker/checkouts/vcs/inference/3rd_party/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__config:1020:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
[task 2024-11-14T17:16:18.487Z] #  define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
[task 2024-11-14T17:16:18.487Z]                                       ^
[task 2024-11-14T17:16:18.487Z] /builds/worker/checkouts/vcs/inference/3rd_party/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__config:997:48: note: expanded from macro '_LIBCPP_DEPRECATED'
[task 2024-11-14T17:16:18.487Z] #    define _LIBCPP_DEPRECATED __attribute__ ((deprecated))
[task 2024-11-14T17:16:18.487Z]                                                ^
[task 2024-11-14T17:16:18.487Z] In file included from /builds/worker/checkouts/vcs/inference/wasm/bindings/response_bindings.cpp:10:
[task 2024-11-14T17:16:18.487Z] In file included from /builds/worker/checkouts/vcs/inference/src/translator/response.h:12:
[task 2024-11-14T17:16:18.487Z] In file included from /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/translator/beam_search.h:3:
[task 2024-11-14T17:16:18.487Z] In file included from /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/marian.h:5:
[task 2024-11-14T17:16:18.487Z] In file included from /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/common/config.h:3:
[task 2024-11-14T17:16:18.487Z] In file included from /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/3rd_party/yaml-cpp/yaml.h:17:
[task 2024-11-14T17:16:18.487Z] In file included from /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/3rd_party/yaml-cpp/node/impl.h:11:
[task 2024-11-14T17:16:18.487Z] In file included from /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/3rd_party/yaml-cpp/node/iterator.h:13:
[task 2024-11-14T17:16:18.487Z] /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/3rd_party/yaml-cpp/node/detail/iterator.h:21:35: warning: 'iterator<std::forward_iterator_tag, YAML::detail::iterator_value, long, YAML::detail::iterator_value *, YAML::detail::iterator_value>' is deprecated [-Wdeprecated-declarations]
[task 2024-11-14T17:16:18.487Z] class iterator_base : public std::iterator<std::forward_iterator_tag, V,
[task 2024-11-14T17:16:18.487Z]                                   ^
[task 2024-11-14T17:16:18.487Z] /builds/worker/checkouts/vcs/inference/3rd_party/browsermt-marian-dev/src/3rd_party/yaml-cpp/node/impl.h:290:23: note: in instantiation of template class 'YAML::detail::iterator_base<YAML::detail::iterator_value>' requested here
[task 2024-11-14T17:16:18.487Z] inline iterator Node::begin() {
[task 2024-11-14T17:16:18.487Z]                       ^
[task 2024-11-14T17:16:18.487Z] /builds/worker/checkouts/vcs/inference/3rd_party/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__iterator/iterator.h:27:29: note: 'iterator<std::forward_iterator_tag, YAML::detail::iterator_value, long, YAML::detail::iterator_value *, YAML::detail::iterator_value>' has been explicitly marked deprecated here
[task 2024-11-14T17:16:18.487Z] struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator
[task 2024-11-14T17:16:18.487Z]                             ^
[task 2024-11-14T17:16:18.487Z] /builds/worker/checkouts/vcs/inference/3rd_party/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__config:1020:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
[task 2024-11-14T17:16:18.487Z] #  define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
[task 2024-11-14T17:16:18.487Z]                                       ^
[task 2024-11-14T17:16:18.487Z] /builds/worker/checkouts/vcs/inference/3rd_party/emsdk/upstream/emscripten/cache/sysroot/include/c++/v1/__config:997:48: note: expanded from macro '_LIBCPP_DEPRECATED'
[task 2024-11-14T17:16:18.487Z] #    define _LIBCPP_DEPRECATED __attribute__ ((deprecated))
[task 2024-11-14T17:16:18.487Z]                                                ^
[task 2024-11-14T17:16:23.956Z] 5 warnings generated.
[task 2024-11-14T17:16:24.541Z] 5 warnings generated.
[task 2024-11-14T17:16:24.580Z] [100%] Linking CXX executable ../bergamot-translator.js
[task 2024-11-14T17:16:27.061Z] '+sse2' is not a recognized feature for this target (ignoring feature)
[task 2024-11-14T17:16:27.061Z] '+sse2' is not a recognized feature for this target (ignoring feature)
[task 2024-11-14T17:16:27.061Z] '+ssse3' is not a recognized feature for this target (ignoring feature)
[task 2024-11-14T17:16:27.061Z] '+ssse3' is not a recognized feature for this target (ignoring feature)
[task 2024-11-14T17:17:07.039Z] warning: undefined symbol: int8_multiply_and_add_bias (referenced by top-level compiled C/C++ code)
[task 2024-11-14T17:17:07.040Z] warning: undefined symbol: int8_prepare_a (referenced by top-level compiled C/C++ code)
[task 2024-11-14T17:17:07.040Z] warning: undefined symbol: int8_prepare_b (referenced by top-level compiled C/C++ code)
[task 2024-11-14T17:17:07.040Z] warning: undefined symbol: int8_prepare_b_from_quantized_transposed (referenced by top-level compiled C/C++ code)
[task 2024-11-14T17:17:07.040Z] warning: undefined symbol: int8_prepare_b_from_transposed (referenced by top-level compiled C/C++ code)
[task 2024-11-14T17:17:07.040Z] warning: undefined symbol: int8_prepare_bias (referenced by top-level compiled C/C++ code)
[task 2024-11-14T17:17:07.040Z] warning: undefined symbol: int8_select_columns_of_b (referenced by top-level compiled C/C++ code)
[task 2024-11-14T17:17:07.040Z] warning: undefined symbol: pclose (referenced by top-level compiled C/C++ code)
[task 2024-11-14T17:17:20.098Z] [100%] Built target bergamot-translator
[task 2024-11-14T17:17:20.119Z] Importing integer (8-bit) gemm implementation
[task 2024-11-14T17:17:20.124Z] SUCCESS
[task 2024-11-14T17:17:20.447Z] Checking patch inference/3rd_party/browsermt-marian-dev/src/tensors/tensor_allocator.h...
[task 2024-11-14T17:17:20.447Z] Applied patch inference/3rd_party/browsermt-marian-dev/src/tensors/tensor_allocator.h cleanly.
[task 2024-11-14T17:17:20.448Z] Checking patch inference/3rd_party/browsermt-marian-dev/src/3rd_party/zstr/strict_fstream.hpp...
[task 2024-11-14T17:17:20.449Z] Applied patch inference/3rd_party/browsermt-marian-dev/src/3rd_party/zstr/strict_fstream.hpp cleanly.
[task 2024-11-14T17:17:20.449Z] 
[task 2024-11-14T17:17:20.449Z] 🔄 Initializing and updating Git submodules recursively.
[task 2024-11-14T17:17:20.449Z] 
[task 2024-11-14T17:17:20.449Z] 
[task 2024-11-14T17:17:20.449Z] 🛠️ Installing EMSDK version 3.1.8
[task 2024-11-14T17:17:20.449Z] 
[task 2024-11-14T17:17:20.449Z] 
[task 2024-11-14T17:17:20.449Z] 🛠️ Activating emsdk
[task 2024-11-14T17:17:20.449Z] 
[task 2024-11-14T17:17:20.449Z] 
[task 2024-11-14T17:17:20.449Z] 🖌️ Applying source code patches
[task 2024-11-14T17:17:20.449Z] 
[task 2024-11-14T17:17:20.449Z] Applying patch /builds/worker/checkouts/vcs/inference/patches/01-marian-fstream-for-macos.patch to browsermt-marian-dev
[task 2024-11-14T17:17:20.449Z] Applying patch /builds/worker/checkouts/vcs/inference/patches/02-marian-allocation.patch to browsermt-marian-dev
[task 2024-11-14T17:17:20.449Z] 
[task 2024-11-14T17:17:20.449Z] 🏃 Running CMake for Bergamot
[task 2024-11-14T17:17:20.449Z] 
[task 2024-11-14T17:17:20.449Z] 
[task 2024-11-14T17:17:20.449Z] 🏃 Building Bergamot with emmake using 32 cores
[task 2024-11-14T17:17:20.449Z] 
[task 2024-11-14T17:17:20.449Z] 
[task 2024-11-14T17:17:20.449Z] 🪚 Patching Bergamot for gemm support
[task 2024-11-14T17:17:20.449Z] 
[task 2024-11-14T17:17:20.449Z] 
[task 2024-11-14T17:17:20.449Z] ✅ Build complete
[task 2024-11-14T17:17:20.449Z] 
[task 2024-11-14T17:17:20.449Z]   /builds/worker/checkouts/vcs/inference/build-wasm/bergamot-translator.js
[task 2024-11-14T17:17:20.449Z]   /builds/worker/checkouts/vcs/inference/build-wasm/bergamot-translator.wasm
[task 2024-11-14T17:17:20.449Z]   Uncompressed wasm size: 5.01M (5248233 bytes)
[task 2024-11-14T17:17:20.449Z]   Compressed wasm size: 1.78M (1869459 bytes)
[task 2024-11-14T17:17:20.449Z] 
[task 2024-11-14T17:17:20.449Z] 📄 Updating /builds/worker/checkouts/vcs/inference/build-wasm/bergamot-translator.js in place
[task 2024-11-14T17:17:20.449Z] 
[task 2024-11-14T17:17:20.449Z] 🖌️ Reverting the source code patches
[task 2024-11-14T17:17:20.449Z] 
[task 2024-11-14T17:17:20.449Z] Reverting patch /builds/worker/checkouts/vcs/inference/patches/02-marian-allocation.patch from browsermt-marian-dev
[task 2024-11-14T17:17:20.449Z] Reverting patch /builds/worker/checkouts/vcs/inference/patches/01-marian-fstream-for-macos.patch from browsermt-marian-dev
[task 2024-11-14T17:17:21.804Z] (node:8443) ExperimentalWarning: CommonJS module /builds/worker/.nvm/versions/node/v23.1.0/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /builds/worker/.nvm/versions/node/v23.1.0/lib/node_modules/npm/node_modules/supports-color/index.js using require().
[task 2024-11-14T17:17:21.804Z] Support for loading ES Module in require() is an experimental feature and might change at any time
[task 2024-11-14T17:17:21.804Z] (Use `node --trace-warnings ...` to show where the warning was created)
[task 2024-11-14T17:17:23.605Z] 
[task 2024-11-14T17:17:23.605Z] added 134 packages, and audited 135 packages in 2s
[task 2024-11-14T17:17:23.605Z] 
[task 2024-11-14T17:17:23.605Z] 38 packages are looking for funding
[task 2024-11-14T17:17:23.605Z]   run `npm fund` for details
[task 2024-11-14T17:17:23.606Z] 
[task 2024-11-14T17:17:23.606Z] found 0 vulnerabilities
[task 2024-11-14T17:17:23.728Z] 
[task 2024-11-14T17:17:23.728Z] > [email protected] test
[task 2024-11-14T17:17:23.728Z] > vitest --run
[task 2024-11-14T17:17:23.728Z] 
[task 2024-11-14T17:17:24.022Z] 
[task 2024-11-14T17:17:24.022Z]  RUN  v2.1.4 /builds/worker/checkouts/vcs/inference/wasm/tests
[task 2024-11-14T17:17:24.022Z] 
[task 2024-11-14T17:17:25.993Z]  ✓ test-cases/translate-plain-text-with-pivot.test.mjs  (2 tests) 1695ms
[task 2024-11-14T17:17:25.993Z]    ✓ Plain-Text Pivot Translations > (es -> fr): Translate "El perro azul." 855ms
[task 2024-11-14T17:17:25.993Z]    ✓ Plain-Text Pivot Translations > (fr -> es): Translate "Le chien bleu." 838ms
[task 2024-11-14T17:17:26.036Z]  ✓ test-cases/translate-html-with-pivot.test.mjs  (2 tests) 1737ms
[task 2024-11-14T17:17:26.036Z]    ✓ HTML Pivot Translations > (es -> fr): Translate "<b>El perro</b> azul." 877ms
[task 2024-11-14T17:17:26.036Z]    ✓ HTML Pivot Translations > (fr -> es): Translate "<b>Le chien</b> bleu." 858ms
[task 2024-11-14T17:17:26.394Z]  ✓ test-cases/translate-plain-text-no-pivot.test.mjs  (4 tests) 2096ms
[task 2024-11-14T17:17:26.394Z]    ✓ Plain-Text Non-Pivot Translations > (es -> en): Translate "Hola mundo" 548ms
[task 2024-11-14T17:17:26.394Z]    ✓ Plain-Text Non-Pivot Translations > (en -> es): Translate "Hello world" 514ms
[task 2024-11-14T17:17:26.394Z]    ✓ Plain-Text Non-Pivot Translations > (fr -> en): Translate "Bonjour le monde" 525ms
[task 2024-11-14T17:17:26.394Z]    ✓ Plain-Text Non-Pivot Translations > (en -> fr): Translate "Hello world" 508ms
[task 2024-11-14T17:17:26.420Z]  ✓ test-cases/translate-html-no-pivot.test.mjs  (4 tests) 2120ms
[task 2024-11-14T17:17:26.420Z]    ✓ HTML Non-Pivot Translations > (es -> en): Translate "<b>El perro</b> azul." 521ms
[task 2024-11-14T17:17:26.420Z]    ✓ HTML Non-Pivot Translations > (en -> es): Translate "<b>The blue</b> dog." 532ms
[task 2024-11-14T17:17:26.420Z]    ✓ HTML Non-Pivot Translations > (fr -> en): Translate "<b>Le chien</b> bleu." 533ms
[task 2024-11-14T17:17:26.420Z]    ✓ HTML Non-Pivot Translations > (en -> fr): Translate "<b>The blue</b> dog." 531ms
[task 2024-11-14T17:17:26.447Z] 
[task 2024-11-14T17:17:26.447Z]  Test Files  4 passed (4)
[task 2024-11-14T17:17:26.448Z]       Tests  12 passed (12)
[task 2024-11-14T17:17:26.448Z]    Start at  17:17:24
[task 2024-11-14T17:17:26.448Z]    Duration  2.42s (transform 51ms, setup 0ms, collect 119ms, tests 7.65s, environment 1ms, prepare 377ms)
[task 2024-11-14T17:17:26.448Z] 
[task 2024-11-14T17:17:26.471Z] 
[task 2024-11-14T17:17:26.471Z] 🚀 Starting build-wasm.py
[task 2024-11-14T17:17:26.471Z] 
[task 2024-11-14T17:17:26.471Z] 📥 Pulling translations model files with git lfs
[task 2024-11-14T17:17:26.471Z] 
[task 2024-11-14T17:17:26.471Z]    Pulled all files in /builds/worker/checkouts/vcs/inference/wasm/tests/models
[task 2024-11-14T17:17:26.471Z] 
[task 2024-11-14T17:17:26.471Z] 📁 Copying generated build artifacts to the WASM test directory
[task 2024-11-14T17:17:26.471Z] 
[task 2024-11-14T17:17:26.471Z]    Copied the following artifacts to /builds/worker/checkouts/vcs/inference/wasm/tests/generated:
[task 2024-11-14T17:17:26.471Z]      - /builds/worker/checkouts/vcs/inference/build-wasm/bergamot-translator.js
[task 2024-11-14T17:17:26.471Z]      - /builds/worker/checkouts/vcs/inference/build-wasm/bergamot-translator.wasm
[task 2024-11-14T17:17:26.471Z] 
[task 2024-11-14T17:17:26.471Z] 🔑 Calculating SHA-256 hash of /builds/worker/checkouts/vcs/inference/build-wasm/bergamot-translator.js
[task 2024-11-14T17:17:26.471Z] 
[task 2024-11-14T17:17:26.471Z]    Hash of /builds/worker/checkouts/vcs/inference/build-wasm/bergamot-translator.js written to
[task 2024-11-14T17:17:26.471Z]    /builds/worker/checkouts/vcs/inference/wasm/tests/generated/bergamot-translator.js.sha256
[task 2024-11-14T17:17:26.471Z] 
[task 2024-11-14T17:17:26.471Z] 📂 Decompressing model files required for WASM testing
[task 2024-11-14T17:17:26.471Z] 
[task 2024-11-14T17:17:26.471Z]    Decompressed models in /builds/worker/checkouts/vcs/inference/wasm/tests/models
[task 2024-11-14T17:17:26.471Z] 
[task 2024-11-14T17:17:26.471Z] 
[task 2024-11-14T17:17:26.471Z] 🔧 Installing npm dependencies for WASM JS tests
[task 2024-11-14T17:17:26.471Z] 
[task 2024-11-14T17:17:26.471Z] 
[task 2024-11-14T17:17:26.471Z] 📊 Running Translations WASM JS tests
[task 2024-11-14T17:17:26.471Z] 
[task 2024-11-14T17:17:26.471Z] 
[task 2024-11-14T17:17:26.471Z] ✅ test-wasm.py completed successfully.
[task 2024-11-14T17:17:26.471Z] 
[taskcluster 2024-11-14 17:17:26.982Z] === Task Finished ===
[taskcluster 2024-11-14 17:17:26.983Z] Successful task run with exit code: 0 completed in 209.287 seconds