Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-1196

[Build Failure] AIOHTTPGridFSHandlerTest

    • Type: Icon: Build Failure Build Failure
    • Resolution: Duplicate
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      test.asyncio_tests.test_aiohttp_gridfs.AIOHTTPGridFSHandlerTest.test_basic

      and

      test.asyncio_tests.test_aiohttp_gridfs.AIOHTTPTZAwareGridFSHandlerTest.test_tz_aware

      https://spruce.mongodb.com/task/motor_main__ssl~ssl_tox_env~test_pymongo_latest_os~rhel84_test_latest_standalone_0ed06b65accbe2a8afee143e7f6f1671afa75185_23_09_05_16_58_54/tests?execution=1&sortBy=STATUS&sortDir=ASC

       [2023/10/20 12:57:11.455] FAILURE: aiohttp.client_exceptions.ClientResponseError: 400, message="Expected HTTP/:\n\n  b'0'\n    ^", url=URL('http://localhost:8088/fs/foo') ()
       [2023/10/20 12:57:11.455] self = <ClientResponse(http://localhost:8088/fs/foo) [None None]>
       [2023/10/20 12:57:11.455] None
       [2023/10/20 12:57:11.455] connection = Connection<ConnectionKey(host='localhost', port=8088, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=None)>
       [2023/10/20 12:57:11.455]     async def start(self, connection: "Connection") -> "ClientResponse":
       [2023/10/20 12:57:11.455]         """Start response processing."""
       [2023/10/20 12:57:11.455]         self._closed = False
       [2023/10/20 12:57:11.455]         self._protocol = connection.protocol
       [2023/10/20 12:57:11.455]         self._connection = connection
       [2023/10/20 12:57:11.455] 
       [2023/10/20 12:57:11.455]         with self._timer:
       [2023/10/20 12:57:11.455]             while True:
       [2023/10/20 12:57:11.455]                 # read response
       [2023/10/20 12:57:11.455]                 try:
       [2023/10/20 12:57:11.455]                     protocol = self._protocol
       [2023/10/20 12:57:11.455] >                   message, payload = await protocol.read()  # type: ignore[union-attr]
       [2023/10/20 12:57:11.455] .tox/test-pymongo-latest/lib/python3.7/site-packages/aiohttp/client_reqrep.py:905:
       [2023/10/20 12:57:11.455] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
       [2023/10/20 12:57:11.455] .tox/test-pymongo-latest/lib/python3.7/site-packages/aiohttp/streams.py:616: in read
       [2023/10/20 12:57:11.455]     await self._waiter
       [2023/10/20 12:57:11.455] .tox/test-pymongo-latest/lib/python3.7/site-packages/aiohttp/client_proto.py:213: in data_received
       [2023/10/20 12:57:11.455]     messages, upgraded, tail = self._parser.feed_data(data)
       [2023/10/20 12:57:11.455] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
       [2023/10/20 12:57:11.455] >   ???
       [2023/10/20 12:57:11.455] E   aiohttp.http_exceptions.BadHttpMessage: 400, message:
       [2023/10/20 12:57:11.455] E     Expected HTTP/:
       [2023/10/20 12:57:11.455] E
       [2023/10/20 12:57:11.455] E       b'0'
       [2023/10/20 12:57:11.455] E         ^
       [2023/10/20 12:57:11.455] aiohttp/_http_parser.pyx:557: BadHttpMessage
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: