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_workflow_linter_lints_job_with_workspace_egg_dependency #2804

Closed
github-actions bot opened this issue Oct 3, 2024 · 0 comments · Fixed by #2807
Closed

Test failure: test_workflow_linter_lints_job_with_workspace_egg_dependency #2804

github-actions bot opened this issue Oct 3, 2024 · 0 comments · Fixed by #2807
Assignees

Comments

@github-actions
Copy link

github-actions bot commented Oct 3, 2024

❌ test_workflow_linter_lints_job_with_workspace_egg_dependency: ValueError: too many values to unpack (expected 2) (16.403s)
ValueError: too many values to unpack (expected 2)
[gw3] linux -- Python 3.10.15 /home/runner/work/ucx/ucx/.venv/bin/python
05:19 DEBUG [databricks.labs.ucx.install] Cannot find previous installation: Path (/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Uv3r/config.yml) doesn't exist.
05:19 INFO [databricks.labs.ucx.install] Please answer a couple of questions to configure Unity Catalog migration
05:19 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.
05:19 INFO [databricks.labs.ucx.install] Fetching installations...
05:19 INFO [databricks.labs.ucx.installer.policy] Creating UCX cluster policy.
05:19 DEBUG [tests.integration.conftest] Waiting for clusters to start...
05:19 DEBUG [tests.integration.conftest] Waiting for clusters to start...
05:19 INFO [databricks.labs.ucx.source_code.jobs] Registering library from /Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/dummy-Uxdn-ra78a551d3/thingy-0.0.1-py3.10.egg
05:19 WARNING [databricks.labs.ucx.source_code.python_libraries] Failed to install /tmp/tmpx9673fq_/thingy-0.0.1-py3.10.egg with (setuptools|distutils).setup, unzipping instead: error: Multiple top-level packages discovered in a flat-layout: ['aws', 'recon', 'CLOUD_ENV', 'install', 'account', 'progress', 'framework', 'assessment', 'source_code', 'hive_metastore', 'workspace_access'].

To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.

If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:

1. set up custom discovery (`find` directive with `include` or `exclude`)
2. use a `src-layout`
3. explicitly set `py_modules` or `packages` with a list of names

To find more information, look for "package discovery" on setuptools docs.
05:19 INFO [databricks.labs.ucx.source_code.jobs] Discovering GTjo entrypoint: /Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/dummy-OewF-ra78a551d3/notebook.ipynb
05:19 DEBUG [databricks.labs.ucx.source_code.linters.files] Resolving unknown import: thingy
05:19 WARNING [databricks.labs.ucx.source_code.jobs] Unknown language for /Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/dummy-OewF-ra78a551d3/notebook.ipynb
05:19 WARNING [databricks.labs.ucx.source_code.jobs] Unknown language for /Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/dummy-OewF-ra78a551d3/notebook.ipynb
05:19 WARNING [databricks.labs.ucx.source_code.jobs] Found job problems:
UNKNOWN:-1 [not-supported] Installing eggs is no longer supported on Databricks 14.0 or higher
05:19 DEBUG [databricks.labs.ucx.install] Cannot find previous installation: Path (/Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/.Uv3r/config.yml) doesn't exist.
05:19 INFO [databricks.labs.ucx.install] Please answer a couple of questions to configure Unity Catalog migration
05:19 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.
05:19 INFO [databricks.labs.ucx.install] Fetching installations...
05:19 INFO [databricks.labs.ucx.installer.policy] Creating UCX cluster policy.
05:19 DEBUG [tests.integration.conftest] Waiting for clusters to start...
05:19 DEBUG [tests.integration.conftest] Waiting for clusters to start...
05:19 INFO [databricks.labs.ucx.source_code.jobs] Registering library from /Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/dummy-Uxdn-ra78a551d3/thingy-0.0.1-py3.10.egg
05:19 WARNING [databricks.labs.ucx.source_code.python_libraries] Failed to install /tmp/tmpx9673fq_/thingy-0.0.1-py3.10.egg with (setuptools|distutils).setup, unzipping instead: error: Multiple top-level packages discovered in a flat-layout: ['aws', 'recon', 'CLOUD_ENV', 'install', 'account', 'progress', 'framework', 'assessment', 'source_code', 'hive_metastore', 'workspace_access'].

To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.

If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:

1. set up custom discovery (`find` directive with `include` or `exclude`)
2. use a `src-layout`
3. explicitly set `py_modules` or `packages` with a list of names

To find more information, look for "package discovery" on setuptools docs.
05:19 INFO [databricks.labs.ucx.source_code.jobs] Discovering GTjo entrypoint: /Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/dummy-OewF-ra78a551d3/notebook.ipynb
05:19 DEBUG [databricks.labs.ucx.source_code.linters.files] Resolving unknown import: thingy
05:19 WARNING [databricks.labs.ucx.source_code.jobs] Unknown language for /Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/dummy-OewF-ra78a551d3/notebook.ipynb
05:19 WARNING [databricks.labs.ucx.source_code.jobs] Unknown language for /Users/0a330eb5-dd51-4d97-b6e4-c474356b1d5d/dummy-OewF-ra78a551d3/notebook.ipynb
05:19 WARNING [databricks.labs.ucx.source_code.jobs] Found job problems:
UNKNOWN:-1 [not-supported] Installing eggs is no longer supported on Databricks 14.0 or higher
05:19 INFO [databricks.labs.blueprint.tui] Asking prompt: Do you want to uninstall ucx from the workspace too, this would remove ucx project folder, dashboards, queries and jobs
05:19 INFO [databricks.labs.ucx.install] Deleting UCX v0.38.1+1820241003051936 from https://DATABRICKS_HOST
05:19 INFO [databricks.labs.blueprint.tui] Asking prompt: Do you want to delete the inventory database dummy_swr4c too?
05:19 INFO [databricks.labs.ucx.install] Deleting inventory database dummy_swr4c
05:19 INFO [databricks.labs.lsql.deployment] Deleting hive_metastore.dummy_swr4c database
05:19 INFO [databricks.labs.ucx.install] Deleting cluster policy
05:19 INFO [databricks.labs.ucx.install] Deleting secret scope
05:19 INFO [databricks.labs.ucx.install] UnInstalling UCX complete
[gw3] linux -- Python 3.10.15 /home/runner/work/ucx/ucx/.venv/bin/python

Running from nightly #216

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 a pull request may close this issue.

1 participant