-
Notifications
You must be signed in to change notification settings - Fork 321
Open
Description
Traceback (most recent call last):
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 101, in map_httpcore_exceptions
yield
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 250, in handle_request
resp = self._pool.handle_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 256, in handle_request
raise exc from None
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/httpcore/_sync/connection_pool.py", line 236, in handle_request
response = connection.handle_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/httpcore/_sync/connection.py", line 103, in handle_request
return self._connection.handle_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 136, in handle_request
raise exc
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 106, in handle_request
) = self._receive_response_headers(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 177, in _receive_response_headers
event = self._receive_event(timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/httpcore/_sync/http11.py", line 217, in _receive_event
data = self._network_stream.read(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/httpcore/_backends/sync.py", line 126, in read
with map_exceptions(exc_map):
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/.local/share/uv/python/cpython-3.12.7-macos-aarch64-none/lib/python3.12/contextlib.py", line 158, in __exit__
self.gen.throw(value)
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.ReadTimeout: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/qdrant_client/http/api_client.py", line 134, in send_inner
response = self._client.send(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/httpx/_client.py", line 914, in send
response = self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/httpx/_client.py", line 942, in _send_handling_auth
response = self._send_handling_redirects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/httpx/_client.py", line 979, in _send_handling_redirects
response = self._send_single_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/httpx/_client.py", line 1014, in _send_single_request
response = transport.handle_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 249, in handle_request
with map_httpcore_exceptions():
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/.local/share/uv/python/cpython-3.12.7-macos-aarch64-none/lib/python3.12/contextlib.py", line 158, in __exit__
self.gen.throw(value)
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ReadTimeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/weave/evaluation/eval.py", line 247, in eval_example
eval_row = await self.predict_and_score(model, example)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/weave/trace/op.py", line 1194, in wrapper
res, _ = await _call_async_func(
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/weave/trace/op.py", line 637, in _call_async_func
res = await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/weave/evaluation/eval.py", line 200, in predict_and_score
apply_scorer_results = await asyncio.gather(*scorer_tasks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/weave/trace/call.py", line 248, in apply_scorer
apply_scorer_result = await apply_scorer_async(scorer, example, output)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/weave/flow/scorer.py", line 415, in apply_scorer_async
result, score_call = await async_call_op(score_op, **score_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/.local/share/uv/python/cpython-3.12.7-macos-aarch64-none/lib/python3.12/asyncio/threads.py", line 25, in to_thread
return await loop.run_in_executor(None, func_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/.local/share/uv/python/cpython-3.12.7-macos-aarch64-none/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/weave/trace/op_caller.py", line 53, in <lambda>
lambda: func.call(*args, __should_raise=True, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/weave/trace/op.py", line 1128, in call
return _call_sync_func(
^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/weave/trace/op.py", line 506, in _call_sync_func
res = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/bugbug/tools/code_review/scorer.py", line 82, in score
self.filtering_tool.get_indices_of_retained_comments(generated_comments)
File "/Users/smujahid/repos/mozilla/bugbug/bugbug/tools/suggestion_filtering/agent.py", line 67, in get_indices_of_retained_comments
rejected_examples = self._get_rejected_examples(suggestions)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/bugbug/tools/suggestion_filtering/agent.py", line 108, in _get_rejected_examples
rejected_comments = list(self._get_similar_rejected_comments(suggestions))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/bugbug/tools/suggestion_filtering/agent.py", line 132, in _get_similar_rejected_comments
for rejected_suggestion in similar_rejected_suggestions:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/bugbug/tools/code_review/database.py", line 191, in <genexpr>
for point in self.vector_db.search(
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/bugbug/vectordb.py", line 138, in search
for item in self.client.search(
^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/qdrant_client/qdrant_client.py", line 376, in search
return self._client.search(
^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/qdrant_client/qdrant_remote.py", line 523, in search
search_result = self.http.search_api.search_points(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/qdrant_client/http/api/search_api.py", line 936, in search_points
return self._build_for_search_points(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/qdrant_client/http/api/search_api.py", line 487, in _build_for_search_points
return self.api_client.request(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/qdrant_client/http/api_client.py", line 95, in request
return self.send(request, type_)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/qdrant_client/http/api_client.py", line 112, in send
response = self.middleware(request, self.send_inner)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/qdrant_client/http/api_client.py", line 250, in __call__
return call_next(request)
^^^^^^^^^^^^^^^^^^
File "/Users/smujahid/repos/mozilla/bugbug/.venv/lib/python3.12/site-packages/qdrant_client/http/api_client.py", line 136, in send_inner
raise ResponseHandlingException(e)
qdrant_client.http.exceptions.ResponseHandlingException: timed out
Metadata
Metadata
Assignees
Labels
No labels