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

Test failure: test_table_migration_for_managed_table[managed-migrate-tables] #3323

Closed
github-actions bot opened this issue Nov 18, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@github-actions
Copy link

❌ test_table_migration_for_managed_table[managed-migrate-tables]: AssertionError: dummy_trpj9 not found in dummy_cblou.managed_pglge (7m45.714s)
AssertionError: dummy_trpj9 not found in dummy_cblou.managed_pglge
assert False
[gw7] linux -- Python 3.10.15 /home/runner/work/ucx/ucx/.venv/bin/python
10:03 DEBUG [databricks.labs.ucx.install] Cannot find previous installation: Path (/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Gmbx/config.yml) doesn't exist.
10:03 INFO [databricks.labs.ucx.install] Please answer a couple of questions to configure Unity Catalog migration
10:04 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.
10:04 INFO [databricks.labs.ucx.install] Fetching installations...
10:04 WARNING [databricks.labs.ucx.install] Existing installation at /Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Gmbx is corrupted. Skipping...
10:04 INFO [databricks.labs.ucx.installer.policy] Creating UCX cluster policy.
10:04 DEBUG [tests.integration.conftest] Waiting for clusters to start...
10:04 DEBUG [tests.integration.conftest] Waiting for clusters to start...
10:05 INFO [databricks.labs.ucx.install] Installing UCX v0.49.1+1720241118100550
10:05 INFO [databricks.labs.ucx.install] Creating ucx schemas...
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migration-progress-experimental
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=validate-groups-permissions
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-tables-in-mounts-experimental
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-data-reconciliation
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=remove-workspace-local-backup-groups
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-external-hiveserde-tables-in-place-experimental
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-tables
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=assessment
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=scan-tables-in-mounts-experimental
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-external-tables-ctas
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=failing
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups-legacy
10:06 INFO [databricks.labs.ucx.install] Creating dashboards...
10:06 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/views...
10:06 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment...
10:06 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration...
10:06 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/progress...
10:06 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/interactive...
10:06 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/estimates...
10:06 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/main...
10:06 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/CLOUD_ENV...
10:06 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration/groups...
10:06 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration/main...
10:06 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/progress/main...
10:06 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
10:06 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
10:06 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
10:06 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
10:06 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
10:06 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
10:06 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
10:07 INFO [databricks.labs.ucx.install] Installation completed successfully! Please refer to the https://DATABRICKS_HOST/#workspace/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Gmbx/README for the next steps.
10:07 DEBUG [databricks.labs.ucx.installer.workflows] starting migrate-tables job: https://DATABRICKS_HOST#job/1089703327594054
10:07 INFO [databricks.labs.ucx.installer.workflows] Started migrate-tables job: https://DATABRICKS_HOST#job/1089703327594054/runs/359631369821735
10:07 DEBUG [databricks.labs.ucx.installer.workflows] Waiting for completion of migrate-tables job: https://DATABRICKS_HOST#job/1089703327594054/runs/359631369821735
10:09 INFO [databricks.labs.ucx.installer.workflows] Completed migrate-tables job run 359631369821735 with state: RunResultState.CANCELED (Run cancelled by user)
10:09 INFO [databricks.labs.ucx.installer.workflows] Completed migrate-tables job run 359631369821735 duration: 0:01:56.397000 (2024-11-18 10:07:01.750000+00:00 thru 2024-11-18 10:08:58.147000+00:00)
10:03 DEBUG [databricks.labs.ucx.install] Cannot find previous installation: Path (/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Gmbx/config.yml) doesn't exist.
10:03 INFO [databricks.labs.ucx.install] Please answer a couple of questions to configure Unity Catalog migration
10:04 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.
10:04 INFO [databricks.labs.ucx.install] Fetching installations...
10:04 WARNING [databricks.labs.ucx.install] Existing installation at /Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Gmbx is corrupted. Skipping...
10:04 INFO [databricks.labs.ucx.installer.policy] Creating UCX cluster policy.
10:04 DEBUG [tests.integration.conftest] Waiting for clusters to start...
10:04 DEBUG [tests.integration.conftest] Waiting for clusters to start...
10:05 INFO [databricks.labs.ucx.install] Installing UCX v0.49.1+1720241118100550
10:05 INFO [databricks.labs.ucx.install] Creating ucx schemas...
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migration-progress-experimental
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=validate-groups-permissions
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-tables-in-mounts-experimental
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-data-reconciliation
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=remove-workspace-local-backup-groups
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-external-hiveserde-tables-in-place-experimental
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-tables
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=assessment
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=scan-tables-in-mounts-experimental
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-external-tables-ctas
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=failing
10:05 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups-legacy
10:06 INFO [databricks.labs.ucx.install] Creating dashboards...
10:06 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/views...
10:06 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment...
10:06 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration...
10:06 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/progress...
10:06 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/interactive...
10:06 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/estimates...
10:06 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/main...
10:06 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/CLOUD_ENV...
10:06 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration/groups...
10:06 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration/main...
10:06 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/progress/main...
10:06 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
10:06 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
10:06 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
10:06 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
10:06 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
10:06 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
10:06 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
10:07 INFO [databricks.labs.ucx.install] Installation completed successfully! Please refer to the https://DATABRICKS_HOST/#workspace/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Gmbx/README for the next steps.
10:07 DEBUG [databricks.labs.ucx.installer.workflows] starting migrate-tables job: https://DATABRICKS_HOST#job/1089703327594054
10:07 INFO [databricks.labs.ucx.installer.workflows] Started migrate-tables job: https://DATABRICKS_HOST#job/1089703327594054/runs/359631369821735
10:07 DEBUG [databricks.labs.ucx.installer.workflows] Waiting for completion of migrate-tables job: https://DATABRICKS_HOST#job/1089703327594054/runs/359631369821735
10:09 INFO [databricks.labs.ucx.installer.workflows] Completed migrate-tables job run 359631369821735 with state: RunResultState.CANCELED (Run cancelled by user)
10:09 INFO [databricks.labs.ucx.installer.workflows] Completed migrate-tables job run 359631369821735 duration: 0:01:56.397000 (2024-11-18 10:07:01.750000+00:00 thru 2024-11-18 10:08:58.147000+00:00)
10:09 INFO [databricks.labs.ucx.install] Deleting UCX v0.49.1+1720241118100550 from https://DATABRICKS_HOST
10:09 INFO [databricks.labs.ucx.install] Deleting inventory database dummy_szfuv
10:09 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=922208520355732, as it is no longer needed
10:09 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=1018080097671118, as it is no longer needed
10:09 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=319891169443402, as it is no longer needed
10:09 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=483291583521997, as it is no longer needed
10:09 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=889005861382453, as it is no longer needed
10:09 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=523127537869127, as it is no longer needed
10:09 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=1020947607456096, as it is no longer needed
10:09 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=1089703327594054, as it is no longer needed
10:09 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=497990939992732, as it is no longer needed
10:09 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=260719092568847, as it is no longer needed
10:09 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=714770172175090, as it is no longer needed
10:09 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=769682026526221, as it is no longer needed
10:09 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=209723392577924, as it is no longer needed
10:09 INFO [databricks.labs.ucx.install] Deleting cluster policy
10:09 ERROR [databricks.labs.ucx.install] UCX Policy already deleted
10:09 INFO [databricks.labs.ucx.install] Deleting secret scope
10:09 INFO [databricks.labs.ucx.install] UnInstalling UCX complete
[gw7] linux -- Python 3.10.15 /home/runner/work/ucx/ucx/.venv/bin/python

Running from nightly #273

@github-actions github-actions bot added the bug Something isn't working label Nov 18, 2024
Copy link
Author

❌ test_table_migration_for_managed_table[managed-migrate-tables]: databricks.labs.blueprint.parallel.ManyError: Detected 7 failures: AttributeError: 'dict' object has no attribute 'as_dict' (1m5.272s)
databricks.labs.blueprint.parallel.ManyError: Detected 7 failures: AttributeError: 'dict' object has no attribute 'as_dict'
[gw4] linux -- Python 3.10.15 /home/runner/work/ucx/ucx/.venv/bin/python
09:57 DEBUG [databricks.labs.ucx.install] Cannot find previous installation: Path (/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Cmv6/config.yml) doesn't exist.
09:57 INFO [databricks.labs.ucx.install] Please answer a couple of questions to configure Unity Catalog migration
09:57 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.
09:57 INFO [databricks.labs.ucx.install] Fetching installations...
09:57 WARNING [databricks.labs.ucx.install] Existing installation at /Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Cmv6 is corrupted. Skipping...
09:57 INFO [databricks.labs.ucx.installer.policy] Creating UCX cluster policy.
09:57 DEBUG [tests.integration.conftest] Waiting for clusters to start...
09:57 DEBUG [tests.integration.conftest] Waiting for clusters to start...
09:57 INFO [databricks.labs.ucx.install] Installing UCX v0.50.1+320241119095710
09:57 INFO [databricks.labs.ucx.install] Creating ucx schemas...
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migration-progress-experimental
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-tables
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=remove-workspace-local-backup-groups
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=assessment
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=validate-groups-permissions
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-data-reconciliation
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-external-tables-ctas
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-external-hiveserde-tables-in-place-experimental
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=scan-tables-in-mounts-experimental
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups-legacy
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=failing
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-tables-in-mounts-experimental
09:57 INFO [databricks.labs.ucx.install] Creating dashboards...
09:57 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/views...
09:57 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment...
09:57 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration...
09:57 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/progress...
09:57 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/interactive...
09:57 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/estimates...
09:57 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/main...
09:57 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/CLOUD_ENV...
09:57 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration/groups...
09:57 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration/main...
09:57 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/progress/main...
09:57 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
09:57 ERROR [databricks.labs.blueprint.parallel] installing dashboards(PosixPath('/home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/CLOUD_ENV'), parent_path='/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Cmv6/dashboards') task failed: 'dict' object has no attribute 'as_dict'
Traceback (most recent call last):
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/blueprint/parallel.py", line 158, in inner
    return func(*args, **kwargs), None
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 54, in wrapper
    raise err
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 33, in wrapper
    return func(*args, **kwargs)
  File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/install.py", line 653, in _create_dashboard
    dashboard = Dashboards(self._ws).create_dashboard(
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/dashboards.py", line 1138, in create_dashboard
    sdk_dashboard = self._ws.lakeview.create(dashboard=dashboard_to_create.as_dict())  # type: ignore
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/service/dashboards.py", line 1147, in create
    body = dashboard.as_dict()
AttributeError: 'dict' object has no attribute 'as_dict'
09:57 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
09:57 ERROR [databricks.labs.blueprint.parallel] installing dashboards(PosixPath('/home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration/groups'), parent_path='/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Cmv6/dashboards') task failed: 'dict' object has no attribute 'as_dict'
Traceback (most recent call last):
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/blueprint/parallel.py", line 158, in inner
    return func(*args, **kwargs), None
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 54, in wrapper
    raise err
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 33, in wrapper
    return func(*args, **kwargs)
  File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/install.py", line 653, in _create_dashboard
    dashboard = Dashboards(self._ws).create_dashboard(
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/dashboards.py", line 1138, in create_dashboard
    sdk_dashboard = self._ws.lakeview.create(dashboard=dashboard_to_create.as_dict())  # type: ignore
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/service/dashboards.py", line 1147, in create
    body = dashboard.as_dict()
AttributeError: 'dict' object has no attribute 'as_dict'
09:57 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
09:57 ERROR [databricks.labs.blueprint.parallel] installing dashboards(PosixPath('/home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/interactive'), parent_path='/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Cmv6/dashboards') task failed: 'dict' object has no attribute 'as_dict'
Traceback (most recent call last):
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/blueprint/parallel.py", line 158, in inner
    return func(*args, **kwargs), None
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 54, in wrapper
    raise err
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 33, in wrapper
    return func(*args, **kwargs)
  File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/install.py", line 653, in _create_dashboard
    dashboard = Dashboards(self._ws).create_dashboard(
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/dashboards.py", line 1138, in create_dashboard
    sdk_dashboard = self._ws.lakeview.create(dashboard=dashboard_to_create.as_dict())  # type: ignore
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/service/dashboards.py", line 1147, in create
    body = dashboard.as_dict()
AttributeError: 'dict' object has no attribute 'as_dict'
09:57 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
09:57 ERROR [databricks.labs.blueprint.parallel] installing dashboards(PosixPath('/home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration/main'), parent_path='/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Cmv6/dashboards') task failed: 'dict' object has no attribute 'as_dict'
Traceback (most recent call last):
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/blueprint/parallel.py", line 158, in inner
    return func(*args, **kwargs), None
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 54, in wrapper
    raise err
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 33, in wrapper
    return func(*args, **kwargs)
  File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/install.py", line 653, in _create_dashboard
    dashboard = Dashboards(self._ws).create_dashboard(
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/dashboards.py", line 1138, in create_dashboard
    sdk_dashboard = self._ws.lakeview.create(dashboard=dashboard_to_create.as_dict())  # type: ignore
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/service/dashboards.py", line 1147, in create
    body = dashboard.as_dict()
AttributeError: 'dict' object has no attribute 'as_dict'
09:57 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
09:57 ERROR [databricks.labs.blueprint.parallel] installing dashboards(PosixPath('/home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/estimates'), parent_path='/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Cmv6/dashboards') task failed: 'dict' object has no attribute 'as_dict'
Traceback (most recent call last):
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/blueprint/parallel.py", line 158, in inner
    return func(*args, **kwargs), None
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 54, in wrapper
    raise err
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 33, in wrapper
    return func(*args, **kwargs)
  File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/install.py", line 653, in _create_dashboard
    dashboard = Dashboards(self._ws).create_dashboard(
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/dashboards.py", line 1138, in create_dashboard
    sdk_dashboard = self._ws.lakeview.create(dashboard=dashboard_to_create.as_dict())  # type: ignore
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/service/dashboards.py", line 1147, in create
    body = dashboard.as_dict()
AttributeError: 'dict' object has no attribute 'as_dict'
09:57 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
09:57 ERROR [databricks.labs.blueprint.parallel] installing dashboards(PosixPath('/home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/progress/main'), parent_path='/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Cmv6/dashboards') task failed: 'dict' object has no attribute 'as_dict'
Traceback (most recent call last):
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/blueprint/parallel.py", line 158, in inner
    return func(*args, **kwargs), None
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 54, in wrapper
    raise err
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 33, in wrapper
    return func(*args, **kwargs)
  File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/install.py", line 653, in _create_dashboard
    dashboard = Dashboards(self._ws).create_dashboard(
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/dashboards.py", line 1138, in create_dashboard
    sdk_dashboard = self._ws.lakeview.create(dashboard=dashboard_to_create.as_dict())  # type: ignore
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/service/dashboards.py", line 1147, in create
    body = dashboard.as_dict()
AttributeError: 'dict' object has no attribute 'as_dict'
09:57 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
09:57 ERROR [databricks.labs.blueprint.parallel] installing dashboards(PosixPath('/home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/main'), parent_path='/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Cmv6/dashboards') task failed: 'dict' object has no attribute 'as_dict'
Traceback (most recent call last):
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/blueprint/parallel.py", line 158, in inner
    return func(*args, **kwargs), None
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 54, in wrapper
    raise err
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 33, in wrapper
    return func(*args, **kwargs)
  File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/install.py", line 653, in _create_dashboard
    dashboard = Dashboards(self._ws).create_dashboard(
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/dashboards.py", line 1138, in create_dashboard
    sdk_dashboard = self._ws.lakeview.create(dashboard=dashboard_to_create.as_dict())  # type: ignore
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/service/dashboards.py", line 1147, in create
    body = dashboard.as_dict()
AttributeError: 'dict' object has no attribute 'as_dict'
09:57 CRITICAL [databricks.labs.blueprint.parallel] All 'installing dashboards' tasks failed!!!
09:57 ERROR [databricks.labs.blueprint.parallel] installing components task failed: Detected 7 failures: AttributeError: 'dict' object has no attribute 'as_dict'
Traceback (most recent call last):
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/blueprint/parallel.py", line 158, in inner
    return func(*args, **kwargs), None
  File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/install.py", line 540, in _create_database_and_dashboards
    Threads.strict("installing dashboards", list(self._get_create_dashboard_tasks()))
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/blueprint/parallel.py", line 63, in strict
    raise ManyError(errs)
databricks.labs.blueprint.parallel.ManyError: Detected 7 failures: AttributeError: 'dict' object has no attribute 'as_dict'
09:57 ERROR [databricks.labs.blueprint.parallel] More than half 'installing components' tasks failed: 0% results available (0/2). Took 0:00:13.338649
09:57 DEBUG [databricks.labs.ucx.install] Cannot find previous installation: Path (/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Cmv6/config.yml) doesn't exist.
09:57 INFO [databricks.labs.ucx.install] Please answer a couple of questions to configure Unity Catalog migration
09:57 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.
09:57 INFO [databricks.labs.ucx.install] Fetching installations...
09:57 WARNING [databricks.labs.ucx.install] Existing installation at /Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Cmv6 is corrupted. Skipping...
09:57 INFO [databricks.labs.ucx.installer.policy] Creating UCX cluster policy.
09:57 DEBUG [tests.integration.conftest] Waiting for clusters to start...
09:57 DEBUG [tests.integration.conftest] Waiting for clusters to start...
09:57 INFO [databricks.labs.ucx.install] Installing UCX v0.50.1+320241119095710
09:57 INFO [databricks.labs.ucx.install] Creating ucx schemas...
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migration-progress-experimental
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-tables
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=remove-workspace-local-backup-groups
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=assessment
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=validate-groups-permissions
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-data-reconciliation
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-external-tables-ctas
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-external-hiveserde-tables-in-place-experimental
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=scan-tables-in-mounts-experimental
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups-legacy
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=failing
09:57 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-tables-in-mounts-experimental
09:57 INFO [databricks.labs.ucx.install] Creating dashboards...
09:57 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/views...
09:57 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment...
09:57 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration...
09:57 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/progress...
09:57 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/interactive...
09:57 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/estimates...
09:57 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/main...
09:57 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/CLOUD_ENV...
09:57 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration/groups...
09:57 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration/main...
09:57 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/progress/main...
09:57 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
09:57 ERROR [databricks.labs.blueprint.parallel] installing dashboards(PosixPath('/home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/CLOUD_ENV'), parent_path='/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Cmv6/dashboards') task failed: 'dict' object has no attribute 'as_dict'
Traceback (most recent call last):
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/blueprint/parallel.py", line 158, in inner
    return func(*args, **kwargs), None
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 54, in wrapper
    raise err
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 33, in wrapper
    return func(*args, **kwargs)
  File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/install.py", line 653, in _create_dashboard
    dashboard = Dashboards(self._ws).create_dashboard(
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/dashboards.py", line 1138, in create_dashboard
    sdk_dashboard = self._ws.lakeview.create(dashboard=dashboard_to_create.as_dict())  # type: ignore
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/service/dashboards.py", line 1147, in create
    body = dashboard.as_dict()
AttributeError: 'dict' object has no attribute 'as_dict'
09:57 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
09:57 ERROR [databricks.labs.blueprint.parallel] installing dashboards(PosixPath('/home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration/groups'), parent_path='/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Cmv6/dashboards') task failed: 'dict' object has no attribute 'as_dict'
Traceback (most recent call last):
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/blueprint/parallel.py", line 158, in inner
    return func(*args, **kwargs), None
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 54, in wrapper
    raise err
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 33, in wrapper
    return func(*args, **kwargs)
  File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/install.py", line 653, in _create_dashboard
    dashboard = Dashboards(self._ws).create_dashboard(
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/dashboards.py", line 1138, in create_dashboard
    sdk_dashboard = self._ws.lakeview.create(dashboard=dashboard_to_create.as_dict())  # type: ignore
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/service/dashboards.py", line 1147, in create
    body = dashboard.as_dict()
AttributeError: 'dict' object has no attribute 'as_dict'
09:57 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
09:57 ERROR [databricks.labs.blueprint.parallel] installing dashboards(PosixPath('/home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/interactive'), parent_path='/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Cmv6/dashboards') task failed: 'dict' object has no attribute 'as_dict'
Traceback (most recent call last):
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/blueprint/parallel.py", line 158, in inner
    return func(*args, **kwargs), None
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 54, in wrapper
    raise err
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 33, in wrapper
    return func(*args, **kwargs)
  File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/install.py", line 653, in _create_dashboard
    dashboard = Dashboards(self._ws).create_dashboard(
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/dashboards.py", line 1138, in create_dashboard
    sdk_dashboard = self._ws.lakeview.create(dashboard=dashboard_to_create.as_dict())  # type: ignore
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/service/dashboards.py", line 1147, in create
    body = dashboard.as_dict()
AttributeError: 'dict' object has no attribute 'as_dict'
09:57 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
09:57 ERROR [databricks.labs.blueprint.parallel] installing dashboards(PosixPath('/home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration/main'), parent_path='/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Cmv6/dashboards') task failed: 'dict' object has no attribute 'as_dict'
Traceback (most recent call last):
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/blueprint/parallel.py", line 158, in inner
    return func(*args, **kwargs), None
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 54, in wrapper
    raise err
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 33, in wrapper
    return func(*args, **kwargs)
  File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/install.py", line 653, in _create_dashboard
    dashboard = Dashboards(self._ws).create_dashboard(
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/dashboards.py", line 1138, in create_dashboard
    sdk_dashboard = self._ws.lakeview.create(dashboard=dashboard_to_create.as_dict())  # type: ignore
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/service/dashboards.py", line 1147, in create
    body = dashboard.as_dict()
AttributeError: 'dict' object has no attribute 'as_dict'
09:57 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
09:57 ERROR [databricks.labs.blueprint.parallel] installing dashboards(PosixPath('/home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/estimates'), parent_path='/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Cmv6/dashboards') task failed: 'dict' object has no attribute 'as_dict'
Traceback (most recent call last):
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/blueprint/parallel.py", line 158, in inner
    return func(*args, **kwargs), None
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 54, in wrapper
    raise err
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 33, in wrapper
    return func(*args, **kwargs)
  File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/install.py", line 653, in _create_dashboard
    dashboard = Dashboards(self._ws).create_dashboard(
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/dashboards.py", line 1138, in create_dashboard
    sdk_dashboard = self._ws.lakeview.create(dashboard=dashboard_to_create.as_dict())  # type: ignore
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/service/dashboards.py", line 1147, in create
    body = dashboard.as_dict()
AttributeError: 'dict' object has no attribute 'as_dict'
09:57 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
09:57 ERROR [databricks.labs.blueprint.parallel] installing dashboards(PosixPath('/home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/progress/main'), parent_path='/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Cmv6/dashboards') task failed: 'dict' object has no attribute 'as_dict'
Traceback (most recent call last):
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/blueprint/parallel.py", line 158, in inner
    return func(*args, **kwargs), None
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 54, in wrapper
    raise err
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 33, in wrapper
    return func(*args, **kwargs)
  File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/install.py", line 653, in _create_dashboard
    dashboard = Dashboards(self._ws).create_dashboard(
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/dashboards.py", line 1138, in create_dashboard
    sdk_dashboard = self._ws.lakeview.create(dashboard=dashboard_to_create.as_dict())  # type: ignore
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/service/dashboards.py", line 1147, in create
    body = dashboard.as_dict()
AttributeError: 'dict' object has no attribute 'as_dict'
09:57 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
09:57 ERROR [databricks.labs.blueprint.parallel] installing dashboards(PosixPath('/home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/main'), parent_path='/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Cmv6/dashboards') task failed: 'dict' object has no attribute 'as_dict'
Traceback (most recent call last):
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/blueprint/parallel.py", line 158, in inner
    return func(*args, **kwargs), None
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 54, in wrapper
    raise err
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/retries.py", line 33, in wrapper
    return func(*args, **kwargs)
  File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/install.py", line 653, in _create_dashboard
    dashboard = Dashboards(self._ws).create_dashboard(
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/lsql/dashboards.py", line 1138, in create_dashboard
    sdk_dashboard = self._ws.lakeview.create(dashboard=dashboard_to_create.as_dict())  # type: ignore
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/sdk/service/dashboards.py", line 1147, in create
    body = dashboard.as_dict()
AttributeError: 'dict' object has no attribute 'as_dict'
09:57 CRITICAL [databricks.labs.blueprint.parallel] All 'installing dashboards' tasks failed!!!
09:57 ERROR [databricks.labs.blueprint.parallel] installing components task failed: Detected 7 failures: AttributeError: 'dict' object has no attribute 'as_dict'
Traceback (most recent call last):
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/blueprint/parallel.py", line 158, in inner
    return func(*args, **kwargs), None
  File "/home/runner/work/ucx/ucx/src/databricks/labs/ucx/install.py", line 540, in _create_database_and_dashboards
    Threads.strict("installing dashboards", list(self._get_create_dashboard_tasks()))
  File "/home/runner/work/ucx/ucx/.venv/lib/python3.10/site-packages/databricks/labs/blueprint/parallel.py", line 63, in strict
    raise ManyError(errs)
databricks.labs.blueprint.parallel.ManyError: Detected 7 failures: AttributeError: 'dict' object has no attribute 'as_dict'
09:57 ERROR [databricks.labs.blueprint.parallel] More than half 'installing components' tasks failed: 0% results available (0/2). Took 0:00:13.338649
09:57 INFO [databricks.labs.ucx.install] Deleting UCX v0.50.1+320241119095710 from https://DATABRICKS_HOST
09:57 INFO [databricks.labs.ucx.install] Deleting inventory database dummy_s01t9
09:57 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=349143043761640, as it is no longer needed
09:57 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=932499405506423, as it is no longer needed
09:57 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=661238383800382, as it is no longer needed
09:57 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=1038175125223916, as it is no longer needed
09:57 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=249212169555254, as it is no longer needed
09:57 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=151208486876828, as it is no longer needed
09:57 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=650582172306201, as it is no longer needed
09:57 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=403552539252560, as it is no longer needed
09:57 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=124730871284447, as it is no longer needed
09:57 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=973154268176233, as it is no longer needed
09:57 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=585421063292371, as it is no longer needed
09:57 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=863614791104127, as it is no longer needed
09:57 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=791873895425774, as it is no longer needed
09:57 INFO [databricks.labs.ucx.install] Deleting cluster policy
09:57 INFO [databricks.labs.ucx.install] Deleting secret scope
09:57 INFO [databricks.labs.ucx.install] UnInstalling UCX complete
[gw4] linux -- Python 3.10.15 /home/runner/work/ucx/ucx/.venv/bin/python

Running from nightly #276

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant