You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@beam.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2021/10/25 12:37:02 UTC

Build failed in Jenkins: beam_PostCommit_Py_ValCont #8410

See <https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/8410/display/redirect>

Changes:


------------------------------------------
[...truncated 107.61 KB...]
docker images --format '{{.Repository}}:{{.Tag}}' | grep $PREBUILD_SDK_CONTAINER_REGISTRY_PATH
Digests:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk@sha256:0a4ff25b3ab42bd37110be96f15d170153d17794071c44ee1452530ebc5e1757
  Associated tags:
 - 20211025-121148582953047
Tags:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk:20211025-121148582953047
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk:20211025-121148582953047].
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk@sha256:0a4ff25b3ab42bd37110be96f15d170153d17794071c44ee1452530ebc5e1757].
gcloud container images list-tags $PREBUILD_SDK_CONTAINER_REGISTRY_PATH/beam_python_prebuilt_sdk  --format="get(digest)"
Digests:
- us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk@sha256:e9098f966678e1681017911e7b6830cfc925b77326e678af788e6b0a13607b14
  Associated tags:
 - 6051ab1c-70d6-4064-a0bc-3d2642eff510
Deleted [us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk:6051ab1c-70d6-4064-a0bc-3d2642eff510].
Deleted [us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk@sha256:e9098f966678e1681017911e7b6830cfc925b77326e678af788e6b0a13607b14].

> Task :sdks:python:test-suites:dataflow:py37:validatesContainer FAILED

> Task :sdks:python:test-suites:dataflow:py36:validatesContainer
cleanup_container
docker images --format '{{.Repository}}:{{.Tag}}' | grep $PREBUILD_SDK_CONTAINER_REGISTRY_PATH
Digests:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk@sha256:e1acf5ec4a20b6df174afa7cc0cb7f582436a749da117d9c0cbe6bb282704373
  Associated tags:
 - 20211025-121150014588928
Tags:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk:20211025-121150014588928
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk:20211025-121150014588928].
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk@sha256:e1acf5ec4a20b6df174afa7cc0cb7f582436a749da117d9c0cbe6bb282704373].
gcloud container images list-tags $PREBUILD_SDK_CONTAINER_REGISTRY_PATH/beam_python_prebuilt_sdk  --format="get(digest)"
Digests:
- us.gcr.io/apache-beam-testing/jenkins/prebuild_python36_sdk/beam_python_prebuilt_sdk@sha256:b894a0ce7992064342012520b8b92e2023ed6bb095ac300edbee586143508886
  Associated tags:
 - 5b0524a8-975d-4d75-9709-ca4c4eeee5c9
Deleted [us.gcr.io/apache-beam-testing/jenkins/prebuild_python36_sdk/beam_python_prebuilt_sdk:5b0524a8-975d-4d75-9709-ca4c4eeee5c9].
Deleted [us.gcr.io/apache-beam-testing/jenkins/prebuild_python36_sdk/beam_python_prebuilt_sdk@sha256:b894a0ce7992064342012520b8b92e2023ed6bb095ac300edbee586143508886].

> Task :sdks:python:test-suites:dataflow:py36:validatesContainer FAILED

> Task :sdks:python:test-suites:dataflow:py38:validatesContainer

[gw0] [100%] PASSED apache_beam/runners/dataflow/dataflow_exercise_metrics_pipeline_test.py::ExerciseMetricsPipelineTest::test_metrics_fnapi_it 

=================================== FAILURES ===================================
____ WordCountIT.test_wordcount_it_with_prebuilt_sdk_container_cloud_build _____
[gw0] linux -- Python 3.8.5 <https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/build/gradleenv/-1734967051/bin/python3.8>

self = <apache_beam.examples.wordcount_it_test.WordCountIT testMethod=test_wordcount_it_with_prebuilt_sdk_container_cloud_build>

    @pytest.mark.it_validatescontainer
    def test_wordcount_it_with_prebuilt_sdk_container_cloud_build(self):
