Yichi Zhang created BEAM-13388:
----------------------------------
Summary: [beam_PostCommit_Python38]
[apache_beam.ml.gcp.cloud_dlp_it_test.CloudDLPIT.test_deidentification] Failure
summary
Key: BEAM-13388
URL: https://issues.apache.org/jira/browse/BEAM-13388
Project: Beam
Issue Type: Bug
Components: test-failures
Reporter: Yichi Zhang
_Use this form to file an issue for test failure:_
* [Jenkins Job|TODO]
* [Gradle Build Scan|TODO]
* [Test source code|TODO]
Initial investigation:
{code:java}
E
apache_beam.runners.dataflow.dataflow_runner.DataflowRuntimeException: Dataflow
pipeline failed. State: FAILED, Error:
E Traceback (most recent call last):
E File "apache_beam/runners/common.py", line 1239, in
apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
E File "apache_beam/runners/common.py", line 465, in
apache_beam.runners.common.DoFnInvoker.invoke_setup
E File
"/usr/local/lib/python3.8/site-packages/apache_beam/ml/gcp/cloud_dlp.py", line
193, in setup
E 'parent': self.client.project_path(self.project)
E AttributeError: 'DlpServiceClient' object has no attribute
'project_path'
E
E During handling of the above exception, another exception occurred:
E
E Traceback (most recent call last):
E File
"/usr/local/lib/python3.8/site-packages/dataflow_worker/batchworker.py", line
644, in do_work
E work_executor.execute()
E File
"/usr/local/lib/python3.8/site-packages/dataflow_worker/executor.py", line 208,
in execute
E op.start()
E File "apache_beam/runners/worker/operations.py", line 699, in
apache_beam.runners.worker.operations.DoOperation.start
E File "apache_beam/runners/worker/operations.py", line 701, in
apache_beam.runners.worker.operations.DoOperation.start
E File "apache_beam/runners/worker/operations.py", line 702, in
apache_beam.runners.worker.operations.DoOperation.start
E File "apache_beam/runners/worker/operations.py", line 300, in
apache_beam.runners.worker.operations.Operation.start
E File "apache_beam/runners/worker/operations.py", line 306, in
apache_beam.runners.worker.operations.Operation.start
E File "apache_beam/runners/worker/operations.py", line 648, in
apache_beam.runners.worker.operations.DoOperation.setup
E File "apache_beam/runners/worker/operations.py", line 697, in
apache_beam.runners.worker.operations.DoOperation.setup
E File "apache_beam/runners/common.py", line 1245, in
apache_beam.runners.common.DoFnRunner.setup
E File "apache_beam/runners/common.py", line 1241, in
apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
E File "apache_beam/runners/common.py", line 1281, in
apache_beam.runners.common.DoFnRunner._reraise_augmented
E File "apache_beam/runners/common.py", line 1239, in
apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
E File "apache_beam/runners/common.py", line 465, in
apache_beam.runners.common.DoFnInvoker.invoke_setup
E File
"/usr/local/lib/python3.8/site-packages/apache_beam/ml/gcp/cloud_dlp.py", line
193, in setup
E 'parent': self.client.project_path(self.project)
E AttributeError: 'DlpServiceClient' object has no attribute
'project_path' [while running 'MaskDetectedDetails/ParDo(_DeidentifyFn)']
{code}
Seems google-cloud-dlp package has backward uncompatible change.
(Add any investigation notes so far)
----
_After you've filled out the above details, please [assign the issue to an
individual|https://beam.apache.org/contribute/postcommits-guides/index.html#find_specialist].
Assignee should [treat test failures as
high-priority|https://beam.apache.org/contribute/postcommits-policies/#assigned-failing-test],
helping to fix the issue or find a more appropriate owner. See [Apache Beam
Post-Commit Policies|https://beam.apache.org/contribute/postcommits-policies]._
--
This message was sent by Atlassian Jira
(v8.20.1#820001)