Showing build.log
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
[15:33:55 PDT] Transferring environment variable script to build VM
[15:33:56 PDT] Transferring kokoro_log_reader.py to build VM
[15:33:57 PDT] Transferring source code to build VM
[15:34:12 PDT] Executing build script on build VM
[ID: 8149762] Executing command via SSH:
export KOKORO_BUILD_NUMBER="4727"
export KOKORO_JOB_NAME="cloud-devrel/python-docs-samples/python3.12/presubmit"
source /tmpfs/kokoro-env_vars.sh; cd /tmpfs/src/ ; chmod 755 github/python-docs-samples/.kokoro/trampoline_v2.sh ; PYTHON_3_VERSION="$(pyenv which python3 2> /dev/null || which python3)" ; PYTHON_2_VERSION="$(pyenv which python2 2> /dev/null || which python2)" ; if "$PYTHON_3_VERSION" -c "import psutil" ; then KOKORO_PYTHON_COMMAND="$PYTHON_3_VERSION" ; else KOKORO_PYTHON_COMMAND="$PYTHON_2_VERSION" ; fi > /dev/null 2>&1 ; echo "export KOKORO_PYTHON_COMMAND="$KOKORO_PYTHON_COMMAND"" > "$HOME/.kokoro_python_vars" ; nohup bash -c "( rm -f /tmpfs/kokoro_build_exit_code ; github/python-docs-samples/.kokoro/trampoline_v2.sh ; echo \${PIPESTATUS[0]} > /tmpfs/kokoro_build_exit_code ) > /tmpfs/kokoro_build.log 2>&1" > /dev/null 2>&1 & echo $! > /tmpfs/kokoro_build.pid ; source "$HOME/.kokoro_python_vars" ; "$KOKORO_PYTHON_COMMAND" /tmpfs/kokoro_log_reader.py /tmpfs/kokoro_build.log /tmpfs/kokoro_build_exit_code /tmpfs/kokoro_build.pid /tmpfs/kokoro_log_reader.pid --start_byte 0
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
================================================================
2025-04-28T22:34:13Z: Building with Trampoline 2.0.3
================================================================
================================================================
2025-04-28T22:34:13Z: Configuring Container Registry access
================================================================
WARNING: Your config file at [/home/kbuilder/.docker/config.json] contains these credential helper entries:
{
"credHelpers": {
"gcr.io": "gcr",
"us.gcr.io": "gcr",
"asia.gcr.io": "gcr",
"staging-k8s.gcr.io": "gcr",
"eu.gcr.io": "gcr"
}
}
These will be overwritten.
Docker configuration file updated.
================================================================
2025-04-28T22:34:13Z: Changing to the project root: /tmpfs/src/github/python-docs-samples.
================================================================
================================================================
2025-04-28T22:34:13Z: Checking environment variables.
================================================================
================================================================
2025-04-28T22:34:13Z: Preparing Docker image.
================================================================
================================================================
2025-04-28T22:34:13Z: Start pulling the Docker image: gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker.
================================================================
Using default tag: latest
latest: Pulling from cloud-devrel-kokoro-resources/python-samples-testing-docker
5a7813e071bf: Pulling fs layer
66048ebdc7e3: Pulling fs layer
59b2ee5b480f: Pulling fs layer
8bdb26e3f9b6: Pulling fs layer
171da1d30ae0: Pulling fs layer
e13d184298c5: Pulling fs layer
326981b9bddd: Pulling fs layer
22ebe1afe82e: Pulling fs layer
ba556c74e2d3: Pulling fs layer
d5bedac0d663: Pulling fs layer
ab99221ffae4: Pulling fs layer
40dd9dffa66b: Pulling fs layer
c9c5737f8290: Pulling fs layer
fe901ac2595b: Pulling fs layer
c15e806165f1: Pulling fs layer
e9bc5ff24c5f: Pulling fs layer
e8fde5e3f265: Pulling fs layer
c0dc93d8d5e3: Pulling fs layer
ff45f4d5e3f3: Pulling fs layer
a0c112c18d6e: Pulling fs layer
f04461289ef9: Pulling fs layer
5767aa064d54: Pulling fs layer
4c521136e445: Pulling fs layer
36d56b7d2382: Pulling fs layer
86844cd1d867: Pulling fs layer
d0b5e8762ad0: Pulling fs layer
eb7fa1cb55f0: Pulling fs layer
7f07e57d3c74: Pulling fs layer
326981b9bddd: Waiting
22ebe1afe82e: Waiting
ba556c74e2d3: Waiting
d5bedac0d663: Waiting
ab99221ffae4: Waiting
8bdb26e3f9b6: Waiting
40dd9dffa66b: Waiting
f04461289ef9: Waiting
171da1d30ae0: Waiting
c9c5737f8290: Waiting
5767aa064d54: Waiting
e13d184298c5: Waiting
fe901ac2595b: Waiting
4c521136e445: Waiting
c15e806165f1: Waiting
36d56b7d2382: Waiting
e9bc5ff24c5f: Waiting
ff45f4d5e3f3: Waiting
e8fde5e3f265: Waiting
a0c112c18d6e: Waiting
c0dc93d8d5e3: Waiting
86844cd1d867: Waiting
d0b5e8762ad0: Waiting
eb7fa1cb55f0: Waiting
59b2ee5b480f: Download complete
5a7813e071bf: Verifying Checksum
5a7813e071bf: Download complete
8bdb26e3f9b6: Verifying Checksum
8bdb26e3f9b6: Download complete
e13d184298c5: Download complete
171da1d30ae0: Verifying Checksum
171da1d30ae0: Download complete
22ebe1afe82e: Verifying Checksum
22ebe1afe82e: Download complete
326981b9bddd: Verifying Checksum
326981b9bddd: Download complete
5a7813e071bf: Pull complete
d5bedac0d663: Verifying Checksum
d5bedac0d663: Download complete
ab99221ffae4: Verifying Checksum
ab99221ffae4: Download complete
40dd9dffa66b: Verifying Checksum
40dd9dffa66b: Download complete
66048ebdc7e3: Verifying Checksum
66048ebdc7e3: Download complete
fe901ac2595b: Verifying Checksum
fe901ac2595b: Download complete
c9c5737f8290: Verifying Checksum
c9c5737f8290: Download complete
c15e806165f1: Verifying Checksum
c15e806165f1: Download complete
e9bc5ff24c5f: Verifying Checksum
e9bc5ff24c5f: Download complete
e8fde5e3f265: Verifying Checksum
e8fde5e3f265: Download complete
c0dc93d8d5e3: Verifying Checksum
c0dc93d8d5e3: Download complete
ff45f4d5e3f3: Verifying Checksum
ff45f4d5e3f3: Download complete
a0c112c18d6e: Verifying Checksum
a0c112c18d6e: Download complete
f04461289ef9: Verifying Checksum
f04461289ef9: Download complete
5767aa064d54: Verifying Checksum
5767aa064d54: Download complete
36d56b7d2382: Verifying Checksum
36d56b7d2382: Download complete
4c521136e445: Verifying Checksum
4c521136e445: Download complete
86844cd1d867: Verifying Checksum
86844cd1d867: Download complete
eb7fa1cb55f0: Verifying Checksum
eb7fa1cb55f0: Download complete
7f07e57d3c74: Verifying Checksum
7f07e57d3c74: Download complete
ba556c74e2d3: Verifying Checksum
ba556c74e2d3: Download complete
d0b5e8762ad0: Verifying Checksum
d0b5e8762ad0: Download complete
66048ebdc7e3: Pull complete
59b2ee5b480f: Pull complete
8bdb26e3f9b6: Pull complete
171da1d30ae0: Pull complete
e13d184298c5: Pull complete
326981b9bddd: Pull complete
22ebe1afe82e: Pull complete
ba556c74e2d3: Pull complete
d5bedac0d663: Pull complete
ab99221ffae4: Pull complete
40dd9dffa66b: Pull complete
c9c5737f8290: Pull complete
fe901ac2595b: Pull complete
c15e806165f1: Pull complete
e9bc5ff24c5f: Pull complete
e8fde5e3f265: Pull complete
c0dc93d8d5e3: Pull complete
ff45f4d5e3f3: Pull complete
a0c112c18d6e: Pull complete
f04461289ef9: Pull complete
5767aa064d54: Pull complete
4c521136e445: Pull complete
36d56b7d2382: Pull complete
86844cd1d867: Pull complete
d0b5e8762ad0: Pull complete
eb7fa1cb55f0: Pull complete
7f07e57d3c74: Pull complete
Digest: sha256:1b28cad34355f0b49d1e96d74a5f61ce9e130bf91727ef0f8fc70d3f1c407483
Status: Downloaded newer image for gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker:latest
gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker:latest
================================================================
2025-04-28T22:35:16Z: Finished pulling the Docker image: gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker.
================================================================
================================================================
2025-04-28T22:35:16Z: Running the tests in a Docker container.
================================================================
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /usr/local/lib/python3.7/site-packages (24.0)
Activated service account credentials for: [python-docs-samples-secrets-vi@cloud-devrel-kokoro-resources.iam.gserviceaccount.com]
Activated service account credentials for: [jenkins-and-travis@python-docs-samples-tests.iam.gserviceaccount.com]
\Cloud SQL proxy started for MySQL.
\Cloud SQL proxy started for Postgres.
\Cloud SQL proxy started for SQL Server.
******************** TESTING PROJECTS ********************
btlr run --max-cmd-duration=60m **/requirements.txt --git-diff origin/main... . -- /workspace/.kokoro/tests/run_single_test.sh
Collecting directories that match pattern...373 collected.
Checking for changes with "git diff"... [0 of 373 complete].
Running command(s)... [0 of 21 complete].
#
# dataflow/gemma-flex-template
#
------------------------------------------------------------
- testing /workspace/dataflow/gemma-flex-template
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/dataflow/gemma-flex-template
pip install nox
cd dataflow/gemma-flex-template
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd dataflow/gemma-flex-template
cp /workspace/noxfile-template.py noxfile.py
cd dataflow/gemma-flex-template
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > Session py-3.12 skipped: SKIPPED: 3.12 tests are disabled for this sample..
/workspace/dataflow/gemma-flex-template
PWD: /workspace/dataflow/gemma-flex-template
Testing completed.
#
# dataflow/run-inference
#
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
------------------------------------------------------------
- testing /workspace/dataflow/run-inference
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/dataflow/run-inference
pip install nox
cd dataflow/run-inference
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd dataflow/run-inference
cp /workspace/noxfile-template.py noxfile.py
cd dataflow/run-inference
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > Session py-3.12 skipped: SKIPPED: 3.12 tests are disabled for this sample..
/workspace/dataflow/run-inference
PWD: /workspace/dataflow/run-inference
Testing completed.
#
# gemma2
#
------------------------------------------------------------
- testing /workspace/gemma2
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/gemma2
pip install nox
cd gemma2
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd gemma2
cp /workspace/noxfile-template.py noxfile.py
cd gemma2
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /workspace/gemma2/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
collecting ... collected 2 items
gemma2_test.py::test_gemma2_predict_gpu PASSED [ 50%]
gemma2_test.py::test_gemma2_predict_tpu PASSED [100%]
------------- generated xml file: /workspace/gemma2/sponge_log.xml -------------
============================== 2 passed in 3.93s ===============================
nox > Session py-3.12 was successful.
/workspace/gemma2
PWD: /workspace/gemma2
Testing completed.
#
# generative_ai/embeddings
#
------------------------------------------------------------
- testing /workspace/generative_ai/embeddings
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/embeddings
pip install nox
cd generative_ai/embeddings
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/embeddings
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/embeddings
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/embeddings/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6, anyio-4.9.0
asyncio: mode=Mode.STRICT
collecting ... collected 7 items
test_embeddings_examples.py::test_multimodal_embedding_image_video_text PASSED [ 14%]
test_embeddings_examples.py::test_multimodal_embedding_video PASSED [ 28%]
test_embeddings_examples.py::test_multimodal_embedding_image PASSED [ 42%]
test_embeddings_examples.py::test_generate_embeddings_with_lower_dimension PASSED [ 57%]
test_embeddings_examples.py::test_text_embed_text PASSED [ 71%]
test_embeddings_examples.py::test_code_embed_text PASSED [ 85%]
test_embeddings_examples.py::test_tune_embedding_model PASSED [100%]
=============================== warnings summary ===============================
:488
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
:488
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
---- generated xml file: /workspace/generative_ai/embeddings/sponge_log.xml ----
======================== 7 passed, 2 warnings in 24.14s ========================
nox > Session py-3.12 was successful.
/workspace/generative_ai/embeddings
PWD: /workspace/generative_ai/embeddings
Testing completed.
#
# generative_ai/evaluation
#
------------------------------------------------------------
- testing /workspace/generative_ai/evaluation
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/evaluation
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
pip install nox
cd generative_ai/evaluation
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/evaluation
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/evaluation
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/evaluation/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6, anyio-4.9.0
asyncio: mode=Mode.STRICT
collecting ... collected 0 items / 1 error
==================================== ERRORS ====================================
_________ ERROR collecting generative_ai/evaluation/test_evaluation.py _________
ImportError while importing test module '/workspace/generative_ai/evaluation/test_evaluation.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
test_evaluation.py:15: in
import get_rouge_score
get_rouge_score.py:16: in
from vertexai.preview.evaluation import EvalResult
.nox/py-3-12/lib/python3.12/site-packages/vertexai/preview/evaluation/__init__.py:20: in
from vertexai.preview.evaluation import autorater_utils
.nox/py-3-12/lib/python3.12/site-packages/vertexai/preview/evaluation/autorater_utils.py:29: in
from sklearn import metrics
E ModuleNotFoundError: No module named 'sklearn'
=============================== warnings summary ===============================
:488
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
:488
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
---- generated xml file: /workspace/generative_ai/evaluation/sponge_log.xml ----
=========================== short test summary info ============================
ERROR test_evaluation.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 2 warnings, 1 error in 4.71s =========================
nox > Command pytest --junitxml=sponge_log.xml failed with exit code 2
nox > Session py-3.12 failed.
make: *** [Makefile:40: test] Error 1
/workspace/generative_ai/evaluation
PWD: /workspace/generative_ai/evaluation
Testing failed: Nox returned a non-zero exit code.
err: exit status 2
#
# generative_ai/extensions
#
------------------------------------------------------------
- testing /workspace/generative_ai/extensions
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/extensions
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
pip install nox
cd generative_ai/extensions
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/extensions
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/extensions
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/extensions/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6, anyio-4.9.0
asyncio: mode=Mode.STRICT
collecting ... collected 4 items
test_exextensions_examples.py::test_create_extension_basic PASSED [ 25%]
test_exextensions_examples.py::test_execute_extension PASSED [ 50%]
test_exextensions_examples.py::test_get_extension PASSED [ 75%]
test_exextensions_examples.py::test_list_extensions PASSED [100%]
=============================== warnings summary ===============================
:488
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
:488
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
---- generated xml file: /workspace/generative_ai/extensions/sponge_log.xml ----
======================== 4 passed, 2 warnings in 32.15s ========================
nox > Session py-3.12 was successful.
/workspace/generative_ai/extensions
PWD: /workspace/generative_ai/extensions
Testing completed.
#
# generative_ai/function_calling
#
------------------------------------------------------------
- testing /workspace/generative_ai/function_calling
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/function_calling
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
pip install nox
cd generative_ai/function_calling
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/function_calling
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/function_calling
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/function_calling/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6, anyio-4.9.0
asyncio: mode=Mode.STRICT
collecting ... collected 2 items
test_function_calling.py::test_chat_function_calling_basic PASSED [ 50%]
test_function_calling.py::test_chat_function_calling_config PASSED [100%]
- generated xml file: /workspace/generative_ai/function_calling/sponge_log.xml -
============================== 2 passed in 6.56s ===============================
nox > Session py-3.12 was successful.
/workspace/generative_ai/function_calling
PWD: /workspace/generative_ai/function_calling
Testing completed.
#
# generative_ai/image_generation
#
------------------------------------------------------------
- testing /workspace/generative_ai/image_generation
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/image_generation
pip install nox
cd generative_ai/image_generation
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/image_generation
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/image_generation
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/image_generation/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6, anyio-4.9.0
asyncio: mode=Mode.STRICT
collecting ... collected 11 items
edit_image_inpainting_insert_mask_mode_test.py::test_edit_image_inpainting_insert_mask_mode PASSED [ 9%]
edit_image_inpainting_insert_mask_test.py::test_edit_image_inpainting_insert_mask PASSED [ 18%]
edit_image_inpainting_remove_mask_mode_test.py::test_edit_image_inpainting_remove_mask_mode PASSED [ 27%]
edit_image_inpainting_remove_mask_test.py::test_edit_image_inpainting_remove_mask PASSED [ 36%]
edit_image_mask_free_test.py::test_edit_image_mask_free PASSED [ 45%]
edit_image_mask_test.py::test_edit_image_mask PASSED [ 54%]
edit_image_outpainting_mask_test.py::test_edit_image_outpainting_mask PASSED [ 63%]
edit_image_product_image_test.py::test_edit_image_product_image PASSED [ 72%]
generate_image_test.py::test_generate_image PASSED [ 81%]
get_short_form_image_captions_test.py::test_get_short_form_image_captions PASSED [ 90%]
get_short_form_image_responses_test.py::test_get_short_form_image_responses PASSED [100%]
=============================== warnings summary ===============================
:488
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
:488
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: /workspace/generative_ai/image_generation/sponge_log.xml -
================== 11 passed, 2 warnings in 87.32s (0:01:27) ===================
nox > Session py-3.12 was successful.
/workspace/generative_ai/image_generation
PWD: /workspace/generative_ai/image_generation
Testing completed.
#
# generative_ai/labels
#
------------------------------------------------------------
- testing /workspace/generative_ai/labels
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/labels
pip install nox
cd generative_ai/labels
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/labels
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/labels
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/labels/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
collecting ... collected 1 item
test_labels_examples.py::test_set_labels PASSED [100%]
------ generated xml file: /workspace/generative_ai/labels/sponge_log.xml ------
============================== 1 passed in 10.94s ==============================
nox > Session py-3.12 was successful.
/workspace/generative_ai/labels
PWD: /workspace/generative_ai/labels
Testing completed.
#
# generative_ai/model_garden
#
------------------------------------------------------------
- testing /workspace/generative_ai/model_garden
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/model_garden
pip install nox
cd generative_ai/model_garden
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/model_garden
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/model_garden
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/model_garden/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6, anyio-4.9.0
asyncio: mode=Mode.STRICT
collecting ... collected 3 items
test_model_garden_examples.py::test_generate_text_streaming PASSED [ 33%]
test_model_garden_examples.py::test_tool_use PASSED [ 66%]
test_model_garden_examples.py::test_generate_text PASSED [100%]
=============================== warnings summary ===============================
:488
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
:488
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
--- generated xml file: /workspace/generative_ai/model_garden/sponge_log.xml ---
======================== 3 passed, 2 warnings in 11.24s ========================
nox > Session py-3.12 was successful.
/workspace/generative_ai/model_garden
PWD: /workspace/generative_ai/model_garden
Testing completed.
#
# generative_ai/model_tuning
#
------------------------------------------------------------
- testing /workspace/generative_ai/model_tuning
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/model_tuning
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
pip install nox
cd generative_ai/model_tuning
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/model_tuning
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/model_tuning
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/model_tuning/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6, anyio-4.9.0
asyncio: mode=Mode.STRICT
collecting ... collected 9 items / 1 error
==================================== ERRORS ====================================
_ ERROR collecting generative_ai/model_tuning/create_evaluation_task_example_test.py _
ImportError while importing test module '/workspace/generative_ai/model_tuning/create_evaluation_task_example_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
create_evaluation_task_example_test.py:15: in
import create_evaluation_task_example
create_evaluation_task_example.py:16: in
from vertexai.preview.evaluation import EvalResult
.nox/py-3-12/lib/python3.12/site-packages/vertexai/preview/evaluation/__init__.py:20: in
from vertexai.preview.evaluation import autorater_utils
.nox/py-3-12/lib/python3.12/site-packages/vertexai/preview/evaluation/autorater_utils.py:29: in
from sklearn import metrics
E ModuleNotFoundError: No module named 'sklearn'
=============================== warnings summary ===============================
:488
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
:488
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
--- generated xml file: /workspace/generative_ai/model_tuning/sponge_log.xml ---
=========================== short test summary info ============================
ERROR create_evaluation_task_example_test.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 2 warnings, 1 error in 3.93s =========================
nox > Command pytest --junitxml=sponge_log.xml failed with exit code 2
nox > Session py-3.12 failed.
make: *** [Makefile:40: test] Error 1
/workspace/generative_ai/model_tuning
PWD: /workspace/generative_ai/model_tuning
Testing failed: Nox returned a non-zero exit code.
err: exit status 2
#
# generative_ai/prompts
#
------------------------------------------------------------
- testing /workspace/generative_ai/prompts
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/prompts
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/prompts
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/prompts
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/prompts/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6, anyio-4.9.0
asyncio: mode=Mode.STRICT
collecting ... collected 7 items
test_prompt_optimizer.py::test_prompt_optimizer PASSED [ 14%]
test_prompt_template.py::test_prompt_template PASSED [ 28%]
test_prompt_template.py::test_prompt_create PASSED [ 42%]
test_prompt_template.py::test_prompt_list_prompts PASSED [ 57%]
test_prompt_template.py::test_prompt_get PASSED [ 71%]
test_prompt_template.py::test_prompt_list_version PASSED [ 85%]
test_prompt_template.py::test_prompt_delete PASSED [100%]
=============================== warnings summary ===============================
:488
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
:488
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
----- generated xml file: /workspace/generative_ai/prompts/sponge_log.xml ------
================== 7 passed, 2 warnings in 326.07s (0:05:26) ===================
nox > Session py-3.12 was successful.
/workspace/generative_ai/prompts
PWD: /workspace/generative_ai/prompts
Testing completed.
#
# generative_ai/provisioned_throughput
#
------------------------------------------------------------
- testing /workspace/generative_ai/provisioned_throughput
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/provisioned_throughput
pip install nox
cd generative_ai/provisioned_throughput
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/provisioned_throughput
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/provisioned_throughput
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/provisioned_throughput/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6
asyncio: mode=Mode.STRICT
collecting ... collected 1 item
test_provisioned_throughput_examples.py::test_provisioned_throughput_with_txt PASSED [100%]
=============================== warnings summary ===============================
generative_ai/provisioned_throughput/test_provisioned_throughput_examples.py::test_provisioned_throughput_with_txt
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
generative_ai/provisioned_throughput/test_provisioned_throughput_examples.py::test_provisioned_throughput_with_txt
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: /workspace/generative_ai/provisioned_throughput/sponge_log.xml -
======================== 1 passed, 2 warnings in 8.40s =========================
nox > Session py-3.12 was successful.
/workspace/generative_ai/provisioned_throughput
PWD: /workspace/generative_ai/provisioned_throughput
Testing completed.
#
# generative_ai/rag
#
------------------------------------------------------------
- testing /workspace/generative_ai/rag
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/rag
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
pip install nox
cd generative_ai/rag
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/rag
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/rag
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/rag/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6
asyncio: mode=Mode.STRICT
collecting ... collected 0 items / 1 skipped
=============================== warnings summary ===============================
:488
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
:488
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
------- generated xml file: /workspace/generative_ai/rag/sponge_log.xml --------
======================== 1 skipped, 2 warnings in 2.77s ========================
nox > Session py-3.12 was successful.
/workspace/generative_ai/rag
PWD: /workspace/generative_ai/rag
Testing completed.
#
# generative_ai/reasoning_engine
#
------------------------------------------------------------
- testing /workspace/generative_ai/reasoning_engine
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/reasoning_engine
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
pip install nox
cd generative_ai/reasoning_engine
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/reasoning_engine
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/reasoning_engine
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/reasoning_engine/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6, anyio-4.9.0
asyncio: mode=Mode.STRICT
collecting ... collected 5 items
test_reasoning_engine_examples.py::test_create_reasoning_engine_basic SKIPPED [ 20%]
test_reasoning_engine_examples.py::test_create_reasoning_engine_advanced SKIPPED [ 40%]
test_reasoning_engine_examples.py::test_query_reasoning_engine SKIPPED [ 60%]
test_reasoning_engine_examples.py::test_list_reasoning_engines PASSED [ 80%]
test_reasoning_engine_examples.py::test_get_reasoning_engine SKIPPED [100%]
=============================== warnings summary ===============================
:488
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
:488
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: /workspace/generative_ai/reasoning_engine/sponge_log.xml -
=================== 1 passed, 4 skipped, 2 warnings in 3.02s ===================
nox > Session py-3.12 was successful.
/workspace/generative_ai/reasoning_engine
PWD: /workspace/generative_ai/reasoning_engine
Testing completed.
#
# model_garden/gemma
#
------------------------------------------------------------
- testing /workspace/model_garden/gemma
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/model_garden/gemma
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
pip install nox
cd model_garden/gemma
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd model_garden/gemma
cp /workspace/noxfile-template.py noxfile.py
cd model_garden/gemma
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/model_garden/gemma/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6
asyncio: mode=Mode.STRICT
collecting ... collected 3 items
test_model_garden_examples.py::test_list_deployable_models PASSED [ 33%]
test_model_garden_examples.py::test_list_deploy_options PASSED [ 66%]
test_model_garden_examples.py::test_gemma3_deploy PASSED [100%]
=============================== warnings summary ===============================
:488
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
:488
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
------- generated xml file: /workspace/model_garden/gemma/sponge_log.xml -------
======================== 3 passed, 2 warnings in 3.14s =========================
nox > Session py-3.12 was successful.
/workspace/model_garden/gemma
PWD: /workspace/model_garden/gemma
Testing completed.
#
# people-and-planet-ai/geospatial-classification
#
------------------------------------------------------------
- testing /workspace/people-and-planet-ai/geospatial-classification
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/people-and-planet-ai/geospatial-classification
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
pip install nox
cd people-and-planet-ai/geospatial-classification
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd people-and-planet-ai/geospatial-classification
cp /workspace/noxfile-template.py noxfile.py
cd people-and-planet-ai/geospatial-classification
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > Session py-3.12 skipped: SKIPPED: 3.12 tests are disabled for this sample..
/workspace/people-and-planet-ai/geospatial-classification
PWD: /workspace/people-and-planet-ai/geospatial-classification
Testing completed.
#
# people-and-planet-ai/image-classification
#
------------------------------------------------------------
- testing /workspace/people-and-planet-ai/image-classification
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/people-and-planet-ai/image-classification
pip install nox
cd people-and-planet-ai/image-classification
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd people-and-planet-ai/image-classification
cp /workspace/noxfile-template.py noxfile.py
cd people-and-planet-ai/image-classification
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > Session py-3.12 skipped: SKIPPED: 3.12 tests are disabled for this sample..
/workspace/people-and-planet-ai/image-classification
PWD: /workspace/people-and-planet-ai/image-classification
Testing completed.
#
# people-and-planet-ai/land-cover-classification
#
------------------------------------------------------------
- testing /workspace/people-and-planet-ai/land-cover-classification
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/people-and-planet-ai/land-cover-classification
pip install nox
cd people-and-planet-ai/land-cover-classification
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd people-and-planet-ai/land-cover-classification
cp /workspace/noxfile-template.py noxfile.py
cd people-and-planet-ai/land-cover-classification
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > Session py-3.12 skipped: SKIPPED: 3.12 tests are disabled for this sample..
/workspace/people-and-planet-ai/land-cover-classification
PWD: /workspace/people-and-planet-ai/land-cover-classification
Testing completed.
#
# people-and-planet-ai/timeseries-classification
#
------------------------------------------------------------
- testing /workspace/people-and-planet-ai/timeseries-classification
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/people-and-planet-ai/timeseries-classification
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
pip install nox
cd people-and-planet-ai/timeseries-classification
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd people-and-planet-ai/timeseries-classification
cp /workspace/noxfile-template.py noxfile.py
cd people-and-planet-ai/timeseries-classification
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > Session py-3.12 skipped: SKIPPED: 3.12 tests are disabled for this sample..
/workspace/people-and-planet-ai/timeseries-classification
PWD: /workspace/people-and-planet-ai/timeseries-classification
Testing completed.
#
# people-and-planet-ai/weather-forecasting/tests/training_tests
#
------------------------------------------------------------
- testing /workspace/people-and-planet-ai/weather-forecasting/tests/training_tests
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/people-and-planet-ai/weather-forecasting/tests/training_tests
pip install nox
cd people-and-planet-ai/weather-forecasting/tests/training_tests
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd people-and-planet-ai/weather-forecasting/tests/training_tests
cp /workspace/noxfile-template.py noxfile.py
cd people-and-planet-ai/weather-forecasting/tests/training_tests
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > Session py-3.12 skipped: SKIPPED: 3.12 tests are disabled for this sample..
/workspace/people-and-planet-ai/weather-forecasting/tests/training_tests
PWD: /workspace/people-and-planet-ai/weather-forecasting/tests/training_tests
Testing completed.
#
# Summary
#
SUCCESS: 19, FAILURE: 2, SKIPPED: 0, ERROR: 0,
dataflow/gemma-flex-template..........................................[ SUCCESS]
dataflow/run-inference................................................[ SUCCESS]
gemma2................................................................[ SUCCESS]
generative_ai/embeddings..............................................[ SUCCESS]
generative_ai/evaluation..............................................[ FAILURE]
generative_ai/extensions..............................................[ SUCCESS]
generative_ai/function_calling........................................[ SUCCESS]
generative_ai/image_generation........................................[ SUCCESS]
generative_ai/labels..................................................[ SUCCESS]
generative_ai/model_garden............................................[ SUCCESS]
generative_ai/model_tuning............................................[ FAILURE]
generative_ai/prompts.................................................[ SUCCESS]
generative_ai/provisioned_throughput..................................[ SUCCESS]
generative_ai/rag.....................................................[ SUCCESS]
generative_ai/reasoning_engine........................................[ SUCCESS]
model_garden/gemma....................................................[ SUCCESS]
people-and-planet-ai/geospatial-classification........................[ SUCCESS]
people-and-planet-ai/image-classification.............................[ SUCCESS]
people-and-planet-ai/land-cover-classification........................[ SUCCESS]
people-and-planet-ai/timeseries-classification........................[ SUCCESS]
people-and-planet-ai/weather-forecasting/tests/training_tests.........[ SUCCESS]
================================================================
2025-04-28T22:44:41Z: Build finished with 2
================================================================
[ID: 8149762] Command finished after 629 secs, exit value: 2
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
[15:44:42 PDT] Collecting build artifacts from build VM
Build script failed with exit code: 2
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
[15:33:55 PDT] Transferring environment variable script to build VM
[15:33:56 PDT] Transferring kokoro_log_reader.py to build VM
[15:33:57 PDT] Transferring source code to build VM
[15:34:12 PDT] Executing build script on build VM
[ID: 8149762] Executing command via SSH:
export KOKORO_BUILD_NUMBER="4727"
export KOKORO_JOB_NAME="cloud-devrel/python-docs-samples/python3.12/presubmit"
source /tmpfs/kokoro-env_vars.sh; cd /tmpfs/src/ ; chmod 755 github/python-docs-samples/.kokoro/trampoline_v2.sh ; PYTHON_3_VERSION="$(pyenv which python3 2> /dev/null || which python3)" ; PYTHON_2_VERSION="$(pyenv which python2 2> /dev/null || which python2)" ; if "$PYTHON_3_VERSION" -c "import psutil" ; then KOKORO_PYTHON_COMMAND="$PYTHON_3_VERSION" ; else KOKORO_PYTHON_COMMAND="$PYTHON_2_VERSION" ; fi > /dev/null 2>&1 ; echo "export KOKORO_PYTHON_COMMAND="$KOKORO_PYTHON_COMMAND"" > "$HOME/.kokoro_python_vars" ; nohup bash -c "( rm -f /tmpfs/kokoro_build_exit_code ; github/python-docs-samples/.kokoro/trampoline_v2.sh ; echo \${PIPESTATUS[0]} > /tmpfs/kokoro_build_exit_code ) > /tmpfs/kokoro_build.log 2>&1" > /dev/null 2>&1 & echo $! > /tmpfs/kokoro_build.pid ; source "$HOME/.kokoro_python_vars" ; "$KOKORO_PYTHON_COMMAND" /tmpfs/kokoro_log_reader.py /tmpfs/kokoro_build.log /tmpfs/kokoro_build_exit_code /tmpfs/kokoro_build.pid /tmpfs/kokoro_log_reader.pid --start_byte 0
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
================================================================
2025-04-28T22:34:13Z: Building with Trampoline 2.0.3
================================================================
================================================================
2025-04-28T22:34:13Z: Configuring Container Registry access
================================================================
WARNING: Your config file at [/home/kbuilder/.docker/config.json] contains these credential helper entries:
{
"credHelpers": {
"gcr.io": "gcr",
"us.gcr.io": "gcr",
"asia.gcr.io": "gcr",
"staging-k8s.gcr.io": "gcr",
"eu.gcr.io": "gcr"
}
}
These will be overwritten.
Docker configuration file updated.
================================================================
2025-04-28T22:34:13Z: Changing to the project root: /tmpfs/src/github/python-docs-samples.
================================================================
================================================================
2025-04-28T22:34:13Z: Checking environment variables.
================================================================
================================================================
2025-04-28T22:34:13Z: Preparing Docker image.
================================================================
================================================================
2025-04-28T22:34:13Z: Start pulling the Docker image: gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker.
================================================================
Using default tag: latest
latest: Pulling from cloud-devrel-kokoro-resources/python-samples-testing-docker
5a7813e071bf: Pulling fs layer
66048ebdc7e3: Pulling fs layer
59b2ee5b480f: Pulling fs layer
8bdb26e3f9b6: Pulling fs layer
171da1d30ae0: Pulling fs layer
e13d184298c5: Pulling fs layer
326981b9bddd: Pulling fs layer
22ebe1afe82e: Pulling fs layer
ba556c74e2d3: Pulling fs layer
d5bedac0d663: Pulling fs layer
ab99221ffae4: Pulling fs layer
40dd9dffa66b: Pulling fs layer
c9c5737f8290: Pulling fs layer
fe901ac2595b: Pulling fs layer
c15e806165f1: Pulling fs layer
e9bc5ff24c5f: Pulling fs layer
e8fde5e3f265: Pulling fs layer
c0dc93d8d5e3: Pulling fs layer
ff45f4d5e3f3: Pulling fs layer
a0c112c18d6e: Pulling fs layer
f04461289ef9: Pulling fs layer
5767aa064d54: Pulling fs layer
4c521136e445: Pulling fs layer
36d56b7d2382: Pulling fs layer
86844cd1d867: Pulling fs layer
d0b5e8762ad0: Pulling fs layer
eb7fa1cb55f0: Pulling fs layer
7f07e57d3c74: Pulling fs layer
326981b9bddd: Waiting
22ebe1afe82e: Waiting
ba556c74e2d3: Waiting
d5bedac0d663: Waiting
ab99221ffae4: Waiting
8bdb26e3f9b6: Waiting
40dd9dffa66b: Waiting
f04461289ef9: Waiting
171da1d30ae0: Waiting
c9c5737f8290: Waiting
5767aa064d54: Waiting
e13d184298c5: Waiting
fe901ac2595b: Waiting
4c521136e445: Waiting
c15e806165f1: Waiting
36d56b7d2382: Waiting
e9bc5ff24c5f: Waiting
ff45f4d5e3f3: Waiting
e8fde5e3f265: Waiting
a0c112c18d6e: Waiting
c0dc93d8d5e3: Waiting
86844cd1d867: Waiting
d0b5e8762ad0: Waiting
eb7fa1cb55f0: Waiting
59b2ee5b480f: Download complete
5a7813e071bf: Verifying Checksum
5a7813e071bf: Download complete
8bdb26e3f9b6: Verifying Checksum
8bdb26e3f9b6: Download complete
e13d184298c5: Download complete
171da1d30ae0: Verifying Checksum
171da1d30ae0: Download complete
22ebe1afe82e: Verifying Checksum
22ebe1afe82e: Download complete
326981b9bddd: Verifying Checksum
326981b9bddd: Download complete
5a7813e071bf: Pull complete
d5bedac0d663: Verifying Checksum
d5bedac0d663: Download complete
ab99221ffae4: Verifying Checksum
ab99221ffae4: Download complete
40dd9dffa66b: Verifying Checksum
40dd9dffa66b: Download complete
66048ebdc7e3: Verifying Checksum
66048ebdc7e3: Download complete
fe901ac2595b: Verifying Checksum
fe901ac2595b: Download complete
c9c5737f8290: Verifying Checksum
c9c5737f8290: Download complete
c15e806165f1: Verifying Checksum
c15e806165f1: Download complete
e9bc5ff24c5f: Verifying Checksum
e9bc5ff24c5f: Download complete
e8fde5e3f265: Verifying Checksum
e8fde5e3f265: Download complete
c0dc93d8d5e3: Verifying Checksum
c0dc93d8d5e3: Download complete
ff45f4d5e3f3: Verifying Checksum
ff45f4d5e3f3: Download complete
a0c112c18d6e: Verifying Checksum
a0c112c18d6e: Download complete
f04461289ef9: Verifying Checksum
f04461289ef9: Download complete
5767aa064d54: Verifying Checksum
5767aa064d54: Download complete
36d56b7d2382: Verifying Checksum
36d56b7d2382: Download complete
4c521136e445: Verifying Checksum
4c521136e445: Download complete
86844cd1d867: Verifying Checksum
86844cd1d867: Download complete
eb7fa1cb55f0: Verifying Checksum
eb7fa1cb55f0: Download complete
7f07e57d3c74: Verifying Checksum
7f07e57d3c74: Download complete
ba556c74e2d3: Verifying Checksum
ba556c74e2d3: Download complete
d0b5e8762ad0: Verifying Checksum
d0b5e8762ad0: Download complete
66048ebdc7e3: Pull complete
59b2ee5b480f: Pull complete
8bdb26e3f9b6: Pull complete
171da1d30ae0: Pull complete
e13d184298c5: Pull complete
326981b9bddd: Pull complete
22ebe1afe82e: Pull complete
ba556c74e2d3: Pull complete
d5bedac0d663: Pull complete
ab99221ffae4: Pull complete
40dd9dffa66b: Pull complete
c9c5737f8290: Pull complete
fe901ac2595b: Pull complete
c15e806165f1: Pull complete
e9bc5ff24c5f: Pull complete
e8fde5e3f265: Pull complete
c0dc93d8d5e3: Pull complete
ff45f4d5e3f3: Pull complete
a0c112c18d6e: Pull complete
f04461289ef9: Pull complete
5767aa064d54: Pull complete
4c521136e445: Pull complete
36d56b7d2382: Pull complete
86844cd1d867: Pull complete
d0b5e8762ad0: Pull complete
eb7fa1cb55f0: Pull complete
7f07e57d3c74: Pull complete
Digest: sha256:1b28cad34355f0b49d1e96d74a5f61ce9e130bf91727ef0f8fc70d3f1c407483
Status: Downloaded newer image for gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker:latest
gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker:latest
================================================================
2025-04-28T22:35:16Z: Finished pulling the Docker image: gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker.
================================================================
================================================================
2025-04-28T22:35:16Z: Running the tests in a Docker container.
================================================================
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /usr/local/lib/python3.7/site-packages (24.0)
Activated service account credentials for: [python-docs-samples-secrets-vi@cloud-devrel-kokoro-resources.iam.gserviceaccount.com]
Activated service account credentials for: [jenkins-and-travis@python-docs-samples-tests.iam.gserviceaccount.com]
\Cloud SQL proxy started for MySQL.
\Cloud SQL proxy started for Postgres.
\Cloud SQL proxy started for SQL Server.
******************** TESTING PROJECTS ********************
btlr run --max-cmd-duration=60m **/requirements.txt --git-diff origin/main... . -- /workspace/.kokoro/tests/run_single_test.sh
Collecting directories that match pattern...373 collected.
Checking for changes with "git diff"... [0 of 373 complete].
Running command(s)... [0 of 21 complete].
#
# dataflow/gemma-flex-template
#
------------------------------------------------------------
- testing /workspace/dataflow/gemma-flex-template
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/dataflow/gemma-flex-template
pip install nox
cd dataflow/gemma-flex-template
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd dataflow/gemma-flex-template
cp /workspace/noxfile-template.py noxfile.py
cd dataflow/gemma-flex-template
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > Session py-3.12 skipped: SKIPPED: 3.12 tests are disabled for this sample..
/workspace/dataflow/gemma-flex-template
PWD: /workspace/dataflow/gemma-flex-template
Testing completed.
#
# dataflow/run-inference
#
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
------------------------------------------------------------
- testing /workspace/dataflow/run-inference
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/dataflow/run-inference
pip install nox
cd dataflow/run-inference
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd dataflow/run-inference
cp /workspace/noxfile-template.py noxfile.py
cd dataflow/run-inference
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > Session py-3.12 skipped: SKIPPED: 3.12 tests are disabled for this sample..
/workspace/dataflow/run-inference
PWD: /workspace/dataflow/run-inference
Testing completed.
#
# gemma2
#
------------------------------------------------------------
- testing /workspace/gemma2
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/gemma2
pip install nox
cd gemma2
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd gemma2
cp /workspace/noxfile-template.py noxfile.py
cd gemma2
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /workspace/gemma2/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
collecting ... collected 2 items
gemma2_test.py::test_gemma2_predict_gpu PASSED [ 50%]
gemma2_test.py::test_gemma2_predict_tpu PASSED [100%]
------------- generated xml file: /workspace/gemma2/sponge_log.xml -------------
============================== 2 passed in 3.93s ===============================
nox > Session py-3.12 was successful.
/workspace/gemma2
PWD: /workspace/gemma2
Testing completed.
#
# generative_ai/embeddings
#
------------------------------------------------------------
- testing /workspace/generative_ai/embeddings
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/embeddings
pip install nox
cd generative_ai/embeddings
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/embeddings
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/embeddings
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/embeddings/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6, anyio-4.9.0
asyncio: mode=Mode.STRICT
collecting ... collected 7 items
test_embeddings_examples.py::test_multimodal_embedding_image_video_text PASSED [ 14%]
test_embeddings_examples.py::test_multimodal_embedding_video PASSED [ 28%]
test_embeddings_examples.py::test_multimodal_embedding_image PASSED [ 42%]
test_embeddings_examples.py::test_generate_embeddings_with_lower_dimension PASSED [ 57%]
test_embeddings_examples.py::test_text_embed_text PASSED [ 71%]
test_embeddings_examples.py::test_code_embed_text PASSED [ 85%]
test_embeddings_examples.py::test_tune_embedding_model PASSED [100%]
=============================== warnings summary ===============================
:488
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
:488
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
---- generated xml file: /workspace/generative_ai/embeddings/sponge_log.xml ----
======================== 7 passed, 2 warnings in 24.14s ========================
nox > Session py-3.12 was successful.
/workspace/generative_ai/embeddings
PWD: /workspace/generative_ai/embeddings
Testing completed.
#
# generative_ai/evaluation
#
------------------------------------------------------------
- testing /workspace/generative_ai/evaluation
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/evaluation
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
pip install nox
cd generative_ai/evaluation
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/evaluation
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/evaluation
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/evaluation/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6, anyio-4.9.0
asyncio: mode=Mode.STRICT
collecting ... collected 0 items / 1 error
==================================== ERRORS ====================================
_________ ERROR collecting generative_ai/evaluation/test_evaluation.py _________
ImportError while importing test module '/workspace/generative_ai/evaluation/test_evaluation.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
test_evaluation.py:15: in
import get_rouge_score
get_rouge_score.py:16: in
from vertexai.preview.evaluation import EvalResult
.nox/py-3-12/lib/python3.12/site-packages/vertexai/preview/evaluation/__init__.py:20: in
from vertexai.preview.evaluation import autorater_utils
.nox/py-3-12/lib/python3.12/site-packages/vertexai/preview/evaluation/autorater_utils.py:29: in
from sklearn import metrics
E ModuleNotFoundError: No module named 'sklearn'
=============================== warnings summary ===============================
:488
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
:488
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
---- generated xml file: /workspace/generative_ai/evaluation/sponge_log.xml ----
=========================== short test summary info ============================
ERROR test_evaluation.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 2 warnings, 1 error in 4.71s =========================
nox > Command pytest --junitxml=sponge_log.xml failed with exit code 2
nox > Session py-3.12 failed.
make: *** [Makefile:40: test] Error 1
/workspace/generative_ai/evaluation
PWD: /workspace/generative_ai/evaluation
Testing failed: Nox returned a non-zero exit code.
err: exit status 2
#
# generative_ai/extensions
#
------------------------------------------------------------
- testing /workspace/generative_ai/extensions
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/extensions
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
pip install nox
cd generative_ai/extensions
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/extensions
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/extensions
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/extensions/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6, anyio-4.9.0
asyncio: mode=Mode.STRICT
collecting ... collected 4 items
test_exextensions_examples.py::test_create_extension_basic PASSED [ 25%]
test_exextensions_examples.py::test_execute_extension PASSED [ 50%]
test_exextensions_examples.py::test_get_extension PASSED [ 75%]
test_exextensions_examples.py::test_list_extensions PASSED [100%]
=============================== warnings summary ===============================
:488
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
:488
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
---- generated xml file: /workspace/generative_ai/extensions/sponge_log.xml ----
======================== 4 passed, 2 warnings in 32.15s ========================
nox > Session py-3.12 was successful.
/workspace/generative_ai/extensions
PWD: /workspace/generative_ai/extensions
Testing completed.
#
# generative_ai/function_calling
#
------------------------------------------------------------
- testing /workspace/generative_ai/function_calling
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/function_calling
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
pip install nox
cd generative_ai/function_calling
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/function_calling
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/function_calling
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/function_calling/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6, anyio-4.9.0
asyncio: mode=Mode.STRICT
collecting ... collected 2 items
test_function_calling.py::test_chat_function_calling_basic PASSED [ 50%]
test_function_calling.py::test_chat_function_calling_config PASSED [100%]
- generated xml file: /workspace/generative_ai/function_calling/sponge_log.xml -
============================== 2 passed in 6.56s ===============================
nox > Session py-3.12 was successful.
/workspace/generative_ai/function_calling
PWD: /workspace/generative_ai/function_calling
Testing completed.
#
# generative_ai/image_generation
#
------------------------------------------------------------
- testing /workspace/generative_ai/image_generation
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/image_generation
pip install nox
cd generative_ai/image_generation
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/image_generation
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/image_generation
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/image_generation/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6, anyio-4.9.0
asyncio: mode=Mode.STRICT
collecting ... collected 11 items
edit_image_inpainting_insert_mask_mode_test.py::test_edit_image_inpainting_insert_mask_mode PASSED [ 9%]
edit_image_inpainting_insert_mask_test.py::test_edit_image_inpainting_insert_mask PASSED [ 18%]
edit_image_inpainting_remove_mask_mode_test.py::test_edit_image_inpainting_remove_mask_mode PASSED [ 27%]
edit_image_inpainting_remove_mask_test.py::test_edit_image_inpainting_remove_mask PASSED [ 36%]
edit_image_mask_free_test.py::test_edit_image_mask_free PASSED [ 45%]
edit_image_mask_test.py::test_edit_image_mask PASSED [ 54%]
edit_image_outpainting_mask_test.py::test_edit_image_outpainting_mask PASSED [ 63%]
edit_image_product_image_test.py::test_edit_image_product_image PASSED [ 72%]
generate_image_test.py::test_generate_image PASSED [ 81%]
get_short_form_image_captions_test.py::test_get_short_form_image_captions PASSED [ 90%]
get_short_form_image_responses_test.py::test_get_short_form_image_responses PASSED [100%]
=============================== warnings summary ===============================
:488
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
:488
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: /workspace/generative_ai/image_generation/sponge_log.xml -
================== 11 passed, 2 warnings in 87.32s (0:01:27) ===================
nox > Session py-3.12 was successful.
/workspace/generative_ai/image_generation
PWD: /workspace/generative_ai/image_generation
Testing completed.
#
# generative_ai/labels
#
------------------------------------------------------------
- testing /workspace/generative_ai/labels
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/labels
pip install nox
cd generative_ai/labels
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/labels
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/labels
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/labels/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
collecting ... collected 1 item
test_labels_examples.py::test_set_labels PASSED [100%]
------ generated xml file: /workspace/generative_ai/labels/sponge_log.xml ------
============================== 1 passed in 10.94s ==============================
nox > Session py-3.12 was successful.
/workspace/generative_ai/labels
PWD: /workspace/generative_ai/labels
Testing completed.
#
# generative_ai/model_garden
#
------------------------------------------------------------
- testing /workspace/generative_ai/model_garden
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/model_garden
pip install nox
cd generative_ai/model_garden
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/model_garden
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/model_garden
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/model_garden/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6, anyio-4.9.0
asyncio: mode=Mode.STRICT
collecting ... collected 3 items
test_model_garden_examples.py::test_generate_text_streaming PASSED [ 33%]
test_model_garden_examples.py::test_tool_use PASSED [ 66%]
test_model_garden_examples.py::test_generate_text PASSED [100%]
=============================== warnings summary ===============================
:488
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
:488
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
--- generated xml file: /workspace/generative_ai/model_garden/sponge_log.xml ---
======================== 3 passed, 2 warnings in 11.24s ========================
nox > Session py-3.12 was successful.
/workspace/generative_ai/model_garden
PWD: /workspace/generative_ai/model_garden
Testing completed.
#
# generative_ai/model_tuning
#
------------------------------------------------------------
- testing /workspace/generative_ai/model_tuning
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/model_tuning
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
pip install nox
cd generative_ai/model_tuning
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/model_tuning
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/model_tuning
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/model_tuning/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6, anyio-4.9.0
asyncio: mode=Mode.STRICT
collecting ... collected 9 items / 1 error
==================================== ERRORS ====================================
_ ERROR collecting generative_ai/model_tuning/create_evaluation_task_example_test.py _
ImportError while importing test module '/workspace/generative_ai/model_tuning/create_evaluation_task_example_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
create_evaluation_task_example_test.py:15: in
import create_evaluation_task_example
create_evaluation_task_example.py:16: in
from vertexai.preview.evaluation import EvalResult
.nox/py-3-12/lib/python3.12/site-packages/vertexai/preview/evaluation/__init__.py:20: in
from vertexai.preview.evaluation import autorater_utils
.nox/py-3-12/lib/python3.12/site-packages/vertexai/preview/evaluation/autorater_utils.py:29: in
from sklearn import metrics
E ModuleNotFoundError: No module named 'sklearn'
=============================== warnings summary ===============================
:488
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
:488
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
--- generated xml file: /workspace/generative_ai/model_tuning/sponge_log.xml ---
=========================== short test summary info ============================
ERROR create_evaluation_task_example_test.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 2 warnings, 1 error in 3.93s =========================
nox > Command pytest --junitxml=sponge_log.xml failed with exit code 2
nox > Session py-3.12 failed.
make: *** [Makefile:40: test] Error 1
/workspace/generative_ai/model_tuning
PWD: /workspace/generative_ai/model_tuning
Testing failed: Nox returned a non-zero exit code.
err: exit status 2
#
# generative_ai/prompts
#
------------------------------------------------------------
- testing /workspace/generative_ai/prompts
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/prompts
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/prompts
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/prompts
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/prompts/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6, anyio-4.9.0
asyncio: mode=Mode.STRICT
collecting ... collected 7 items
test_prompt_optimizer.py::test_prompt_optimizer PASSED [ 14%]
test_prompt_template.py::test_prompt_template PASSED [ 28%]
test_prompt_template.py::test_prompt_create PASSED [ 42%]
test_prompt_template.py::test_prompt_list_prompts PASSED [ 57%]
test_prompt_template.py::test_prompt_get PASSED [ 71%]
test_prompt_template.py::test_prompt_list_version PASSED [ 85%]
test_prompt_template.py::test_prompt_delete PASSED [100%]
=============================== warnings summary ===============================
:488
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
:488
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
----- generated xml file: /workspace/generative_ai/prompts/sponge_log.xml ------
================== 7 passed, 2 warnings in 326.07s (0:05:26) ===================
nox > Session py-3.12 was successful.
/workspace/generative_ai/prompts
PWD: /workspace/generative_ai/prompts
Testing completed.
#
# generative_ai/provisioned_throughput
#
------------------------------------------------------------
- testing /workspace/generative_ai/provisioned_throughput
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/provisioned_throughput
pip install nox
cd generative_ai/provisioned_throughput
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/provisioned_throughput
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/provisioned_throughput
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/provisioned_throughput/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6
asyncio: mode=Mode.STRICT
collecting ... collected 1 item
test_provisioned_throughput_examples.py::test_provisioned_throughput_with_txt PASSED [100%]
=============================== warnings summary ===============================
generative_ai/provisioned_throughput/test_provisioned_throughput_examples.py::test_provisioned_throughput_with_txt
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
generative_ai/provisioned_throughput/test_provisioned_throughput_examples.py::test_provisioned_throughput_with_txt
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: /workspace/generative_ai/provisioned_throughput/sponge_log.xml -
======================== 1 passed, 2 warnings in 8.40s =========================
nox > Session py-3.12 was successful.
/workspace/generative_ai/provisioned_throughput
PWD: /workspace/generative_ai/provisioned_throughput
Testing completed.
#
# generative_ai/rag
#
------------------------------------------------------------
- testing /workspace/generative_ai/rag
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/rag
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
pip install nox
cd generative_ai/rag
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/rag
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/rag
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/rag/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6
asyncio: mode=Mode.STRICT
collecting ... collected 0 items / 1 skipped
=============================== warnings summary ===============================
:488
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
:488
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
------- generated xml file: /workspace/generative_ai/rag/sponge_log.xml --------
======================== 1 skipped, 2 warnings in 2.77s ========================
nox > Session py-3.12 was successful.
/workspace/generative_ai/rag
PWD: /workspace/generative_ai/rag
Testing completed.
#
# generative_ai/reasoning_engine
#
------------------------------------------------------------
- testing /workspace/generative_ai/reasoning_engine
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/generative_ai/reasoning_engine
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
pip install nox
cd generative_ai/reasoning_engine
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd generative_ai/reasoning_engine
cp /workspace/noxfile-template.py noxfile.py
cd generative_ai/reasoning_engine
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/generative_ai/reasoning_engine/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6, anyio-4.9.0
asyncio: mode=Mode.STRICT
collecting ... collected 5 items
test_reasoning_engine_examples.py::test_create_reasoning_engine_basic SKIPPED [ 20%]
test_reasoning_engine_examples.py::test_create_reasoning_engine_advanced SKIPPED [ 40%]
test_reasoning_engine_examples.py::test_query_reasoning_engine SKIPPED [ 60%]
test_reasoning_engine_examples.py::test_list_reasoning_engines PASSED [ 80%]
test_reasoning_engine_examples.py::test_get_reasoning_engine SKIPPED [100%]
=============================== warnings summary ===============================
:488
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
:488
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: /workspace/generative_ai/reasoning_engine/sponge_log.xml -
=================== 1 passed, 4 skipped, 2 warnings in 3.02s ===================
nox > Session py-3.12 was successful.
/workspace/generative_ai/reasoning_engine
PWD: /workspace/generative_ai/reasoning_engine
Testing completed.
#
# model_garden/gemma
#
------------------------------------------------------------
- testing /workspace/model_garden/gemma
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/model_garden/gemma
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
pip install nox
cd model_garden/gemma
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd model_garden/gemma
cp /workspace/noxfile-template.py noxfile.py
cd model_garden/gemma
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > python -m pip install --upgrade pip
nox > python -m pip install -r requirements.txt --only-binary :all
nox > python -m pip install -r requirements-test.txt --only-binary :all
nox > pytest --junitxml=sponge_log.xml
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.2.0, pluggy-1.5.0 -- /workspace/model_garden/gemma/.nox/py-3-12/bin/python
cachedir: .pytest_cache
rootdir: /workspace
configfile: pytest.ini
plugins: asyncio-0.23.6
asyncio: mode=Mode.STRICT
collecting ... collected 3 items
test_model_garden_examples.py::test_list_deployable_models PASSED [ 33%]
test_model_garden_examples.py::test_list_deploy_options PASSED [ 66%]
test_model_garden_examples.py::test_gemma3_deploy PASSED [100%]
=============================== warnings summary ===============================
:488
:488: DeprecationWarning: Type google._upb._message.MessageMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
:488
:488: DeprecationWarning: Type google._upb._message.ScalarMapContainer uses PyType_Spec with a metaclass that has custom tp_new. This is deprecated and will no longer be allowed in Python 3.14.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
------- generated xml file: /workspace/model_garden/gemma/sponge_log.xml -------
======================== 3 passed, 2 warnings in 3.14s =========================
nox > Session py-3.12 was successful.
/workspace/model_garden/gemma
PWD: /workspace/model_garden/gemma
Testing completed.
#
# people-and-planet-ai/geospatial-classification
#
------------------------------------------------------------
- testing /workspace/people-and-planet-ai/geospatial-classification
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/people-and-planet-ai/geospatial-classification
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
pip install nox
cd people-and-planet-ai/geospatial-classification
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd people-and-planet-ai/geospatial-classification
cp /workspace/noxfile-template.py noxfile.py
cd people-and-planet-ai/geospatial-classification
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > Session py-3.12 skipped: SKIPPED: 3.12 tests are disabled for this sample..
/workspace/people-and-planet-ai/geospatial-classification
PWD: /workspace/people-and-planet-ai/geospatial-classification
Testing completed.
#
# people-and-planet-ai/image-classification
#
------------------------------------------------------------
- testing /workspace/people-and-planet-ai/image-classification
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/people-and-planet-ai/image-classification
pip install nox
cd people-and-planet-ai/image-classification
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd people-and-planet-ai/image-classification
cp /workspace/noxfile-template.py noxfile.py
cd people-and-planet-ai/image-classification
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > Session py-3.12 skipped: SKIPPED: 3.12 tests are disabled for this sample..
/workspace/people-and-planet-ai/image-classification
PWD: /workspace/people-and-planet-ai/image-classification
Testing completed.
#
# people-and-planet-ai/land-cover-classification
#
------------------------------------------------------------
- testing /workspace/people-and-planet-ai/land-cover-classification
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/people-and-planet-ai/land-cover-classification
pip install nox
cd people-and-planet-ai/land-cover-classification
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd people-and-planet-ai/land-cover-classification
cp /workspace/noxfile-template.py noxfile.py
cd people-and-planet-ai/land-cover-classification
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > Session py-3.12 skipped: SKIPPED: 3.12 tests are disabled for this sample..
/workspace/people-and-planet-ai/land-cover-classification
PWD: /workspace/people-and-planet-ai/land-cover-classification
Testing completed.
#
# people-and-planet-ai/timeseries-classification
#
------------------------------------------------------------
- testing /workspace/people-and-planet-ai/timeseries-classification
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/people-and-planet-ai/timeseries-classification
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
pip install nox
cd people-and-planet-ai/timeseries-classification
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd people-and-planet-ai/timeseries-classification
cp /workspace/noxfile-template.py noxfile.py
cd people-and-planet-ai/timeseries-classification
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > Session py-3.12 skipped: SKIPPED: 3.12 tests are disabled for this sample..
/workspace/people-and-planet-ai/timeseries-classification
PWD: /workspace/people-and-planet-ai/timeseries-classification
Testing completed.
#
# people-and-planet-ai/weather-forecasting/tests/training_tests
#
------------------------------------------------------------
- testing /workspace/people-and-planet-ai/weather-forecasting/tests/training_tests
------------------------------------------------------------
Using noxfile-template from parent folder (/workspace).
/workspace /workspace/people-and-planet-ai/weather-forecasting/tests/training_tests
pip install nox
cd people-and-planet-ai/weather-forecasting/tests/training_tests
Makefile:60: Use of a Python Virtual Environment is recommended. See README.md for details.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: nox in /h/.local/lib/python3.7/site-packages (2024.4.15)
Requirement already satisfied: argcomplete<4.0,>=1.9.4 in /h/.local/lib/python3.7/site-packages (from nox) (3.1.2)
Requirement already satisfied: colorlog<7.0.0,>=2.6.1 in /h/.local/lib/python3.7/site-packages (from nox) (6.9.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/site-packages (from nox) (6.7.0)
Requirement already satisfied: packaging>=20.9 in /h/.local/lib/python3.7/site-packages (from nox) (24.0)
Requirement already satisfied: tomli>=1 in /h/.local/lib/python3.7/site-packages (from nox) (2.0.1)
Requirement already satisfied: typing-extensions>=3.7.4 in /usr/local/lib/python3.7/site-packages (from nox) (4.7.1)
Requirement already satisfied: virtualenv>=20.14.1 in /usr/local/lib/python3.7/site-packages (from nox) (20.26.6)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/site-packages (from importlib-metadata->nox) (3.15.0)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (0.3.9)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (3.12.2)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.7/site-packages (from virtualenv>=20.14.1->nox) (4.0.0)
cd people-and-planet-ai/weather-forecasting/tests/training_tests
cp /workspace/noxfile-template.py noxfile.py
cd people-and-planet-ai/weather-forecasting/tests/training_tests
nox -s py-3.12
nox > Running session py-3.12
nox > Creating virtual environment (virtualenv) using python3.12 in .nox/py-3-12
nox > Session py-3.12 skipped: SKIPPED: 3.12 tests are disabled for this sample..
/workspace/people-and-planet-ai/weather-forecasting/tests/training_tests
PWD: /workspace/people-and-planet-ai/weather-forecasting/tests/training_tests
Testing completed.
#
# Summary
#
SUCCESS: 19, FAILURE: 2, SKIPPED: 0, ERROR: 0,
dataflow/gemma-flex-template..........................................[ SUCCESS]
dataflow/run-inference................................................[ SUCCESS]
gemma2................................................................[ SUCCESS]
generative_ai/embeddings..............................................[ SUCCESS]
generative_ai/evaluation..............................................[ FAILURE]
generative_ai/extensions..............................................[ SUCCESS]
generative_ai/function_calling........................................[ SUCCESS]
generative_ai/image_generation........................................[ SUCCESS]
generative_ai/labels..................................................[ SUCCESS]
generative_ai/model_garden............................................[ SUCCESS]
generative_ai/model_tuning............................................[ FAILURE]
generative_ai/prompts.................................................[ SUCCESS]
generative_ai/provisioned_throughput..................................[ SUCCESS]
generative_ai/rag.....................................................[ SUCCESS]
generative_ai/reasoning_engine........................................[ SUCCESS]
model_garden/gemma....................................................[ SUCCESS]
people-and-planet-ai/geospatial-classification........................[ SUCCESS]
people-and-planet-ai/image-classification.............................[ SUCCESS]
people-and-planet-ai/land-cover-classification........................[ SUCCESS]
people-and-planet-ai/timeseries-classification........................[ SUCCESS]
people-and-planet-ai/weather-forecasting/tests/training_tests.........[ SUCCESS]
================================================================
2025-04-28T22:44:41Z: Build finished with 2
================================================================
[ID: 8149762] Command finished after 629 secs, exit value: 2
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
[15:44:42 PDT] Collecting build artifacts from build VM
Build script failed with exit code: 2