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

Split out gevent tests #3962

Merged
merged 1 commit into from
Jan 20, 2025
Merged

Split out gevent tests #3962

merged 1 commit into from
Jan 20, 2025

Conversation

sl0thentr0py
Copy link
Member

No description provided.

Copy link
Member

@antonpirker antonpirker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Copy link

codecov bot commented Jan 20, 2025

❌ 3 Tests Failed:

Tests completed Failed Passed Skipped
19241 3 19238 4461
View the top 3 failed tests by shortest run time
tests.test_sessions test_aggregates
Stack Traces | 0.062s run time
tests/test_sessions.py:81: in test_aggregates
    assert len(aggregates) == 1
E   assert 2 == 1
E     +2
E     -1
tests.integrations.httpx.test_httpx test_outgoing_trace_headers[httpx_client0]
Stack Traces | 5.16s run time
.tox/py3.11-httpx-v0.27/lib/python3.11.../httpx/_transports/default.py:72: in map_httpcore_exceptions
    yield
.tox/py3.11-httpx-v0.27/lib/python3.11.../httpx/_transports/default.py:236: in handle_request
    resp = self._pool.handle_request(req)
.tox/py3.11-httpx-v0.27/lib/python3.11.../httpcore/_sync/connection_pool.py:256: in handle_request
    raise exc from None
.tox/py3.11-httpx-v0.27/lib/python3.11.../httpcore/_sync/connection_pool.py:236: in handle_request
    response = connection.handle_request(
.tox/py3.11-httpx-v0.27/lib/python3.11.../httpcore/_sync/connection.py:103: in handle_request
    return self._connection.handle_request(request)
.tox/py3.11-httpx-v0.27/lib/python3.11.../httpcore/_sync/http11.py:136: in handle_request
    raise exc
.tox/py3.11-httpx-v0.27/lib/python3.11.../httpcore/_sync/http11.py:106: in handle_request
    ) = self._receive_response_headers(**kwargs)
.tox/py3.11-httpx-v0.27/lib/python3.11.../httpcore/_sync/http11.py:177: in _receive_response_headers
    event = self._receive_event(timeout=timeout)
.tox/py3.11-httpx-v0.27/lib/python3.11.../httpcore/_sync/http11.py:217: in _receive_event
    data = self._network_stream.read(
.tox/py3.11-httpx-v0.27/lib/python3.11.../httpcore/_backends/sync.py:126: in read
    with map_exceptions(exc_map):
.../hostedtoolcache/Python/3.11.11....../x64/lib/python3.11/contextlib.py:158: in __exit__
    self.gen.throw(typ, value, traceback)
.tox/py3.11-httpx-v0.27/lib/python3.11.../site-packages/httpcore/_exceptions.py:14: in map_exceptions
    raise to_exc(exc) from exc
E   httpcore.ReadTimeout: timed out

The above exception was the direct cause of the following exception:
.../integrations/httpx/test_httpx.py:84: in test_outgoing_trace_headers
    response = httpx_client.get(url)
.tox/py3.11-httpx-v0.27/lib/python3.11................../site-packages/httpx/_client.py:1066: in get
    return self.request(
.tox/py3.11-httpx-v0.27/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:1823: in runner
    return sentry_patched_function(*args, **kwargs)
sentry_sdk/integrations/httpx.py:92: in send
    rv = real_send(self, request, **kwargs)
.tox/py3.11-httpx-v0.27/lib/python3.11................../site-packages/httpx/_client.py:926: in send
    response = self._send_handling_auth(
.tox/py3.11-httpx-v0.27/lib/python3.11................../site-packages/httpx/_client.py:954: in _send_handling_auth
    response = self._send_handling_redirects(
.tox/py3.11-httpx-v0.27/lib/python3.11................../site-packages/httpx/_client.py:991: in _send_handling_redirects
    response = self._send_single_request(request)
.tox/py3.11-httpx-v0.27/lib/python3.11................../site-packages/httpx/_client.py:1027: in _send_single_request
    response = transport.handle_request(request)
.tox/py3.11-httpx-v0.27/lib/python3.11.../httpx/_transports/default.py:235: in handle_request
    with map_httpcore_exceptions():
.../hostedtoolcache/Python/3.11.11....../x64/lib/python3.11/contextlib.py:158: in __exit__
    self.gen.throw(typ, value, traceback)
.tox/py3.11-httpx-v0.27/lib/python3.11.../httpx/_transports/default.py:89: in map_httpcore_exceptions
    raise mapped_exc(message) from exc
E   httpx.ReadTimeout: timed out
tests.integrations.httpx.test_httpx test_span_origin[httpx_client0]
Stack Traces | 9.26s run time
.tox/py3.9-httpx-v0.25/lib/python3.9.../httpx/_transports/default.py:66: in map_httpcore_exceptions
    yield
.tox/py3.9-httpx-v0.25/lib/python3.9.../httpx/_transports/default.py:228: in handle_request
    resp = self._pool.handle_request(req)
.tox/py3.9-httpx-v0.25/lib/python3.9.../httpcore/_sync/connection_pool.py:256: in handle_request
    raise exc from None
.tox/py3.9-httpx-v0.25/lib/python3.9.../httpcore/_sync/connection_pool.py:236: in handle_request
    response = connection.handle_request(
.tox/py3.9-httpx-v0.25/lib/python3.9.../httpcore/_sync/connection.py:103: in handle_request
    return self._connection.handle_request(request)
.tox/py3.9-httpx-v0.25/lib/python3.9.../httpcore/_sync/http11.py:136: in handle_request
    raise exc
.tox/py3.9-httpx-v0.25/lib/python3.9.../httpcore/_sync/http11.py:106: in handle_request
    ) = self._receive_response_headers(**kwargs)
.tox/py3.9-httpx-v0.25/lib/python3.9.../httpcore/_sync/http11.py:177: in _receive_response_headers
    event = self._receive_event(timeout=timeout)
.tox/py3.9-httpx-v0.25/lib/python3.9.../httpcore/_sync/http11.py:217: in _receive_event
    data = self._network_stream.read(
.tox/py3.9-httpx-v0.25/lib/python3.9.../httpcore/_backends/sync.py:128: in read
    return self._sock.recv(max_bytes)
.../hostedtoolcache/Python/3.9.21....../x64/lib/python3.9/contextlib.py:137: in __exit__
    self.gen.throw(typ, value, traceback)
.tox/py3.9-httpx-v0.25/lib/python3.9.../site-packages/httpcore/_exceptions.py:14: in map_exceptions
    raise to_exc(exc) from exc
E   httpcore.ReadTimeout: timed out

The above exception was the direct cause of the following exception:
.../integrations/httpx/test_httpx.py:360: in test_span_origin
    httpx_client.get(url)
.tox/py3.9-httpx-v0.25/lib/python3.9................../site-packages/httpx/_client.py:1041: in get
    return self.request(
.tox/py3.9-httpx-v0.25/lib/python3.9................../site-packages/httpx/_client.py:814: in request
    return self.send(request, auth=auth, follow_redirects=follow_redirects)
sentry_sdk/utils.py:1823: in runner
    return sentry_patched_function(*args, **kwargs)
sentry_sdk/integrations/httpx.py:92: in send
    rv = real_send(self, request, **kwargs)
.tox/py3.9-httpx-v0.25/lib/python3.9................../site-packages/httpx/_client.py:901: in send
    response = self._send_handling_auth(
.tox/py3.9-httpx-v0.25/lib/python3.9................../site-packages/httpx/_client.py:929: in _send_handling_auth
    response = self._send_handling_redirects(
.tox/py3.9-httpx-v0.25/lib/python3.9................../site-packages/httpx/_client.py:966: in _send_handling_redirects
    response = self._send_single_request(request)
.tox/py3.9-httpx-v0.25/lib/python3.9................../site-packages/httpx/_client.py:1002: in _send_single_request
    response = transport.handle_request(request)
.tox/py3.9-httpx-v0.25/lib/python3.9.../httpx/_transports/default.py:228: in handle_request
    resp = self._pool.handle_request(req)
.../hostedtoolcache/Python/3.9.21....../x64/lib/python3.9/contextlib.py:137: in __exit__
    self.gen.throw(typ, value, traceback)
.tox/py3.9-httpx-v0.25/lib/python3.9.../httpx/_transports/default.py:83: in map_httpcore_exceptions
    raise mapped_exc(message) from exc
E   httpx.ReadTimeout: timed out

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

@sl0thentr0py sl0thentr0py merged commit 6754cf2 into potel-base Jan 20, 2025
125 of 134 checks passed
@sl0thentr0py sl0thentr0py deleted the neel/potel/split-gevent-ci branch January 20, 2025 11:42
sentrivana added a commit that referenced this pull request Jan 21, 2025
Same as #3962, but for
master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants