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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to