See 
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont_with_RC/118/display/redirect>

Changes:


------------------------------------------
[...truncated 2.77 MB...]
#16 1.089 tensorflow-io-gcs-filesystem==0.32.0
#16 1.089 termcolor==2.3.0
#16 1.089 testcontainers==3.7.1
#16 1.089 threadpoolctl==3.1.0
#16 1.089 tomli==2.0.1
#16 1.089 tqdm==4.65.0
#16 1.089 typing_extensions==4.5.0
#16 1.089 urllib3==1.26.15
#16 1.089 websocket-client==1.5.1
#16 1.089 Werkzeug==2.3.4
#16 1.089 wheel==0.40.0
#16 1.089 wrapt==1.14.1
#16 1.089 zipp==3.15.0
#16 1.089 zstandard==0.21.0
#16 DONE 1.2s

#17 [beam 13/16] COPY target/LICENSE /opt/apache/beam/
#17 DONE 0.0s

#18 [beam 14/16] COPY target/LICENSE.python /opt/apache/beam/
#18 DONE 0.1s

#19 [beam 15/16] COPY target/NOTICE /opt/apache/beam/
#19 DONE 0.1s

#20 [beam 16/16] COPY target/launcher/linux_amd64/boot /opt/apache/beam/
#20 DONE 0.2s

#21 [third_party_licenses 1/4] COPY target/license_scripts /tmp/license_scripts/
#21 DONE 0.1s

#22 [third_party_licenses 2/4] COPY  target/go-licenses/* 
/opt/apache/beam/third_party_licenses/golang/
#22 DONE 0.1s

#23 [third_party_licenses 3/4] COPY target/license_scripts /tmp/license_scripts/
#23 DONE 0.1s

#24 [third_party_licenses 4/4] RUN if [ "true" = "true" ] ; then       pip 
install 'pip-licenses<5' pyyaml tenacity &&       python 
/tmp/license_scripts/pull_licenses_py.py ;     fi
#24 1.075 Collecting pip-licenses<5
#24 1.148   Downloading pip_licenses-4.3.1-py3-none-any.whl (19 kB)
#24 1.157 Requirement already satisfied: pyyaml in 
/usr/local/lib/python3.9/site-packages (6.0)
#24 1.157 Requirement already satisfied: tenacity in 
/usr/local/lib/python3.9/site-packages (8.2.2)
#24 1.216 Collecting prettytable>=2.3.0 (from pip-licenses<5)
#24 1.231   Downloading prettytable-3.7.0-py3-none-any.whl (27 kB)
#24 1.296 Collecting wcwidth (from prettytable>=2.3.0->pip-licenses<5)
#24 1.312   Downloading wcwidth-0.2.6-py2.py3-none-any.whl (29 kB)
#24 2.490 Installing collected packages: wcwidth, prettytable, pip-licenses
#24 2.662 Successfully installed pip-licenses-4.3.1 prettytable-3.7.0 
wcwidth-0.2.6
#24 2.662 WARNING: Running pip as the 'root' user can result in broken 
permissions and conflicting behaviour with the system package manager. It is 
recommended to use a virtual environment instead: 
https://pip.pypa.io/warnings/venv
#24 10.87 Traceback (most recent call last):
#24 10.87   File "/tmp/license_scripts/pull_licenses_py.py", line 190, in 
<module>
#24 10.87 Skip pulling license for  bs4
#24 10.87     raise RuntimeError(
#24 10.87 RuntimeError: Could not retrieve licences for packages ['keras'] in 
Python3.9 environment. 
#24 10.87  These licenses were not able to be pulled automatically. Please 
search code source of the dependencies on the internet and add urls to RAW 
license file at sdks/python/container/license_scripts/dep_urls_py.yaml for each 
missing license and rerun the test. If no such urls can be found, you need to 
manually add LICENSE and NOTICE (if available) files at 
sdks/python/container/license_scripts/manual_licenses/{dep}/ and add entries to 
sdks/python/container/license_scripts/dep_urls_py.yaml.
#24 ERROR: executor failed running [/bin/sh -c if [ "$pull_licenses" = "true" ] 
; then       pip install 'pip-licenses<5' pyyaml tenacity &&       python 
/tmp/license_scripts/pull_licenses_py.py ;     fi]: exit code: 1
------
 > [third_party_licenses 4/4] RUN if [ "true" = "true" ] ; then       pip 
 > install 'pip-licenses<5' pyyaml tenacity &&       python 
 > /tmp/license_scripts/pull_licenses_py.py ;     fi:
#24 1.312   Downloading wcwidth-0.2.6-py2.py3-none-any.whl (29 kB)
#24 2.490 Installing collected packages: wcwidth, prettytable, pip-licenses
#24 2.662 Successfully installed pip-licenses-4.3.1 prettytable-3.7.0 
wcwidth-0.2.6
#24 2.662 WARNING: Running pip as the 'root' user can result in broken 
permissions and conflicting behaviour with the system package manager. It is 
recommended to use a virtual environment instead: 
https://pip.pypa.io/warnings/venv
#24 10.87 Traceback (most recent call last):
#24 10.87   File "/tmp/license_scripts/pull_licenses_py.py", line 190, in 
<module>
#24 10.87 Skip pulling license for  bs4
#24 10.87     raise RuntimeError(
#24 10.87 RuntimeError: Could not retrieve licences for packages ['keras'] in 
Python3.9 environment. 
#24 10.87  These licenses were not able to be pulled automatically. Please 
search code source of the dependencies on the internet and add urls to RAW 
license file at sdks/python/container/license_scripts/dep_urls_py.yaml for each 
missing license and rerun the test. If no such urls can be found, you need to 
manually add LICENSE and NOTICE (if available) files at 
sdks/python/container/license_scripts/manual_licenses/{dep}/ and add entries to 
sdks/python/container/license_scripts/dep_urls_py.yaml.
------
ERROR: failed to solve: executor failed running [/bin/sh -c if [ 
"$pull_licenses" = "true" ] ; then       pip install 'pip-licenses<5' pyyaml 
tenacity &&       python /tmp/license_scripts/pull_licenses_py.py ;     fi]: 
exit code: 1

> Task :sdks:python:test-suites:dataflow:py37:validatesContainer
============================= test session starts ==============================
platform linux -- Python 3.7.12, pytest-7.3.1, pluggy-1.0.0
rootdir: 
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont_with_RC/ws/src/sdks/python>
configfile: pytest.ini
plugins: xdist-3.3.0, hypothesis-6.75.3, timeout-2.1.0, requests-mock-1.10.0
timeout: 1800.0s
timeout method: signal
timeout func_only: False
created: 1/1 worker
1 worker [5 items]

scheduling tests via LoadScheduling

apache_beam/examples/wordcount_it_test.py::WordCountIT::test_wordcount_fnapi_it 
[gw0] [ 20%] PASSED 
apache_beam/examples/wordcount_it_test.py::WordCountIT::test_wordcount_fnapi_it 
apache_beam/examples/wordcount_it_test.py::WordCountIT::test_wordcount_it_with_prebuilt_sdk_container_cloud_build
 
[gw0] [ 40%] PASSED 
apache_beam/examples/wordcount_it_test.py::WordCountIT::test_wordcount_it_with_prebuilt_sdk_container_cloud_build
 
apache_beam/examples/wordcount_it_test.py::WordCountIT::test_wordcount_it_with_prebuilt_sdk_container_local_docker
 
[gw0] [ 60%] PASSED 
apache_beam/examples/wordcount_it_test.py::WordCountIT::test_wordcount_it_with_prebuilt_sdk_container_local_docker
 
apache_beam/examples/wordcount_it_test.py::WordCountIT::test_wordcount_it_with_use_sibling_sdk_workers
 
[gw0] [ 80%] PASSED 
apache_beam/examples/wordcount_it_test.py::WordCountIT::test_wordcount_it_with_use_sibling_sdk_workers
 
apache_beam/runners/dataflow/dataflow_exercise_metrics_pipeline_test.py::ExerciseMetricsPipelineTest::test_metrics_fnapi_it
 
[gw0] [100%] SKIPPED 
apache_beam/runners/dataflow/dataflow_exercise_metrics_pipeline_test.py::ExerciseMetricsPipelineTest::test_metrics_fnapi_it
 

=============================== warnings summary ===============================
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py:15
  
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont_with_RC/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/hdfs/config.py>:15:
 DeprecationWarning: the imp module is deprecated in favour of importlib; see 
the module's documentation for alternative uses
    from imp import load_source

../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:121
  
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont_with_RC/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:121:
 DeprecationWarning: pkg_resources is deprecated as an API
    warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)

../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870:
 36 warnings
  
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont_with_RC/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2870:
 DeprecationWarning: Deprecated call to 
`pkg_resources.declare_namespace('google')`.
  Implementing implicit namespace packages (as specified in PEP 420) is 
preferred to `pkg_resources.declare_namespace`. See 
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870:
 26 warnings
  
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont_with_RC/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2870:
 DeprecationWarning: Deprecated call to 
`pkg_resources.declare_namespace('google.cloud')`.
  Implementing implicit namespace packages (as specified in PEP 420) is 
preferred to `pkg_resources.declare_namespace`. See 
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2349
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2349
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2349
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2349
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2349
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2349
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2349
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2349
  
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont_with_RC/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2349:
 DeprecationWarning: Deprecated call to 
`pkg_resources.declare_namespace('google')`.
  Implementing implicit namespace packages (as specified in PEP 420) is 
preferred to `pkg_resources.declare_namespace`. See 
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(parent)

../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
  
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont_with_RC/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2870:
 DeprecationWarning: Deprecated call to 
`pkg_resources.declare_namespace('google.logging')`.
  Implementing implicit namespace packages (as specified in PEP 420) is 
preferred to `pkg_resources.declare_namespace`. See 
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
  
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont_with_RC/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/pkg_resources/__init__.py>:2870:
 DeprecationWarning: Deprecated call to 
`pkg_resources.declare_namespace('google.iam')`.
  Implementing implicit namespace packages (as specified in PEP 420) is 
preferred to `pkg_resources.declare_namespace`. See 
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(pkg)

../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
../../build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py:20
  
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont_with_RC/ws/src/build/gradleenv/-1734967052/lib/python3.7/site-packages/google/rpc/__init__.py>:20:
 DeprecationWarning: Deprecated call to 
`pkg_resources.declare_namespace('google.rpc')`.
  Implementing implicit namespace packages (as specified in PEP 420) is 
preferred to `pkg_resources.declare_namespace`. See 
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    pkg_resources.declare_namespace(__name__)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: 
<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont_with_RC/ws/src/sdks/python/pytest-beam_python3.7_sdk.xml>
 -
=========== 4 passed, 10 skipped, 80 warnings in 1556.78s (0:25:56) ============

>>> SUCCESS DATAFLOW RUNNER VALIDATESCONTAINER TEST
echo ">>> SUCCESS DATAFLOW RUNNER VALIDATESCONTAINER TEST"
cleanup_container
Untagged: 
us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk:20230514-142842372721612
Untagged: 
us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk@sha256:b587f50809e92cfe1195d6c73e585d57bb4e2117c3c12919ba5fbdaa0eebacf7
Untagged: 
us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk:60e6d037-049c-4373-8f8b-225b33417a1b
Untagged: 
us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk@sha256:160d300af2945c82e2fe7e883e009e88c1ade2b1ad6460c20160cb6ac200a719
Deleted: sha256:91268781b60eb4e2c263ad33ebbf2e1c9d32ace19ad141bdf6bb35731e1eb444
Deleted: sha256:cbb42b5562c88c4c7dee00885bef54affbaf903ec93d3bbc159100b545e2ca9a
Deleted: sha256:55adf268cc29836424b27e3b254200da23395b5bc6c807bd3cefeff261eaf8df
Deleted: sha256:a6c6adf81579538583d2618babdca232552643560c86fb2af53473dd124ef8e2
Deleted: sha256:75f51a8a1e008a3114c5a929d37a1f0986b9a807e8646df5384c48ab9d9b01ef
Deleted: sha256:64308cc0f4e3fcdb71e469c2b84c64ea6697ff887774514c0844130b27bdb891
WARNING: Successfully resolved tag to sha256, but it is recommended to use 
sha256 directly.
Digests:
- 
us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk@sha256:b587f50809e92cfe1195d6c73e585d57bb4e2117c3c12919ba5fbdaa0eebacf7
  Associated tags:
 - 20230514-142842372721612
Tags:
- 
us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk:20230514-142842372721612
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk:20230514-142842372721612].
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk@sha256:b587f50809e92cfe1195d6c73e585d57bb4e2117c3c12919ba5fbdaa0eebacf7].
Digests:
- 
us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk@sha256:160d300af2945c82e2fe7e883e009e88c1ade2b1ad6460c20160cb6ac200a719
  Associated tags:
 - 60e6d037-049c-4373-8f8b-225b33417a1b
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk:60e6d037-049c-4373-8f8b-225b33417a1b].
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk@sha256:160d300af2945c82e2fe7e883e009e88c1ade2b1ad6460c20160cb6ac200a719].
Digests:
- 
us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk@sha256:f92c26eee86ee0992eb3b2f6702da6f8e203f69757cf5368f8c21d3f14161452
  Associated tags:
 - 5173c001-1f21-4197-a64f-d62001946c26
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk:5173c001-1f21-4197-a64f-d62001946c26].
Deleted 
[us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk@sha256:f92c26eee86ee0992eb3b2f6702da6f8e203f69757cf5368f8c21d3f14161452].
Removed the container

FAILURE: Build completed with 4 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:container:py311:docker'.
> Process 'command 'docker'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:container:py310:docker'.
> Process 'command 'docker'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
==============================================================================

3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:container:py38:docker'.
> Process 'command 'docker'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
==============================================================================

4: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:container:py39:docker'.
> Process 'command 'docker'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
==============================================================================

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with 
Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings 
and determine if they come from your own scripts or plugins.

See 
https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 42m 9s
74 actionable tasks: 68 executed, 6 up-to-date

Publishing build scan...
https://ge.apache.org/s/epll6cokceo6e

Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to