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

[CT-3113] [Flaky Test] test_all_snapshots #8630

Closed
Tracked by #7808
datadog-dev-and-staging-dbt-labs bot opened this issue Sep 12, 2023 · 1 comment
Closed
Tracked by #7808

[CT-3113] [Flaky Test] test_all_snapshots #8630

datadog-dev-and-staging-dbt-labs bot opened this issue Sep 12, 2023 · 1 comment

Comments

@datadog-dev-and-staging-dbt-labs

Test execution link: test_all_snapshots
Service: dbt-core
Branch: 1.5.latest
First Flaked: 00a5b3a9c8781742122706956ea28f24ca20e029
Last Flaked: 00a5b3a9c8781742122706956ea28f24ca20e029
Last flaked author: Emily Rockman

@github-actions github-actions bot changed the title [Flaky Test] test_all_snapshots [CT-3113] [Flaky Test] test_all_snapshots Sep 12, 2023
@emmyoop
Copy link
Member

emmyoop commented Sep 12, 2023

Failed run: https://github.com/dbt-labs/dbt-core/actions/runs/6145329674
py38 macos

=================================== FAILURES ===================================
_______________________ TestAllBasic.test_all_snapshots ________________________
[gw2] darwin -- Python 3.8.18 /Users/runner/work/dbt-core/dbt-core/.tox/integration/bin/python

self = <dbt.clients.jinja.MacroGenerator object at 0x1372e5220>

    @contextmanager
    def exception_handler(self) -> Iterator[None]:
        try:
>           yield

/Users/runner/work/dbt-core/dbt-core/core/dbt/clients/jinja.py:302: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/Users/runner/work/dbt-core/dbt-core/core/dbt/clients/jinja.py:257: in call_macro
    return macro(*args, **kwargs)
/Users/runner/work/dbt-core/dbt-core/.tox/integration/lib/python3.8/site-packages/jinja2/runtime.py:763: in __call__
    return self._invoke(arguments, autoescape)
/Users/runner/work/dbt-core/dbt-core/.tox/integration/lib/python3.8/site-packages/jinja2/runtime.py:777: in _invoke
    rv = self._func(*arguments)
/Users/runner/work/dbt-core/dbt-core/.tox/integration/lib/python3.8/site-packages/jinja2/sandbox.py:391: in call
    if not __self.is_safe_callable(__obj):
/Users/runner/work/dbt-core/dbt-core/.tox/integration/lib/python3.8/site-packages/jinja2/sandbox.py:275: in is_safe_callable
    getattr(obj, "unsafe_callable", False) or getattr(obj, "alters_data", False)
/Users/runner/work/dbt-core/dbt-core/.tox/integration/lib/python3.8/site-packages/jinja2/runtime.py:859: in __getattr__
    return self._fail_with_undefined_error()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = Undefined, args = (), kwargs = {}

    @internalcode
    def _fail_with_undefined_error(
        self, *args: t.Any, **kwargs: t.Any
    ) -> "te.NoReturn":
        """Raise an :exc:`UndefinedError` when operations are performed
        on the undefined value.
        """
>       raise self._undefined_exception(self._undefined_message)
E       jinja2.exceptions.UndefinedError: 'get_snapshot_unique_id' is undefined

/Users/runner/work/dbt-core/dbt-core/.tox/integration/lib/python3.8/site-packages/jinja2/runtime.py:852: UndefinedError

During handling of the above exception, another exception occurred:

self = <test_select_exclude_snapshot.TestAllBasic object at 0x10e050fd0>
project = <dbt.tests.fixtures.project.TestProjInfo object at 0x[1374](https://github.com/dbt-labs/dbt-core/actions/runs/6145329674/job/16672498950#step:8:1375)54430>

    def test_all_snapshots(self, project):
>       all_snapshots(project)

/Users/runner/work/dbt-core/dbt-core/tests/functional/simple_snapshot/test_select_exclude_snapshot.py:94: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

@emmyoop emmyoop added the stale Issues that have gone stale label May 17, 2024
@emmyoop emmyoop closed this as not planned Won't fix, can't repro, duplicate, stale May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant