Skip to content

Test failure: test_hiveserde_table_in_place_migration_job[migrate-external-tables-ctas] #4668

@github-actions

Description

@github-actions
❌ test_hiveserde_table_in_place_migration_job[migrate-external-tables-ctas]: AssertionError: Workflow failed: migrate-external-tables-ctas (23m44.652s)
AssertionError: Workflow failed: migrate-external-tables-ctas
assert False
 +  where False = validate_step('migrate-external-tables-ctas')
 +    where validate_step = <databricks.labs.ucx.installer.workflows.DeployedWorkflows object at 0x7f32d3687f70>.validate_step
 +      where <databricks.labs.ucx.installer.workflows.DeployedWorkflows object at 0x7f32d3687f70> = <tests.integration.conftest.MockInstallationContext object at 0x7f32d03c3b80>.deployed_workflows
[gw9] linux -- Python 3.10.18 /home/runner/work/ucx/ucx/.venv/bin/python
14:49 DEBUG [databricks.labs.ucx.install] Cannot find previous installation: Path (/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.JH55/config.yml) doesn't exist.
14:49 INFO [databricks.labs.ucx.install] Please answer a couple of questions to configure Unity Catalog migration
14:49 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.
14:49 INFO [databricks.labs.ucx.install] Fetching installations...
14:49 WARNING [databricks.labs.ucx.install] Existing installation at /Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.JH55 is corrupted. Skipping...
14:49 INFO [databricks.labs.ucx.installer.policy] Creating UCX cluster policy.
14:49 DEBUG [tests.integration.conftest] Waiting for clusters to start...
14:49 DEBUG [tests.integration.conftest] Waiting for clusters to start...
14:49 INFO [databricks.labs.ucx.install] Installing UCX v0.60.2+None20251008144937
14:49 INFO [databricks.labs.ucx.install] Creating ucx schemas...
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=remove-workspace-local-backup-groups
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=scan-tables-in-mounts-experimental
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=convert-wasbs-to-adls-gen2-experimental
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=validate-groups-permissions
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-tables
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-data-reconciliation
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=assess-workflows
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-external-tables-ctas
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=assessment
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-external-hiveserde-tables-in-place-experimental
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-tables-in-mounts-experimental
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migration-progress-experimental
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups-legacy
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=failing
14:49 INFO [databricks.labs.ucx.install] Creating dashboards...
14:49 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration...
14:49 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/views...
14:49 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/progress...
14:49 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment...
14:49 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration/groups...
14:49 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration/main...
14:49 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/progress/main...
14:49 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/CLOUD_ENV...
14:49 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/main...
14:49 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/estimates...
14:49 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/interactive...
14:49 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
14:49 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
14:49 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
14:49 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
14:49 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
14:49 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
14:49 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
14:50 INFO [databricks.labs.ucx.install] Installation completed successfully! Please refer to the https://DATABRICKS_HOST/#workspace/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.JH55/README for the next steps.
14:50 INFO [databricks.labs.ucx.progress.install] Installation completed successfully!
14:50 DEBUG [databricks.labs.ucx.installer.workflows] starting assessment job: https://DATABRICKS_HOST#job/734169767783335
14:50 INFO [databricks.labs.ucx.installer.workflows] Named parameters for assessment job: None
14:50 INFO [databricks.labs.ucx.installer.workflows] Started assessment job: https://DATABRICKS_HOST#job/734169767783335/runs/227758706409028
14:50 DEBUG [databricks.labs.ucx.installer.workflows] Validating assessment workflow: https://DATABRICKS_HOST#job/734169767783335
14:50 INFO [databricks.labs.ucx.installer.workflows] Identified a run in progress waiting for run completion
14:52 DEBUG [databricks.labs.ucx.installer.workflows] starting migrate-external-tables-ctas job: https://DATABRICKS_HOST#job/510903761013040
14:52 INFO [databricks.labs.ucx.installer.workflows] Named parameters for migrate-external-tables-ctas job: None
14:52 INFO [databricks.labs.ucx.installer.workflows] Started migrate-external-tables-ctas job: https://DATABRICKS_HOST#job/510903761013040/runs/421830018507561
14:52 DEBUG [databricks.labs.ucx.installer.workflows] Validating migrate-external-tables-ctas workflow: https://DATABRICKS_HOST#job/510903761013040
14:52 INFO [databricks.labs.ucx.installer.workflows] Identified a run in progress waiting for run completion
14:49 DEBUG [databricks.labs.ucx.install] Cannot find previous installation: Path (/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.JH55/config.yml) doesn't exist.
14:49 INFO [databricks.labs.ucx.install] Please answer a couple of questions to configure Unity Catalog migration
14:49 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.
14:49 INFO [databricks.labs.ucx.install] Fetching installations...
14:49 WARNING [databricks.labs.ucx.install] Existing installation at /Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.JH55 is corrupted. Skipping...
14:49 INFO [databricks.labs.ucx.installer.policy] Creating UCX cluster policy.
14:49 DEBUG [tests.integration.conftest] Waiting for clusters to start...
14:49 DEBUG [tests.integration.conftest] Waiting for clusters to start...
14:49 INFO [databricks.labs.ucx.install] Installing UCX v0.60.2+None20251008144937
14:49 INFO [databricks.labs.ucx.install] Creating ucx schemas...
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=remove-workspace-local-backup-groups
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=scan-tables-in-mounts-experimental
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=convert-wasbs-to-adls-gen2-experimental
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=validate-groups-permissions
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-tables
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-data-reconciliation
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=assess-workflows
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-external-tables-ctas
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=assessment
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-external-hiveserde-tables-in-place-experimental
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-tables-in-mounts-experimental
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migration-progress-experimental
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=migrate-groups-legacy
14:49 INFO [databricks.labs.ucx.installer.workflows] Creating new job configuration for step=failing
14:49 INFO [databricks.labs.ucx.install] Creating dashboards...
14:49 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration...
14:49 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/views...
14:49 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/progress...
14:49 DEBUG [databricks.labs.ucx.install] Reading step folder /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment...
14:49 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration/groups...
14:49 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/migration/main...
14:49 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/progress/main...
14:49 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/CLOUD_ENV...
14:49 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/main...
14:49 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/estimates...
14:49 INFO [databricks.labs.ucx.install] Creating dashboard in /home/runner/work/ucx/ucx/src/databricks/labs/ucx/queries/assessment/interactive...
14:49 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
14:49 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
14:49 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
14:49 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
14:49 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
14:49 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
14:49 INFO [databricks.labs.ucx.installer.mixins] Fetching warehouse_id from a config
14:50 INFO [databricks.labs.ucx.install] Installation completed successfully! Please refer to the https://DATABRICKS_HOST/#workspace/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.JH55/README for the next steps.
14:50 INFO [databricks.labs.ucx.progress.install] Installation completed successfully!
14:50 DEBUG [databricks.labs.ucx.installer.workflows] starting assessment job: https://DATABRICKS_HOST#job/734169767783335
14:50 INFO [databricks.labs.ucx.installer.workflows] Named parameters for assessment job: None
14:50 INFO [databricks.labs.ucx.installer.workflows] Started assessment job: https://DATABRICKS_HOST#job/734169767783335/runs/227758706409028
14:50 DEBUG [databricks.labs.ucx.installer.workflows] Validating assessment workflow: https://DATABRICKS_HOST#job/734169767783335
14:50 INFO [databricks.labs.ucx.installer.workflows] Identified a run in progress waiting for run completion
14:52 DEBUG [databricks.labs.ucx.installer.workflows] starting migrate-external-tables-ctas job: https://DATABRICKS_HOST#job/510903761013040
14:52 INFO [databricks.labs.ucx.installer.workflows] Named parameters for migrate-external-tables-ctas job: None
14:52 INFO [databricks.labs.ucx.installer.workflows] Started migrate-external-tables-ctas job: https://DATABRICKS_HOST#job/510903761013040/runs/421830018507561
14:52 DEBUG [databricks.labs.ucx.installer.workflows] Validating migrate-external-tables-ctas workflow: https://DATABRICKS_HOST#job/510903761013040
14:52 INFO [databricks.labs.ucx.installer.workflows] Identified a run in progress waiting for run completion
15:12 INFO [databricks.labs.ucx.install] Deleting UCX v0.60.2+None20251008144937 from https://DATABRICKS_HOST
15:12 INFO [databricks.labs.ucx.install] Deleting inventory database dummy_sjxut
15:12 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=1119050742590867, as it is no longer needed
15:12 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=376092817040291, as it is no longer needed
15:12 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=352371646271522, as it is no longer needed
15:12 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=228433785314310, as it is no longer needed
15:12 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=656494453602878, as it is no longer needed
15:12 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=92750377353105, as it is no longer needed
15:12 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=960511650217905, as it is no longer needed
15:12 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=510903761013040, as it is no longer needed
15:12 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=734169767783335, as it is no longer needed
15:12 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=510257304452223, as it is no longer needed
15:12 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=22040315077686, as it is no longer needed
15:12 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=50304736398432, as it is no longer needed
15:12 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=678879442367396, as it is no longer needed
15:12 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=171294184768743, as it is no longer needed
15:12 INFO [databricks.labs.ucx.installer.workflows] Removing job_id=168394723116742, as it is no longer needed
15:12 INFO [databricks.labs.ucx.install] Deleting cluster policy
15:12 INFO [databricks.labs.ucx.install] Deleting secret scope
15:12 INFO [databricks.labs.ucx.install] UnInstalling UCX complete
[gw9] linux -- Python 3.10.18 /home/runner/work/ucx/ucx/.venv/bin/python

Running from nightly #654

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions