Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy static views needed by #1123 interactive dashboard #1139

Merged
merged 2 commits into from
Mar 27, 2024

Conversation

dmoore247
Copy link
Contributor

Changes

Deploy views misc_patterns_vw and code_patterns_vw that should have been deployed with #1123 and fixes the interactive dashboard queries.

Functionality

  • added relevant user documentation
  • added new CLI command
  • modified existing command: databricks labs ucx ...
  • added a new workflow
  • modified existing workflow: ...
  • added a new table
  • modified existing table: ...

Tests

  • manually tested
  • added unit tests
  • added integration tests
  • verified on staging environment (screenshot attached)
  • [ ]
    image

@dmoore247 dmoore247 requested review from a team and alexott March 27, 2024 16:42
@dmoore247 dmoore247 self-assigned this Mar 27, 2024
Copy link

codecov bot commented Mar 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.73%. Comparing base (8c59632) to head (4979d7c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1139      +/-   ##
==========================================
- Coverage   89.76%   89.73%   -0.03%     
==========================================
  Files          61       61              
  Lines        7229     7231       +2     
  Branches     1298     1298              
==========================================
  Hits         6489     6489              
- Misses        476      478       +2     
  Partials      264      264              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Mar 27, 2024

❌ 126/132 passed, 6 failed, 20 skipped, 1h27m46s total

❌ test_migrate_external_table: databricks.labs.blueprint.parallel.ManyError: Detected 1 failures: BadRequest: PERMISSION_DENIED: Failed to get credentials: Storage Credential TEST_STORAGE_CREDENTIAL is not configured correctly. Please contact the owner or your account admin to update the configuration. (11.364s)
databricks.labs.blueprint.parallel.ManyError: Detected 1 failures: BadRequest: PERMISSION_DENIED: Failed to get credentials: Storage Credential TEST_STORAGE_CREDENTIAL is not configured correctly. Please contact the owner or your account admin to update the configuration.
18:20 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_sho1t: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_sho1t
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_sho1t', metastore_id=None, name='ucx_sho1t', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
[gw7] linux -- Python 3.10.13 /home/runner/work/ucx/ucx/.venv/bin/python
18:20 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_sho1t: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_sho1t
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_sho1t', metastore_id=None, name='ucx_sho1t', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:20 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_sllng: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_sllng
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_sllng', metastore_id=None, name='ucx_sllng', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] added make_dbfs_data_copy fixture: dbfs:/mnt/TEST_MOUNT_NAME/a/b/slnM
18:20 INFO [databricks.labs.ucx.mixins.fixtures] Table hive_metastore.ucx_sllng.ucx_tzqnz: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_sllng/ucx_tzqnz
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] added table fixture: TableInfo(access_point=None, browse_only=None, catalog_name='hive_metastore', columns=None, comment=None, created_at=None, created_by=None, data_access_configuration_id=None, data_source_format=<DataSourceFormat.CSV: 'CSV'>, deleted_at=None, delta_runtime_properties_kvpairs=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, encryption_details=None, full_name='hive_metastore.ucx_sllng.ucx_tzqnz', metastore_id=None, name='ucx_tzqnz', owner=None, pipeline_id=None, properties=None, row_filter=None, schema_name='ucx_sllng', sql_path=None, storage_credential_name=None, storage_location='dbfs:/mnt/TEST_MOUNT_NAME/a/b/slnM', table_constraints=None, table_id=None, table_type=<TableType.EXTERNAL: 'EXTERNAL'>, updated_at=None, updated_by=None, view_definition=None, view_dependencies=None)
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] added catalog fixture: CatalogInfo(browse_only=False, catalog_type=<CatalogType.MANAGED_CATALOG: 'MANAGED_CATALOG'>, comment='', connection_name=None, created_at=1711563617867, created_by='0a330eb5-dd51-4d97-b6e4-c474356b1d5d', effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='ucx_culfq', isolation_mode=<IsolationMode.OPEN: 'OPEN'>, metastore_id='8952c1e3-b265-4adf-98c3-6f755e2e1453', name='ucx_culfq', options=None, owner='0a330eb5-dd51-4d97-b6e4-c474356b1d5d', properties=None, provider_name=None, provisioning_info=None, securable_kind=<CatalogInfoSecurableKind.CATALOG_STANDARD: 'CATALOG_STANDARD'>, securable_type='CATALOG', share_name=None, storage_location=None, storage_root=None, updated_at=1711563617867, updated_by='0a330eb5-dd51-4d97-b6e4-c474356b1d5d')
18:20 INFO [databricks.labs.ucx.mixins.fixtures] Schema ucx_culfq.ucx_sllng: https://DATABRICKS_HOST/explore/data/ucx_culfq/ucx_sllng
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='ucx_culfq', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='ucx_culfq.ucx_sllng', metastore_id=None, name='ucx_sllng', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:20 INFO [tests.integration.hive_metastore.test_migrate] dst_catalog=ucx_culfq, external_table=hive_metastore.ucx_sllng.ucx_tzqnz
18:20 DEBUG [databricks.labs.ucx.hive_metastore.table_migrate] Migrating external table hive_metastore.ucx_sllng.ucx_tzqnz to using SQL query: SYNC TABLE ucx_culfq.ucx_sllng.ucx_tzqnz FROM hive_metastore.ucx_sllng.ucx_tzqnz;
18:20 ERROR [databricks.labs.blueprint.parallel] migrate tables task failed: PERMISSION_DENIED: Failed to get credentials: Storage Credential TEST_STORAGE_CREDENTIAL is not configured correctly. Please contact the owner or your account admin to update the configuration.
Traceback (most recent call last):
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/blueprint/parallel.py", line 135, in inner
    return func(*args, **kwargs), None
  File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/hive_metastore/table_migrate.py", line 111, in _migrate_table
    return self._migrate_external_table(src_table, rule, grants)
  File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/hive_metastore/table_migrate.py", line 128, in _migrate_external_table
    self._backend.execute(src_table.sql_alter_from(rule.as_uc_table_key, self._ws.get_workspace_id()))
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/backends.py", line 142, in execute
    self._sql.execute(sql)
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/core.py", line 238, in execute
    self._raise_if_needed(status)
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/core.py", line 473, in _raise_if_needed
    raise error_class(error_message)
databricks.sdk.errors.platform.BadRequest: PERMISSION_DENIED: Failed to get credentials: Storage Credential TEST_STORAGE_CREDENTIAL is not configured correctly. Please contact the owner or your account admin to update the configuration.
18:20 CRITICAL [databricks.labs.blueprint.parallel] All 'migrate tables' tasks failed!!!
18:20 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_sho1t: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_sho1t
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_sho1t', metastore_id=None, name='ucx_sho1t', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:20 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_sllng: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_sllng
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_sllng', metastore_id=None, name='ucx_sllng', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] added make_dbfs_data_copy fixture: dbfs:/mnt/TEST_MOUNT_NAME/a/b/slnM
18:20 INFO [databricks.labs.ucx.mixins.fixtures] Table hive_metastore.ucx_sllng.ucx_tzqnz: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_sllng/ucx_tzqnz
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] added table fixture: TableInfo(access_point=None, browse_only=None, catalog_name='hive_metastore', columns=None, comment=None, created_at=None, created_by=None, data_access_configuration_id=None, data_source_format=<DataSourceFormat.CSV: 'CSV'>, deleted_at=None, delta_runtime_properties_kvpairs=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, encryption_details=None, full_name='hive_metastore.ucx_sllng.ucx_tzqnz', metastore_id=None, name='ucx_tzqnz', owner=None, pipeline_id=None, properties=None, row_filter=None, schema_name='ucx_sllng', sql_path=None, storage_credential_name=None, storage_location='dbfs:/mnt/TEST_MOUNT_NAME/a/b/slnM', table_constraints=None, table_id=None, table_type=<TableType.EXTERNAL: 'EXTERNAL'>, updated_at=None, updated_by=None, view_definition=None, view_dependencies=None)
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] added catalog fixture: CatalogInfo(browse_only=False, catalog_type=<CatalogType.MANAGED_CATALOG: 'MANAGED_CATALOG'>, comment='', connection_name=None, created_at=1711563617867, created_by='0a330eb5-dd51-4d97-b6e4-c474356b1d5d', effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='ucx_culfq', isolation_mode=<IsolationMode.OPEN: 'OPEN'>, metastore_id='8952c1e3-b265-4adf-98c3-6f755e2e1453', name='ucx_culfq', options=None, owner='0a330eb5-dd51-4d97-b6e4-c474356b1d5d', properties=None, provider_name=None, provisioning_info=None, securable_kind=<CatalogInfoSecurableKind.CATALOG_STANDARD: 'CATALOG_STANDARD'>, securable_type='CATALOG', share_name=None, storage_location=None, storage_root=None, updated_at=1711563617867, updated_by='0a330eb5-dd51-4d97-b6e4-c474356b1d5d')
18:20 INFO [databricks.labs.ucx.mixins.fixtures] Schema ucx_culfq.ucx_sllng: https://DATABRICKS_HOST/explore/data/ucx_culfq/ucx_sllng
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='ucx_culfq', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='ucx_culfq.ucx_sllng', metastore_id=None, name='ucx_sllng', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:20 INFO [tests.integration.hive_metastore.test_migrate] dst_catalog=ucx_culfq, external_table=hive_metastore.ucx_sllng.ucx_tzqnz
18:20 DEBUG [databricks.labs.ucx.hive_metastore.table_migrate] Migrating external table hive_metastore.ucx_sllng.ucx_tzqnz to using SQL query: SYNC TABLE ucx_culfq.ucx_sllng.ucx_tzqnz FROM hive_metastore.ucx_sllng.ucx_tzqnz;
18:20 ERROR [databricks.labs.blueprint.parallel] migrate tables task failed: PERMISSION_DENIED: Failed to get credentials: Storage Credential TEST_STORAGE_CREDENTIAL is not configured correctly. Please contact the owner or your account admin to update the configuration.
Traceback (most recent call last):
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/blueprint/parallel.py", line 135, in inner
    return func(*args, **kwargs), None
  File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/hive_metastore/table_migrate.py", line 111, in _migrate_table
    return self._migrate_external_table(src_table, rule, grants)
  File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/hive_metastore/table_migrate.py", line 128, in _migrate_external_table
    self._backend.execute(src_table.sql_alter_from(rule.as_uc_table_key, self._ws.get_workspace_id()))
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/backends.py", line 142, in execute
    self._sql.execute(sql)
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/core.py", line 238, in execute
    self._raise_if_needed(status)
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/core.py", line 473, in _raise_if_needed
    raise error_class(error_message)
databricks.sdk.errors.platform.BadRequest: PERMISSION_DENIED: Failed to get credentials: Storage Credential TEST_STORAGE_CREDENTIAL is not configured correctly. Please contact the owner or your account admin to update the configuration.
18:20 CRITICAL [databricks.labs.blueprint.parallel] All 'migrate tables' tasks failed!!!
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 make_dbfs_data_copy fixtures
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] removing make_dbfs_data_copy fixture: dbfs:/mnt/TEST_MOUNT_NAME/a/b/slnM
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 table fixtures
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] removing table fixture: TableInfo(access_point=None, browse_only=None, catalog_name='hive_metastore', columns=None, comment=None, created_at=None, created_by=None, data_access_configuration_id=None, data_source_format=<DataSourceFormat.CSV: 'CSV'>, deleted_at=None, delta_runtime_properties_kvpairs=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, encryption_details=None, full_name='hive_metastore.ucx_sllng.ucx_tzqnz', metastore_id=None, name='ucx_tzqnz', owner=None, pipeline_id=None, properties=None, row_filter=None, schema_name='ucx_sllng', sql_path=None, storage_credential_name=None, storage_location='dbfs:/mnt/TEST_MOUNT_NAME/a/b/slnM', table_constraints=None, table_id=None, table_type=<TableType.EXTERNAL: 'EXTERNAL'>, updated_at=None, updated_by=None, view_definition=None, view_dependencies=None)
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 catalog fixtures
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] removing catalog fixture: CatalogInfo(browse_only=False, catalog_type=<CatalogType.MANAGED_CATALOG: 'MANAGED_CATALOG'>, comment='', connection_name=None, created_at=1711563617867, created_by='0a330eb5-dd51-4d97-b6e4-c474356b1d5d', effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='ucx_culfq', isolation_mode=<IsolationMode.OPEN: 'OPEN'>, metastore_id='8952c1e3-b265-4adf-98c3-6f755e2e1453', name='ucx_culfq', options=None, owner='0a330eb5-dd51-4d97-b6e4-c474356b1d5d', properties=None, provider_name=None, provisioning_info=None, securable_kind=<CatalogInfoSecurableKind.CATALOG_STANDARD: 'CATALOG_STANDARD'>, securable_type='CATALOG', share_name=None, storage_location=None, storage_root=None, updated_at=1711563617867, updated_by='0a330eb5-dd51-4d97-b6e4-c474356b1d5d')
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 3 schema fixtures
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] removing schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_sho1t', metastore_id=None, name='ucx_sho1t', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] removing schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_sllng', metastore_id=None, name='ucx_sllng', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:20 DEBUG [databricks.labs.ucx.mixins.fixtures] removing schema fixture: SchemaInfo(browse_only=None, catalog_name='ucx_culfq', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='ucx_culfq.ucx_sllng', metastore_id=None, name='ucx_sllng', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
[gw7] linux -- Python 3.10.13 /home/runner/work/ucx/ucx/.venv/bin/python
❌ test_table_migration_job_cluster_override: databricks.sdk.errors.platform.Unknown: (java.lang.SecurityException) PERMISSION_DENIED: Failed to get credentials: Storage Credential TEST_STORAGE_CREDENTIAL is not configured correctly. Please contact the owner or your account admin to update the configuration. (2m45.855s)
databricks.sdk.errors.platform.Unknown: (java.lang.SecurityException) PERMISSION_DENIED: Failed to get credentials: Storage Credential TEST_STORAGE_CREDENTIAL is not configured correctly. Please contact the owner or your account admin to update the configuration.
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_s21kk: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_s21kk
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_s21kk', metastore_id=None, name='ucx_s21kk', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
[gw9] linux -- Python 3.10.13 /home/runner/work/ucx/ucx/.venv/bin/python
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_s21kk: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_s21kk
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_s21kk', metastore_id=None, name='ucx_s21kk', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_sdzjz: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_sdzjz
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_sdzjz', metastore_id=None, name='ucx_sdzjz', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Table hive_metastore.ucx_sdzjz.ucx_t9hjj: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_sdzjz/ucx_t9hjj
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added table fixture: TableInfo(access_point=None, browse_only=None, catalog_name='hive_metastore', columns=None, comment=None, created_at=None, created_by=None, data_access_configuration_id=None, data_source_format=<DataSourceFormat.DELTA: 'DELTA'>, deleted_at=None, delta_runtime_properties_kvpairs=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, encryption_details=None, full_name='hive_metastore.ucx_sdzjz.ucx_t9hjj', metastore_id=None, name='ucx_t9hjj', owner=None, pipeline_id=None, properties=None, row_filter=None, schema_name='ucx_sdzjz', sql_path=None, storage_credential_name=None, storage_location='dbfs:/user/hive/warehouse/ucx_sdzjz/ucx_t9hjj', table_constraints=None, table_id=None, table_type=<TableType.MANAGED: 'MANAGED'>, updated_at=None, updated_by=None, view_definition=None, view_dependencies=None)
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added make_dbfs_data_copy fixture: dbfs:/mnt/TEST_MOUNT_NAME/a/b/W1eS
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Table hive_metastore.ucx_sdzjz.ucx_t5mmo: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_sdzjz/ucx_t5mmo
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added table fixture: TableInfo(access_point=None, browse_only=None, catalog_name='hive_metastore', columns=None, comment=None, created_at=None, created_by=None, data_access_configuration_id=None, data_source_format=<DataSourceFormat.CSV: 'CSV'>, deleted_at=None, delta_runtime_properties_kvpairs=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, encryption_details=None, full_name='hive_metastore.ucx_sdzjz.ucx_t5mmo', metastore_id=None, name='ucx_t5mmo', owner=None, pipeline_id=None, properties=None, row_filter=None, schema_name='ucx_sdzjz', sql_path=None, storage_credential_name=None, storage_location='dbfs:/mnt/TEST_MOUNT_NAME/a/b/W1eS', table_constraints=None, table_id=None, table_type=<TableType.EXTERNAL: 'EXTERNAL'>, updated_at=None, updated_by=None, view_definition=None, view_dependencies=None)
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added catalog fixture: CatalogInfo(browse_only=False, catalog_type=<CatalogType.MANAGED_CATALOG: 'MANAGED_CATALOG'>, comment='', connection_name=None, created_at=1711563703056, created_by='0a330eb5-dd51-4d97-b6e4-c474356b1d5d', effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='ucx_c8esx', isolation_mode=<IsolationMode.OPEN: 'OPEN'>, metastore_id='8952c1e3-b265-4adf-98c3-6f755e2e1453', name='ucx_c8esx', options=None, owner='0a330eb5-dd51-4d97-b6e4-c474356b1d5d', properties=None, provider_name=None, provisioning_info=None, securable_kind=<CatalogInfoSecurableKind.CATALOG_STANDARD: 'CATALOG_STANDARD'>, securable_type='CATALOG', share_name=None, storage_location=None, storage_root=None, updated_at=1711563703056, updated_by='0a330eb5-dd51-4d97-b6e4-c474356b1d5d')
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Schema ucx_c8esx.ucx_sdzjz: https://DATABRICKS_HOST/explore/data/ucx_c8esx/ucx_sdzjz
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='ucx_c8esx', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='ucx_c8esx.ucx_sdzjz', metastore_id=None, name='ucx_sdzjz', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:21 DEBUG [databricks.labs.ucx.install] Cannot find previous installation: Path (/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.ucx/config.yml) doesn't exist.
18:21 INFO [databricks.labs.ucx.install] Please answer a couple of questions to configure Unity Catalog migration
18:21 INFO [databricks.labs.ucx.installer.hms_lineage] HMS Lineage feature creates one system table named system.hms_to_uc_migration.table_access and helps in your migration process from HMS to UC by allowing you to programmatically query HMS lineage data.
18:21 INFO [databricks.labs.ucx.install] Fetching installations...
18:21 INFO [databricks.labs.ucx.installer.policy] Creating UCX cluster policy.
18:21 INFO [databricks.labs.ucx.install] Installing UCX v0.19.1+1320240327182146
18:21 INFO [databricks.labs.ucx.install] Creating dashboards...
18:21 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/views...
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment...
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/estimates...
18:21 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [UCX] UCX  Assessment (Estimates)...
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 01_0_group_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 01_0_group_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 00_0_metastore_assignment.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 00_0_metastore_assignment.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 02_0_data_modeling.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 02_0_data_modeling.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 03_0_data_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 03_0_data_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/main...
18:21 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [UCX] UCX  Assessment (Main)...
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/CLOUD_ENV...
18:22 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [UCX] UCX  Assessment (Azure)...
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/interactive...
18:22 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [UCX] UCX  Assessment (Interactive)...
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 00_0_interactive.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 00_0_interactive.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 02_0_cluster_summary.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 02_0_cluster_summary.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.installer.workflows] Creating jobs from tasks in main
18:22 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
18:22 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=assessment
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-tables
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups-experimental
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=remove-workspace-local-backup-groups
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=validate-groups-permissions
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=099-destroy-schema
18:22 INFO [databricks.labs.ucx.install] Installation completed successfully! Please refer to the https://DATABRICKS_HOST/#workspace/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.ucx/README for the next steps.
18:22 DEBUG [databricks.labs.ucx.installer.workflows] starting migrate-tables job: https://DATABRICKS_HOST#job/664992009207376
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_s21kk: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_s21kk
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_s21kk', metastore_id=None, name='ucx_s21kk', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_sdzjz: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_sdzjz
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_sdzjz', metastore_id=None, name='ucx_sdzjz', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Table hive_metastore.ucx_sdzjz.ucx_t9hjj: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_sdzjz/ucx_t9hjj
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added table fixture: TableInfo(access_point=None, browse_only=None, catalog_name='hive_metastore', columns=None, comment=None, created_at=None, created_by=None, data_access_configuration_id=None, data_source_format=<DataSourceFormat.DELTA: 'DELTA'>, deleted_at=None, delta_runtime_properties_kvpairs=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, encryption_details=None, full_name='hive_metastore.ucx_sdzjz.ucx_t9hjj', metastore_id=None, name='ucx_t9hjj', owner=None, pipeline_id=None, properties=None, row_filter=None, schema_name='ucx_sdzjz', sql_path=None, storage_credential_name=None, storage_location='dbfs:/user/hive/warehouse/ucx_sdzjz/ucx_t9hjj', table_constraints=None, table_id=None, table_type=<TableType.MANAGED: 'MANAGED'>, updated_at=None, updated_by=None, view_definition=None, view_dependencies=None)
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added make_dbfs_data_copy fixture: dbfs:/mnt/TEST_MOUNT_NAME/a/b/W1eS
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Table hive_metastore.ucx_sdzjz.ucx_t5mmo: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_sdzjz/ucx_t5mmo
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added table fixture: TableInfo(access_point=None, browse_only=None, catalog_name='hive_metastore', columns=None, comment=None, created_at=None, created_by=None, data_access_configuration_id=None, data_source_format=<DataSourceFormat.CSV: 'CSV'>, deleted_at=None, delta_runtime_properties_kvpairs=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, encryption_details=None, full_name='hive_metastore.ucx_sdzjz.ucx_t5mmo', metastore_id=None, name='ucx_t5mmo', owner=None, pipeline_id=None, properties=None, row_filter=None, schema_name='ucx_sdzjz', sql_path=None, storage_credential_name=None, storage_location='dbfs:/mnt/TEST_MOUNT_NAME/a/b/W1eS', table_constraints=None, table_id=None, table_type=<TableType.EXTERNAL: 'EXTERNAL'>, updated_at=None, updated_by=None, view_definition=None, view_dependencies=None)
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added catalog fixture: CatalogInfo(browse_only=False, catalog_type=<CatalogType.MANAGED_CATALOG: 'MANAGED_CATALOG'>, comment='', connection_name=None, created_at=1711563703056, created_by='0a330eb5-dd51-4d97-b6e4-c474356b1d5d', effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='ucx_c8esx', isolation_mode=<IsolationMode.OPEN: 'OPEN'>, metastore_id='8952c1e3-b265-4adf-98c3-6f755e2e1453', name='ucx_c8esx', options=None, owner='0a330eb5-dd51-4d97-b6e4-c474356b1d5d', properties=None, provider_name=None, provisioning_info=None, securable_kind=<CatalogInfoSecurableKind.CATALOG_STANDARD: 'CATALOG_STANDARD'>, securable_type='CATALOG', share_name=None, storage_location=None, storage_root=None, updated_at=1711563703056, updated_by='0a330eb5-dd51-4d97-b6e4-c474356b1d5d')
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Schema ucx_c8esx.ucx_sdzjz: https://DATABRICKS_HOST/explore/data/ucx_c8esx/ucx_sdzjz
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='ucx_c8esx', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='ucx_c8esx.ucx_sdzjz', metastore_id=None, name='ucx_sdzjz', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:21 DEBUG [databricks.labs.ucx.install] Cannot find previous installation: Path (/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.ucx/config.yml) doesn't exist.
18:21 INFO [databricks.labs.ucx.install] Please answer a couple of questions to configure Unity Catalog migration
18:21 INFO [databricks.labs.ucx.installer.hms_lineage] HMS Lineage feature creates one system table named system.hms_to_uc_migration.table_access and helps in your migration process from HMS to UC by allowing you to programmatically query HMS lineage data.
18:21 INFO [databricks.labs.ucx.install] Fetching installations...
18:21 INFO [databricks.labs.ucx.installer.policy] Creating UCX cluster policy.
18:21 INFO [databricks.labs.ucx.install] Installing UCX v0.19.1+1320240327182146
18:21 INFO [databricks.labs.ucx.install] Creating dashboards...
18:21 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/views...
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment...
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/estimates...
18:21 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [UCX] UCX  Assessment (Estimates)...
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 01_0_group_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 01_0_group_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 00_0_metastore_assignment.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 00_0_metastore_assignment.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 02_0_data_modeling.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 02_0_data_modeling.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 03_0_data_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 03_0_data_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/main...
18:21 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [UCX] UCX  Assessment (Main)...
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/CLOUD_ENV...
18:22 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [UCX] UCX  Assessment (Azure)...
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/interactive...
18:22 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [UCX] UCX  Assessment (Interactive)...
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 00_0_interactive.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 00_0_interactive.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 02_0_cluster_summary.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 02_0_cluster_summary.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.installer.workflows] Creating jobs from tasks in main
18:22 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
18:22 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=assessment
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-tables
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups-experimental
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=remove-workspace-local-backup-groups
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=validate-groups-permissions
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=099-destroy-schema
18:22 INFO [databricks.labs.ucx.install] Installation completed successfully! Please refer to the https://DATABRICKS_HOST/#workspace/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.ucx/README for the next steps.
18:22 DEBUG [databricks.labs.ucx.installer.workflows] starting migrate-tables job: https://DATABRICKS_HOST#job/664992009207376
18:24 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 make_dbfs_data_copy fixtures
18:24 DEBUG [databricks.labs.ucx.mixins.fixtures] removing make_dbfs_data_copy fixture: dbfs:/mnt/TEST_MOUNT_NAME/a/b/W1eS
18:24 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 2 table fixtures
18:24 DEBUG [databricks.labs.ucx.mixins.fixtures] removing table fixture: TableInfo(access_point=None, browse_only=None, catalog_name='hive_metastore', columns=None, comment=None, created_at=None, created_by=None, data_access_configuration_id=None, data_source_format=<DataSourceFormat.DELTA: 'DELTA'>, deleted_at=None, delta_runtime_properties_kvpairs=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, encryption_details=None, full_name='hive_metastore.ucx_sdzjz.ucx_t9hjj', metastore_id=None, name='ucx_t9hjj', owner=None, pipeline_id=None, properties=None, row_filter=None, schema_name='ucx_sdzjz', sql_path=None, storage_credential_name=None, storage_location='dbfs:/user/hive/warehouse/ucx_sdzjz/ucx_t9hjj', table_constraints=None, table_id=None, table_type=<TableType.MANAGED: 'MANAGED'>, updated_at=None, updated_by=None, view_definition=None, view_dependencies=None)
18:24 DEBUG [databricks.labs.ucx.mixins.fixtures] removing table fixture: TableInfo(access_point=None, browse_only=None, catalog_name='hive_metastore', columns=None, comment=None, created_at=None, created_by=None, data_access_configuration_id=None, data_source_format=<DataSourceFormat.CSV: 'CSV'>, deleted_at=None, delta_runtime_properties_kvpairs=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, encryption_details=None, full_name='hive_metastore.ucx_sdzjz.ucx_t5mmo', metastore_id=None, name='ucx_t5mmo', owner=None, pipeline_id=None, properties=None, row_filter=None, schema_name='ucx_sdzjz', sql_path=None, storage_credential_name=None, storage_location='dbfs:/mnt/TEST_MOUNT_NAME/a/b/W1eS', table_constraints=None, table_id=None, table_type=<TableType.EXTERNAL: 'EXTERNAL'>, updated_at=None, updated_by=None, view_definition=None, view_dependencies=None)
18:24 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 catalog fixtures
18:24 DEBUG [databricks.labs.ucx.mixins.fixtures] removing catalog fixture: CatalogInfo(browse_only=False, catalog_type=<CatalogType.MANAGED_CATALOG: 'MANAGED_CATALOG'>, comment='', connection_name=None, created_at=1711563703056, created_by='0a330eb5-dd51-4d97-b6e4-c474356b1d5d', effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='ucx_c8esx', isolation_mode=<IsolationMode.OPEN: 'OPEN'>, metastore_id='8952c1e3-b265-4adf-98c3-6f755e2e1453', name='ucx_c8esx', options=None, owner='0a330eb5-dd51-4d97-b6e4-c474356b1d5d', properties=None, provider_name=None, provisioning_info=None, securable_kind=<CatalogInfoSecurableKind.CATALOG_STANDARD: 'CATALOG_STANDARD'>, securable_type='CATALOG', share_name=None, storage_location=None, storage_root=None, updated_at=1711563703056, updated_by='0a330eb5-dd51-4d97-b6e4-c474356b1d5d')
18:24 INFO [databricks.labs.ucx.install] Deleting UCX v0.19.1+1320240327182416 from https://DATABRICKS_HOST
18:24 INFO [databricks.labs.ucx.install] Deleting inventory database ucx_s21kk
18:24 INFO [databricks.labs.ucx.install] Deleting jobs
18:24 INFO [databricks.labs.ucx.install] Deleting assessment job_id=689003672468736.
18:24 INFO [databricks.labs.ucx.install] Deleting migrate-groups job_id=953186320972848.
18:24 INFO [databricks.labs.ucx.install] Deleting migrate-tables job_id=664992009207376.
18:24 INFO [databricks.labs.ucx.install] Deleting migrate-groups-experimental job_id=860754131415571.
18:24 INFO [databricks.labs.ucx.install] Deleting remove-workspace-local-backup-groups job_id=697833517652822.
18:24 INFO [databricks.labs.ucx.install] Deleting validate-groups-permissions job_id=532797139640911.
18:24 INFO [databricks.labs.ucx.install] Deleting 099-destroy-schema job_id=589506768177526.
18:24 INFO [databricks.labs.ucx.install] Deleting cluster policy
18:24 INFO [databricks.labs.ucx.install] Deleting secret scope
18:24 INFO [databricks.labs.ucx.install] UnInstalling UCX complete
18:24 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 3 schema fixtures
18:24 DEBUG [databricks.labs.ucx.mixins.fixtures] removing schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_s21kk', metastore_id=None, name='ucx_s21kk', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:24 DEBUG [databricks.labs.ucx.mixins.fixtures] removing schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_sdzjz', metastore_id=None, name='ucx_sdzjz', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:24 DEBUG [databricks.labs.ucx.mixins.fixtures] removing schema fixture: SchemaInfo(browse_only=None, catalog_name='ucx_c8esx', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='ucx_c8esx.ucx_sdzjz', metastore_id=None, name='ucx_sdzjz', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
[gw9] linux -- Python 3.10.13 /home/runner/work/ucx/ucx/.venv/bin/python
❌ test_delete_ws_groups_should_delete_renamed_and_reflected_groups_only: Failed: DID NOT RAISE (20.698s)
Failed: DID NOT RAISE <class 'databricks.sdk.errors.platform.NotFound'>
18:25 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_sofue: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_sofue
18:25 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_sofue', metastore_id=None, name='ucx_sofue', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
[gw6] linux -- Python 3.10.13 /home/runner/work/ucx/ucx/.venv/bin/python
18:25 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_sofue: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_sofue
18:25 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_sofue', metastore_id=None, name='ucx_sofue', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:25 DEBUG [databricks.labs.ucx.mixins.fixtures] added workspace user fixture: User(active=True, display_name='sdk-valv@example.com', emails=[ComplexValue(display=None, primary=True, ref=None, type='work', value='sdk-valv@example.com')], entitlements=[], external_id=None, groups=[], id='4835021444210021', name=Name(family_name=None, given_name='sdk-valv@example.com'), roles=[], schemas=[<UserSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_USER: 'urn:ietf:params:scim:schemas:core:2.0:User'>, <UserSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_EXTENSION_WORKSPACE_2_0_USER: 'urn:ietf:params:scim:schemas:extension:workspace:2.0:User'>], user_name='sdk-valv@example.com')
18:25 INFO [databricks.labs.ucx.mixins.fixtures] Workspace group ucx_1YYf: https://DATABRICKS_HOST#setting/accounts/groups/228432750649122
18:25 DEBUG [databricks.labs.ucx.mixins.fixtures] added workspace group fixture: Group(display_name='ucx_1YYf', entitlements=[ComplexValue(display=None, primary=None, ref=None, type=None, value='allow-cluster-create')], external_id=None, groups=[], id='228432750649122', members=[ComplexValue(display='sdk-valv@example.com', primary=None, ref='Users/4835021444210021', type=None, value='4835021444210021')], meta=ResourceMeta(resource_type='WorkspaceGroup'), roles=[], schemas=[<GroupSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP: 'urn:ietf:params:scim:schemas:core:2.0:Group'>])
18:25 INFO [databricks.labs.ucx.mixins.fixtures] Account group ucx_1YYf: https://accounts.CLOUD_ENVdatabricks.net/users/groups/738981522460585/members
18:25 DEBUG [databricks.labs.ucx.mixins.fixtures] added account group fixture: Group(display_name='ucx_1YYf', entitlements=[], external_id=None, groups=[], id='738981522460585', members=[ComplexValue(display='sdk-valv@example.com', primary=None, ref='Users/4835021444210021', type=None, value='4835021444210021')], meta=None, roles=[], schemas=[<GroupSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP: 'urn:ietf:params:scim:schemas:core:2.0:Group'>])
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Listing workspace groups (resource_type=Group) with id,displayName,externalId,meta...
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Found 63 Group
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Listing workspace groups (resource_type=WorkspaceGroup) with id,displayName,meta,externalId,members,roles,entitlements...
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Found 8 WorkspaceGroup
18:25 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_sofue.groups] fetching groups inventory
18:25 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_sofue.groups] crawling new batch for groups
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Listing workspace groups (resource_type=WorkspaceGroup) with id,displayName,meta,externalId,members,roles,entitlements...
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Found 9 WorkspaceGroup
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Listing account groups with id,displayName,externalId...
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Found 1554 account groups
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Group listing provided, a subset of all groups will be migrated
18:25 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_sofue.groups] found 1 new records for groups
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Renaming: ucx_1YYf -> ucx-temp-ucx_1YYf
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Listing account groups with id,displayName,externalId...
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Found 1554 account groups
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Listing workspace groups (resource_type=Group) with id,displayName,externalId,meta...
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Found 63 Group
18:25 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_sofue.groups] fetching groups inventory
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Listing workspace groups (resource_type=WorkspaceGroup) with id,displayName,meta,externalId,members,roles,entitlements...
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Found 10 WorkspaceGroup
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Listing workspace groups (resource_type=Group) with id,displayName,externalId,meta...
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Found 65 Group
18:25 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_sofue.groups] fetching groups inventory
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Deleting the workspace-level group ucx-temp-ucx_1YYf with id 228432750649122
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Workspace-level group ucx-temp-ucx_1YYf with id 228432750649122 was deleted
18:25 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_sofue: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_sofue
18:25 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_sofue', metastore_id=None, name='ucx_sofue', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:25 DEBUG [databricks.labs.ucx.mixins.fixtures] added workspace user fixture: User(active=True, display_name='sdk-valv@example.com', emails=[ComplexValue(display=None, primary=True, ref=None, type='work', value='sdk-valv@example.com')], entitlements=[], external_id=None, groups=[], id='4835021444210021', name=Name(family_name=None, given_name='sdk-valv@example.com'), roles=[], schemas=[<UserSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_USER: 'urn:ietf:params:scim:schemas:core:2.0:User'>, <UserSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_EXTENSION_WORKSPACE_2_0_USER: 'urn:ietf:params:scim:schemas:extension:workspace:2.0:User'>], user_name='sdk-valv@example.com')
18:25 INFO [databricks.labs.ucx.mixins.fixtures] Workspace group ucx_1YYf: https://DATABRICKS_HOST#setting/accounts/groups/228432750649122
18:25 DEBUG [databricks.labs.ucx.mixins.fixtures] added workspace group fixture: Group(display_name='ucx_1YYf', entitlements=[ComplexValue(display=None, primary=None, ref=None, type=None, value='allow-cluster-create')], external_id=None, groups=[], id='228432750649122', members=[ComplexValue(display='sdk-valv@example.com', primary=None, ref='Users/4835021444210021', type=None, value='4835021444210021')], meta=ResourceMeta(resource_type='WorkspaceGroup'), roles=[], schemas=[<GroupSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP: 'urn:ietf:params:scim:schemas:core:2.0:Group'>])
18:25 INFO [databricks.labs.ucx.mixins.fixtures] Account group ucx_1YYf: https://accounts.CLOUD_ENVdatabricks.net/users/groups/738981522460585/members
18:25 DEBUG [databricks.labs.ucx.mixins.fixtures] added account group fixture: Group(display_name='ucx_1YYf', entitlements=[], external_id=None, groups=[], id='738981522460585', members=[ComplexValue(display='sdk-valv@example.com', primary=None, ref='Users/4835021444210021', type=None, value='4835021444210021')], meta=None, roles=[], schemas=[<GroupSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP: 'urn:ietf:params:scim:schemas:core:2.0:Group'>])
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Listing workspace groups (resource_type=Group) with id,displayName,externalId,meta...
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Found 63 Group
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Listing workspace groups (resource_type=WorkspaceGroup) with id,displayName,meta,externalId,members,roles,entitlements...
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Found 8 WorkspaceGroup
18:25 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_sofue.groups] fetching groups inventory
18:25 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_sofue.groups] crawling new batch for groups
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Listing workspace groups (resource_type=WorkspaceGroup) with id,displayName,meta,externalId,members,roles,entitlements...
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Found 9 WorkspaceGroup
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Listing account groups with id,displayName,externalId...
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Found 1554 account groups
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Group listing provided, a subset of all groups will be migrated
18:25 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_sofue.groups] found 1 new records for groups
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Renaming: ucx_1YYf -> ucx-temp-ucx_1YYf
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Listing account groups with id,displayName,externalId...
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Found 1554 account groups
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Listing workspace groups (resource_type=Group) with id,displayName,externalId,meta...
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Found 63 Group
18:25 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_sofue.groups] fetching groups inventory
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Listing workspace groups (resource_type=WorkspaceGroup) with id,displayName,meta,externalId,members,roles,entitlements...
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Found 10 WorkspaceGroup
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Listing workspace groups (resource_type=Group) with id,displayName,externalId,meta...
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Found 65 Group
18:25 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_sofue.groups] fetching groups inventory
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Deleting the workspace-level group ucx-temp-ucx_1YYf with id 228432750649122
18:25 INFO [databricks.labs.ucx.workspace_access.groups] Workspace-level group ucx-temp-ucx_1YYf with id 228432750649122 was deleted
18:25 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 schema fixtures
18:25 DEBUG [databricks.labs.ucx.mixins.fixtures] removing schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_sofue', metastore_id=None, name='ucx_sofue', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:25 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 workspace user fixtures
18:25 DEBUG [databricks.labs.ucx.mixins.fixtures] removing workspace user fixture: User(active=True, display_name='sdk-valv@example.com', emails=[ComplexValue(display=None, primary=True, ref=None, type='work', value='sdk-valv@example.com')], entitlements=[], external_id=None, groups=[], id='4835021444210021', name=Name(family_name=None, given_name='sdk-valv@example.com'), roles=[], schemas=[<UserSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_USER: 'urn:ietf:params:scim:schemas:core:2.0:User'>, <UserSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_EXTENSION_WORKSPACE_2_0_USER: 'urn:ietf:params:scim:schemas:extension:workspace:2.0:User'>], user_name='sdk-valv@example.com')
18:25 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 account group fixtures
18:25 DEBUG [databricks.labs.ucx.mixins.fixtures] removing account group fixture: Group(display_name='ucx_1YYf', entitlements=[], external_id=None, groups=[], id='738981522460585', members=[ComplexValue(display='sdk-valv@example.com', primary=None, ref='Users/4835021444210021', type=None, value='4835021444210021')], meta=None, roles=[], schemas=[<GroupSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP: 'urn:ietf:params:scim:schemas:core:2.0:Group'>])
18:25 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 workspace group fixtures
18:25 DEBUG [databricks.labs.ucx.mixins.fixtures] removing workspace group fixture: Group(display_name='ucx_1YYf', entitlements=[ComplexValue(display=None, primary=None, ref=None, type=None, value='allow-cluster-create')], external_id=None, groups=[], id='228432750649122', members=[ComplexValue(display='sdk-valv@example.com', primary=None, ref='Users/4835021444210021', type=None, value='4835021444210021')], meta=ResourceMeta(resource_type='WorkspaceGroup'), roles=[], schemas=[<GroupSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP: 'urn:ietf:params:scim:schemas:core:2.0:Group'>])
18:25 DEBUG [databricks.labs.ucx.mixins.fixtures] ignoring error while workspace group Group(display_name='ucx_1YYf', entitlements=[ComplexValue(display=None, primary=None, ref=None, type=None, value='allow-cluster-create')], external_id=None, groups=[], id='228432750649122', members=[ComplexValue(display='sdk-valv@example.com', primary=None, ref='Users/4835021444210021', type=None, value='4835021444210021')], meta=ResourceMeta(resource_type='WorkspaceGroup'), roles=[], schemas=[<GroupSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP: 'urn:ietf:params:scim:schemas:core:2.0:Group'>]) teardown: None Group with id 228432750649122 not found.
[gw6] linux -- Python 3.10.13 /home/runner/work/ucx/ucx/.venv/bin/python
❌ test_replace_workspace_groups_with_account_groups: TimeoutError: Timed out after 0:01:00 (2m26.266s)
TimeoutError: Timed out after 0:01:00
18:26 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_swi7k: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_swi7k
18:26 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_swi7k', metastore_id=None, name='ucx_swi7k', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
[gw4] linux -- Python 3.10.13 /home/runner/work/ucx/ucx/.venv/bin/python
18:26 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_swi7k: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_swi7k
18:26 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_swi7k', metastore_id=None, name='ucx_swi7k', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:26 DEBUG [databricks.labs.ucx.mixins.fixtures] added workspace user fixture: User(active=True, display_name='sdk-etbs@example.com', emails=[ComplexValue(display=None, primary=True, ref=None, type='work', value='sdk-etbs@example.com')], entitlements=[], external_id=None, groups=[], id='3833529412899096', name=Name(family_name=None, given_name='sdk-etbs@example.com'), roles=[], schemas=[<UserSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_USER: 'urn:ietf:params:scim:schemas:core:2.0:User'>, <UserSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_EXTENSION_WORKSPACE_2_0_USER: 'urn:ietf:params:scim:schemas:extension:workspace:2.0:User'>], user_name='sdk-etbs@example.com')
18:27 INFO [databricks.labs.ucx.mixins.fixtures] Workspace group ucx_7jDu: https://DATABRICKS_HOST#setting/accounts/groups/1082975960794391
18:27 DEBUG [databricks.labs.ucx.mixins.fixtures] added workspace group fixture: Group(display_name='ucx_7jDu', entitlements=[ComplexValue(display=None, primary=None, ref=None, type=None, value='allow-cluster-create')], external_id=None, groups=[], id='1082975960794391', members=[ComplexValue(display='sdk-etbs@example.com', primary=None, ref='Users/3833529412899096', type=None, value='3833529412899096')], meta=ResourceMeta(resource_type='WorkspaceGroup'), roles=[], schemas=[<GroupSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP: 'urn:ietf:params:scim:schemas:core:2.0:Group'>])
18:27 INFO [databricks.labs.ucx.mixins.fixtures] Account group ucx_7jDu: https://accounts.CLOUD_ENVdatabricks.net/users/groups/909088623049714/members
18:27 DEBUG [databricks.labs.ucx.mixins.fixtures] added account group fixture: Group(display_name='ucx_7jDu', entitlements=[], external_id=None, groups=[], id='909088623049714', members=[ComplexValue(display='sdk-etbs@example.com', primary=None, ref='Users/3833529412899096', type=None, value='3833529412899096')], meta=None, roles=[], schemas=[<GroupSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP: 'urn:ietf:params:scim:schemas:core:2.0:Group'>])
18:27 INFO [databricks.labs.ucx.mixins.fixtures] Cluster policy: https://DATABRICKS_HOST#setting/clusters/cluster-policies/view/0001AB74610EA87D
18:27 DEBUG [databricks.labs.ucx.mixins.fixtures] added cluster policy fixture: CreatePolicyResponse(policy_id='0001AB74610EA87D')
18:27 DEBUG [databricks.labs.ucx.mixins.fixtures] added cluster_policy permissions fixture: 0001AB74610EA87D [group_name admins CAN_USE] -> [group_name ucx_7jDu CAN_USE]
18:27 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_ssbxf: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_ssbxf
18:27 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_ssbxf', metastore_id=None, name='ucx_ssbxf', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:27 INFO [databricks.labs.ucx.mixins.fixtures] Table hive_metastore.ucx_ssbxf.ucx_tvgpt: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_ssbxf/ucx_tvgpt
18:27 DEBUG [databricks.labs.ucx.mixins.fixtures] added table fixture: TableInfo(access_point=None, browse_only=None, catalog_name='hive_metastore', columns=None, comment=None, created_at=None, created_by=None, data_access_configuration_id=None, data_source_format=<DataSourceFormat.DELTA: 'DELTA'>, deleted_at=None, delta_runtime_properties_kvpairs=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, encryption_details=None, full_name='hive_metastore.ucx_ssbxf.ucx_tvgpt', metastore_id=None, name='ucx_tvgpt', owner=None, pipeline_id=None, properties=None, row_filter=None, schema_name='ucx_ssbxf', sql_path=None, storage_credential_name=None, storage_location='dbfs:/user/hive/warehouse/ucx_ssbxf/ucx_tvgpt', table_constraints=None, table_id=None, table_type=<TableType.MANAGED: 'MANAGED'>, updated_at=None, updated_by=None, view_definition=None, view_dependencies=None)
18:27 DEBUG [databricks.labs.ucx.workspace_access.manager] Crawling permissions
18:27 INFO [databricks.labs.ucx.workspace_access.generic] Listed cluster-policies in 0:00:00.036470
18:27 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_swi7k.grants] fetching grants inventory
18:27 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_swi7k.grants] crawling new batch for grants
18:27 ERROR [databricks.labs.ucx.hive_metastore.grants] Couldn't fetch grants for object DATABASE hive_metastore.ucx_s1605: Database(ucx_s1605,Some(hive_metastore)) does not exist.
18:27 ERROR [databricks.labs.ucx.hive_metastore.grants] Couldn't fetch grants for object DATABASE hive_metastore.ucx_ssmxq: Database(ucx_ssmxq,Some(hive_metastore)) does not exist.
18:27 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_swi7k.grants] found 16 new records for grants
18:27 INFO [databricks.labs.ucx.workspace_access.manager] Starting to crawl permissions. Total tasks: 27
18:27 INFO [databricks.labs.ucx.workspace_access.manager] Total crawled permissions: 27
18:27 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_swi7k.permissions] found 27 new records for permissions
18:27 INFO [databricks.labs.ucx.workspace_access.manager] Successfully saved the items to inventory table
18:27 INFO [databricks.labs.ucx.workspace_access.manager] Saved 27 to hive_metastore.ucx_swi7k.permissions
18:27 INFO [databricks.labs.ucx.workspace_access.manager] Loading inventory table hive_metastore.ucx_swi7k.permissions
18:27 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_swi7k.groups] fetching groups inventory
18:27 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_swi7k.groups] crawling new batch for groups
18:27 INFO [databricks.labs.ucx.workspace_access.groups] Listing workspace groups (resource_type=WorkspaceGroup) with id,displayName,meta,externalId,members,roles,entitlements...
18:27 INFO [databricks.labs.ucx.workspace_access.groups] Found 13 WorkspaceGroup
18:27 INFO [databricks.labs.ucx.workspace_access.groups] Listing account groups with id,displayName,externalId...
18:27 INFO [databricks.labs.ucx.workspace_access.groups] Found 1548 account groups
18:27 INFO [databricks.labs.ucx.workspace_access.groups] Group listing provided, a subset of all groups will be migrated
18:27 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_swi7k.groups] found 1 new records for groups
18:27 INFO [databricks.labs.ucx.workspace_access.groups] Listing workspace groups (resource_type=Group) with id,displayName,externalId,meta...
18:27 INFO [databricks.labs.ucx.workspace_access.groups] Found 63 Group
18:27 INFO [databricks.labs.ucx.workspace_access.groups] Listing workspace groups (resource_type=WorkspaceGroup) with id,displayName,meta,externalId,members,roles,entitlements...
18:27 INFO [databricks.labs.ucx.workspace_access.groups] Found 14 WorkspaceGroup
18:27 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_swi7k.groups] fetching groups inventory
18:27 INFO [databricks.labs.ucx.workspace_access.groups] Renaming: ucx_7jDu -> ucx-temp-ucx_7jDu
18:27 INFO [tests.integration.workspace_access.test_groups] check_permissions_for_backup_group()
18:27 INFO [tests.integration.workspace_access.test_groups] check_permissions_for_backup_group()
18:27 INFO [tests.integration.workspace_access.test_groups] check_permissions_for_backup_group()
18:27 INFO [tests.integration.workspace_access.test_groups] check_permissions_for_backup_group()
18:27 INFO [tests.integration.workspace_access.test_groups] check_permissions_for_backup_group()
18:27 INFO [tests.integration.workspace_access.test_groups] check_permissions_for_backup_group()
18:27 INFO [tests.integration.workspace_access.test_groups] check_permissions_for_backup_group()
18:28 INFO [tests.integration.workspace_access.test_groups] check_permissions_for_backup_group()
18:28 INFO [tests.integration.workspace_access.test_groups] check_permissions_for_backup_group()
18:28 INFO [tests.integration.workspace_access.test_groups] check_permissions_for_backup_group()
18:26 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_swi7k: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_swi7k
18:26 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_swi7k', metastore_id=None, name='ucx_swi7k', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:26 DEBUG [databricks.labs.ucx.mixins.fixtures] added workspace user fixture: User(active=True, display_name='sdk-etbs@example.com', emails=[ComplexValue(display=None, primary=True, ref=None, type='work', value='sdk-etbs@example.com')], entitlements=[], external_id=None, groups=[], id='3833529412899096', name=Name(family_name=None, given_name='sdk-etbs@example.com'), roles=[], schemas=[<UserSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_USER: 'urn:ietf:params:scim:schemas:core:2.0:User'>, <UserSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_EXTENSION_WORKSPACE_2_0_USER: 'urn:ietf:params:scim:schemas:extension:workspace:2.0:User'>], user_name='sdk-etbs@example.com')
18:27 INFO [databricks.labs.ucx.mixins.fixtures] Workspace group ucx_7jDu: https://DATABRICKS_HOST#setting/accounts/groups/1082975960794391
18:27 DEBUG [databricks.labs.ucx.mixins.fixtures] added workspace group fixture: Group(display_name='ucx_7jDu', entitlements=[ComplexValue(display=None, primary=None, ref=None, type=None, value='allow-cluster-create')], external_id=None, groups=[], id='1082975960794391', members=[ComplexValue(display='sdk-etbs@example.com', primary=None, ref='Users/3833529412899096', type=None, value='3833529412899096')], meta=ResourceMeta(resource_type='WorkspaceGroup'), roles=[], schemas=[<GroupSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP: 'urn:ietf:params:scim:schemas:core:2.0:Group'>])
18:27 INFO [databricks.labs.ucx.mixins.fixtures] Account group ucx_7jDu: https://accounts.CLOUD_ENVdatabricks.net/users/groups/909088623049714/members
18:27 DEBUG [databricks.labs.ucx.mixins.fixtures] added account group fixture: Group(display_name='ucx_7jDu', entitlements=[], external_id=None, groups=[], id='909088623049714', members=[ComplexValue(display='sdk-etbs@example.com', primary=None, ref='Users/3833529412899096', type=None, value='3833529412899096')], meta=None, roles=[], schemas=[<GroupSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP: 'urn:ietf:params:scim:schemas:core:2.0:Group'>])
18:27 INFO [databricks.labs.ucx.mixins.fixtures] Cluster policy: https://DATABRICKS_HOST#setting/clusters/cluster-policies/view/0001AB74610EA87D
18:27 DEBUG [databricks.labs.ucx.mixins.fixtures] added cluster policy fixture: CreatePolicyResponse(policy_id='0001AB74610EA87D')
18:27 DEBUG [databricks.labs.ucx.mixins.fixtures] added cluster_policy permissions fixture: 0001AB74610EA87D [group_name admins CAN_USE] -> [group_name ucx_7jDu CAN_USE]
18:27 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_ssbxf: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_ssbxf
18:27 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_ssbxf', metastore_id=None, name='ucx_ssbxf', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:27 INFO [databricks.labs.ucx.mixins.fixtures] Table hive_metastore.ucx_ssbxf.ucx_tvgpt: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_ssbxf/ucx_tvgpt
18:27 DEBUG [databricks.labs.ucx.mixins.fixtures] added table fixture: TableInfo(access_point=None, browse_only=None, catalog_name='hive_metastore', columns=None, comment=None, created_at=None, created_by=None, data_access_configuration_id=None, data_source_format=<DataSourceFormat.DELTA: 'DELTA'>, deleted_at=None, delta_runtime_properties_kvpairs=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, encryption_details=None, full_name='hive_metastore.ucx_ssbxf.ucx_tvgpt', metastore_id=None, name='ucx_tvgpt', owner=None, pipeline_id=None, properties=None, row_filter=None, schema_name='ucx_ssbxf', sql_path=None, storage_credential_name=None, storage_location='dbfs:/user/hive/warehouse/ucx_ssbxf/ucx_tvgpt', table_constraints=None, table_id=None, table_type=<TableType.MANAGED: 'MANAGED'>, updated_at=None, updated_by=None, view_definition=None, view_dependencies=None)
18:27 DEBUG [databricks.labs.ucx.workspace_access.manager] Crawling permissions
18:27 INFO [databricks.labs.ucx.workspace_access.generic] Listed cluster-policies in 0:00:00.036470
18:27 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_swi7k.grants] fetching grants inventory
18:27 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_swi7k.grants] crawling new batch for grants
18:27 ERROR [databricks.labs.ucx.hive_metastore.grants] Couldn't fetch grants for object DATABASE hive_metastore.ucx_s1605: Database(ucx_s1605,Some(hive_metastore)) does not exist.
18:27 ERROR [databricks.labs.ucx.hive_metastore.grants] Couldn't fetch grants for object DATABASE hive_metastore.ucx_ssmxq: Database(ucx_ssmxq,Some(hive_metastore)) does not exist.
18:27 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_swi7k.grants] found 16 new records for grants
18:27 INFO [databricks.labs.ucx.workspace_access.manager] Starting to crawl permissions. Total tasks: 27
18:27 INFO [databricks.labs.ucx.workspace_access.manager] Total crawled permissions: 27
18:27 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_swi7k.permissions] found 27 new records for permissions
18:27 INFO [databricks.labs.ucx.workspace_access.manager] Successfully saved the items to inventory table
18:27 INFO [databricks.labs.ucx.workspace_access.manager] Saved 27 to hive_metastore.ucx_swi7k.permissions
18:27 INFO [databricks.labs.ucx.workspace_access.manager] Loading inventory table hive_metastore.ucx_swi7k.permissions
18:27 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_swi7k.groups] fetching groups inventory
18:27 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_swi7k.groups] crawling new batch for groups
18:27 INFO [databricks.labs.ucx.workspace_access.groups] Listing workspace groups (resource_type=WorkspaceGroup) with id,displayName,meta,externalId,members,roles,entitlements...
18:27 INFO [databricks.labs.ucx.workspace_access.groups] Found 13 WorkspaceGroup
18:27 INFO [databricks.labs.ucx.workspace_access.groups] Listing account groups with id,displayName,externalId...
18:27 INFO [databricks.labs.ucx.workspace_access.groups] Found 1548 account groups
18:27 INFO [databricks.labs.ucx.workspace_access.groups] Group listing provided, a subset of all groups will be migrated
18:27 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_swi7k.groups] found 1 new records for groups
18:27 INFO [databricks.labs.ucx.workspace_access.groups] Listing workspace groups (resource_type=Group) with id,displayName,externalId,meta...
18:27 INFO [databricks.labs.ucx.workspace_access.groups] Found 63 Group
18:27 INFO [databricks.labs.ucx.workspace_access.groups] Listing workspace groups (resource_type=WorkspaceGroup) with id,displayName,meta,externalId,members,roles,entitlements...
18:27 INFO [databricks.labs.ucx.workspace_access.groups] Found 14 WorkspaceGroup
18:27 DEBUG [databricks.labs.ucx.framework.crawlers] [hive_metastore.ucx_swi7k.groups] fetching groups inventory
18:27 INFO [databricks.labs.ucx.workspace_access.groups] Renaming: ucx_7jDu -> ucx-temp-ucx_7jDu
18:27 INFO [tests.integration.workspace_access.test_groups] check_permissions_for_backup_group()
18:27 INFO [tests.integration.workspace_access.test_groups] check_permissions_for_backup_group()
18:27 INFO [tests.integration.workspace_access.test_groups] check_permissions_for_backup_group()
18:27 INFO [tests.integration.workspace_access.test_groups] check_permissions_for_backup_group()
18:27 INFO [tests.integration.workspace_access.test_groups] check_permissions_for_backup_group()
18:27 INFO [tests.integration.workspace_access.test_groups] check_permissions_for_backup_group()
18:27 INFO [tests.integration.workspace_access.test_groups] check_permissions_for_backup_group()
18:28 INFO [tests.integration.workspace_access.test_groups] check_permissions_for_backup_group()
18:28 INFO [tests.integration.workspace_access.test_groups] check_permissions_for_backup_group()
18:28 INFO [tests.integration.workspace_access.test_groups] check_permissions_for_backup_group()
18:28 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 table fixtures
18:28 DEBUG [databricks.labs.ucx.mixins.fixtures] removing table fixture: TableInfo(access_point=None, browse_only=None, catalog_name='hive_metastore', columns=None, comment=None, created_at=None, created_by=None, data_access_configuration_id=None, data_source_format=<DataSourceFormat.DELTA: 'DELTA'>, deleted_at=None, delta_runtime_properties_kvpairs=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, encryption_details=None, full_name='hive_metastore.ucx_ssbxf.ucx_tvgpt', metastore_id=None, name='ucx_tvgpt', owner=None, pipeline_id=None, properties=None, row_filter=None, schema_name='ucx_ssbxf', sql_path=None, storage_credential_name=None, storage_location='dbfs:/user/hive/warehouse/ucx_ssbxf/ucx_tvgpt', table_constraints=None, table_id=None, table_type=<TableType.MANAGED: 'MANAGED'>, updated_at=None, updated_by=None, view_definition=None, view_dependencies=None)
18:28 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 cluster_policy permissions fixtures
18:28 DEBUG [databricks.labs.ucx.mixins.fixtures] removing cluster_policy permissions fixture: 0001AB74610EA87D [group_name admins CAN_USE] -> [group_name ucx_7jDu CAN_USE]
18:28 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 cluster policy fixtures
18:28 DEBUG [databricks.labs.ucx.mixins.fixtures] removing cluster policy fixture: CreatePolicyResponse(policy_id='0001AB74610EA87D')
18:28 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 workspace user fixtures
18:28 DEBUG [databricks.labs.ucx.mixins.fixtures] removing workspace user fixture: User(active=True, display_name='sdk-etbs@example.com', emails=[ComplexValue(display=None, primary=True, ref=None, type='work', value='sdk-etbs@example.com')], entitlements=[], external_id=None, groups=[], id='3833529412899096', name=Name(family_name=None, given_name='sdk-etbs@example.com'), roles=[], schemas=[<UserSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_USER: 'urn:ietf:params:scim:schemas:core:2.0:User'>, <UserSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_EXTENSION_WORKSPACE_2_0_USER: 'urn:ietf:params:scim:schemas:extension:workspace:2.0:User'>], user_name='sdk-etbs@example.com')
18:28 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 account group fixtures
18:28 DEBUG [databricks.labs.ucx.mixins.fixtures] removing account group fixture: Group(display_name='ucx_7jDu', entitlements=[], external_id=None, groups=[], id='909088623049714', members=[ComplexValue(display='sdk-etbs@example.com', primary=None, ref='Users/3833529412899096', type=None, value='3833529412899096')], meta=None, roles=[], schemas=[<GroupSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP: 'urn:ietf:params:scim:schemas:core:2.0:Group'>])
18:28 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 workspace group fixtures
18:28 DEBUG [databricks.labs.ucx.mixins.fixtures] removing workspace group fixture: Group(display_name='ucx_7jDu', entitlements=[ComplexValue(display=None, primary=None, ref=None, type=None, value='allow-cluster-create')], external_id=None, groups=[], id='1082975960794391', members=[ComplexValue(display='sdk-etbs@example.com', primary=None, ref='Users/3833529412899096', type=None, value='3833529412899096')], meta=ResourceMeta(resource_type='WorkspaceGroup'), roles=[], schemas=[<GroupSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP: 'urn:ietf:params:scim:schemas:core:2.0:Group'>])
18:28 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 2 schema fixtures
18:28 DEBUG [databricks.labs.ucx.mixins.fixtures] removing schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_swi7k', metastore_id=None, name='ucx_swi7k', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:28 DEBUG [databricks.labs.ucx.mixins.fixtures] removing schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_ssbxf', metastore_id=None, name='ucx_ssbxf', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
[gw4] linux -- Python 3.10.13 /home/runner/work/ucx/ucx/.venv/bin/python
❌ test_running_real_assessment_job: databricks.labs.blueprint.parallel.ManyError: Detected 10 failures: Unknown: assess_CLOUD_ENV_service_principals: run failed with error message (9m54.745s)
databricks.labs.blueprint.parallel.ManyError: Detected 10 failures: Unknown: assess_CLOUD_ENV_service_principals: run failed with error message
 Could not reach driver of cluster DATABRICKS_CLUSTER_ID., Unknown: assess_clusters: run failed with error message
 Could not reach driver of cluster DATABRICKS_CLUSTER_ID., Unknown: assess_global_init_scripts: run failed with error message
 Could not reach driver of cluster DATABRICKS_CLUSTER_ID., Unknown: assess_incompatible_submit_runs: run failed with error message
 Could not reach driver of cluster DATABRICKS_CLUSTER_ID., Unknown: assess_jobs: run failed with error message
 Could not reach driver of cluster DATABRICKS_CLUSTER_ID., Unknown: assess_pipelines: run failed with error message
 Could not reach driver of cluster DATABRICKS_CLUSTER_ID., Unknown: crawl_cluster_policies: run failed with error message
 Could not reach driver of cluster DATABRICKS_CLUSTER_ID., Unknown: crawl_groups: run failed with error message
 Could not reach driver of cluster DATABRICKS_CLUSTER_ID., Unknown: crawl_mounts: run failed with error message
 Could not reach driver of cluster DATABRICKS_CLUSTER_ID., Unknown: workspace_listing: run failed with error message
 Could not reach driver of cluster DATABRICKS_CLUSTER_ID.
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_svi2s: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_svi2s
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_svi2s', metastore_id=None, name='ucx_svi2s', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
[gw3] linux -- Python 3.10.13 /home/runner/work/ucx/ucx/.venv/bin/python
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_svi2s: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_svi2s
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_svi2s', metastore_id=None, name='ucx_svi2s', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added workspace user fixture: User(active=True, display_name='sdk-ahzg@example.com', emails=[ComplexValue(display=None, primary=True, ref=None, type='work', value='sdk-ahzg@example.com')], entitlements=[], external_id=None, groups=[], id='2387076170273661', name=Name(family_name=None, given_name='sdk-ahzg@example.com'), roles=[], schemas=[<UserSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_USER: 'urn:ietf:params:scim:schemas:core:2.0:User'>, <UserSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_EXTENSION_WORKSPACE_2_0_USER: 'urn:ietf:params:scim:schemas:extension:workspace:2.0:User'>], user_name='sdk-ahzg@example.com')
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Workspace group ucx_Ukgw: https://DATABRICKS_HOST#setting/accounts/groups/798201443287343
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added workspace group fixture: Group(display_name='ucx_Ukgw', entitlements=[ComplexValue(display=None, primary=None, ref=None, type=None, value='allow-cluster-create')], external_id=None, groups=[], id='798201443287343', members=[ComplexValue(display='sdk-ahzg@example.com', primary=None, ref='Users/2387076170273661', type=None, value='2387076170273661')], meta=ResourceMeta(resource_type='WorkspaceGroup'), roles=[], schemas=[<GroupSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP: 'urn:ietf:params:scim:schemas:core:2.0:Group'>])
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Account group ucx_Ukgw: https://accounts.CLOUD_ENVdatabricks.net/users/groups/182703395948875/members
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added account group fixture: Group(display_name='ucx_Ukgw', entitlements=[], external_id=None, groups=[], id='182703395948875', members=[ComplexValue(display='sdk-ahzg@example.com', primary=None, ref='Users/2387076170273661', type=None, value='2387076170273661')], meta=None, roles=[], schemas=[<GroupSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP: 'urn:ietf:params:scim:schemas:core:2.0:Group'>])
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Cluster policy: https://DATABRICKS_HOST#setting/clusters/cluster-policies/view/0001BA0AEEA24400
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added cluster policy fixture: CreatePolicyResponse(policy_id='0001BA0AEEA24400')
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added cluster_policy permissions fixture: 0001BA0AEEA24400 [group_name admins CAN_USE] -> [group_name ucx_Ukgw CAN_USE]
18:21 DEBUG [databricks.labs.ucx.install] Cannot find previous installation: Path (/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.mDSU/config.yml) doesn't exist.
18:21 INFO [databricks.labs.ucx.install] Please answer a couple of questions to configure Unity Catalog migration
18:21 INFO [databricks.labs.ucx.installer.hms_lineage] HMS Lineage feature creates one system table named system.hms_to_uc_migration.table_access and helps in your migration process from HMS to UC by allowing you to programmatically query HMS lineage data.
18:21 INFO [databricks.labs.ucx.install] Fetching installations...
18:21 INFO [databricks.labs.ucx.installer.policy] Creating UCX cluster policy.
18:21 INFO [databricks.labs.ucx.install] Installing UCX v0.19.1+1320240327182136
18:21 INFO [databricks.labs.ucx.install] Creating dashboards...
18:21 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/views...
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment...
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/estimates...
18:21 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [MDSU] UCX  Assessment (Estimates)...
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 01_0_group_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 01_0_group_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 00_0_metastore_assignment.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 00_0_metastore_assignment.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 02_0_data_modeling.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 02_0_data_modeling.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 03_0_data_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 03_0_data_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/main...
18:21 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [MDSU] UCX  Assessment (Main)...
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/CLOUD_ENV...
18:22 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [MDSU] UCX  Assessment (Azure)...
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/interactive...
18:22 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [MDSU] UCX  Assessment (Interactive)...
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 00_0_interactive.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 00_0_interactive.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 02_0_cluster_summary.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 02_0_cluster_summary.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.installer.workflows] Creating jobs from tasks in main
18:22 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
18:22 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=assessment
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=validate-groups-permissions
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-tables
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=099-destroy-schema
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=remove-workspace-local-backup-groups
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups-experimental
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups
18:22 INFO [databricks.labs.ucx.install] Installation completed successfully! Please refer to the https://DATABRICKS_HOST/#workspace/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.mDSU/README for the next steps.
18:22 DEBUG [databricks.labs.ucx.installer.workflows] starting assessment job: https://DATABRICKS_HOST#job/791613513607898
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_svi2s: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_svi2s
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_svi2s', metastore_id=None, name='ucx_svi2s', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added workspace user fixture: User(active=True, display_name='sdk-ahzg@example.com', emails=[ComplexValue(display=None, primary=True, ref=None, type='work', value='sdk-ahzg@example.com')], entitlements=[], external_id=None, groups=[], id='2387076170273661', name=Name(family_name=None, given_name='sdk-ahzg@example.com'), roles=[], schemas=[<UserSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_USER: 'urn:ietf:params:scim:schemas:core:2.0:User'>, <UserSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_EXTENSION_WORKSPACE_2_0_USER: 'urn:ietf:params:scim:schemas:extension:workspace:2.0:User'>], user_name='sdk-ahzg@example.com')
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Workspace group ucx_Ukgw: https://DATABRICKS_HOST#setting/accounts/groups/798201443287343
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added workspace group fixture: Group(display_name='ucx_Ukgw', entitlements=[ComplexValue(display=None, primary=None, ref=None, type=None, value='allow-cluster-create')], external_id=None, groups=[], id='798201443287343', members=[ComplexValue(display='sdk-ahzg@example.com', primary=None, ref='Users/2387076170273661', type=None, value='2387076170273661')], meta=ResourceMeta(resource_type='WorkspaceGroup'), roles=[], schemas=[<GroupSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP: 'urn:ietf:params:scim:schemas:core:2.0:Group'>])
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Account group ucx_Ukgw: https://accounts.CLOUD_ENVdatabricks.net/users/groups/182703395948875/members
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added account group fixture: Group(display_name='ucx_Ukgw', entitlements=[], external_id=None, groups=[], id='182703395948875', members=[ComplexValue(display='sdk-ahzg@example.com', primary=None, ref='Users/2387076170273661', type=None, value='2387076170273661')], meta=None, roles=[], schemas=[<GroupSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP: 'urn:ietf:params:scim:schemas:core:2.0:Group'>])
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Cluster policy: https://DATABRICKS_HOST#setting/clusters/cluster-policies/view/0001BA0AEEA24400
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added cluster policy fixture: CreatePolicyResponse(policy_id='0001BA0AEEA24400')
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added cluster_policy permissions fixture: 0001BA0AEEA24400 [group_name admins CAN_USE] -> [group_name ucx_Ukgw CAN_USE]
18:21 DEBUG [databricks.labs.ucx.install] Cannot find previous installation: Path (/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.mDSU/config.yml) doesn't exist.
18:21 INFO [databricks.labs.ucx.install] Please answer a couple of questions to configure Unity Catalog migration
18:21 INFO [databricks.labs.ucx.installer.hms_lineage] HMS Lineage feature creates one system table named system.hms_to_uc_migration.table_access and helps in your migration process from HMS to UC by allowing you to programmatically query HMS lineage data.
18:21 INFO [databricks.labs.ucx.install] Fetching installations...
18:21 INFO [databricks.labs.ucx.installer.policy] Creating UCX cluster policy.
18:21 INFO [databricks.labs.ucx.install] Installing UCX v0.19.1+1320240327182136
18:21 INFO [databricks.labs.ucx.install] Creating dashboards...
18:21 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/views...
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment...
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/estimates...
18:21 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [MDSU] UCX  Assessment (Estimates)...
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 01_0_group_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 01_0_group_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 00_0_metastore_assignment.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 00_0_metastore_assignment.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 02_0_data_modeling.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 02_0_data_modeling.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 03_0_data_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 03_0_data_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/main...
18:21 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [MDSU] UCX  Assessment (Main)...
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/CLOUD_ENV...
18:22 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [MDSU] UCX  Assessment (Azure)...
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/interactive...
18:22 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [MDSU] UCX  Assessment (Interactive)...
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 00_0_interactive.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 00_0_interactive.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 02_0_cluster_summary.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 02_0_cluster_summary.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.installer.workflows] Creating jobs from tasks in main
18:22 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
18:22 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=assessment
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=validate-groups-permissions
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-tables
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=099-destroy-schema
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=remove-workspace-local-backup-groups
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups-experimental
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups
18:22 INFO [databricks.labs.ucx.install] Installation completed successfully! Please refer to the https://DATABRICKS_HOST/#workspace/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.mDSU/README for the next steps.
18:22 DEBUG [databricks.labs.ucx.installer.workflows] starting assessment job: https://DATABRICKS_HOST#job/791613513607898
18:31 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 cluster_policy permissions fixtures
18:31 DEBUG [databricks.labs.ucx.mixins.fixtures] removing cluster_policy permissions fixture: 0001BA0AEEA24400 [group_name admins CAN_USE] -> [group_name ucx_Ukgw CAN_USE]
18:31 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 cluster policy fixtures
18:31 DEBUG [databricks.labs.ucx.mixins.fixtures] removing cluster policy fixture: CreatePolicyResponse(policy_id='0001BA0AEEA24400')
18:31 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 workspace user fixtures
18:31 DEBUG [databricks.labs.ucx.mixins.fixtures] removing workspace user fixture: User(active=True, display_name='sdk-ahzg@example.com', emails=[ComplexValue(display=None, primary=True, ref=None, type='work', value='sdk-ahzg@example.com')], entitlements=[], external_id=None, groups=[], id='2387076170273661', name=Name(family_name=None, given_name='sdk-ahzg@example.com'), roles=[], schemas=[<UserSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_USER: 'urn:ietf:params:scim:schemas:core:2.0:User'>, <UserSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_EXTENSION_WORKSPACE_2_0_USER: 'urn:ietf:params:scim:schemas:extension:workspace:2.0:User'>], user_name='sdk-ahzg@example.com')
18:31 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 account group fixtures
18:31 DEBUG [databricks.labs.ucx.mixins.fixtures] removing account group fixture: Group(display_name='ucx_Ukgw', entitlements=[], external_id=None, groups=[], id='182703395948875', members=[ComplexValue(display='sdk-ahzg@example.com', primary=None, ref='Users/2387076170273661', type=None, value='2387076170273661')], meta=None, roles=[], schemas=[<GroupSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP: 'urn:ietf:params:scim:schemas:core:2.0:Group'>])
18:31 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 workspace group fixtures
18:31 DEBUG [databricks.labs.ucx.mixins.fixtures] removing workspace group fixture: Group(display_name='ucx_Ukgw', entitlements=[ComplexValue(display=None, primary=None, ref=None, type=None, value='allow-cluster-create')], external_id=None, groups=[], id='798201443287343', members=[ComplexValue(display='sdk-ahzg@example.com', primary=None, ref='Users/2387076170273661', type=None, value='2387076170273661')], meta=ResourceMeta(resource_type='WorkspaceGroup'), roles=[], schemas=[<GroupSchema.URN_IETF_PARAMS_SCIM_SCHEMAS_CORE_2_0_GROUP: 'urn:ietf:params:scim:schemas:core:2.0:Group'>])
18:31 INFO [databricks.labs.ucx.install] Deleting UCX v0.19.1+1320240327183118 from https://DATABRICKS_HOST
18:31 INFO [databricks.labs.ucx.install] Deleting inventory database ucx_svi2s
18:31 INFO [databricks.labs.ucx.install] Deleting jobs
18:31 INFO [databricks.labs.ucx.install] Deleting assessment job_id=791613513607898.
18:31 INFO [databricks.labs.ucx.install] Deleting validate-groups-permissions job_id=120211071822590.
18:31 INFO [databricks.labs.ucx.install] Deleting migrate-tables job_id=723248313594077.
18:31 INFO [databricks.labs.ucx.install] Deleting 099-destroy-schema job_id=663825363086932.
18:31 INFO [databricks.labs.ucx.install] Deleting remove-workspace-local-backup-groups job_id=770689613832077.
18:31 INFO [databricks.labs.ucx.install] Deleting migrate-groups-experimental job_id=1037201267688194.
18:31 INFO [databricks.labs.ucx.install] Deleting migrate-groups job_id=213305572098298.
18:31 INFO [databricks.labs.ucx.install] Deleting cluster policy
18:31 INFO [databricks.labs.ucx.install] Deleting secret scope
18:31 INFO [databricks.labs.ucx.install] UnInstalling UCX complete
18:31 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 1 schema fixtures
18:31 DEBUG [databricks.labs.ucx.mixins.fixtures] removing schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_svi2s', metastore_id=None, name='ucx_svi2s', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
[gw3] linux -- Python 3.10.13 /home/runner/work/ucx/ucx/.venv/bin/python
❌ test_partitioned_tables: databricks.labs.blueprint.parallel.ManyError: Detected 10 failures: Unknown: assess_CLOUD_ENV_service_principals: run failed with error message (9m47.707s)
databricks.labs.blueprint.parallel.ManyError: Detected 10 failures: Unknown: assess_CLOUD_ENV_service_principals: run failed with error message
 Could not reach driver of cluster DATABRICKS_CLUSTER_ID., Unknown: assess_clusters: run failed with error message
 Could not reach driver of cluster DATABRICKS_CLUSTER_ID., Unknown: assess_global_init_scripts: run failed with error message
 Could not reach driver of cluster DATABRICKS_CLUSTER_ID., Unknown: assess_incompatible_submit_runs: run failed with error message
 Could not reach driver of cluster DATABRICKS_CLUSTER_ID., Unknown: assess_jobs: run failed with error message
 Could not reach driver of cluster DATABRICKS_CLUSTER_ID., Unknown: assess_pipelines: run failed with error message
 Could not reach driver of cluster DATABRICKS_CLUSTER_ID., Unknown: crawl_cluster_policies: run failed with error message
 Could not reach driver of cluster DATABRICKS_CLUSTER_ID., Unknown: crawl_groups: run failed with error message
 Could not reach driver of cluster DATABRICKS_CLUSTER_ID., Unknown: crawl_mounts: run failed with error message
 Could not reach driver of cluster DATABRICKS_CLUSTER_ID., Unknown: workspace_listing: run failed with error message
 Could not reach driver of cluster DATABRICKS_CLUSTER_ID.
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_siofz: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_siofz
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_siofz', metastore_id=None, name='ucx_siofz', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
[gw5] linux -- Python 3.10.13 /home/runner/work/ucx/ucx/.venv/bin/python
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_siofz: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_siofz
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_siofz', metastore_id=None, name='ucx_siofz', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:21 DEBUG [databricks.labs.ucx.install] Cannot find previous installation: Path (/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Pi60/config.yml) doesn't exist.
18:21 INFO [databricks.labs.ucx.install] Please answer a couple of questions to configure Unity Catalog migration
18:21 INFO [databricks.labs.ucx.installer.hms_lineage] HMS Lineage feature creates one system table named system.hms_to_uc_migration.table_access and helps in your migration process from HMS to UC by allowing you to programmatically query HMS lineage data.
18:21 INFO [databricks.labs.ucx.install] Fetching installations...
18:21 INFO [databricks.labs.ucx.installer.policy] Creating UCX cluster policy.
18:21 INFO [databricks.labs.ucx.install] Installing UCX v0.19.1+1320240327182143
18:21 INFO [databricks.labs.ucx.install] Creating dashboards...
18:21 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/views...
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment...
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/estimates...
18:21 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [PI60] UCX  Assessment (Estimates)...
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 01_0_group_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 01_0_group_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 00_0_metastore_assignment.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 00_0_metastore_assignment.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 02_0_data_modeling.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 02_0_data_modeling.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 03_0_data_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 03_0_data_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/main...
18:21 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [PI60] UCX  Assessment (Main)...
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/CLOUD_ENV...
18:22 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [PI60] UCX  Assessment (Azure)...
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/interactive...
18:22 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [PI60] UCX  Assessment (Interactive)...
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 00_0_interactive.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 00_0_interactive.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 02_0_cluster_summary.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 02_0_cluster_summary.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.installer.workflows] Creating jobs from tasks in main
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-tables
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=validate-groups-permissions
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=remove-workspace-local-backup-groups
18:22 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
18:22 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=assessment
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups-experimental
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=099-destroy-schema
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups
18:22 INFO [databricks.labs.ucx.install] Installation completed successfully! Please refer to the https://DATABRICKS_HOST/#workspace/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Pi60/README for the next steps.
18:22 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_s5mmo: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_s5mmo
18:22 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_s5mmo', metastore_id=None, name='ucx_s5mmo', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:22 DEBUG [databricks.labs.ucx.installer.workflows] starting assessment job: https://DATABRICKS_HOST#job/477545444133138
18:21 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_siofz: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_siofz
18:21 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_siofz', metastore_id=None, name='ucx_siofz', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:21 DEBUG [databricks.labs.ucx.install] Cannot find previous installation: Path (/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Pi60/config.yml) doesn't exist.
18:21 INFO [databricks.labs.ucx.install] Please answer a couple of questions to configure Unity Catalog migration
18:21 INFO [databricks.labs.ucx.installer.hms_lineage] HMS Lineage feature creates one system table named system.hms_to_uc_migration.table_access and helps in your migration process from HMS to UC by allowing you to programmatically query HMS lineage data.
18:21 INFO [databricks.labs.ucx.install] Fetching installations...
18:21 INFO [databricks.labs.ucx.installer.policy] Creating UCX cluster policy.
18:21 INFO [databricks.labs.ucx.install] Installing UCX v0.19.1+1320240327182143
18:21 INFO [databricks.labs.ucx.install] Creating dashboards...
18:21 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/views...
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment...
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/estimates...
18:21 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [PI60] UCX  Assessment (Estimates)...
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 01_0_group_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 01_0_group_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 00_0_metastore_assignment.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 00_0_metastore_assignment.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 02_0_data_modeling.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 02_0_data_modeling.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 03_0_data_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 03_0_data_migration.md because it's a text widget
18:21 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/main...
18:21 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [PI60] UCX  Assessment (Main)...
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/CLOUD_ENV...
18:22 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [PI60] UCX  Assessment (Azure)...
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Reading dashboard folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/interactive...
18:22 INFO [databricks.labs.ucx.framework.dashboards] Creating dashboard [PI60] UCX  Assessment (Interactive)...
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 00_0_interactive.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 00_0_interactive.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping query 02_0_cluster_summary.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.framework.dashboards] Skipping viz 02_0_cluster_summary.md because it's a text widget
18:22 DEBUG [databricks.labs.ucx.installer.workflows] Creating jobs from tasks in main
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-tables
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=validate-groups-permissions
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=remove-workspace-local-backup-groups
18:22 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
18:22 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=assessment
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups-experimental
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=099-destroy-schema
18:22 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups
18:22 INFO [databricks.labs.ucx.install] Installation completed successfully! Please refer to the https://DATABRICKS_HOST/#workspace/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Pi60/README for the next steps.
18:22 INFO [databricks.labs.ucx.mixins.fixtures] Schema hive_metastore.ucx_s5mmo: https://DATABRICKS_HOST/explore/data/hive_metastore/ucx_s5mmo
18:22 DEBUG [databricks.labs.ucx.mixins.fixtures] added schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_s5mmo', metastore_id=None, name='ucx_s5mmo', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:22 DEBUG [databricks.labs.ucx.installer.workflows] starting assessment job: https://DATABRICKS_HOST#job/477545444133138
18:31 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 0 table fixtures
18:31 INFO [databricks.labs.ucx.install] Deleting UCX v0.19.1+1320240327183122 from https://DATABRICKS_HOST
18:31 INFO [databricks.labs.ucx.install] Deleting inventory database ucx_siofz
18:31 INFO [databricks.labs.ucx.install] Deleting jobs
18:31 INFO [databricks.labs.ucx.install] Deleting migrate-tables job_id=857245980069077.
18:31 INFO [databricks.labs.ucx.install] Deleting validate-groups-permissions job_id=198770473007646.
18:31 INFO [databricks.labs.ucx.install] Deleting remove-workspace-local-backup-groups job_id=151194993969820.
18:31 INFO [databricks.labs.ucx.install] Deleting assessment job_id=477545444133138.
18:31 INFO [databricks.labs.ucx.install] Deleting migrate-groups-experimental job_id=843444860788859.
18:31 INFO [databricks.labs.ucx.install] Deleting 099-destroy-schema job_id=306526758590659.
18:31 INFO [databricks.labs.ucx.install] Deleting migrate-groups job_id=927080334214341.
18:31 INFO [databricks.labs.ucx.install] Deleting cluster policy
18:31 INFO [databricks.labs.ucx.install] Deleting secret scope
18:31 INFO [databricks.labs.ucx.install] UnInstalling UCX complete
18:31 DEBUG [databricks.labs.ucx.mixins.fixtures] clearing 2 schema fixtures
18:31 DEBUG [databricks.labs.ucx.mixins.fixtures] removing schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_siofz', metastore_id=None, name='ucx_siofz', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
18:31 DEBUG [databricks.labs.ucx.mixins.fixtures] removing schema fixture: SchemaInfo(browse_only=None, catalog_name='hive_metastore', catalog_type=None, comment=None, created_at=None, created_by=None, effective_predictive_optimization_flag=None, enable_predictive_optimization=None, full_name='hive_metastore.ucx_s5mmo', metastore_id=None, name='ucx_s5mmo', owner=None, properties=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None)
[gw5] linux -- Python 3.10.13 /home/runner/work/ucx/ucx/.venv/bin/python

Running from acceptance #1823

Copy link
Contributor

@pritishpai pritishpai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! This one looks fairly straightforward. However, I see that the other view queries and the actual views in the inventory database do not have a suffix "_vw". Just for the sake of consistency, we could remove it (unless there was a reason to specifically add them to these 2 views).

@dmoore247 dmoore247 removed the request for review from alexott March 27, 2024 18:46
@dmoore247 dmoore247 added the bug Something isn't working label Mar 27, 2024
@@ -89,6 +89,8 @@ def deploy_schema(sql_backend: SqlBackend, inventory_schema: str):
deployer.deploy_view("objects", "queries/views/objects.sql")
deployer.deploy_view("grant_detail", "queries/views/grant_detail.sql")
deployer.deploy_view("table_estimates", "queries/views/table_estimates.sql")
deployer.deploy_view("misc_patterns", "queries/views/misc_patterns.sql")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this cannot be done during the main installation phase, which has to run on workspaces without UC enabled. these views rely on system schema, that does not exist yet. add a separate temporary CLI command to deploy these views and document it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nfx Please take a look at the code in these two views.
They are static SELECT FROM VALUES views to encode easy to change patterns etc.
The system.access.audit table is evaluated at open time of the dashboard. The dashboard header advises users of the requirements. Future releases can add commands to ensure system tables are turned on etc.

@nfx nfx removed the bug Something isn't working label Mar 27, 2024
@nfx nfx merged commit b4b3b52 into main Mar 27, 2024
6 of 8 checks passed
@nfx nfx deleted the fix/deploy_interactive_dashboard_views branch March 27, 2024 23:01
nfx added a commit that referenced this pull request Mar 28, 2024
* Added ACL migration to `migrate-tables` workflow ([#1135](#1135)).
* Added AVRO to supported format to be upgraded by SYNC ([#1134](#1134)). In this release, the `hive_metastore` package's `tables.py` file has been updated to add AVRO as a supported format for the SYNC upgrade functionality. This change includes AVRO in the list of supported table formats in the `is_format_supported_for_sync` method, which checks if the table format is not `None` and if the format's uppercase value is one of the supported formats. The addition of AVRO enables it to be upgraded using the SYNC functionality. Moreover, a new format called BINARYFILE has been introduced, which is not supported for SYNC upgrade. This release is part of the implementation of issue [#1134](#1134), improving the compatibility of the SYNC upgrade functionality with various data formats.
* Added `is_partitioned` column ([#1130](#1130)). A new column, `is_partitioned`, has been added to the `ucx.tables` table in the assessment module, indicating whether the table is partitioned or not with values `Yes` or "No". This change addresses issue [#871](#871) and has been manually tested. The commit also includes updated documentation for the modified table. No new methods, CLI commands, workflows, or tests (unit, integration) have been introduced as part of this change.
* Added assessment of interactive cluster usage compared to UC compute limitations ([#1123](#1123)).
* Added external location validation when creating catalogs with `create-catalogs-schemas` command ([#1110](#1110)).
* Added flag to Job to identify Job submitted by jar ([#1088](#1088)). The open-source library has been updated with several new features aimed at enhancing user functionality and convenience. These updates include the addition of a new sorting algorithm, which provides users with an efficient and customizable method for organizing data. Additionally, a new caching mechanism has been implemented, improving the library's performance and reducing the amount of time required to access frequently used data. Furthermore, the library now supports multi-threading, enabling users to perform multiple operations simultaneously and increase overall productivity. Lastly, a new error handling system has been developed, providing users with more informative and actionable feedback when unexpected issues arise. These changes are a significant step forward in improving the library's performance, functionality, and usability for all users.
* Bump databricks-sdk from 0.22.0 to 0.23.0 ([#1121](#1121)). In this version update, `databricks-sdk` is upgraded from 0.22.0 to 0.23.0, introducing significant changes to the handling of AWS and Azure identities. The `AwsIamRole` class is replaced with `AwsIamRoleRequest` in the `databricks.sdk.service.catalog` module, affecting the creation of AWS storage credentials using IAM roles. The `create` function in `src/databricks/labs/ucx/aws/credentials.py` is updated to accommodate this modification. Additionally, the `AwsIamRole` argument in the `create` function of `fixtures.py` in the `databricks/labs/ucx/mixins` directory is replaced with `AwsIamRoleRequest`. The tests in `tests/integration/aws/test_access.py` are also updated to utilize `AwsIamRoleRequest`, and `StorageCredentialInfo` in `tests/unit/azure/test_credentials.py` now uses `AwsIamRoleResponse` instead of `AwsIamRole`. The new classes, `AwsIamRoleRequest` and `AwsIamRoleResponse`, likely include new features or bug fixes for AWS IAM roles. These changes require software engineers to thoroughly assess their codebase and adjust any relevant functions accordingly.
* Deploy static views needed by [#1123](#1123) interactive dashboard ([#1139](#1139)). In this update, we have added two new views, `misc_patterns_vw` and `code_patterns_vw`, to the `install.py` script in the `databricks/labs/ucx` directory. These views were originally intended to be deployed with a previous update ([#1123](#1123)) but were inadvertently overlooked. The addition of these views addresses issues with queries in the `interactive` dashboard. The `deploy_schema` function has been updated with two new lines, `deployer.deploy_view("misc_patterns", "queries/views/misc_patterns.sql")` and `deployer.deploy_view("code_patterns", "queries/views/code_patterns.sql")`, to deploy the new views using their respective SQL files from the `queries/views` directory. No other modifications have been made to the file.
* Fixed Table ACL migration logic ([#1149](#1149)). The open-source library has been updated with several new features, providing enhanced functionality for software engineers. A new utility class has been added to simplify the process of working with collections, offering methods to filter, map, and reduce elements in a performant manner. Additionally, a new configuration system has been implemented, allowing users to easily customize library behavior through a simple JSON format. Finally, we have added support for asynchronous processing, enabling efficient handling of I/O-bound tasks and improving overall application performance. These features have been thoroughly tested and are ready for use in your projects.
* Fixed `AssertionError: assert '14.3.x-scala2.12' == '15.0.x-scala2.12'` from nightly integration tests ([#1120](#1120)). In this release, the open-source library has been updated with several new features to enhance functionality and provide more options to users. The library now supports multi-threading, allowing for more efficient processing of large datasets. Additionally, a new algorithm for data compression has been implemented, resulting in reduced memory usage and faster data transfer. The library API has also been expanded, with new methods for sorting and filtering data, as well as improved error handling. These changes aim to provide a more robust and performant library, making it an even more valuable tool for software engineers.
* Increase code coverage by 1 percent ([#1125](#1125)).
* Skip installation if remote and local version is the same, provide prompt to override ([#1084](#1084)). In this release, the `new_installation` workflow in the open-source library has been enhanced to include a new use case for handling identical remote and local versions of UCX. When the remote and local versions are the same, the user is now prompted and if no override is requested, a RuntimeWarning is raised. Additionally, users are now prompted to update the existing installation and if confirmed, the installation proceeds. These modifications include manual testing and new unit tests to ensure functionality. These changes provide users with more control over their installation process and address a specific use case for handling identical UCX versions.
* Updated databricks-labs-lsql requirement from ~=0.2.2 to >=0.2.2,<0.4.0 ([#1137](#1137)). The open-source library has been updated with several new features to enhance usability and functionality. Firstly, we have added support for asynchronous processing, allowing for more efficient handling of large data sets and improving overall performance. Additionally, a new configuration system has been implemented, which simplifies the setup process for users and increases customization options. We have also included a new error handling mechanism that provides more detailed and actionable information, making it easier to diagnose and resolve issues. Lastly, we have made significant improvements to the library's documentation, including updated examples, guides, and an expanded API reference. These changes are part of our ongoing commitment to improving the library and providing the best possible user experience.
* [Experimental] Add support for permission migration API ([#1080](#1080)).

Dependency updates:

 * Updated databricks-labs-lsql requirement from ~=0.2.2 to >=0.2.2,<0.4.0 ([#1137](#1137)).
@nfx nfx mentioned this pull request Mar 28, 2024
nfx added a commit that referenced this pull request Mar 28, 2024
* Added ACL migration to `migrate-tables` workflow
([#1135](#1135)).
* Added AVRO to supported format to be upgraded by SYNC
([#1134](#1134)). In this
release, the `hive_metastore` package's `tables.py` file has been
updated to add AVRO as a supported format for the SYNC upgrade
functionality. This change includes AVRO in the list of supported table
formats in the `is_format_supported_for_sync` method, which checks if
the table format is not `None` and if the format's uppercase value is
one of the supported formats. The addition of AVRO enables it to be
upgraded using the SYNC functionality. Moreover, a new format called
BINARYFILE has been introduced, which is not supported for SYNC upgrade.
This release is part of the implementation of issue
[#1134](#1134), improving
the compatibility of the SYNC upgrade functionality with various data
formats.
* Added `is_partitioned` column
([#1130](#1130)). A new
column, `is_partitioned`, has been added to the `ucx.tables` table in
the assessment module, indicating whether the table is partitioned or
not with values `Yes` or "No". This change addresses issue
[#871](#871) and has been
manually tested. The commit also includes updated documentation for the
modified table. No new methods, CLI commands, workflows, or tests (unit,
integration) have been introduced as part of this change.
* Added assessment of interactive cluster usage compared to UC compute
limitations
([#1123](#1123)).
* Added external location validation when creating catalogs with
`create-catalogs-schemas` command
([#1110](#1110)).
* Added flag to Job to identify Job submitted by jar
([#1088](#1088)). The
open-source library has been updated with several new features aimed at
enhancing user functionality and convenience. These updates include the
addition of a new sorting algorithm, which provides users with an
efficient and customizable method for organizing data. Additionally, a
new caching mechanism has been implemented, improving the library's
performance and reducing the amount of time required to access
frequently used data. Furthermore, the library now supports
multi-threading, enabling users to perform multiple operations
simultaneously and increase overall productivity. Lastly, a new error
handling system has been developed, providing users with more
informative and actionable feedback when unexpected issues arise. These
changes are a significant step forward in improving the library's
performance, functionality, and usability for all users.
* Bump databricks-sdk from 0.22.0 to 0.23.0
([#1121](#1121)). In this
version update, `databricks-sdk` is upgraded from 0.22.0 to 0.23.0,
introducing significant changes to the handling of AWS and Azure
identities. The `AwsIamRole` class is replaced with `AwsIamRoleRequest`
in the `databricks.sdk.service.catalog` module, affecting the creation
of AWS storage credentials using IAM roles. The `create` function in
`src/databricks/labs/ucx/aws/credentials.py` is updated to accommodate
this modification. Additionally, the `AwsIamRole` argument in the
`create` function of `fixtures.py` in the `databricks/labs/ucx/mixins`
directory is replaced with `AwsIamRoleRequest`. The tests in
`tests/integration/aws/test_access.py` are also updated to utilize
`AwsIamRoleRequest`, and `StorageCredentialInfo` in
`tests/unit/azure/test_credentials.py` now uses `AwsIamRoleResponse`
instead of `AwsIamRole`. The new classes, `AwsIamRoleRequest` and
`AwsIamRoleResponse`, likely include new features or bug fixes for AWS
IAM roles. These changes require software engineers to thoroughly assess
their codebase and adjust any relevant functions accordingly.
* Deploy static views needed by
[#1123](#1123) interactive
dashboard ([#1139](#1139)).
In this update, we have added two new views, `misc_patterns_vw` and
`code_patterns_vw`, to the `install.py` script in the
`databricks/labs/ucx` directory. These views were originally intended to
be deployed with a previous update
([#1123](#1123)) but were
inadvertently overlooked. The addition of these views addresses issues
with queries in the `interactive` dashboard. The `deploy_schema`
function has been updated with two new lines,
`deployer.deploy_view("misc_patterns",
"queries/views/misc_patterns.sql")` and
`deployer.deploy_view("code_patterns",
"queries/views/code_patterns.sql")`, to deploy the new views using their
respective SQL files from the `queries/views` directory. No other
modifications have been made to the file.
* Fixed Table ACL migration logic
([#1149](#1149)). The
open-source library has been updated with several new features,
providing enhanced functionality for software engineers. A new utility
class has been added to simplify the process of working with
collections, offering methods to filter, map, and reduce elements in a
performant manner. Additionally, a new configuration system has been
implemented, allowing users to easily customize library behavior through
a simple JSON format. Finally, we have added support for asynchronous
processing, enabling efficient handling of I/O-bound tasks and improving
overall application performance. These features have been thoroughly
tested and are ready for use in your projects.
* Fixed `AssertionError: assert '14.3.x-scala2.12' ==
'15.0.x-scala2.12'` from nightly integration tests
([#1120](#1120)). In this
release, the open-source library has been updated with several new
features to enhance functionality and provide more options to users. The
library now supports multi-threading, allowing for more efficient
processing of large datasets. Additionally, a new algorithm for data
compression has been implemented, resulting in reduced memory usage and
faster data transfer. The library API has also been expanded, with new
methods for sorting and filtering data, as well as improved error
handling. These changes aim to provide a more robust and performant
library, making it an even more valuable tool for software engineers.
* Increase code coverage by 1 percent
([#1125](#1125)).
* Skip installation if remote and local version is the same, provide
prompt to override
([#1084](#1084)). In this
release, the `new_installation` workflow in the open-source library has
been enhanced to include a new use case for handling identical remote
and local versions of UCX. When the remote and local versions are the
same, the user is now prompted and if no override is requested, a
RuntimeWarning is raised. Additionally, users are now prompted to update
the existing installation and if confirmed, the installation proceeds.
These modifications include manual testing and new unit tests to ensure
functionality. These changes provide users with more control over their
installation process and address a specific use case for handling
identical UCX versions.
* Updated databricks-labs-lsql requirement from ~=0.2.2 to
>=0.2.2,<0.4.0
([#1137](#1137)). The
open-source library has been updated with several new features to
enhance usability and functionality. Firstly, we have added support for
asynchronous processing, allowing for more efficient handling of large
data sets and improving overall performance. Additionally, a new
configuration system has been implemented, which simplifies the setup
process for users and increases customization options. We have also
included a new error handling mechanism that provides more detailed and
actionable information, making it easier to diagnose and resolve issues.
Lastly, we have made significant improvements to the library's
documentation, including updated examples, guides, and an expanded API
reference. These changes are part of our ongoing commitment to improving
the library and providing the best possible user experience.
* [Experimental] Add support for permission migration API
([#1080](#1080)).

Dependency updates:

* Updated databricks-labs-lsql requirement from ~=0.2.2 to
>=0.2.2,<0.4.0
([#1137](#1137)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants