Skip to content

Testing CI - #3451

Closed
sentrivana wants to merge 2 commits into
masterfrom
ivana/aws-lambda-test
Closed

sentrivana wants to merge 2 commits into
masterfrom
ivana/aws-lambda-test

Conversation

@sentrivana

Copy link
Copy Markdown
Collaborator

Looks like AWS Lambda tests are unhappy

@codecov

codecov Bot commented Aug 19, 2024 •

Copy link
Copy Markdown

❌ 7 Tests Failed:

Tests completed Failed Passed Skipped
11522 7 11515 1635
View the top 3 failed tests by shortest run time
tests.integrations.strawberry.test_strawberry test_span_origin3[async_app_client_factory-True-framework_integrations0]
Stack Traces | 0.124s run time
.../integrations/strawberry/test_strawberry.py:747: in test_span_origin3
    client.post("/graphql", json={"query": query})
.tox/py3.11-strawberry-latest/lib/python3.11............/site-packages/starlette/testclient.py:597: in post
    return super().post(
.tox/py3.11-strawberry-latest/lib/python3.11................../site-packages/httpx/_client.py:1157: in post
    return self.request(
.tox/py3.11-strawberry-latest/lib/python3.11............/site-packages/starlette/testclient.py:488: in request
    return super().request(
.tox/py3.11-strawberry-latest/lib/python3.11................../site-packages/httpx/_client.py:837: in request
    return self.send(request, auth=auth, follow_redirects=follow_redirects)
sentry_sdk/utils.py:1761: in runner
    return sentry_patched_function(*args, **kwargs)
sentry_sdk/integrations/httpx.py:87: in send
    rv = real_send(self, request, **kwargs)
.tox/py3.11-strawberry-latest/lib/python3.11................../site-packages/httpx/_client.py:926: in send
    response = self._send_handling_auth(
.tox/py3.11-strawberry-latest/lib/python3.11................../site-packages/httpx/_client.py:954: in _send_handling_auth
    response = self._send_handling_redirects(
.tox/py3.11-strawberry-latest/lib/python3.11................../site-packages/httpx/_client.py:991: in _send_handling_redirects
    response = self._send_single_request(request)
.tox/py3.11-strawberry-latest/lib/python3.11................../site-packages/httpx/_client.py:1027: in _send_single_request
    response = transport.handle_request(request)
.tox/py3.11-strawberry-latest/lib/python3.11............/site-packages/starlette/testclient.py:381: in handle_request
    raise exc
.tox/py3.11-strawberry-latest/lib/python3.11............/site-packages/starlette/testclient.py:378: in handle_request
    portal.call(self.app, scope, receive, send)
.tox/py3.11-strawberry-latest/lib/python3.11....../site-packages/anyio/from_thread.py:287: in call
    return cast(T_Retval, self.start_task_soon(func, *args).result())
.../hostedtoolcache/Python/3.11.9....../x64/lib/python3.11....../concurrent/futures/_base.py:456: in result
    return self.__get_result()
.../hostedtoolcache/Python/3.11.9....../x64/lib/python3.11....../concurrent/futures/_base.py:401: in __get_result
    raise self._exception
.tox/py3.11-strawberry-latest/lib/python3.11....../site-packages/anyio/from_thread.py:218: in _call_func
    retval = await retval_or_awaitable
.tox/py3.11-strawberry-latest/lib/python3.11.../site-packages/fastapi/applications.py:1054: in __call__
    await super().__call__(scope, receive, send)
sentry_sdk/integrations/starlette.py:375: in _sentry_patched_asgi_app
    return await middleware(scope, receive, send)
sentry_sdk/integrations/asgi.py:153: in _run_asgi3
    return await self._run_app(scope, receive, send, asgi_version=3)
sentry_sdk/integrations/asgi.py:247: in _run_app
    raise exc from None
sentry_sdk/integrations/asgi.py:242: in _run_app
    return await self.app(
.tox/py3.11-strawberry-latest/lib/python3.11.../site-packages/starlette/applications.py:113: in __call__
    await self.middleware_stack(scope, receive, send)
sentry_sdk/integrations/starlette.py:170: in _create_span_call
    return await old_call(app, scope, new_receive, new_send, **kwargs)
.tox/py3.11-strawberry-latest/lib/python3.11.../starlette/middleware/errors.py:187: in __call__
    raise exc
.tox/py3.11-strawberry-latest/lib/python3.11.../starlette/middleware/errors.py:165: in __call__
    await self.app(scope, receive, _send)
sentry_sdk/integrations/starlette.py:269: in _sentry_exceptionmiddleware_call
    await old_call(self, scope, receive, send)
sentry_sdk/integrations/starlette.py:170: in _create_span_call
    return await old_call(app, scope, new_receive, new_send, **kwargs)
.tox/py3.11-strawberry-latest/lib/python3.11.../starlette/middleware/exceptions.py:62: in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
.tox/py3.11-strawberry-latest/lib/python3.11............/site-packages/starlette/_exception_handler.py:62: in wrapped_app
    raise exc
.tox/py3.11-strawberry-latest/lib/python3.11............/site-packages/starlette/_exception_handler.py:51: in wrapped_app
    await app(scope, receive, sender)
.tox/py3.11-strawberry-latest/lib/python3.11.............../site-packages/starlette/routing.py:715: in __call__
    await self.middleware_stack(scope, receive, send)
.tox/py3.11-strawberry-latest/lib/python3.11.............../site-packages/starlette/routing.py:735: in app
    await route.handle(scope, receive, send)
.tox/py3.11-strawberry-latest/lib/python3.11.............../site-packages/starlette/routing.py:288: in handle
    await self.app(scope, receive, send)
.tox/py3.11-strawberry-latest/lib/python3.11.............../site-packages/starlette/routing.py:76: in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
.tox/py3.11-strawberry-latest/lib/python3.11............/site-packages/starlette/_exception_handler.py:62: in wrapped_app
    raise exc
.tox/py3.11-strawberry-latest/lib/python3.11............/site-packages/starlette/_exception_handler.py:51: in wrapped_app
    await app(scope, receive, sender)
.tox/py3.11-strawberry-latest/lib/python3.11.............../site-packages/starlette/routing.py:73: in app
    response = await f(request)
sentry_sdk/integrations/fastapi.py:138: in _sentry_app
    return await old_app(*args, **kwargs)
.tox/py3.11-strawberry-latest/lib/python3.11....../site-packages/fastapi/routing.py:297: in app
    raw_response = await run_endpoint_function(
.tox/py3.11-strawberry-latest/lib/python3.11....../site-packages/fastapi/routing.py:210: in run_endpoint_function
    return await dependant.call(**values)
.tox/py3.11-strawberry-latest/lib/python3.11.../strawberry/fastapi/router.py:247: in handle_http_post
    return await self.run(
.tox/py3.11-strawberry-latest/lib/python3.11.../strawberry/http/async_base_view.py:189: in run
    result = await self.execute_operation(
.tox/py3.11-strawberry-latest/lib/python3.11.../strawberry/http/async_base_view.py:123: in execute_operation
    return await self.schema.execute(
.tox/py3.11-strawberry-latest/lib/python3.11.../strawberry/schema/schema.py:301: in execute
    result = await execute(
sentry_sdk/integrations/strawberry.py:300: in _sentry_patched_execute_async
    if "execution_context" in kwargs and result.errors:
E   AttributeError: 'MapAsyncIterator' object has no attribute 'errors'
tests.integrations.strawberry.test_strawberry test_span_origin3[async_app_client_factory-True-framework_integrations0]
Stack Traces | 0.131s run time
.../integrations/strawberry/test_strawberry.py:747: in test_span_origin3
    client.post("/graphql", json={"query": query})
.tox/py3.8-strawberry-latest/lib/python3.8............/site-packages/starlette/testclient.py:597: in post
    return super().post(
.tox/py3.8-strawberry-latest/lib/python3.8................../site-packages/httpx/_client.py:1157: in post
    return self.request(
.tox/py3.8-strawberry-latest/lib/python3.8............/site-packages/starlette/testclient.py:488: in request
    return super().request(
.tox/py3.8-strawberry-latest/lib/python3.8................../site-packages/httpx/_client.py:837: in request
    return self.send(request, auth=auth, follow_redirects=follow_redirects)
sentry_sdk/utils.py:1761: in runner
    return sentry_patched_function(*args, **kwargs)
sentry_sdk/integrations/httpx.py:87: in send
    rv = real_send(self, request, **kwargs)
.tox/py3.8-strawberry-latest/lib/python3.8................../site-packages/httpx/_client.py:926: in send
    response = self._send_handling_auth(
.tox/py3.8-strawberry-latest/lib/python3.8................../site-packages/httpx/_client.py:954: in _send_handling_auth
    response = self._send_handling_redirects(
.tox/py3.8-strawberry-latest/lib/python3.8................../site-packages/httpx/_client.py:991: in _send_handling_redirects
    response = self._send_single_request(request)
.tox/py3.8-strawberry-latest/lib/python3.8................../site-packages/httpx/_client.py:1027: in _send_single_request
    response = transport.handle_request(request)
.tox/py3.8-strawberry-latest/lib/python3.8............/site-packages/starlette/testclient.py:381: in handle_request
    raise exc
.tox/py3.8-strawberry-latest/lib/python3.8............/site-packages/starlette/testclient.py:378: in handle_request
    portal.call(self.app, scope, receive, send)
.tox/py3.8-strawberry-latest/lib/python3.8....../site-packages/anyio/from_thread.py:287: in call
    return cast(T_Retval, self.start_task_soon(func, *args).result())
.../hostedtoolcache/Python/3.8.18....../x64/lib/python3.8....../concurrent/futures/_base.py:444: in result
    return self.__get_result()
.../hostedtoolcache/Python/3.8.18....../x64/lib/python3.8....../concurrent/futures/_base.py:389: in __get_result
    raise self._exception
.tox/py3.8-strawberry-latest/lib/python3.8....../site-packages/anyio/from_thread.py:218: in _call_func
    retval = await retval_or_awaitable
.tox/py3.8-strawberry-latest/lib/python3.8.../site-packages/fastapi/applications.py:1054: in __call__
    await super().__call__(scope, receive, send)
sentry_sdk/integrations/starlette.py:375: in _sentry_patched_asgi_app
    return await middleware(scope, receive, send)
sentry_sdk/integrations/asgi.py:153: in _run_asgi3
    return await self._run_app(scope, receive, send, asgi_version=3)
sentry_sdk/integrations/asgi.py:247: in _run_app
    raise exc from None
sentry_sdk/integrations/asgi.py:242: in _run_app
    return await self.app(
.tox/py3.8-strawberry-latest/lib/python3.8.../site-packages/starlette/applications.py:113: in __call__
    await self.middleware_stack(scope, receive, send)
sentry_sdk/integrations/starlette.py:170: in _create_span_call
    return await old_call(app, scope, new_receive, new_send, **kwargs)
.tox/py3.8-strawberry-latest/lib/python3.8.../starlette/middleware/errors.py:187: in __call__
    raise exc
.tox/py3.8-strawberry-latest/lib/python3.8.../starlette/middleware/errors.py:165: in __call__
    await self.app(scope, receive, _send)
sentry_sdk/integrations/starlette.py:269: in _sentry_exceptionmiddleware_call
    await old_call(self, scope, receive, send)
sentry_sdk/integrations/starlette.py:170: in _create_span_call
    return await old_call(app, scope, new_receive, new_send, **kwargs)
.tox/py3.8-strawberry-latest/lib/python3.8.../starlette/middleware/exceptions.py:62: in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
.tox/py3.8-strawberry-latest/lib/python3.8............/site-packages/starlette/_exception_handler.py:62: in wrapped_app
    raise exc
.tox/py3.8-strawberry-latest/lib/python3.8............/site-packages/starlette/_exception_handler.py:51: in wrapped_app
    await app(scope, receive, sender)
.tox/py3.8-strawberry-latest/lib/python3.8.............../site-packages/starlette/routing.py:715: in __call__
    await self.middleware_stack(scope, receive, send)
.tox/py3.8-strawberry-latest/lib/python3.8.............../site-packages/starlette/routing.py:735: in app
    await route.handle(scope, receive, send)
.tox/py3.8-strawberry-latest/lib/python3.8.............../site-packages/starlette/routing.py:288: in handle
    await self.app(scope, receive, send)
.tox/py3.8-strawberry-latest/lib/python3.8.............../site-packages/starlette/routing.py:76: in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
.tox/py3.8-strawberry-latest/lib/python3.8............/site-packages/starlette/_exception_handler.py:62: in wrapped_app
    raise exc
.tox/py3.8-strawberry-latest/lib/python3.8............/site-packages/starlette/_exception_handler.py:51: in wrapped_app
    await app(scope, receive, sender)
.tox/py3.8-strawberry-latest/lib/python3.8.............../site-packages/starlette/routing.py:73: in app
    response = await f(request)
sentry_sdk/integrations/fastapi.py:138: in _sentry_app
    return await old_app(*args, **kwargs)
.tox/py3.8-strawberry-latest/lib/python3.8....../site-packages/fastapi/routing.py:297: in app
    raw_response = await run_endpoint_function(
.tox/py3.8-strawberry-latest/lib/python3.8....../site-packages/fastapi/routing.py:210: in run_endpoint_function
    return await dependant.call(**values)
.tox/py3.8-strawberry-latest/lib/python3.8.../strawberry/fastapi/router.py:247: in handle_http_post
    return await self.run(
.tox/py3.8-strawberry-latest/lib/python3.8.../strawberry/http/async_base_view.py:189: in run
    result = await self.execute_operation(
.tox/py3.8-strawberry-latest/lib/python3.8.../strawberry/http/async_base_view.py:123: in execute_operation
    return await self.schema.execute(
.tox/py3.8-strawberry-latest/lib/python3.8.../strawberry/schema/schema.py:301: in execute
    result = await execute(
sentry_sdk/integrations/strawberry.py:300: in _sentry_patched_execute_async
    if "execution_context" in kwargs and result.errors:
E   AttributeError: 'MapAsyncIterator' object has no attribute 'errors'
tests.integrations.strawberry.test_strawberry test_span_origin3[async_app_client_factory-True-framework_integrations0]
Stack Traces | 0.149s run time
.../integrations/strawberry/test_strawberry.py:747: in test_span_origin3
    client.post("/graphql", json={"query": query})
.tox/py3.12-strawberry-latest/lib/python3.12............/site-packages/starlette/testclient.py:597: in post
    return super().post(
.tox/py3.12-strawberry-latest/lib/python3.12................../site-packages/httpx/_client.py:1157: in post
    return self.request(
.tox/py3.12-strawberry-latest/lib/python3.12............/site-packages/starlette/testclient.py:488: in request
    return super().request(
.tox/py3.12-strawberry-latest/lib/python3.12................../site-packages/httpx/_client.py:837: in request
    return self.send(request, auth=auth, follow_redirects=follow_redirects)
sentry_sdk/utils.py:1761: in runner
    return sentry_patched_function(*args, **kwargs)
sentry_sdk/integrations/httpx.py:87: in send
    rv = real_send(self, request, **kwargs)
.tox/py3.12-strawberry-latest/lib/python3.12................../site-packages/httpx/_client.py:926: in send
    response = self._send_handling_auth(
.tox/py3.12-strawberry-latest/lib/python3.12................../site-packages/httpx/_client.py:954: in _send_handling_auth
    response = self._send_handling_redirects(
.tox/py3.12-strawberry-latest/lib/python3.12................../site-packages/httpx/_client.py:991: in _send_handling_redirects
    response = self._send_single_request(request)
.tox/py3.12-strawberry-latest/lib/python3.12................../site-packages/httpx/_client.py:1027: in _send_single_request
    response = transport.handle_request(request)
.tox/py3.12-strawberry-latest/lib/python3.12............/site-packages/starlette/testclient.py:381: in handle_request
    raise exc
.tox/py3.12-strawberry-latest/lib/python3.12............/site-packages/starlette/testclient.py:378: in handle_request
    portal.call(self.app, scope, receive, send)
.tox/py3.12-strawberry-latest/lib/python3.12....../site-packages/anyio/from_thread.py:287: in call
    return cast(T_Retval, self.start_task_soon(func, *args).result())
.../hostedtoolcache/Python/3.12.5....../x64/lib/python3.12....../concurrent/futures/_base.py:456: in result
    return self.__get_result()
.../hostedtoolcache/Python/3.12.5....../x64/lib/python3.12....../concurrent/futures/_base.py:401: in __get_result
    raise self._exception
.tox/py3.12-strawberry-latest/lib/python3.12....../site-packages/anyio/from_thread.py:218: in _call_func
    retval = await retval_or_awaitable
.tox/py3.12-strawberry-latest/lib/python3.12.../site-packages/fastapi/applications.py:1054: in __call__
    await super().__call__(scope, receive, send)
sentry_sdk/integrations/starlette.py:375: in _sentry_patched_asgi_app
    return await middleware(scope, receive, send)
sentry_sdk/integrations/asgi.py:153: in _run_asgi3
    return await self._run_app(scope, receive, send, asgi_version=3)
sentry_sdk/integrations/asgi.py:247: in _run_app
    raise exc from None
sentry_sdk/integrations/asgi.py:242: in _run_app
    return await self.app(
.tox/py3.12-strawberry-latest/lib/python3.12.../site-packages/starlette/applications.py:113: in __call__
    await self.middleware_stack(scope, receive, send)
sentry_sdk/integrations/starlette.py:170: in _create_span_call
    return await old_call(app, scope, new_receive, new_send, **kwargs)
.tox/py3.12-strawberry-latest/lib/python3.12.../starlette/middleware/errors.py:187: in __call__
    raise exc
.tox/py3.12-strawberry-latest/lib/python3.12.../starlette/middleware/errors.py:165: in __call__
    await self.app(scope, receive, _send)
sentry_sdk/integrations/starlette.py:269: in _sentry_exceptionmiddleware_call
    await old_call(self, scope, receive, send)
sentry_sdk/integrations/starlette.py:170: in _create_span_call
    return await old_call(app, scope, new_receive, new_send, **kwargs)
.tox/py3.12-strawberry-latest/lib/python3.12.../starlette/middleware/exceptions.py:62: in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
.tox/py3.12-strawberry-latest/lib/python3.12............/site-packages/starlette/_exception_handler.py:62: in wrapped_app
    raise exc
.tox/py3.12-strawberry-latest/lib/python3.12............/site-packages/starlette/_exception_handler.py:51: in wrapped_app
    await app(scope, receive, sender)
.tox/py3.12-strawberry-latest/lib/python3.12.............../site-packages/starlette/routing.py:715: in __call__
    await self.middleware_stack(scope, receive, send)
.tox/py3.12-strawberry-latest/lib/python3.12.............../site-packages/starlette/routing.py:735: in app
    await route.handle(scope, receive, send)
.tox/py3.12-strawberry-latest/lib/python3.12.............../site-packages/starlette/routing.py:288: in handle
    await self.app(scope, receive, send)
.tox/py3.12-strawberry-latest/lib/python3.12.............../site-packages/starlette/routing.py:76: in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
.tox/py3.12-strawberry-latest/lib/python3.12............/site-packages/starlette/_exception_handler.py:62: in wrapped_app
    raise exc
.tox/py3.12-strawberry-latest/lib/python3.12............/site-packages/starlette/_exception_handler.py:51: in wrapped_app
    await app(scope, receive, sender)
.tox/py3.12-strawberry-latest/lib/python3.12.............../site-packages/starlette/routing.py:73: in app
    response = await f(request)
sentry_sdk/integrations/fastapi.py:138: in _sentry_app
    return await old_app(*args, **kwargs)
.tox/py3.12-strawberry-latest/lib/python3.12....../site-packages/fastapi/routing.py:297: in app
    raw_response = await run_endpoint_function(
.tox/py3.12-strawberry-latest/lib/python3.12....../site-packages/fastapi/routing.py:210: in run_endpoint_function
    return await dependant.call(**values)
.tox/py3.12-strawberry-latest/lib/python3.12.../strawberry/fastapi/router.py:247: in handle_http_post
    return await self.run(
.tox/py3.12-strawberry-latest/lib/python3.12.../strawberry/http/async_base_view.py:189: in run
    result = await self.execute_operation(
.tox/py3.12-strawberry-latest/lib/python3.12.../strawberry/http/async_base_view.py:123: in execute_operation
    return await self.schema.execute(
.tox/py3.12-strawberry-latest/lib/python3.12.../strawberry/schema/schema.py:301: in execute
    result = await execute(
sentry_sdk/integrations/strawberry.py:300: in _sentry_patched_execute_async
    if "execution_context" in kwargs and result.errors:
E   AttributeError: 'MapAsyncIterator' object has no attribute 'errors'

To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard

@sentrivana sentrivana closed this Sep 12, 2024
@sentrivana
sentrivana deleted the ivana/aws-lambda-test branch December 17, 2024 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant