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 2023/10/31 08:59:28 UTC

Build failed in Jenkins: beam_PostCommit_Python_Xlang_Gcp_Dataflow #869

See <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/869/display/redirect?page=changes>

Changes:

[noreply] Better naming and logging to investigate leaking bigtable resources


------------------------------------------
[...truncated 492.74 KB...]
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
_ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_cells_with_timerange_mutation _

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
_ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_column_family_mutation _

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
____ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_row_mutation _____

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
________ ERROR at setup of TestWriteToBigtableXlangIT.test_set_mutation ________

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
=============================== warnings summary ===============================
../../build/gradleenv/2050596099/lib/python3.11/site-packages/google/api_core/operations_v1/abstract_operations_client.py:17
  <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/ws/src/build/gradleenv/2050596099/lib/python3.11/site-packages/google/api_core/operations_v1/abstract_operations_client.py>:17: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
    from distutils import util

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/ws/src/sdks/python/pytest_gcpCrossLanguage.xml> -
=========================== short test summary info ============================
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_with_timerange_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_column_family_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_row_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_set_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
= 8 passed, 19 skipped, 7213 deselected, 1 warning, 5 errors in 2722.18s (0:45:22) =

> Task :sdks:python:test-suites:dataflow:py311:gcpCrossLanguagePythonUsingJava FAILED

> Task :sdks:python:test-suites:dataflow:py311:gcpCrossLanguageCleanup
Stopping expansion service pid: 3667152.
Skipping invalid pid: 3667153.

> Task :sdks:python:test-suites:dataflow:py38:gcpCrossLanguagePythonUsingJava
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T08:54:08.922Z: JOB_MESSAGE_BASIC: Your project already contains 100 Dataflow-created metric descriptors, so new user metrics of the form custom.googleapis.com/* will not be created. However, all user metrics are also available in the metric dataflow.googleapis.com/job/user_counter. If you rely on the custom metrics, you can delete old / unused metric descriptors. See https://developers.google.com/apis-explorer/#p/monitoring/v3/monitoring.projects.metricDescriptors.list and https://developers.google.com/apis-explorer/#p/monitoring/v3/monitoring.projects.metricDescriptors.delete
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T08:56:26.063Z: JOB_MESSAGE_BASIC: All workers have finished the startup processes and began to receive work requests.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T08:56:31.375Z: JOB_MESSAGE_BASIC: Finished operation ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/BigtableIO.Read/Read(BigtableSource)/Impulse+ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/BigtableIO.Read/Read(BigtableSource)/ParDo(OutputSingleSource)/ParMultiDo(OutputSingleSource)+external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/PairWithRestriction+external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/SplitWithSizing
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T08:56:31.483Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Create
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T08:56:31.997Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Create
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T08:56:32.089Z: JOB_MESSAGE_BASIC: Executing operation external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/ProcessElementAndRestrictionWithSizing+ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/MapElements/Map/ParMultiDo(Anonymous)+ReadFromBigtable/ParDo(_BeamRowToPartialRowData)+Extract cells+assert_that/WindowInto(WindowIntoFn)+assert_that/ToVoidKey+assert_that/Group/CoGroupByKeyImpl/Tag[1]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T08:56:32.118Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Create/Impulse+assert_that/Create/FlatMap(<lambda at core.py:3774>)+assert_that/Create/Map(decode)+assert_that/Group/CoGroupByKeyImpl/Tag[0]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T08:56:32.485Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Create/Impulse+assert_that/Create/FlatMap(<lambda at core.py:3774>)+assert_that/Create/Map(decode)+assert_that/Group/CoGroupByKeyImpl/Tag[0]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T08:56:47.722Z: JOB_MESSAGE_BASIC: Finished operation external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/ProcessElementAndRestrictionWithSizing+ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/MapElements/Map/ParMultiDo(Anonymous)+ReadFromBigtable/ParDo(_BeamRowToPartialRowData)+Extract cells+assert_that/WindowInto(WindowIntoFn)+assert_that/ToVoidKey+assert_that/Group/CoGroupByKeyImpl/Tag[1]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T08:56:47.780Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Close
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T08:56:48.666Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Close
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T08:56:48.722Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Read+assert_that/Group/CoGroupByKeyImpl/MapTuple(collect_values)+assert_that/Group/RestoreTags+assert_that/Unkey+assert_that/Match
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T08:56:49.082Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Read+assert_that/Group/CoGroupByKeyImpl/MapTuple(collect_values)+assert_that/Group/RestoreTags+assert_that/Unkey+assert_that/Match
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T08:56:49.277Z: JOB_MESSAGE_BASIC: Stopping worker pool...
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T08:59:11.399Z: JOB_MESSAGE_BASIC: Worker pool stopped.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:150 Job 2023-10-31_01_53_35-13585569666364917573 is in state JOB_STATE_DONE
INFO     apache_beam.io.gcp.bigtableio_it_test:bigtableio_it_test.py:92 Deleting table [test-table] and instance [bt-read-tests-1698742393-655ded]
PASSED
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_with_timerange_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_column_family_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_row_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_set_mutation ERROR

==================================== ERRORS ====================================
___ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_cells_mutation ____

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
_ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_cells_with_timerange_mutation _

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
_ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_column_family_mutation _

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
____ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_row_mutation _____

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
________ ERROR at setup of TestWriteToBigtableXlangIT.test_set_mutation ________

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/ws/src/sdks/python/pytest_gcpCrossLanguage.xml> -
=========================== short test summary info ============================
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_with_timerange_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_column_family_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_row_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_set_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
==== 8 passed, 19 skipped, 7213 deselected, 5 errors in 2770.10s (0:46:10) =====

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

> Task :sdks:python:test-suites:dataflow:py38:gcpCrossLanguageCleanup
Stopping expansion service pid: 3668059.
Skipping invalid pid: 3668060.

> Task :sdks:python:test-suites:xlang:fnApiJobServerCleanup
Killing process at 3666505

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py311:gcpCrossLanguagePythonUsingJava'.
> 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.
> Get more help at https://help.gradle.org.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py38:gcpCrossLanguagePythonUsingJava'.
> 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.
> Get more help at https://help.gradle.org.
==============================================================================

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

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

For more on this, please refer to https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 1h 1m
124 actionable tasks: 89 executed, 33 from cache, 2 up-to-date

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

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_Python_Xlang_Gcp_Dataflow #875

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/875/display/redirect>


---------------------------------------------------------------------
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_Python_Xlang_Gcp_Dataflow #874

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

Changes:

[noreply] Remove cred rotation jobs from jenkins (#29243)


------------------------------------------
[...truncated 649.91 KB...]
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
____ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_row_mutation _____

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
________ ERROR at setup of TestWriteToBigtableXlangIT.test_set_mutation ________

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
=============================== warnings summary ===============================
../../build/gradleenv/2050596099/lib/python3.11/site-packages/google/api_core/operations_v1/abstract_operations_client.py:17
  <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/ws/src/build/gradleenv/2050596099/lib/python3.11/site-packages/google/api_core/operations_v1/abstract_operations_client.py>:17: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
    from distutils import util

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/ws/src/sdks/python/pytest_gcpCrossLanguage.xml> -
=========================== short test summary info ============================
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_with_timerange_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_column_family_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_row_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_set_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
= 8 passed, 19 skipped, 7215 deselected, 1 warning, 5 errors in 2690.88s (0:44:50) =

> Task :sdks:python:test-suites:dataflow:py311:gcpCrossLanguageCleanup
Stopping expansion service pid: 2357901.
Skipping invalid pid: 2357916.

> Task :sdks:python:test-suites:dataflow:py38:gcpCrossLanguagePythonUsingJava
INFO     apache_beam.io.gcp.bigtableio_it_test:bigtableio_it_test.py:88 Created table [test-table]
INFO     apache_beam.runners.portability.stager:stager.py:322 Copying Beam SDK "<https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/ws/src/sdks/python/build/apache_beam-2.52.0.dev0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"> to staging location.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:395 Pipeline has additional dependencies to be installed in SDK worker container, consider using the SDK container image pre-building workflow to avoid repetitive installations. Learn more on https://cloud.google.com/dataflow/docs/guides/using-custom-containers#prebuild
INFO     root:environments.py:313 Using provided Python SDK container image: gcr.io/apache-beam-testing/beam-sdk/beam_python3.8_sdk:latest
INFO     root:environments.py:320 Python SDK container image set to "gcr.io/apache-beam-testing/beam-sdk/beam_python3.8_sdk:latest" for Docker environment
INFO     apache_beam.runners.portability.fn_api_runner.translations:translations.py:712 ==================== <function pack_combiners at 0x7fbefdc91280> ====================
INFO     apache_beam.runners.portability.fn_api_runner.translations:translations.py:712 ==================== <function sort_stages at 0x7fbefdc91a60> ====================
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 Starting GCS upload to gs://dataflow-staging-us-central1-77b801c0838aee13391c0d1885860494/beamapp-jenkins-1101145354-876548-525qnntb.1698850434.876774/beam-sdks-java-io-google-cloud-platform-expansion-service-2.52.0-SNAPSHOT-Av4U5stpxP4XJU67ahh3VHPN2cnRVHvhx1kYWBo4x5o.jar...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 Completed GCS upload to gs://dataflow-staging-us-central1-77b801c0838aee13391c0d1885860494/beamapp-jenkins-1101145354-876548-525qnntb.1698850434.876774/beam-sdks-java-io-google-cloud-platform-expansion-service-2.52.0-SNAPSHOT-Av4U5stpxP4XJU67ahh3VHPN2cnRVHvhx1kYWBo4x5o.jar in 6 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 Starting GCS upload to gs://dataflow-staging-us-central1-77b801c0838aee13391c0d1885860494/beamapp-jenkins-1101145354-876548-525qnntb.1698850434.876774/apache_beam-2.52.0.dev0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 Completed GCS upload to gs://dataflow-staging-us-central1-77b801c0838aee13391c0d1885860494/beamapp-jenkins-1101145354-876548-525qnntb.1698850434.876774/apache_beam-2.52.0.dev0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl in 0 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 Starting GCS upload to gs://dataflow-staging-us-central1-77b801c0838aee13391c0d1885860494/beamapp-jenkins-1101145354-876548-525qnntb.1698850434.876774/pipeline.pb...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 Completed GCS upload to gs://dataflow-staging-us-central1-77b801c0838aee13391c0d1885860494/beamapp-jenkins-1101145354-876548-525qnntb.1698850434.876774/pipeline.pb in 0 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:843 Create job: <Job
 clientRequestId: '20231101145354878172-2485'
 createTime: '2023-11-01T14:54:03.195488Z'
 currentStateTime: '1970-01-01T00:00:00Z'
 id: '2023-11-01_07_54_02-13815666169983333389'
 location: 'us-central1'
 name: 'beamapp-jenkins-1101145354-876548-525qnntb'
 projectId: 'apache-beam-testing'
 stageStates: []
 startTime: '2023-11-01T14:54:03.195488Z'
 steps: []
 tempFiles: []
 type: TypeValueValuesEnum(JOB_TYPE_BATCH, 1)>
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:845 Created job with id: [2023-11-01_07_54_02-13815666169983333389]
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:846 Submitted job: 2023-11-01_07_54_02-13815666169983333389
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:847 To access the Dataflow monitoring console, please navigate to https://console.cloud.google.com/dataflow/jobs/us-central1/2023-11-01_07_54_02-13815666169983333389?project=apache-beam-testing
Worker logs: https://console.cloud.google.com/dataflow/jobs/us-central1/2023-11-01_07_54_02-13815666169983333389?project=apache-beam-testing
INFO     apache_beam.runners.dataflow.test_dataflow_runner:test_dataflow_runner.py:58 Console log: 
INFO     apache_beam.runners.dataflow.test_dataflow_runner:test_dataflow_runner.py:59 https://console.cloud.google.com/dataflow/jobs/us-central1/2023-11-01_07_54_02-13815666169983333389?project=apache-beam-testing
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:150 Job 2023-11-01_07_54_02-13815666169983333389 is in state JOB_STATE_RUNNING
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T14:54:06.997Z: JOB_MESSAGE_BASIC: Worker configuration: e2-standard-2 in us-central1-b.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T14:54:09.942Z: JOB_MESSAGE_BASIC: Executing operation ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/BigtableIO.Read/Read(BigtableSource)/Impulse+ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/BigtableIO.Read/Read(BigtableSource)/ParDo(OutputSingleSource)/ParMultiDo(OutputSingleSource)+external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/PairWithRestriction+external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/SplitWithSizing
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T14:54:10.067Z: JOB_MESSAGE_BASIC: Starting 1 workers in us-central1-b...
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T14:54:39.807Z: JOB_MESSAGE_BASIC: Your project already contains 100 Dataflow-created metric descriptors, so new user metrics of the form custom.googleapis.com/* will not be created. However, all user metrics are also available in the metric dataflow.googleapis.com/job/user_counter. If you rely on the custom metrics, you can delete old / unused metric descriptors. See https://developers.google.com/apis-explorer/#p/monitoring/v3/monitoring.projects.metricDescriptors.list and https://developers.google.com/apis-explorer/#p/monitoring/v3/monitoring.projects.metricDescriptors.delete
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T14:57:11.975Z: JOB_MESSAGE_BASIC: All workers have finished the startup processes and began to receive work requests.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T14:57:22.351Z: JOB_MESSAGE_BASIC: Finished operation ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/BigtableIO.Read/Read(BigtableSource)/Impulse+ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/BigtableIO.Read/Read(BigtableSource)/ParDo(OutputSingleSource)/ParMultiDo(OutputSingleSource)+external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/PairWithRestriction+external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/SplitWithSizing
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T14:57:22.492Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Create
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T14:57:23.206Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Create
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T14:57:23.361Z: JOB_MESSAGE_BASIC: Executing operation external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/ProcessElementAndRestrictionWithSizing+ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/MapElements/Map/ParMultiDo(Anonymous)+ReadFromBigtable/ParDo(_BeamRowToPartialRowData)+Extract cells+assert_that/WindowInto(WindowIntoFn)+assert_that/ToVoidKey+assert_that/Group/CoGroupByKeyImpl/Tag[1]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T14:57:23.387Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Create/Impulse+assert_that/Create/FlatMap(<lambda at core.py:3774>)+assert_that/Create/Map(decode)+assert_that/Group/CoGroupByKeyImpl/Tag[0]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T14:57:23.814Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Create/Impulse+assert_that/Create/FlatMap(<lambda at core.py:3774>)+assert_that/Create/Map(decode)+assert_that/Group/CoGroupByKeyImpl/Tag[0]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T14:57:42.716Z: JOB_MESSAGE_BASIC: Finished operation external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/ProcessElementAndRestrictionWithSizing+ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/MapElements/Map/ParMultiDo(Anonymous)+ReadFromBigtable/ParDo(_BeamRowToPartialRowData)+Extract cells+assert_that/WindowInto(WindowIntoFn)+assert_that/ToVoidKey+assert_that/Group/CoGroupByKeyImpl/Tag[1]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T14:57:42.805Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Close
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T14:57:42.901Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Close
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T14:57:42.972Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Read+assert_that/Group/CoGroupByKeyImpl/MapTuple(collect_values)+assert_that/Group/RestoreTags+assert_that/Unkey+assert_that/Match
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T14:57:43.555Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Read+assert_that/Group/CoGroupByKeyImpl/MapTuple(collect_values)+assert_that/Group/RestoreTags+assert_that/Unkey+assert_that/Match
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T14:57:43.894Z: JOB_MESSAGE_BASIC: Stopping worker pool...
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T14:59:47.623Z: JOB_MESSAGE_BASIC: Worker pool stopped.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:150 Job 2023-11-01_07_54_02-13815666169983333389 is in state JOB_STATE_DONE
INFO     apache_beam.io.gcp.bigtableio_it_test:bigtableio_it_test.py:92 Deleting table [test-table] and instance [bt-read-tests-1698850417-920523]
PASSED
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_with_timerange_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_column_family_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_row_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_set_mutation ERROR

==================================== ERRORS ====================================
___ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_cells_mutation ____

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
_ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_cells_with_timerange_mutation _

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
_ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_column_family_mutation _

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
____ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_row_mutation _____

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
________ ERROR at setup of TestWriteToBigtableXlangIT.test_set_mutation ________

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/ws/src/sdks/python/pytest_gcpCrossLanguage.xml> -
=========================== short test summary info ============================
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_with_timerange_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_column_family_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_row_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_set_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
==== 8 passed, 19 skipped, 7215 deselected, 5 errors in 2799.53s (0:46:39) =====

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

> Task :sdks:python:test-suites:dataflow:py38:gcpCrossLanguageCleanup
Stopping expansion service pid: 2359368.
Skipping invalid pid: 2359369.

> Task :sdks:python:test-suites:xlang:fnApiJobServerCleanup
Killing process at 2357282

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py311:gcpCrossLanguagePythonUsingJava'.
> 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.
> Get more help at https://help.gradle.org.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py38:gcpCrossLanguagePythonUsingJava'.
> 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.
> Get more help at https://help.gradle.org.
==============================================================================

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

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

For more on this, please refer to https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 1h 1m 32s
124 actionable tasks: 89 executed, 33 from cache, 2 up-to-date

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

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


Build failed in Jenkins: beam_PostCommit_Python_Xlang_Gcp_Dataflow #873

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/873/display/redirect>

Changes:


------------------------------------------
[...truncated 639.82 KB...]
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
_ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_cells_with_timerange_mutation _

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
_ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_column_family_mutation _

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
____ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_row_mutation _____

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
________ ERROR at setup of TestWriteToBigtableXlangIT.test_set_mutation ________

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
=============================== warnings summary ===============================
../../build/gradleenv/2050596099/lib/python3.11/site-packages/google/api_core/operations_v1/abstract_operations_client.py:17
  <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/ws/src/build/gradleenv/2050596099/lib/python3.11/site-packages/google/api_core/operations_v1/abstract_operations_client.py>:17: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
    from distutils import util

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/ws/src/sdks/python/pytest_gcpCrossLanguage.xml> -
=========================== short test summary info ============================
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_with_timerange_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_column_family_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_row_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_set_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
= 8 passed, 19 skipped, 7215 deselected, 1 warning, 5 errors in 2853.50s (0:47:33) =

> Task :sdks:python:test-suites:dataflow:py311:gcpCrossLanguagePythonUsingJava FAILED

> Task :sdks:python:test-suites:dataflow:py311:gcpCrossLanguageCleanup
Stopping expansion service pid: 2097521.
Skipping invalid pid: 2097522.

> Task :sdks:python:test-suites:dataflow:py38:gcpCrossLanguagePythonUsingJava
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T08:56:35.370Z: JOB_MESSAGE_BASIC: All workers have finished the startup processes and began to receive work requests.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T08:56:42.888Z: JOB_MESSAGE_BASIC: Finished operation ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/BigtableIO.Read/Read(BigtableSource)/Impulse+ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/BigtableIO.Read/Read(BigtableSource)/ParDo(OutputSingleSource)/ParMultiDo(OutputSingleSource)+external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/PairWithRestriction+external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/SplitWithSizing
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T08:56:42.983Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Create
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T08:56:43.426Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Create
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T08:56:43.526Z: JOB_MESSAGE_BASIC: Executing operation external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/ProcessElementAndRestrictionWithSizing+ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/MapElements/Map/ParMultiDo(Anonymous)+ReadFromBigtable/ParDo(_BeamRowToPartialRowData)+Extract cells+assert_that/WindowInto(WindowIntoFn)+assert_that/ToVoidKey+assert_that/Group/CoGroupByKeyImpl/Tag[1]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T08:56:43.549Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Create/Impulse+assert_that/Create/FlatMap(<lambda at core.py:3774>)+assert_that/Create/Map(decode)+assert_that/Group/CoGroupByKeyImpl/Tag[0]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T08:56:43.908Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Create/Impulse+assert_that/Create/FlatMap(<lambda at core.py:3774>)+assert_that/Create/Map(decode)+assert_that/Group/CoGroupByKeyImpl/Tag[0]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T08:57:05.843Z: JOB_MESSAGE_BASIC: Finished operation external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/ProcessElementAndRestrictionWithSizing+ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/MapElements/Map/ParMultiDo(Anonymous)+ReadFromBigtable/ParDo(_BeamRowToPartialRowData)+Extract cells+assert_that/WindowInto(WindowIntoFn)+assert_that/ToVoidKey+assert_that/Group/CoGroupByKeyImpl/Tag[1]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T08:57:05.883Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Close
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T08:57:06.140Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Close
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T08:57:06.177Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Read+assert_that/Group/CoGroupByKeyImpl/MapTuple(collect_values)+assert_that/Group/RestoreTags+assert_that/Unkey+assert_that/Match
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T08:57:06.526Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Read+assert_that/Group/CoGroupByKeyImpl/MapTuple(collect_values)+assert_that/Group/RestoreTags+assert_that/Unkey+assert_that/Match
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T08:57:06.690Z: JOB_MESSAGE_BASIC: Stopping worker pool...
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T08:59:32.626Z: JOB_MESSAGE_BASIC: Worker pool stopped.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:150 Job 2023-11-01_01_53_44-5764268883891978936 is in state JOB_STATE_DONE
INFO     apache_beam.io.gcp.bigtableio_it_test:bigtableio_it_test.py:92 Deleting table [test-table] and instance [bt-read-tests-1698828798-3384b0]
PASSED
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_with_timerange_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_column_family_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_row_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_set_mutation ERROR

==================================== ERRORS ====================================
___ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_cells_mutation ____

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
_ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_cells_with_timerange_mutation _

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
_ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_column_family_mutation _

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
____ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_row_mutation _____

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
________ ERROR at setup of TestWriteToBigtableXlangIT.test_set_mutation ________

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/ws/src/sdks/python/pytest_gcpCrossLanguage.xml> -
=========================== short test summary info ============================
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_with_timerange_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_column_family_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_row_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_set_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
==== 8 passed, 19 skipped, 7215 deselected, 5 errors in 2783.79s (0:46:23) =====

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

> Task :sdks:python:test-suites:dataflow:py38:gcpCrossLanguageCleanup
Stopping expansion service pid: 2098412.
Skipping invalid pid: 2098413.

> Task :sdks:python:test-suites:xlang:fnApiJobServerCleanup
Killing process at 2096901

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py311:gcpCrossLanguagePythonUsingJava'.
> 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.
> Get more help at https://help.gradle.org.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py38:gcpCrossLanguagePythonUsingJava'.
> 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.
> Get more help at https://help.gradle.org.
==============================================================================

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

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

For more on this, please refer to https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 1h 1m 20s
124 actionable tasks: 89 executed, 33 from cache, 2 up-to-date

Publishing build scan...
https://ge.apache.org/s/5wwktiwin6hd6

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


Build failed in Jenkins: beam_PostCommit_Python_Xlang_Gcp_Dataflow #872

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/872/display/redirect>

Changes:


------------------------------------------
[...truncated 651.50 KB...]
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
_ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_cells_with_timerange_mutation _

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
_ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_column_family_mutation _

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
____ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_row_mutation _____

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
________ ERROR at setup of TestWriteToBigtableXlangIT.test_set_mutation ________

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
=============================== warnings summary ===============================
../../build/gradleenv/2050596099/lib/python3.11/site-packages/google/api_core/operations_v1/abstract_operations_client.py:17
  <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/ws/src/build/gradleenv/2050596099/lib/python3.11/site-packages/google/api_core/operations_v1/abstract_operations_client.py>:17: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
    from distutils import util

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/ws/src/sdks/python/pytest_gcpCrossLanguage.xml> -
=========================== short test summary info ============================
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_with_timerange_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_column_family_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_row_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_set_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
= 8 passed, 19 skipped, 7215 deselected, 1 warning, 5 errors in 2823.38s (0:47:03) =

> Task :sdks:python:test-suites:dataflow:py311:gcpCrossLanguagePythonUsingJava FAILED

> Task :sdks:python:test-suites:dataflow:py311:gcpCrossLanguageCleanup
Stopping expansion service pid: 1720773.
Skipping invalid pid: 1720774.

> Task :sdks:python:test-suites:dataflow:py38:gcpCrossLanguagePythonUsingJava
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T02:56:30.407Z: JOB_MESSAGE_BASIC: All workers have finished the startup processes and began to receive work requests.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T02:56:38.478Z: JOB_MESSAGE_BASIC: Finished operation ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/BigtableIO.Read/Read(BigtableSource)/Impulse+ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/BigtableIO.Read/Read(BigtableSource)/ParDo(OutputSingleSource)/ParMultiDo(OutputSingleSource)+external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/PairWithRestriction+external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/SplitWithSizing
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T02:56:38.583Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Create
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T02:56:39.196Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Create
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T02:56:39.291Z: JOB_MESSAGE_BASIC: Executing operation external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/ProcessElementAndRestrictionWithSizing+ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/MapElements/Map/ParMultiDo(Anonymous)+ReadFromBigtable/ParDo(_BeamRowToPartialRowData)+Extract cells+assert_that/WindowInto(WindowIntoFn)+assert_that/ToVoidKey+assert_that/Group/CoGroupByKeyImpl/Tag[1]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T02:56:39.319Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Create/Impulse+assert_that/Create/FlatMap(<lambda at core.py:3774>)+assert_that/Create/Map(decode)+assert_that/Group/CoGroupByKeyImpl/Tag[0]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T02:56:40.063Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Create/Impulse+assert_that/Create/FlatMap(<lambda at core.py:3774>)+assert_that/Create/Map(decode)+assert_that/Group/CoGroupByKeyImpl/Tag[0]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T02:56:54.120Z: JOB_MESSAGE_BASIC: Finished operation external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/ProcessElementAndRestrictionWithSizing+ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/MapElements/Map/ParMultiDo(Anonymous)+ReadFromBigtable/ParDo(_BeamRowToPartialRowData)+Extract cells+assert_that/WindowInto(WindowIntoFn)+assert_that/ToVoidKey+assert_that/Group/CoGroupByKeyImpl/Tag[1]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T02:56:54.188Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Close
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T02:56:55.209Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Close
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T02:56:55.254Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Read+assert_that/Group/CoGroupByKeyImpl/MapTuple(collect_values)+assert_that/Group/RestoreTags+assert_that/Unkey+assert_that/Match
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T02:56:55.557Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Read+assert_that/Group/CoGroupByKeyImpl/MapTuple(collect_values)+assert_that/Group/RestoreTags+assert_that/Unkey+assert_that/Match
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T02:56:55.734Z: JOB_MESSAGE_BASIC: Stopping worker pool...
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-11-01T02:58:59.808Z: JOB_MESSAGE_BASIC: Worker pool stopped.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:150 Job 2023-10-31_19_53_34-8168133245105087176 is in state JOB_STATE_DONE
INFO     apache_beam.io.gcp.bigtableio_it_test:bigtableio_it_test.py:92 Deleting table [test-table] and instance [bt-read-tests-1698807188-4f6b84]
PASSED
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_with_timerange_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_column_family_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_row_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_set_mutation ERROR

==================================== ERRORS ====================================
___ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_cells_mutation ____

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
_ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_cells_with_timerange_mutation _

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
_ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_column_family_mutation _

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
____ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_row_mutation _____

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
________ ERROR at setup of TestWriteToBigtableXlangIT.test_set_mutation ________

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/ws/src/sdks/python/pytest_gcpCrossLanguage.xml> -
=========================== short test summary info ============================
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_with_timerange_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_column_family_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_row_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_set_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
==== 8 passed, 19 skipped, 7215 deselected, 5 errors in 2738.83s (0:45:38) =====

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

> Task :sdks:python:test-suites:dataflow:py38:gcpCrossLanguageCleanup
Stopping expansion service pid: 1754818.
Skipping invalid pid: 1754819.

> Task :sdks:python:test-suites:xlang:fnApiJobServerCleanup
Killing process at 1706190

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py311:gcpCrossLanguagePythonUsingJava'.
> 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.
> Get more help at https://help.gradle.org.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py38:gcpCrossLanguagePythonUsingJava'.
> 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.
> Get more help at https://help.gradle.org.
==============================================================================

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

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

For more on this, please refer to https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 1h 1m 1s
124 actionable tasks: 89 executed, 33 from cache, 2 up-to-date

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

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


Build failed in Jenkins: beam_PostCommit_Python_Xlang_Gcp_Dataflow #871

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/871/display/redirect>

Changes:


------------------------------------------
[...truncated 509.93 KB...]
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
________ ERROR at setup of TestWriteToBigtableXlangIT.test_set_mutation ________

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
=============================== warnings summary ===============================
../../build/gradleenv/2050596099/lib/python3.11/site-packages/google/api_core/operations_v1/abstract_operations_client.py:17
  <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/ws/src/build/gradleenv/2050596099/lib/python3.11/site-packages/google/api_core/operations_v1/abstract_operations_client.py>:17: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
    from distutils import util

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/ws/src/sdks/python/pytest_gcpCrossLanguage.xml> -
=========================== short test summary info ============================
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_with_timerange_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_column_family_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_row_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_set_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
= 8 passed, 19 skipped, 7213 deselected, 1 warning, 5 errors in 2737.02s (0:45:37) =

> Task :sdks:python:test-suites:dataflow:py311:gcpCrossLanguagePythonUsingJava FAILED

> Task :sdks:python:test-suites:dataflow:py311:gcpCrossLanguageCleanup
Stopping expansion service pid: 636510.
Skipping invalid pid: 636511.

> Task :sdks:python:test-suites:dataflow:py38:gcpCrossLanguagePythonUsingJava
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T21:05:59.038Z: JOB_MESSAGE_BASIC: Worker pool stopped.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:150 Job 2023-10-31_14_00_32-1128791376174754339 is in state JOB_STATE_DONE
INFO     apache_beam.io.gcp.tests.bigquery_matcher:bigquery_matcher.py:121 Attempting to perform query SELECT * FROM python_xlang_storage_write_1698786018_ed4be5.write_with_beam_rows to BQ
INFO     apache_beam.io.gcp.tests.bigquery_matcher:bigquery_matcher.py:158 Result of query is: [(2, 0.2, Decimal('2.22'), 'b', False, b'b', datetime.datetime(1970, 1, 1, 0, 33, 20, 200, tzinfo=datetime.timezone.utc)), (4, 0.4, Decimal('4.44'), 'd', False, b'd', datetime.datetime(1970, 1, 1, 1, 6, 40, 400, tzinfo=datetime.timezone.utc)), (1, 0.1, Decimal('1.11'), 'a', True, b'a', datetime.datetime(1970, 1, 1, 0, 16, 40, 100, tzinfo=datetime.timezone.utc)), (3, 0.3, Decimal('3.33'), 'c', True, b'd', datetime.datetime(1970, 1, 1, 0, 50, 0, 300, tzinfo=datetime.timezone.utc))]
INFO     apache_beam.io.external.xlang_bigqueryio_it_test:xlang_bigqueryio_it_test.py:122 Deleting dataset python_xlang_storage_write_1698786018_ed4be5 in project apache-beam-testing
PASSED
apache_beam/io/gcp/bigtableio_it_test.py::TestReadFromBigTableIT::test_read_xlang 
-------------------------------- live log call ---------------------------------
INFO     apache_beam.io.gcp.bigtableio_it_test:bigtableio_it_test.py:80 Created instance [bt-read-tests-1698786367-e703c3] in project [apache-beam-testing]
INFO     apache_beam.io.gcp.bigtableio_it_test:bigtableio_it_test.py:88 Created table [test-table]
INFO     apache_beam.runners.portability.stager:stager.py:322 Copying Beam SDK "<https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/ws/src/sdks/python/build/apache_beam-2.52.0.dev0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"> to staging location.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:395 Pipeline has additional dependencies to be installed in SDK worker container, consider using the SDK container image pre-building workflow to avoid repetitive installations. Learn more on https://cloud.google.com/dataflow/docs/guides/using-custom-containers#prebuild
INFO     root:environments.py:313 Using provided Python SDK container image: gcr.io/apache-beam-testing/beam-sdk/beam_python3.8_sdk:latest
INFO     root:environments.py:320 Python SDK container image set to "gcr.io/apache-beam-testing/beam-sdk/beam_python3.8_sdk:latest" for Docker environment
INFO     apache_beam.runners.portability.fn_api_runner.translations:translations.py:712 ==================== <function pack_combiners at 0x7ff906732ee0> ====================
INFO     apache_beam.runners.portability.fn_api_runner.translations:translations.py:712 ==================== <function sort_stages at 0x7ff90672e700> ====================
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 Starting GCS upload to gs://dataflow-staging-us-central1-77b801c0838aee13391c0d1885860494/beamapp-jenkins-1031210623-873398-1q525qnn.1698786383.873634/beam-sdks-java-io-google-cloud-platform-expansion-service-2.52.0-SNAPSHOT-pkdZ9XO8zDFu9Z8Um45-BXb4Xry6j7el9yLTqCIGffM.jar...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 Completed GCS upload to gs://dataflow-staging-us-central1-77b801c0838aee13391c0d1885860494/beamapp-jenkins-1031210623-873398-1q525qnn.1698786383.873634/beam-sdks-java-io-google-cloud-platform-expansion-service-2.52.0-SNAPSHOT-pkdZ9XO8zDFu9Z8Um45-BXb4Xry6j7el9yLTqCIGffM.jar in 6 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 Starting GCS upload to gs://dataflow-staging-us-central1-77b801c0838aee13391c0d1885860494/beamapp-jenkins-1031210623-873398-1q525qnn.1698786383.873634/apache_beam-2.52.0.dev0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 Completed GCS upload to gs://dataflow-staging-us-central1-77b801c0838aee13391c0d1885860494/beamapp-jenkins-1031210623-873398-1q525qnn.1698786383.873634/apache_beam-2.52.0.dev0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl in 0 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:668 Starting GCS upload to gs://dataflow-staging-us-central1-77b801c0838aee13391c0d1885860494/beamapp-jenkins-1031210623-873398-1q525qnn.1698786383.873634/pipeline.pb...
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:684 Completed GCS upload to gs://dataflow-staging-us-central1-77b801c0838aee13391c0d1885860494/beamapp-jenkins-1031210623-873398-1q525qnn.1698786383.873634/pipeline.pb in 0 seconds.
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:843 Create job: <Job
 clientRequestId: '20231031210623874914-9680'
 createTime: '2023-10-31T21:06:31.880540Z'
 currentStateTime: '1970-01-01T00:00:00Z'
 id: '2023-10-31_14_06_31-4708059875289394473'
 location: 'us-central1'
 name: 'beamapp-jenkins-1031210623-873398-1q525qnn'
 projectId: 'apache-beam-testing'
 stageStates: []
 startTime: '2023-10-31T21:06:31.880540Z'
 steps: []
 tempFiles: []
 type: TypeValueValuesEnum(JOB_TYPE_BATCH, 1)>
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:845 Created job with id: [2023-10-31_14_06_31-4708059875289394473]
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:846 Submitted job: 2023-10-31_14_06_31-4708059875289394473
INFO     apache_beam.runners.dataflow.internal.apiclient:apiclient.py:847 To access the Dataflow monitoring console, please navigate to https://console.cloud.google.com/dataflow/jobs/us-central1/2023-10-31_14_06_31-4708059875289394473?project=apache-beam-testing
Worker logs: https://console.cloud.google.com/dataflow/jobs/us-central1/2023-10-31_14_06_31-4708059875289394473?project=apache-beam-testing
INFO     apache_beam.runners.dataflow.test_dataflow_runner:test_dataflow_runner.py:58 Console log: 
INFO     apache_beam.runners.dataflow.test_dataflow_runner:test_dataflow_runner.py:59 https://console.cloud.google.com/dataflow/jobs/us-central1/2023-10-31_14_06_31-4708059875289394473?project=apache-beam-testing
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:150 Job 2023-10-31_14_06_31-4708059875289394473 is in state JOB_STATE_RUNNING
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T21:06:34.905Z: JOB_MESSAGE_BASIC: Worker configuration: e2-standard-2 in us-central1-b.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T21:06:37.265Z: JOB_MESSAGE_BASIC: Executing operation ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/BigtableIO.Read/Read(BigtableSource)/Impulse+ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/BigtableIO.Read/Read(BigtableSource)/ParDo(OutputSingleSource)/ParMultiDo(OutputSingleSource)+external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/PairWithRestriction+external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/SplitWithSizing
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T21:06:37.319Z: JOB_MESSAGE_BASIC: Starting 1 workers in us-central1-b...
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T21:06:44.211Z: JOB_MESSAGE_BASIC: Your project already contains 100 Dataflow-created metric descriptors, so new user metrics of the form custom.googleapis.com/* will not be created. However, all user metrics are also available in the metric dataflow.googleapis.com/job/user_counter. If you rely on the custom metrics, you can delete old / unused metric descriptors. See https://developers.google.com/apis-explorer/#p/monitoring/v3/monitoring.projects.metricDescriptors.list and https://developers.google.com/apis-explorer/#p/monitoring/v3/monitoring.projects.metricDescriptors.delete
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T21:10:16.518Z: JOB_MESSAGE_BASIC: All workers have finished the startup processes and began to receive work requests.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T21:10:23.336Z: JOB_MESSAGE_BASIC: Finished operation ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/BigtableIO.Read/Read(BigtableSource)/Impulse+ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/BigtableIO.Read/Read(BigtableSource)/ParDo(OutputSingleSource)/ParMultiDo(OutputSingleSource)+external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/PairWithRestriction+external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/SplitWithSizing
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T21:10:23.431Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Create
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T21:10:23.763Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Create
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T21:10:23.847Z: JOB_MESSAGE_BASIC: Executing operation external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/ProcessElementAndRestrictionWithSizing+ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/MapElements/Map/ParMultiDo(Anonymous)+ReadFromBigtable/ParDo(_BeamRowToPartialRowData)+Extract cells+assert_that/WindowInto(WindowIntoFn)+assert_that/ToVoidKey+assert_that/Group/CoGroupByKeyImpl/Tag[1]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T21:10:23.874Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Create/Impulse+assert_that/Create/FlatMap(<lambda at core.py:3774>)+assert_that/Create/Map(decode)+assert_that/Group/CoGroupByKeyImpl/Tag[0]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T21:10:24.221Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Create/Impulse+assert_that/Create/FlatMap(<lambda at core.py:3774>)+assert_that/Create/Map(decode)+assert_that/Group/CoGroupByKeyImpl/Tag[0]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T21:10:43.948Z: JOB_MESSAGE_BASIC: Finished operation external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/ProcessElementAndRestrictionWithSizing+ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/MapElements/Map/ParMultiDo(Anonymous)+ReadFromBigtable/ParDo(_BeamRowToPartialRowData)+Extract cells+assert_that/WindowInto(WindowIntoFn)+assert_that/ToVoidKey+assert_that/Group/CoGroupByKeyImpl/Tag[1]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T21:10:43.990Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Close
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T21:10:45.115Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Close
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T21:10:45.178Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Read+assert_that/Group/CoGroupByKeyImpl/MapTuple(collect_values)+assert_that/Group/RestoreTags+assert_that/Unkey+assert_that/Match
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T21:10:45.496Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Read+assert_that/Group/CoGroupByKeyImpl/MapTuple(collect_values)+assert_that/Group/RestoreTags+assert_that/Unkey+assert_that/Match
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T21:10:45.642Z: JOB_MESSAGE_BASIC: Stopping worker pool...
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T21:12:49.998Z: JOB_MESSAGE_BASIC: Worker pool stopped.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:150 Job 2023-10-31_14_06_31-4708059875289394473 is in state JOB_STATE_DONE
INFO     apache_beam.io.gcp.bigtableio_it_test:bigtableio_it_test.py:92 Deleting table [test-table] and instance [bt-read-tests-1698786367-e703c3]
PASSED
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_with_timerange_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_column_family_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_row_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_set_mutation ERROR

==================================== ERRORS ====================================
___ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_cells_mutation ____

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
_ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_cells_with_timerange_mutation _

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
_ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_column_family_mutation _

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
____ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_row_mutation _____

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
________ ERROR at setup of TestWriteToBigtableXlangIT.test_set_mutation ________

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/ws/src/sdks/python/pytest_gcpCrossLanguage.xml> -
=========================== short test summary info ============================
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_with_timerange_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_column_family_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_row_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_set_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
==== 8 passed, 19 skipped, 7213 deselected, 5 errors in 2855.44s (0:47:35) =====

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

> Task :sdks:python:test-suites:dataflow:py38:gcpCrossLanguageCleanup
Stopping expansion service pid: 659419.
Skipping invalid pid: 659420.

> Task :sdks:python:test-suites:xlang:fnApiJobServerCleanup
Killing process at 626585

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py311:gcpCrossLanguagePythonUsingJava'.
> 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.
> Get more help at https://help.gradle.org.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py38:gcpCrossLanguagePythonUsingJava'.
> 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.
> Get more help at https://help.gradle.org.
==============================================================================

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

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

For more on this, please refer to https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 1h 14m 43s
124 actionable tasks: 89 executed, 33 from cache, 2 up-to-date

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

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


Build failed in Jenkins: beam_PostCommit_Python_Xlang_Gcp_Dataflow #870

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/870/display/redirect>

Changes:


------------------------------------------
[...truncated 655.00 KB...]
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
_ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_cells_with_timerange_mutation _

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
_ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_column_family_mutation _

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
____ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_row_mutation _____

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
________ ERROR at setup of TestWriteToBigtableXlangIT.test_set_mutation ________

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
=============================== warnings summary ===============================
../../build/gradleenv/2050596099/lib/python3.11/site-packages/google/api_core/operations_v1/abstract_operations_client.py:17
  <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/ws/src/build/gradleenv/2050596099/lib/python3.11/site-packages/google/api_core/operations_v1/abstract_operations_client.py>:17: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
    from distutils import util

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/ws/src/sdks/python/pytest_gcpCrossLanguage.xml> -
=========================== short test summary info ============================
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_with_timerange_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_column_family_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_row_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_set_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
= 8 passed, 19 skipped, 7213 deselected, 1 warning, 5 errors in 2877.36s (0:47:57) =

> Task :sdks:python:test-suites:dataflow:py311:gcpCrossLanguagePythonUsingJava FAILED

> Task :sdks:python:test-suites:dataflow:py311:gcpCrossLanguageCleanup
Stopping expansion service pid: 4136201.
Skipping invalid pid: 4136202.

> Task :sdks:python:test-suites:dataflow:py38:gcpCrossLanguagePythonUsingJava
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T15:00:10.283Z: JOB_MESSAGE_BASIC: All workers have finished the startup processes and began to receive work requests.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T15:00:15.566Z: JOB_MESSAGE_BASIC: Finished operation ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/BigtableIO.Read/Read(BigtableSource)/Impulse+ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/BigtableIO.Read/Read(BigtableSource)/ParDo(OutputSingleSource)/ParMultiDo(OutputSingleSource)+external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/PairWithRestriction+external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/SplitWithSizing
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T15:00:15.669Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Create
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T15:00:16.404Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Create
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T15:00:16.495Z: JOB_MESSAGE_BASIC: Executing operation external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/ProcessElementAndRestrictionWithSizing+ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/MapElements/Map/ParMultiDo(Anonymous)+ReadFromBigtable/ParDo(_BeamRowToPartialRowData)+Extract cells+assert_that/WindowInto(WindowIntoFn)+assert_that/ToVoidKey+assert_that/Group/CoGroupByKeyImpl/Tag[1]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T15:00:16.516Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Create/Impulse+assert_that/Create/FlatMap(<lambda at core.py:3774>)+assert_that/Create/Map(decode)+assert_that/Group/CoGroupByKeyImpl/Tag[0]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T15:00:16.866Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Create/Impulse+assert_that/Create/FlatMap(<lambda at core.py:3774>)+assert_that/Create/Map(decode)+assert_that/Group/CoGroupByKeyImpl/Tag[0]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T15:00:40.022Z: JOB_MESSAGE_BASIC: Finished operation external_9ReadFromBigtable-SchemaAwareExternalTransform-beam-schematransform-org-apache-beam-bigtable_read-v1-3/ProcessElementAndRestrictionWithSizing+ReadFromBigtable/SchemaAwareExternalTransform/beam:schematransform:org.apache.beam:bigtable_read:v1/MapElements/Map/ParMultiDo(Anonymous)+ReadFromBigtable/ParDo(_BeamRowToPartialRowData)+Extract cells+assert_that/WindowInto(WindowIntoFn)+assert_that/ToVoidKey+assert_that/Group/CoGroupByKeyImpl/Tag[1]+assert_that/Group/CoGroupByKeyImpl/Flatten/OutputIdentity+assert_that/Group/CoGroupByKeyImpl/GroupByKey/Write
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T15:00:40.071Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Close
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T15:00:41.072Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Close
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T15:00:41.132Z: JOB_MESSAGE_BASIC: Executing operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Read+assert_that/Group/CoGroupByKeyImpl/MapTuple(collect_values)+assert_that/Group/RestoreTags+assert_that/Unkey+assert_that/Match
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T15:00:41.518Z: JOB_MESSAGE_BASIC: Finished operation assert_that/Group/CoGroupByKeyImpl/GroupByKey/Read+assert_that/Group/CoGroupByKeyImpl/MapTuple(collect_values)+assert_that/Group/RestoreTags+assert_that/Unkey+assert_that/Match
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T15:00:41.708Z: JOB_MESSAGE_BASIC: Stopping worker pool...
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:200 2023-10-31T15:03:04.694Z: JOB_MESSAGE_BASIC: Worker pool stopped.
INFO     apache_beam.runners.dataflow.dataflow_runner:dataflow_runner.py:150 Job 2023-10-31_07_57_21-10056308068764651644 is in state JOB_STATE_DONE
INFO     apache_beam.io.gcp.bigtableio_it_test:bigtableio_it_test.py:92 Deleting table [test-table] and instance [bt-read-tests-1698764214-1566f4]
PASSED
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_with_timerange_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_column_family_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_row_mutation ERROR
apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_set_mutation ERROR

==================================== ERRORS ====================================
___ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_cells_mutation ____

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
_ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_cells_with_timerange_mutation _

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
_ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_column_family_mutation _

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
____ ERROR at setup of TestWriteToBigtableXlangIT.test_delete_row_mutation _____

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
________ ERROR at setup of TestWriteToBigtableXlangIT.test_set_mutation ________

cls = <class 'apache_beam.io.gcp.bigtableio_it_test.TestWriteToBigtableXlangIT'>

    @classmethod
    def setUpClass(cls):
      cls.test_pipeline = TestPipeline(is_integration_test=True)
      cls.project = cls.test_pipeline.get_option('project')
      cls.args = cls.test_pipeline.get_full_options_as_args()
      cls.expansion_service = ('localhost:%s' % os.environ.get('EXPANSION_PORT'))
    
>     timestr = "".join(filter(str.isdigit, str(datetime.datetime.utcnow())))
E     AttributeError: type object 'datetime.datetime' has no attribute 'datetime'

apache_beam/io/gcp/bigtableio_it_test.py:163: AttributeError
- generated xml file: <https://ci-beam.apache.org/job/beam_PostCommit_Python_Xlang_Gcp_Dataflow/ws/src/sdks/python/pytest_gcpCrossLanguage.xml> -
=========================== short test summary info ============================
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_cells_with_timerange_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_column_family_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_delete_row_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
ERROR apache_beam/io/gcp/bigtableio_it_test.py::TestWriteToBigtableXlangIT::test_set_mutation - AttributeError: type object 'datetime.datetime' has no attribute 'datetime'
==== 8 passed, 19 skipped, 7213 deselected, 5 errors in 2879.44s (0:47:59) =====

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

> Task :sdks:python:test-suites:dataflow:py38:gcpCrossLanguageCleanup
Stopping expansion service pid: 4137197.
Skipping invalid pid: 4137198.

> Task :sdks:python:test-suites:xlang:fnApiJobServerCleanup
Killing process at 4135275

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py311:gcpCrossLanguagePythonUsingJava'.
> 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.
> Get more help at https://help.gradle.org.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:test-suites:dataflow:py38:gcpCrossLanguagePythonUsingJava'.
> 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.
> Get more help at https://help.gradle.org.
==============================================================================

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

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

For more on this, please refer to https://docs.gradle.org/8.4/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 1h 4m 45s
124 actionable tasks: 90 executed, 32 from cache, 2 up-to-date

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

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