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

CI Failure Due to Dbt Inconsistent Method Resolution on Main Branch #1335

Closed
pankajastro opened this issue Nov 21, 2024 · 0 comments · Fixed by #1337
Closed

CI Failure Due to Dbt Inconsistent Method Resolution on Main Branch #1335

pankajastro opened this issue Nov 21, 2024 · 0 comments · Fixed by #1337
Assignees
Labels
area:ci Related to CI, Github Actions, or other continuous integration tools dbt:seed Primarily related to dbt seed command or functionality

Comments

@pankajastro
Copy link
Contributor

Log

[2024-11-21, 09:48:45 UTC] {subprocess.py:69} INFO - Running command: ['/usr/local/airflow/dbt_venv/bin/dbt', 'seed', '--models', 'raw_payments', '--project-dir', '/tmp/tmpcvag2lth', '--profiles-dir', '/tmp/cosmos/profile/a089010bf9c7bf6adc6a18ab82d509457d80150a19657dc085c3947c19260f31', '--profile', 'airflow_db', '--target', 'dev']
[2024-11-21, 09:48:45 UTC] {subprocess.py:80} INFO - Command output:
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO - Traceback (most recent call last):
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -   File "/usr/local/airflow/dbt_venv/bin/dbt", line 5, in <module>
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -     from dbt.cli.main import cli
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -   File "/usr/local/airflow/dbt_venv/lib/python3.12/site-packages/dbt/cli/__init__.py", line 1, in <module>
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -     from .main import cli as dbt_cli  # noqa
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -   File "/usr/local/airflow/dbt_venv/lib/python3.12/site-packages/dbt/cli/main.py", line 14, in <module>
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -     from dbt.cli import requires, params as p
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -   File "/usr/local/airflow/dbt_venv/lib/python3.12/site-packages/dbt/cli/requires.py", line 9, in <module>
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -     from dbt.context.providers import generate_runtime_macro_context
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -   File "/usr/local/airflow/dbt_venv/lib/python3.12/site-packages/dbt/context/providers.py", line 26, in <module>
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -     from dbt.config import RuntimeConfig, Project
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -   File "/usr/local/airflow/dbt_venv/lib/python3.12/site-packages/dbt/config/__init__.py", line 3, in <module>
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -     from .project import Project, IsFQNResource, PartialProject  # noqa
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -   File "/usr/local/airflow/dbt_venv/lib/python3.12/site-packages/dbt/config/project.py", line 35, in <module>
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -     from dbt.graph import SelectionSpec
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -   File "/usr/local/airflow/dbt_venv/lib/python3.12/site-packages/dbt/graph/__init__.py", line 1, in <module>
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -     from .selector_spec import (  # noqa: F401
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -   File "/usr/local/airflow/dbt_venv/lib/python3.12/site-packages/dbt/graph/selector_spec.py", line 9, in <module>
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -     from .selector_methods import MethodName
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -   File "/usr/local/airflow/dbt_venv/lib/python3.12/site-packages/dbt/graph/selector_methods.py", line 11, in <module>
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -     from dbt.contracts.graph.manifest import Manifest
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -   File "/usr/local/airflow/dbt_venv/lib/python3.12/site-packages/dbt/contracts/graph/manifest.py", line 786, in <module>
[2024-11-21, 09:48:46 UTC] {subprocess.py:90} INFO -     class Manifest(MacroMethods, DataClassMessagePackMixin, dbtClassMixin):

CI Job: https://github.com/astronomer/astronomer-cosmos/actions/runs/11930671788/job/33251943172

@dosubot dosubot bot added area:ci Related to CI, Github Actions, or other continuous integration tools dbt:seed Primarily related to dbt seed command or functionality labels Nov 21, 2024
@pankajastro pankajastro self-assigned this Nov 26, 2024
pankajastro added a commit that referenced this issue Nov 26, 2024
…re Clone Test to Pass CI (#1337)

closes: #1335

- Disabled "Run-Integration-Tests-Sqlite" Job and created issue
#1341 to enable it
- Installed `eval_type_backport` in tests and created an issue
#1342 to remove it
- pin dbt version dbt-core<1.8.9 created issue to unpin it
#1343
- pin dbt version for Kubernetes tests and create issue to unpin it
#1344

CI success:
https://github.com/astronomer/astronomer-cosmos/actions/runs/12026097151/job/33524412817?pr=1337
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:ci Related to CI, Github Actions, or other continuous integration tools dbt:seed Primarily related to dbt seed command or functionality
Projects
None yet
1 participant