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

[Bug] test_python_model.py::TestSecrets::test_secrets is failing in some scenarios #1003

Closed
2 tasks done
mikealfare opened this issue Apr 27, 2024 · 1 comment · Fixed by #1096
Closed
2 tasks done
Assignees
Labels
bug Something isn't working tech_debt

Comments

@mikealfare
Copy link
Contributor

Is this a new bug in dbt-snowflake?

  • I believe this is a new bug in dbt-snowflake
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

test_python_model.py::TestSecrets::test_secrets fails on some runs.

Expected Behavior

Tests should pass.

Steps To Reproduce

https://github.com/dbt-labs/dbt-snowflake/actions/runs/8858753649/job/24327779018

Relevant log output

Database Error in model secret_python_model (models/secret_python_model.py) 509007 (22023): SQL compilation error: Integrations do not allow secret '***.TEST17142092113402529018_TEST_PYTHON_MODEL.TEST_SECRET'. compiled Code at target/run/test/models/secret_python_model.py

Environment

- OS: ubuntu-latest, macos-12
- Python: py38
- dbt-core:
- dbt-snowflake: `main`

Additional Context

No response

@mikealfare mikealfare added bug Something isn't working triage and removed triage labels Apr 27, 2024
@colin-rogers-dbt
Copy link
Contributor

Suggested order of operations:

  • Better understand external integrations / secrets
  • Move to it's own job that runs serially (similar to what we did in dbt-redshift)

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

Successfully merging a pull request may close this issue.

3 participants