See <https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont_with_RC/103/display/redirect>
Changes: ------------------------------------------ [...truncated 2.81 MB...] #5 [beam 1/16] FROM docker.io/library/python:3.9-bullseye@sha256:6ea9dafc96d7914c5c1d199f1f0195c4e05cf017b10666ca84cb7ce8e2699d51 #5 ... #17 [beam 13/16] COPY target/LICENSE /opt/apache/beam/ #17 DONE 0.1s #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 #5 [beam 1/16] FROM docker.io/library/python:3.9-bullseye@sha256:6ea9dafc96d7914c5c1d199f1f0195c4e05cf017b10666ca84cb7ce8e2699d51 #5 ... #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 #5 [beam 1/16] FROM docker.io/library/python:3.9-bullseye@sha256:6ea9dafc96d7914c5c1d199f1f0195c4e05cf017b10666ca84cb7ce8e2699d51 #5 ... #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.368 Collecting pip-licenses<5 #24 1.440 Downloading pip_licenses-4.3.1-py3-none-any.whl (19 kB) #24 1.453 Requirement already satisfied: pyyaml in /usr/local/lib/python3.9/site-packages (6.0) #24 1.454 Requirement already satisfied: tenacity in /usr/local/lib/python3.9/site-packages (8.2.2) #24 1.547 Collecting prettytable>=2.3.0 (from pip-licenses<5) #24 1.568 Downloading prettytable-3.7.0-py3-none-any.whl (27 kB) #24 1.649 Collecting wcwidth (from prettytable>=2.3.0->pip-licenses<5) #24 1.667 Downloading wcwidth-0.2.6-py2.py3-none-any.whl (29 kB) #24 3.327 Installing collected packages: wcwidth, prettytable, pip-licenses #24 3.575 Successfully installed pip-licenses-4.3.1 prettytable-3.7.0 wcwidth-0.2.6 #24 3.576 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 13.02 Traceback (most recent call last): #24 13.02 File "/tmp/license_scripts/pull_licenses_py.py", line 190, in <module> #24 13.02 Skip pulling license for bs4 #24 13.02 raise RuntimeError( #24 13.02 RuntimeError: Could not retrieve licences for packages ['keras'] in Python3.9 environment. #24 13.02 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 #5 [beam 1/16] FROM docker.io/library/python:3.9-bullseye@sha256:6ea9dafc96d7914c5c1d199f1f0195c4e05cf017b10666ca84cb7ce8e2699d51 ------ > [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.667 Downloading wcwidth-0.2.6-py2.py3-none-any.whl (29 kB) #24 3.327 Installing collected packages: wcwidth, prettytable, pip-licenses #24 3.575 Successfully installed pip-licenses-4.3.1 prettytable-3.7.0 wcwidth-0.2.6 #24 3.576 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 13.02 Traceback (most recent call last): #24 13.02 File "/tmp/license_scripts/pull_licenses_py.py", line 190, in <module> #24 13.02 Skip pulling license for bs4 #24 13.02 raise RuntimeError( #24 13.02 RuntimeError: Could not retrieve licences for packages ['keras'] in Python3.9 environment. #24 13.02 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:container:py39:docker FAILED > Task :sdks:python:test-suites:dataflow:py37:validatesContainer [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 1809.72s (0:30:09) ============ echo ">>> SUCCESS DATAFLOW RUNNER VALIDATESCONTAINER TEST" >>> SUCCESS DATAFLOW RUNNER VALIDATESCONTAINER TEST cleanup_container Untagged: us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk:20230510-203111979394571 Untagged: us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk@sha256:b461b8027ee7a081316637add6d78fe4aae2ae878ba2459760f836df2a568883 Untagged: us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk:5291cfd2-231f-4c42-85fe-2bcf01d6c66a Untagged: us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk@sha256:c1b972ebec1ba98b20c9344bb1f21e9d10b0448c1d8b306d24a35d88344dbdaa Deleted: sha256:f3a855063e2dcee3af45bd2993900ef62a882699d7c18f46b0fe397b4208bde9 Deleted: sha256:d9cd58d0c6a0f3d771caa9c3f1f9c19c7a0a16b9f0b20670944eab3c0b8ade8f Deleted: sha256:95fa9fad5d6d6d333cf3151baa1631babb017969b371a6af0879ffee7cef38e8 Deleted: sha256:7e11931ee12927609f962b2020dae55b422484ab7580303a186737f22dca0e15 Deleted: sha256:22f4c81424fec7c3592ae0847435a977ae783d10c73b972897400ccbb9229afb Deleted: sha256:49d8ff4aa19d1dd1b5f15599377480ef100338401c1fc5004817d446fd6061a5 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:b461b8027ee7a081316637add6d78fe4aae2ae878ba2459760f836df2a568883 Associated tags: - 20230510-203111979394571 Tags: - us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk:20230510-203111979394571 Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk:20230510-203111979394571]. Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk@sha256:b461b8027ee7a081316637add6d78fe4aae2ae878ba2459760f836df2a568883]. Digests: - us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk@sha256:c1b972ebec1ba98b20c9344bb1f21e9d10b0448c1d8b306d24a35d88344dbdaa Associated tags: - 5291cfd2-231f-4c42-85fe-2bcf01d6c66a Deleted [us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk:5291cfd2-231f-4c42-85fe-2bcf01d6c66a]. Deleted [us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk@sha256:c1b972ebec1ba98b20c9344bb1f21e9d10b0448c1d8b306d24a35d88344dbdaa]. Digests: - us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk@sha256:be451a58cf2e858d4f87b9aa807f5902219a42811cb31ae9cd908966f386267c Associated tags: - 17476fd8-ef32-455d-a373-5afd03d0f4ad Deleted [us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk:17476fd8-ef32-455d-a373-5afd03d0f4ad]. Deleted [us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk@sha256:be451a58cf2e858d4f87b9aa807f5902219a42811cb31ae9cd908966f386267c]. 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: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. ============================================================================== 2: 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. ============================================================================== 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 49m 18s 74 actionable tasks: 62 executed, 4 from cache, 8 up-to-date Build scan background action failed. java.lang.IllegalArgumentException: com.gradle.enterprise.gradleplugin.internal.extension.a is not an interface at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:590) at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:557) at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:230) at java.lang.reflect.WeakCache.get(WeakCache.java:127) at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:419) at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:719) at com.gradle.ProxyFactory$ProxyingInvocationHandler.createLocalProxy(ProxyFactory.java:66) at com.gradle.ProxyFactory$ProxyingInvocationHandler.lambda$adaptActionArg$1(ProxyFactory.java:61) at com.gradle.enterprise.gradleplugin.internal.extension.b$3.run(SourceFile:100) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) Publishing build scan... https://ge.apache.org/s/ze6bl4tolrfsc 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]
