mik-laj commented on pull request #18945:
URL: https://github.com/apache/airflow/pull/18945#issuecomment-948179409
These changes looks related to this contribution
```
==== Providers postgres: 13 failures ====
tests/providers/google/cloud/hooks/test_dataproc_metastore.py::TestDataprocMetastoreWithDefaultProjectIdHook::test_create_service:
AssertionError: Expected call: create_service(metadata=None,
request={'parent': 'projects/test-project-id/locations/test-region',
'service_id': 'test-service-id', 'service': {}, 'request_id': None},
retry=None, timeout=None)
Actual call: create_service(metadata=(), request={'parent':
'projects/test-project-id/locations/test-region', 'service_id':
'test-service-id', 'service': {'name': 'test-service'}, 'request_id': None},
retry=None, timeout=None)
tests/providers/google/cloud/hooks/test_dataproc_metastore.py::TestDataprocMetastoreWithDefaultProjectIdHook::test_update_service:
google.auth.exceptions.DefaultCredentialsError: Could not automatically
determine credentials. Please set GOOGLE_APPLICATION_CREDENTIALS or explicitly
create credentials and re-run the application. For more information, please see
https://cloud.google.com/docs/authentication/getting-started
tests/providers/google/cloud/hooks/test_dataproc_metastore.py::TestDataprocMetastoreWithoutDefaultProjectIdHook::test_create_service:
AssertionError: Expected call: create_service(metadata=None,
request={'parent': 'projects/test-project-id/locations/test-region',
'service_id': 'test-service-id', 'service': {'name': 'test-service'},
'request_id': None}, retry=None, timeout=None)
Actual call: create_service(metadata=(), request={'parent':
'projects/test-project-id/locations/test-region', 'service_id':
'test-service-id', 'service': {'name': 'test-service'}, 'request_id': None},
retry=None, timeout=None)
tests/providers/google/cloud/hooks/test_dataproc_metastore.py::TestDataprocMetastoreWithoutDefaultProjectIdHook::test_update_service:
google.auth.exceptions.DefaultCredentialsError: Could not automatically
determine credentials. Please set GOOGLE_APPLICATION_CREDENTIALS or explicitly
create credentials and re-run the application. For more information, please see
https://cloud.google.com/docs/authentication/getting-started
tests/providers/google/cloud/operators/test_dataproc_metastore.py::TestDataprocMetastoreCreateBackupOperator::test_assert_valid_hook_call:
TypeError: <MagicMock name='DataprocMetastoreHook().wait_for_operation()'
id='140010347401960'> is not an instance of Backup
tests/providers/google/cloud/operators/test_dataproc_metastore.py::TestDataprocMetastoreCreateMetadataImportOperator::test_assert_valid_hook_call:
TypeError: <MagicMock name='DataprocMetastoreHook().wait_for_operation()'
id='140010430133976'> is not an instance of MetadataImport
tests/providers/google/cloud/operators/test_dataproc_metastore.py::TestDataprocMetastoreCreateServiceOperator::test_execute:
TypeError: <MagicMock name='DataprocMetastoreHook().wait_for_operation()'
id='140010332321160'> is not an instance of Service
tests/providers/google/cloud/operators/test_dataproc_metastore.py::TestDataprocMetastoreDeleteBackupOperator::test_assert_valid_hook_call:
AssertionError: Expected call:
DataprocMetastoreHook(gcp_conn_id='test-gcp-conn-id')
Actual call: DataprocMetastoreHook(gcp_conn_id='test-gcp-conn-id',
impersonation_chain=None)
tests/providers/google/cloud/operators/test_dataproc_metastore.py::TestDataprocMetastoreExportMetadataOperator::test_assert_valid_hook_call:
airflow.exceptions.AirflowException: Argument ['service_id'] is required
tests/providers/google/cloud/operators/test_dataproc_metastore.py::TestDataprocMetastoreGetServiceOperator::test_execute:
TypeError: <MagicMock name='DataprocMetastoreHook().get_service()'
id='140010395853488'> is not an instance of Service
tests/providers/google/cloud/operators/test_dataproc_metastore.py::TestDataprocMetastoreListBackupsOperator::test_assert_valid_hook_call:
AssertionError: Expected call:
DataprocMetastoreHook(gcp_conn_id='test-gcp-conn-id')
Actual call: DataprocMetastoreHook(gcp_conn_id='test-gcp-conn-id',
impersonation_chain=None)
tests/providers/google/cloud/operators/test_dataproc_metastore.py::TestDataprocMetastoreRestoreServiceOperator::test_assert_valid_hook_call:
Failed: Timeout >60.0s
tests/providers/google/cloud/operators/test_dataproc_metastore.py::TestDataprocMetastoreUpdateServiceOperator::test_assert_valid_hook_call:
AssertionError: Expected call:
DataprocMetastoreHook(gcp_conn_id='test-gcp-conn-id')
Actual call: DataprocMetastoreHook(gcp_conn_id='test-gcp-conn-id',
impersonation_chain=None)
Error: Process completed with exit code 1.
```
https://github.com/apache/airflow/pull/18945/checks?check_run_id=3953505880
```
Run codespell to check for common misspellings in
files..................................Failed
- hook id: codespell
- exit code: 65
airflow/providers/google/cloud/operators/dataproc_metastore.py:46:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/operators/dataproc_metastore.py:60:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/operators/dataproc_metastore.py:168:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/operators/dataproc_metastore.py:182:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/operators/dataproc_metastore.py:281:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/operators/dataproc_metastore.py:385:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/operators/dataproc_metastore.py:393:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/operators/dataproc_metastore.py:549:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/operators/dataproc_metastore.py:664:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/operators/dataproc_metastore.py:743:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/operators/dataproc_metastore.py:834:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/operators/dataproc_metastore.py:849:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/operators/dataproc_metastore.py:974:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/hooks/dataproc_metastore.py:76: alpha-numeric
==> alphanumeric
airflow/providers/google/cloud/hooks/dataproc_metastore.py:90: alpha-numeric
==> alphanumeric
airflow/providers/google/cloud/hooks/dataproc_metastore.py:142:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/hooks/dataproc_metastore.py:156:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/hooks/dataproc_metastore.py:214:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/hooks/dataproc_metastore.py:266:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/hooks/dataproc_metastore.py:274:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/hooks/dataproc_metastore.py:322:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/hooks/dataproc_metastore.py:378:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/hooks/dataproc_metastore.py:431:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/hooks/dataproc_metastore.py:480:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/hooks/dataproc_metastore.py:558:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/hooks/dataproc_metastore.py:573:
alpha-numeric ==> alphanumeric
airflow/providers/google/cloud/hooks/dataproc_metastore.py:631:
alpha-numeric ==> alphanumeric
```
https://github.com/apache/airflow/pull/18945/checks?check_run_id=3953505494
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]