Skip to content

save_exchange_record should be Optional #3728

save_exchange_record should be Optional

save_exchange_record should be Optional #3728

GitHub Actions / JUnit Test Report Regression failed Nov 22, 2024 in 0s

865 tests run, 817 passed, 44 skipped, 4 failed.

Annotations

Check failure on line 1 in app/tests/e2e/verifier/test_proof_revoked_credential.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report Regression

test_proof_revoked_credential.test_regression_proof_revoked_credential[reuse-reuse-reuse-reuse-reuse-reuse]

failed on setup with "AssertionError: Fixture is being recreated (regression tests configured to fail on recreating)"
Raw output
anyio_backend = 'asyncio'
request = <SubRequest 'get_or_issue_regression_cred_revoked' for <Function test_regression_proof_revoked_credential[reuse-reuse-reuse-reuse-reuse-reuse]>>
args = ()
kwargs = {'alice_member_client': <shared.util.rich_async_client.RichAsyncClient object at 0x7f9429fc6030>, 'credential_definiti...391-46a9-b93c-7ee276f5149f'), 'faber_client': <shared.util.rich_async_client.RichAsyncClient object at 0x7f9429f4c890>}
local_func = <function get_or_issue_regression_cred_revoked at 0x7f942d41d620>
backend_name = 'asyncio', backend_options = {}
runner = <anyio._backends._asyncio.TestRunner object at 0x7f942ccc4680>

    def wrapper(
        *args: Any, anyio_backend: Any, request: SubRequest, **kwargs: Any
    ) -> Any:
        # Rebind any fixture methods to the request instance
        if (
            request.instance
            and ismethod(func)
            and type(func.__self__) is type(request.instance)
        ):
            local_func = func.__func__.__get__(request.instance)
        else:
            local_func = func
    
        backend_name, backend_options = extract_backend_and_options(anyio_backend)
        if has_backend_arg:
            kwargs["anyio_backend"] = anyio_backend
    
        if has_request_arg:
            kwargs["request"] = request
    
        with get_runner(backend_name, backend_options) as runner:
            if isasyncgenfunction(local_func):
                yield from runner.run_asyncgen_fixture(local_func, kwargs)
            else:
>               yield runner.run_fixture(local_func, kwargs)

/usr/local/lib/python3.12/site-packages/anyio/pytest_plugin.py:100: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:2237: in run_fixture
    retval = self.get_loop().run_until_complete(
/usr/local/lib/python3.12/asyncio/base_events.py:687: in run_until_complete
    return future.result()
/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:2207: in _call_in_runner_task
    return await future
/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:2174: in _run_tests_and_fixtures
    retval = await coro
app/tests/fixtures/credentials.py:287: in get_or_issue_regression_cred_revoked
    assert_fail_on_recreating_fixtures()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def assert_fail_on_recreating_fixtures():
        assert (
>           RegressionTestConfig.fail_on_recreating_fixtures is False
        ), "Fixture is being recreated (regression tests configured to fail on recreating)"
E       AssertionError: Fixture is being recreated (regression tests configured to fail on recreating)

app/tests/util/regression_testing.py:34: AssertionError

Check failure on line 1 in app/tests/e2e/verifier/test_verifier.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report Regression

test_verifier.test_regression_proof_valid_credential[reuse-reuse-reuse-reuse-reuse-reuse]

failed on setup with "AssertionError: Fixture is being recreated (regression tests configured to fail on recreating)"
Raw output
anyio_backend = 'asyncio'
request = <SubRequest 'get_or_issue_regression_cred_valid' for <Function test_regression_proof_valid_credential[reuse-reuse-reuse-reuse-reuse-reuse]>>
args = ()
kwargs = {'alice_member_client': <shared.util.rich_async_client.RichAsyncClient object at 0x7f9429b4a4b0>, 'credential_definiti...391-46a9-b93c-7ee276f5149f'), 'faber_client': <shared.util.rich_async_client.RichAsyncClient object at 0x7f9429f4c890>}
local_func = <function get_or_issue_regression_cred_valid at 0x7f942d2a8180>
backend_name = 'asyncio', backend_options = {}
runner = <anyio._backends._asyncio.TestRunner object at 0x7f942ccc4680>

    def wrapper(
        *args: Any, anyio_backend: Any, request: SubRequest, **kwargs: Any
    ) -> Any:
        # Rebind any fixture methods to the request instance
        if (
            request.instance
            and ismethod(func)
            and type(func.__self__) is type(request.instance)
        ):
            local_func = func.__func__.__get__(request.instance)
        else:
            local_func = func
    
        backend_name, backend_options = extract_backend_and_options(anyio_backend)
        if has_backend_arg:
            kwargs["anyio_backend"] = anyio_backend
    
        if has_request_arg:
            kwargs["request"] = request
    
        with get_runner(backend_name, backend_options) as runner:
            if isasyncgenfunction(local_func):
                yield from runner.run_asyncgen_fixture(local_func, kwargs)
            else:
>               yield runner.run_fixture(local_func, kwargs)

/usr/local/lib/python3.12/site-packages/anyio/pytest_plugin.py:100: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:2237: in run_fixture
    retval = self.get_loop().run_until_complete(
/usr/local/lib/python3.12/asyncio/base_events.py:687: in run_until_complete
    return future.result()
/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:2207: in _call_in_runner_task
    return await future
/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:2174: in _run_tests_and_fixtures
    retval = await coro
app/tests/fixtures/credentials.py:381: in get_or_issue_regression_cred_valid
    assert_fail_on_recreating_fixtures()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def assert_fail_on_recreating_fixtures():
        assert (
>           RegressionTestConfig.fail_on_recreating_fixtures is False
        ), "Fixture is being recreated (regression tests configured to fail on recreating)"
E       AssertionError: Fixture is being recreated (regression tests configured to fail on recreating)

app/tests/util/regression_testing.py:34: AssertionError

Check failure on line 1 in app/tests/e2e/test_messaging.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report Regression

test_messaging.test_send_trust_ping[reuse-reuse-reuse]

failed on setup with "AssertionError: Fixture is being recreated (regression tests configured to fail on recreating)"
Raw output
anyio_backend = 'asyncio'
request = <SubRequest 'bob_and_alice_connection' for <Function test_send_trust_ping[reuse-reuse-reuse]>>
args = ()
kwargs = {'alice_member_client': <shared.util.rich_async_client.RichAsyncClient object at 0x7f9428f27290>, 'bob_member_client': <shared.util.rich_async_client.RichAsyncClient object at 0x7f942a3fcf20>, 'test_mode': 'reuse'}
local_func = <function bob_and_alice_connection at 0x7f942d4e32e0>
backend_name = 'asyncio', backend_options = {}
runner = <anyio._backends._asyncio.TestRunner object at 0x7f942ccc4680>

    def wrapper(
        *args: Any, anyio_backend: Any, request: SubRequest, **kwargs: Any
    ) -> Any:
        # Rebind any fixture methods to the request instance
        if (
            request.instance
            and ismethod(func)
            and type(func.__self__) is type(request.instance)
        ):
            local_func = func.__func__.__get__(request.instance)
        else:
            local_func = func
    
        backend_name, backend_options = extract_backend_and_options(anyio_backend)
        if has_backend_arg:
            kwargs["anyio_backend"] = anyio_backend
    
        if has_request_arg:
            kwargs["request"] = request
    
        with get_runner(backend_name, backend_options) as runner:
            if isasyncgenfunction(local_func):
                yield from runner.run_asyncgen_fixture(local_func, kwargs)
            else:
>               yield runner.run_fixture(local_func, kwargs)

/usr/local/lib/python3.12/site-packages/anyio/pytest_plugin.py:100: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:2237: in run_fixture
    retval = self.get_loop().run_until_complete(
/usr/local/lib/python3.12/asyncio/base_events.py:687: in run_until_complete
    return future.result()
/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:2207: in _call_in_runner_task
    return await future
/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:2174: in _run_tests_and_fixtures
    retval = await coro
app/tests/fixtures/member_connections.py:32: in bob_and_alice_connection
    return await create_connection_by_test_mode(
app/tests/util/connections.py:175: in create_connection_by_test_mode
    return await fetch_or_create_connection(
app/tests/util/connections.py:154: in fetch_or_create_connection
    assert_fail_on_recreating_fixtures()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def assert_fail_on_recreating_fixtures():
        assert (
>           RegressionTestConfig.fail_on_recreating_fixtures is False
        ), "Fixture is being recreated (regression tests configured to fail on recreating)"
E       AssertionError: Fixture is being recreated (regression tests configured to fail on recreating)

app/tests/util/regression_testing.py:34: AssertionError

Check failure on line 1 in app/tests/e2e/test_messaging.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report Regression

test_messaging.test_send_message[reuse-reuse-reuse]

failed on setup with "AssertionError: Fixture is being recreated (regression tests configured to fail on recreating)"
Raw output
anyio_backend = 'asyncio'
request = <SubRequest 'bob_and_alice_connection' for <Function test_send_message[reuse-reuse-reuse]>>
args = ()
kwargs = {'alice_member_client': <shared.util.rich_async_client.RichAsyncClient object at 0x7f9429b8ee40>, 'bob_member_client': <shared.util.rich_async_client.RichAsyncClient object at 0x7f9429bf8ce0>, 'test_mode': 'reuse'}
local_func = <function bob_and_alice_connection at 0x7f942d4e32e0>
backend_name = 'asyncio', backend_options = {}
runner = <anyio._backends._asyncio.TestRunner object at 0x7f942ccc4680>

    def wrapper(
        *args: Any, anyio_backend: Any, request: SubRequest, **kwargs: Any
    ) -> Any:
        # Rebind any fixture methods to the request instance
        if (
            request.instance
            and ismethod(func)
            and type(func.__self__) is type(request.instance)
        ):
            local_func = func.__func__.__get__(request.instance)
        else:
            local_func = func
    
        backend_name, backend_options = extract_backend_and_options(anyio_backend)
        if has_backend_arg:
            kwargs["anyio_backend"] = anyio_backend
    
        if has_request_arg:
            kwargs["request"] = request
    
        with get_runner(backend_name, backend_options) as runner:
            if isasyncgenfunction(local_func):
                yield from runner.run_asyncgen_fixture(local_func, kwargs)
            else:
>               yield runner.run_fixture(local_func, kwargs)

/usr/local/lib/python3.12/site-packages/anyio/pytest_plugin.py:100: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:2237: in run_fixture
    retval = self.get_loop().run_until_complete(
/usr/local/lib/python3.12/asyncio/base_events.py:687: in run_until_complete
    return future.result()
/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:2207: in _call_in_runner_task
    return await future
/usr/local/lib/python3.12/site-packages/anyio/_backends/_asyncio.py:2174: in _run_tests_and_fixtures
    retval = await coro
app/tests/fixtures/member_connections.py:32: in bob_and_alice_connection
    return await create_connection_by_test_mode(
app/tests/util/connections.py:175: in create_connection_by_test_mode
    return await fetch_or_create_connection(
app/tests/util/connections.py:154: in fetch_or_create_connection
    assert_fail_on_recreating_fixtures()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def assert_fail_on_recreating_fixtures():
        assert (
>           RegressionTestConfig.fail_on_recreating_fixtures is False
        ), "Fixture is being recreated (regression tests configured to fail on recreating)"
E       AssertionError: Fixture is being recreated (regression tests configured to fail on recreating)

app/tests/util/regression_testing.py:34: AssertionError