>     self._run_wordcount_it(
          wordcount.run,
          experiment='beam_fn_api',
          prebuild_sdk_container_engine='cloud_build')

apache_beam/examples/wordcount_it_test.py:64: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
apache_beam/examples/wordcount_it_test.py:107: in _run_wordcount_it
    run_wordcount(
apache_beam/examples/wordcount.py:89: in run
    output | 'Write' >> WriteToText(known_args.output)
apache_beam/pipeline.py:596: in __exit__
    self.result = self.run()
apache_beam/pipeline.py:546: in run
    return Pipeline.from_runner_api(
apache_beam/pipeline.py:573: in run
    return self.runner.run_pipeline(self, self._options)
apache_beam/runners/dataflow/test_dataflow_runner.py:53: in run_pipeline
    self.result = super().run_pipeline(pipeline, options)
apache_beam/runners/dataflow/dataflow_runner.py:459: in run_pipeline
    environments.DockerEnvironment.from_options(options))
apache_beam/transforms/environments.py:340: in from_options
    prebuilt_container_image = SdkContainerImageBuilder.build_container_image(
apache_beam/runners/portability/sdk_container_builder.py:139: in build_container_image
    return builder._build()
apache_beam/runners/portability/sdk_container_builder.py:90: in _build
    self._invoke_docker_build_and_push(container_image_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <apache_beam.runners.portability.sdk_container_builder._SdkContainerImageCloudBuilder object at 0x7ff0ad1abfd0>
container_image_name = 'us.gcr.io/apache-beam-testing/jenkins/prebuild_python38_sdk/beam_python_prebuilt_sdk:ee108c95-d22c-4293-bd22-df00299dfed5'

    def _invoke_docker_build_and_push(self, container_image_name):
      project_id = self._google_cloud_options.project
      temp_location = self._google_cloud_options.temp_location
      # google cloud build service expects all the build source file to be
      # compressed into a tarball.
      tarball_path = os.path.join(self._temp_src_dir, '%s.tgz' % SOURCE_FOLDER)
      self._make_tarfile(tarball_path, self._temp_src_dir)
      _LOGGER.info(
          "Compressed source files for building sdk container at %s" %
          tarball_path)
    
      container_image_tag = container_image_name.split(':')[-1]
      gcs_location = os.path.join(
          temp_location, '%s-%s.tgz' % (SOURCE_FOLDER, container_image_tag))
      self._upload_to_gcs(tarball_path, gcs_location)
    
      build = cloudbuild.Build()
      build.steps = []
      step = cloudbuild.BuildStep()
      step.name = 'gcr.io/kaniko-project/executor:latest'
      step.args = ['--destination=' + container_image_name, '--cache=true']
      step.dir = SOURCE_FOLDER
    
      build.steps.append(step)
    
      source = cloudbuild.Source()
      source.storageSource = cloudbuild.StorageSource()
      gcs_bucket, gcs_object = self._get_gcs_bucket_and_name(gcs_location)
      source.storageSource.bucket = os.path.join(gcs_bucket)
      source.storageSource.object = gcs_object
      build.source = source
      # TODO(zyichi): make timeout configurable
      build.timeout = '7200s'
    
      now = time.time()
      # operation = client.create_build(project_id=project_id, build=build)
      request = cloudbuild.CloudbuildProjectsBuildsCreateRequest(
          projectId=project_id, build=build)
      build = self._cloudbuild_client.projects_builds.Create(request)
      build_id, log_url = self._get_cloud_build_id_and_log_url(build.metadata)
      _LOGGER.info(
          'Building sdk container with Google Cloud Build, this may '
          'take a few minutes, you may check build log at %s' % log_url)
    
      # block until build finish, if build fails exception will be raised and
      # stops the job submission.
      response = self._cloudbuild_client.projects_builds.Get(
          cloudbuild.CloudbuildProjectsBuildsGetRequest(
              id=build_id, projectId=project_id))
      while response.status in [cloudbuild.Build.StatusValueValuesEnum.QUEUED,
                                cloudbuild.Build.StatusValueValuesEnum.WORKING]:
        time.sleep(10)
        response = self._cloudbuild_client.projects_builds.Get(
            cloudbuild.CloudbuildProjectsBuildsGetRequest(
                id=build_id, projectId=project_id))
    
      if response.status != cloudbuild.Build.StatusValueValuesEnum.SUCCESS:
>       raise RuntimeError(
            'Failed to build python sdk container image on google cloud build, '
            'please check build log for error.')
E       RuntimeError: Failed to build python sdk container image on google cloud build, please check build log for error.

apache_beam/runners/portability/sdk_container_builder.py:286: RuntimeError
=============================== warnings summary ===============================
apache_beam/io/filesystems_test.py:54
  <https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/io/filesystems_test.py>:54: DeprecationWarning: invalid escape sequence \c
    self.assertIsNone(FileSystems.get_scheme('c:\\abc\cdf'))  # pylint: disable=anomalous-backslash-in-string

apache_beam/io/filesystems_test.py:62
  <https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/io/filesystems_test.py>:62: DeprecationWarning: invalid escape sequence \d
    self.assertTrue(isinstance(FileSystems.get_filesystem('c:\\abc\def'),  # pylint: disable=anomalous-backslash-in-string

<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42
  <https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def call(self, fn, *args, **kwargs):

-- Docs: https://docs.pytest.org/en/latest/warnings.html
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/pytest-beam_python3.8_sdk.xml> -
============== 1 failed, 3 passed, 3 warnings in 1361.81 seconds ===============
cleanup_container
Untagged: us.gcr.io/apache-beam-testing/jenkins/beam_python3.8_sdk:20211025-121156902686972
Untagged: us.gcr.io/apache-beam-testing/jenkins/beam_python3.8_sdk@sha256:c8ec330436c5535d7c7b564978badd0a378dc9e11a3bfa41e387c0feaf63ef42
docker images --format '{{.Repository}}:{{.Tag}}' | grep $PREBUILD_SDK_CONTAINER_REGISTRY_PATH
Untagged: us.gcr.io/apache-beam-testing/jenkins/prebuild_python38_sdk/beam_python_prebuilt_sdk:b3f67dc3-f20a-4e3a-8ca9-5aa95251d662
Untagged: us.gcr.io/apache-beam-testing/jenkins/prebuild_python38_sdk/beam_python_prebuilt_sdk@sha256:4f3ab77bb37d91ee9d353593eb83150fa521c3283fa44434d6c2ca90c4f56599
Deleted: sha256:bc6bdae36f4bed7c78809e04fa852209c07260fb46391df6439300d2a5bc7769
Deleted: sha256:bcf2fdef38283f6890df7b27b0498895f91fcaeb24aa08e3d815651137ef471d
Deleted: sha256:63c1f31b30168ea99eb2969a4d2edef36ea4bb722a4bef8c90368b68b4196c86
Deleted: sha256:d424417a6f7da7e37afde5fe1defa0f57ba66728b57be919e98e3fb9c9c38e21
Deleted: sha256:995014ee76c329ed35d543a5e8603af87bb16fb51bdb37555ffc7c04646674e4
Deleted: sha256:6c0d36c980b5a54ced06dc0b0a25dc2336654f3ff7443a551e8f5b12d734ee94
Digests:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.8_sdk@sha256:c8ec330436c5535d7c7b564978badd0a378dc9e11a3bfa41e387c0feaf63ef42
  Associated tags:
 - 20211025-121156902686972
Tags:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.8_sdk:20211025-121156902686972
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.8_sdk:20211025-121156902686972].
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.8_sdk@sha256:c8ec330436c5535d7c7b564978badd0a378dc9e11a3bfa41e387c0feaf63ef42].
gcloud container images list-tags $PREBUILD_SDK_CONTAINER_REGISTRY_PATH/beam_python_prebuilt_sdk  --format="get(digest)"
Digests:
- us.gcr.io/apache-beam-testing/jenkins/prebuild_python38_sdk/beam_python_prebuilt_sdk@sha256:4f3ab77bb37d91ee9d353593eb83150fa521c3283fa44434d6c2ca90c4f56599
  Associated tags:
 - b3f67dc3-f20a-4e3a-8ca9-5aa95251d662
Deleted [us.gcr.io/apache-beam-testing/jenkins/prebuild_python38_sdk/beam_python_prebuilt_sdk:b3f67dc3-f20a-4e3a-8ca9-5aa95251d662].
Deleted [us.gcr.io/apache-beam-testing/jenkins/prebuild_python38_sdk/beam_python_prebuilt_sdk@sha256:4f3ab77bb37d91ee9d353593eb83150fa521c3283fa44434d6c2ca90c4f56599].
Removed the container

> Task :sdks:python:test-suites:dataflow:py38:validatesContainer FAILED

FAILURE: Build completed with 3 failures.

1: Task failed with an exception.
-----------
* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 276

* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py37:validatesContainer'.
> Process 'command 'sh'' 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. Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 276

* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py36:validatesContainer'.
> Process 'command 'sh'' 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. Run with --scan to get full insights.
==============================================================================

3: Task failed with an exception.
-----------
* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 276

* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py38:validatesContainer'.
> Process 'command 'sh'' 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. Run with --scan to get full insights.
==============================================================================

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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 36m 27s
44 actionable tasks: 40 executed, 4 up-to-date

Publishing build scan...
https://gradle.com/s/p276b6hnn4aws

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

---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@beam.apache.org
For additional commands, e-mail: builds-help@beam.apache.org


Jenkins build is back to normal : beam_PostCommit_Py_ValCont #8412

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/8412/display/redirect?page=changes>


---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@beam.apache.org
For additional commands, e-mail: builds-help@beam.apache.org


Build failed in Jenkins: beam_PostCommit_Py_ValCont #8411

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/8411/display/redirect?page=changes>

Changes:

[noreply] Merge pull request #15772 from [BEAM-13032] [Playground] Implement the


------------------------------------------
[...truncated 105.85 KB...]
cleanup_container
docker images --format '{{.Repository}}:{{.Tag}}' | grep $PREBUILD_SDK_CONTAINER_REGISTRY_PATH
Digests:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk@sha256:439c4a4ac91e4a919c080a3c63ea668bd42562e0a0f4f932c02f3080a943a8e3
  Associated tags:
 - 20211025-181455756763627
Tags:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk:20211025-181455756763627
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk:20211025-181455756763627].
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.7_sdk@sha256:439c4a4ac91e4a919c080a3c63ea668bd42562e0a0f4f932c02f3080a943a8e3].
gcloud container images list-tags $PREBUILD_SDK_CONTAINER_REGISTRY_PATH/beam_python_prebuilt_sdk  --format="get(digest)"
Digests:
- us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk@sha256:e2eee69675271496187ff12691a0c2a5fadf8ce5ff7a5e74b5a718e7cbac14bd
  Associated tags:
 - 6556166e-338d-4e7e-b3a6-320143db2500
Deleted [us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk:6556166e-338d-4e7e-b3a6-320143db2500].
Deleted [us.gcr.io/apache-beam-testing/jenkins/prebuild_python37_sdk/beam_python_prebuilt_sdk@sha256:e2eee69675271496187ff12691a0c2a5fadf8ce5ff7a5e74b5a718e7cbac14bd].

> Task :sdks:python:test-suites:dataflow:py37:validatesContainer FAILED

> Task :sdks:python:test-suites:dataflow:py38:validatesContainer


=================================== FAILURES ===================================
____ WordCountIT.test_wordcount_it_with_prebuilt_sdk_container_cloud_build _____
[gw0] linux -- Python 3.8.5 <https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/build/gradleenv/-1734967051/bin/python3.8>

self = <apache_beam.examples.wordcount_it_test.WordCountIT testMethod=test_wordcount_it_with_prebuilt_sdk_container_cloud_build>

    @pytest.mark.it_validatescontainer
    def test_wordcount_it_with_prebuilt_sdk_container_cloud_build(self):
>     self._run_wordcount_it(
          wordcount.run,
          experiment='beam_fn_api',
          prebuild_sdk_container_engine='cloud_build')

apache_beam/examples/wordcount_it_test.py:64: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
apache_beam/examples/wordcount_it_test.py:107: in _run_wordcount_it
    run_wordcount(
apache_beam/examples/wordcount.py:89: in run
    output | 'Write' >> WriteToText(known_args.output)
apache_beam/pipeline.py:596: in __exit__
    self.result = self.run()
apache_beam/pipeline.py:546: in run
    return Pipeline.from_runner_api(
apache_beam/pipeline.py:573: in run
    return self.runner.run_pipeline(self, self._options)
apache_beam/runners/dataflow/test_dataflow_runner.py:53: in run_pipeline
    self.result = super().run_pipeline(pipeline, options)
apache_beam/runners/dataflow/dataflow_runner.py:459: in run_pipeline
    environments.DockerEnvironment.from_options(options))
apache_beam/transforms/environments.py:340: in from_options
    prebuilt_container_image = SdkContainerImageBuilder.build_container_image(
apache_beam/runners/portability/sdk_container_builder.py:139: in build_container_image
    return builder._build()
apache_beam/runners/portability/sdk_container_builder.py:90: in _build
    self._invoke_docker_build_and_push(container_image_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <apache_beam.runners.portability.sdk_container_builder._SdkContainerImageCloudBuilder object at 0x7fc6e00bef40>
container_image_name = 'us.gcr.io/apache-beam-testing/jenkins/prebuild_python38_sdk/beam_python_prebuilt_sdk:95221076-7ee8-422b-b937-8886fe72b7c9'

    def _invoke_docker_build_and_push(self, container_image_name):
      project_id = self._google_cloud_options.project
      temp_location = self._google_cloud_options.temp_location
      # google cloud build service expects all the build source file to be
      # compressed into a tarball.
      tarball_path = os.path.join(self._temp_src_dir, '%s.tgz' % SOURCE_FOLDER)
      self._make_tarfile(tarball_path, self._temp_src_dir)
      _LOGGER.info(
          "Compressed source files for building sdk container at %s" %
          tarball_path)
    
      container_image_tag = container_image_name.split(':')[-1]
      gcs_location = os.path.join(
          temp_location, '%s-%s.tgz' % (SOURCE_FOLDER, container_image_tag))
      self._upload_to_gcs(tarball_path, gcs_location)
    
      build = cloudbuild.Build()
      build.steps = []
      step = cloudbuild.BuildStep()
      step.name = 'gcr.io/kaniko-project/executor:latest'
      step.args = ['--destination=' + container_image_name, '--cache=true']
      step.dir = SOURCE_FOLDER
    
      build.steps.append(step)
    
      source = cloudbuild.Source()
      source.storageSource = cloudbuild.StorageSource()
      gcs_bucket, gcs_object = self._get_gcs_bucket_and_name(gcs_location)
      source.storageSource.bucket = os.path.join(gcs_bucket)
      source.storageSource.object = gcs_object
      build.source = source
      # TODO(zyichi): make timeout configurable
      build.timeout = '7200s'
    
      now = time.time()
      # operation = client.create_build(project_id=project_id, build=build)
      request = cloudbuild.CloudbuildProjectsBuildsCreateRequest(
          projectId=project_id, build=build)
      build = self._cloudbuild_client.projects_builds.Create(request)
      build_id, log_url = self._get_cloud_build_id_and_log_url(build.metadata)
      _LOGGER.info(
          'Building sdk container with Google Cloud Build, this may '
          'take a few minutes, you may check build log at %s' % log_url)
    
      # block until build finish, if build fails exception will be raised and
      # stops the job submission.
      response = self._cloudbuild_client.projects_builds.Get(
          cloudbuild.CloudbuildProjectsBuildsGetRequest(
              id=build_id, projectId=project_id))
      while response.status in [cloudbuild.Build.StatusValueValuesEnum.QUEUED,
                                cloudbuild.Build.StatusValueValuesEnum.WORKING]:
        time.sleep(10)
        response = self._cloudbuild_client.projects_builds.Get(
            cloudbuild.CloudbuildProjectsBuildsGetRequest(
                id=build_id, projectId=project_id))
    
      if response.status != cloudbuild.Build.StatusValueValuesEnum.SUCCESS:
>       raise RuntimeError(
            'Failed to build python sdk container image on google cloud build, '
            'please check build log for error.')
E       RuntimeError: Failed to build python sdk container image on google cloud build, please check build log for error.

apache_beam/runners/portability/sdk_container_builder.py:286: RuntimeError
=============================== warnings summary ===============================
apache_beam/io/filesystems_test.py:54
  <https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/io/filesystems_test.py>:54: DeprecationWarning: invalid escape sequence \c
    self.assertIsNone(FileSystems.get_scheme('c:\\abc\cdf'))  # pylint: disable=anomalous-backslash-in-string

apache_beam/io/filesystems_test.py:62
  <https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/apache_beam/io/filesystems_test.py>:62: DeprecationWarning: invalid escape sequence \d
    self.assertTrue(isinstance(FileSystems.get_filesystem('c:\\abc\def'),  # pylint: disable=anomalous-backslash-in-string

<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42
  <https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/build/gradleenv/-1734967051/lib/python3.8/site-packages/tenacity/_asyncio.py>:42: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def call(self, fn, *args, **kwargs):

-- Docs: https://docs.pytest.org/en/latest/warnings.html
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/pytest-beam_python3.8_sdk.xml> -
============== 1 failed, 3 passed, 3 warnings in 1458.70 seconds ===============
cleanup_container
Untagged: us.gcr.io/apache-beam-testing/jenkins/beam_python3.8_sdk:20211025-181503042124239
Untagged: us.gcr.io/apache-beam-testing/jenkins/beam_python3.8_sdk@sha256:88e7194e87f79727a8c6ba0d9d24d42d76fa5edfa199311c76cc218a5ee70f3d
docker images --format '{{.Repository}}:{{.Tag}}' | grep $PREBUILD_SDK_CONTAINER_REGISTRY_PATH
Untagged: us.gcr.io/apache-beam-testing/jenkins/prebuild_python38_sdk/beam_python_prebuilt_sdk:31b695b3-75e8-4456-97d7-fe3c65b5fb98
Untagged: us.gcr.io/apache-beam-testing/jenkins/prebuild_python38_sdk/beam_python_prebuilt_sdk@sha256:111540c3833f1a55e0e2050aeab33429c2c16cc56d359a3d941bdfdb739d472c
Deleted: sha256:9b37a32b4e9542c2bb93fa7d724264a467c58898aa74fd1913dbe1ee5452a480
Deleted: sha256:6287c7c6b99d18d93f88101a8eb4632b6aec13983000c12ff4ca1b4e8b94b072
Deleted: sha256:e0db7103fd22cad4c6a15e255391bf891fff2a17bf554741530fc4065f788102
Deleted: sha256:633c50e0cb4440031a4f21cc7563d2b098e0634e9eac1d14f90f4a07354e6a71
Deleted: sha256:6f935fa93905bd9c11ecb34aa4e663f198029cfff7d5dbab3bb378fe7ab78be6
Deleted: sha256:9a4deba8cf234b0624d6ddbbe5f1e60e2fb25d6ec2080dc997d168dd79403830
Digests:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.8_sdk@sha256:88e7194e87f79727a8c6ba0d9d24d42d76fa5edfa199311c76cc218a5ee70f3d
  Associated tags:
 - 20211025-181503042124239
Tags:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.8_sdk:20211025-181503042124239
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.8_sdk:20211025-181503042124239].
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.8_sdk@sha256:88e7194e87f79727a8c6ba0d9d24d42d76fa5edfa199311c76cc218a5ee70f3d].
gcloud container images list-tags $PREBUILD_SDK_CONTAINER_REGISTRY_PATH/beam_python_prebuilt_sdk  --format="get(digest)"
Digests:
- us.gcr.io/apache-beam-testing/jenkins/prebuild_python38_sdk/beam_python_prebuilt_sdk@sha256:111540c3833f1a55e0e2050aeab33429c2c16cc56d359a3d941bdfdb739d472c
  Associated tags:
 - 31b695b3-75e8-4456-97d7-fe3c65b5fb98
Deleted [us.gcr.io/apache-beam-testing/jenkins/prebuild_python38_sdk/beam_python_prebuilt_sdk:31b695b3-75e8-4456-97d7-fe3c65b5fb98].
Deleted [us.gcr.io/apache-beam-testing/jenkins/prebuild_python38_sdk/beam_python_prebuilt_sdk@sha256:111540c3833f1a55e0e2050aeab33429c2c16cc56d359a3d941bdfdb739d472c].
Removed the container

> Task :sdks:python:test-suites:dataflow:py38:validatesContainer FAILED

> Task :sdks:python:test-suites:dataflow:py36:validatesContainer
cleanup_container
docker images --format '{{.Repository}}:{{.Tag}}' | grep $PREBUILD_SDK_CONTAINER_REGISTRY_PATH
Digests:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk@sha256:d76c037b1856ce6b86cd2324aeabd3b537ba28c22d777b20151ae6a8f725f719
  Associated tags:
 - 20211025-181533390950298
Tags:
- us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk:20211025-181533390950298
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk:20211025-181533390950298].
Deleted [us.gcr.io/apache-beam-testing/jenkins/beam_python3.6_sdk@sha256:d76c037b1856ce6b86cd2324aeabd3b537ba28c22d777b20151ae6a8f725f719].
gcloud container images list-tags $PREBUILD_SDK_CONTAINER_REGISTRY_PATH/beam_python_prebuilt_sdk  --format="get(digest)"
Digests:
- us.gcr.io/apache-beam-testing/jenkins/prebuild_python36_sdk/beam_python_prebuilt_sdk@sha256:3254d44b5fdaa0b8bba55284e66d53b3cd71236b2c17fd920e7304accb9fe438
  Associated tags:
 - d47fffef-0131-414e-a60d-f925b57865fd
Deleted [us.gcr.io/apache-beam-testing/jenkins/prebuild_python36_sdk/beam_python_prebuilt_sdk:d47fffef-0131-414e-a60d-f925b57865fd].
Deleted [us.gcr.io/apache-beam-testing/jenkins/prebuild_python36_sdk/beam_python_prebuilt_sdk@sha256:3254d44b5fdaa0b8bba55284e66d53b3cd71236b2c17fd920e7304accb9fe438].

> Task :sdks:python:test-suites:dataflow:py36:validatesContainer FAILED

FAILURE: Build completed with 3 failures.

1: Task failed with an exception.
-----------
* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 276

* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py37:validatesContainer'.
> Process 'command 'sh'' 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. Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 276

* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py38:validatesContainer'.
> Process 'command 'sh'' 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. Run with --scan to get full insights.
==============================================================================

3: Task failed with an exception.
-----------
* Where:
Script '<https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/ws/src/sdks/python/test-suites/dataflow/common.gradle'> line: 276

* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py36:validatesContainer'.
> Process 'command 'sh'' 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. Run with --scan to get full insights.
==============================================================================

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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 43m 30s
44 actionable tasks: 40 executed, 4 up-to-date

Publishing build scan...
https://gradle.com/s/hfszz2zipr3gk

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

---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@beam.apache.org
For additional commands, e-mail: builds-help@beam.apache.org