databrickslabs / ucx

Automated migrations to Unity Catalog
Other
235 stars 80 forks source link

Test failure: `test_permission_for_files_anonymous_func_migration_api` #3265

Open github-actions[bot] opened 2 days ago

github-actions[bot] commented 2 days ago
❌ test_permission_for_files_anonymous_func_migration_api: AssertionError: assert 'sdk-cJOg-ra78a57ccb' in {} (11m23.835s) ``` AssertionError: assert 'sdk-cJOg-ra78a57ccb' in {} + where 'sdk-cJOg-ra78a57ccb' = MigratedGroup(id_in_workspace='787563426366891', name_in_workspace='sdk-DLBl-ra78a57ccb', name_in_account='sdk-cJOg-ra78a57ccb', temporary_name='tmp-sdk-DLBl-ra78a57ccb', members=None, entitlements=None, external_id=None, roles=None).name_in_account 05:48 INFO [databricks.sdk] Using Databricks Metadata Service authentication 05:48 INFO [databricks.sdk] Using Databricks Metadata Service authentication 05:48 INFO [databricks.labs.pytester.fixtures.iam] Workspace group sdk-DLBl-ra78a57ccb: https://DATABRICKS_HOST#setting/accounts/groups/787563426366891 05:49 INFO [databricks.labs.pytester.fixtures.iam] Account group sdk-cJOg-ra78a57ccb: https://accounts.CLOUD_ENVdatabricks.net/users/groups/1006943753044951/members [gw1] linux -- Python 3.10.15 /home/runner/work/ucx/ucx/.venv/bin/python 05:48 INFO [databricks.sdk] Using Databricks Metadata Service authentication 05:48 INFO [databricks.sdk] Using Databricks Metadata Service authentication 05:48 INFO [databricks.labs.pytester.fixtures.iam] Workspace group sdk-DLBl-ra78a57ccb: https://DATABRICKS_HOST#setting/accounts/groups/787563426366891 05:49 INFO [databricks.labs.pytester.fixtures.iam] Account group sdk-cJOg-ra78a57ccb: https://accounts.CLOUD_ENVdatabricks.net/users/groups/1006943753044951/members 05:49 INFO [databricks.labs.pytester.fixtures.baseline] Created hive_metastore.dummy_soczp schema: https://DATABRICKS_HOST/#explore/data/hive_metastore/dummy_soczp 05:49 INFO [databricks.labs.pytester.fixtures.baseline] Created ucx_wuqIvsaIM6zWMk5s catalog: https://DATABRICKS_HOST/#explore/data/ucx_wuqIvsaIM6zWMk5s 05:49 INFO [databricks.labs.ucx.workspace_access.groups] Migrating permissions for 1 account groups. 05:49 INFO [databricks.labs.ucx.workspace_access.groups] Migrating permissions: sdk-DLBl-ra78a57ccb (workspace) -> sdk-cJOg-ra78a57ccb (account) starting 05:49 INFO [databricks.labs.ucx.workspace_access.groups] Migrating permissions: sdk-DLBl-ra78a57ccb (workspace) -> sdk-cJOg-ra78a57ccb (account) progress=2(+2) 05:49 INFO [databricks.labs.ucx.workspace_access.groups] Migrating permissions: sdk-DLBl-ra78a57ccb (workspace) -> sdk-cJOg-ra78a57ccb (account) finished 05:49 INFO [databricks.labs.ucx.workspace_access.groups] Migrated 2 permissions: sdk-DLBl-ra78a57ccb (workspace) -> sdk-cJOg-ra78a57ccb (account) 05:49 INFO [databricks.labs.ucx.workspace_access.groups] Migrated 2 permissions for 1/1 groups successfully. 06:00 ERROR [databricks.labs.ucx.hive_metastore.grants] Couldn't fetch grants for object ANY FILE : TEMPORARILY_UNAVAILABLE: The service at /api/2.0/sql-acl/get-permissions is taking too long to process your request. Please try again later or try a faster operation. [TraceId: 00-d0afb16334cd3b66f4d837daa9c79cf3-6cccd1011e467395-01] 05:48 INFO [databricks.sdk] Using Databricks Metadata Service authentication 05:48 INFO [databricks.sdk] Using Databricks Metadata Service authentication 05:48 INFO [databricks.labs.pytester.fixtures.iam] Workspace group sdk-DLBl-ra78a57ccb: https://DATABRICKS_HOST#setting/accounts/groups/787563426366891 05:49 INFO [databricks.labs.pytester.fixtures.iam] Account group sdk-cJOg-ra78a57ccb: https://accounts.CLOUD_ENVdatabricks.net/users/groups/1006943753044951/members 05:49 INFO [databricks.labs.pytester.fixtures.baseline] Created hive_metastore.dummy_soczp schema: https://DATABRICKS_HOST/#explore/data/hive_metastore/dummy_soczp 05:49 INFO [databricks.labs.pytester.fixtures.baseline] Created ucx_wuqIvsaIM6zWMk5s catalog: https://DATABRICKS_HOST/#explore/data/ucx_wuqIvsaIM6zWMk5s 05:49 INFO [databricks.labs.ucx.workspace_access.groups] Migrating permissions for 1 account groups. 05:49 INFO [databricks.labs.ucx.workspace_access.groups] Migrating permissions: sdk-DLBl-ra78a57ccb (workspace) -> sdk-cJOg-ra78a57ccb (account) starting 05:49 INFO [databricks.labs.ucx.workspace_access.groups] Migrating permissions: sdk-DLBl-ra78a57ccb (workspace) -> sdk-cJOg-ra78a57ccb (account) progress=2(+2) 05:49 INFO [databricks.labs.ucx.workspace_access.groups] Migrating permissions: sdk-DLBl-ra78a57ccb (workspace) -> sdk-cJOg-ra78a57ccb (account) finished 05:49 INFO [databricks.labs.ucx.workspace_access.groups] Migrated 2 permissions: sdk-DLBl-ra78a57ccb (workspace) -> sdk-cJOg-ra78a57ccb (account) 05:49 INFO [databricks.labs.ucx.workspace_access.groups] Migrated 2 permissions for 1/1 groups successfully. 06:00 ERROR [databricks.labs.ucx.hive_metastore.grants] Couldn't fetch grants for object ANY FILE : TEMPORARILY_UNAVAILABLE: The service at /api/2.0/sql-acl/get-permissions is taking too long to process your request. Please try again later or try a faster operation. [TraceId: 00-d0afb16334cd3b66f4d837daa9c79cf3-6cccd1011e467395-01] [gw1] linux -- Python 3.10.15 /home/runner/work/ucx/ucx/.venv/bin/python ```

Running from nightly #265

nfx commented 2 days ago

06:00 ERROR [databricks.labs.ucx.hive_metastore.grants] Couldn't fetch grants for object ANY FILE : TEMPORARILY_UNAVAILABLE: The service at /api/2.0/sql-acl/get-permissions is taking too long to process your request. Please try again later or try a faster operation. [TraceId: 00-d0afb16334cd3b66f4d837daa9c79cf3-6cccd1011e467395-01]

i see...