🐛 fix DidRotate Hangup error #2672
GitHub Actions / JUnit Test Report Regression
failed
Oct 24, 2024 in 0s
835 tests run, 794 passed, 40 skipped, 1 failed.
Annotations
Check failure on line 1 in app/tests/e2e/verifier/test_proof_revoked_credential.py
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 0x7f4107ba5010>, 'credential_definiti...d90-4f61-a3a5-0aa3c16fe7f6'), 'faber_client': <shared.util.rich_async_client.RichAsyncClient object at 0x7f4107f4e660>}
local_func = <function get_or_issue_regression_cred_revoked at 0x7f410abf07c0>
backend_name = 'asyncio', backend_options = {}
runner = <anyio._backends._asyncio.TestRunner object at 0x7f410836a150>
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
Loading