Skip to content

Python Api-hour - Verification Failed #1394

@LadyMozzarella

Description

@LadyMozzarella

After running Round 10, Preview 2 3 this test failed and appears to be passing locally:

  • aiohttp.web (multiple queries, fortunes, and data updates):

    gunicorn.error:ERROR 2015-02-26 14:17:59,868 glogging.py:224 => Error handling request
    Traceback (most recent call last):
    File "/home/techempower/FrameworkBenchmarks/installs/py3/lib/python3.4/site-packages/aiohttp/server.py", line 240, in start
      yield from handler
    File "/home/techempower/FrameworkBenchmarks/installs/py3/lib/python3.4/site-packages/aiohttp/web.py", line 1209, in handle_request
      resp = yield from handler(request)
    File "/home/techempower/FrameworkBenchmarks/frameworks/Python/API-Hour/hello/hello/endpoints/world.py", line 23, in db
      return JSON((yield from get_random_record(container)))
    File "/home/techempower/FrameworkBenchmarks/frameworks/Python/API-Hour/hello/hello/services/world.py", line 7, in get_random_record
      pg = yield from container.engines['pg']
    File "/home/techempower/FrameworkBenchmarks/installs/py3/lib/python3.4/asyncio/futures.py", line 390, in __iter__
      return self.result()  # May raise too.
    File "/home/techempower/FrameworkBenchmarks/installs/py3/lib/python3.4/asyncio/futures.py", line 277, in result
      raise self._exception
    File "/home/techempower/FrameworkBenchmarks/installs/py3/lib/python3.4/asyncio/tasks.py", line 236, in _step
      result = next(coro)
    File "/home/techempower/FrameworkBenchmarks/installs/py3/lib/python3.4/site-packages/aiopg/pool.py", line 26, in create_pool
      yield from pool._fill_free_pool(False)
    File "/home/techempower/FrameworkBenchmarks/installs/py3/lib/python3.4/site-packages/aiopg/pool.py", line 159, in _fill_free_pool
      **self._conn_kwargs)
    File "/home/techempower/FrameworkBenchmarks/installs/py3/lib/python3.4/site-packages/aiopg/connection.py", line 51, in connect
      yield from conn._poll(waiter, timeout)
    File "/home/techempower/FrameworkBenchmarks/installs/py3/lib/python3.4/site-packages/aiopg/connection.py", line 155, in _poll
      yield from asyncio.wait_for(self._waiter, timeout, loop=self._loop)
    File "/home/techempower/FrameworkBenchmarks/installs/py3/lib/python3.4/asyncio/tasks.py", line 371, in wait_for
      return fut.result()
    File "/home/techempower/FrameworkBenchmarks/installs/py3/lib/python3.4/asyncio/futures.py", line 277, in result
      raise self._exception
    File "/home/techempower/FrameworkBenchmarks/installs/py3/lib/python3.4/site-packages/aiopg/connection.py", line 90, in _ready
      state = self._conn.poll()
    psycopg2.OperationalError: FATAL:  remaining connection slots are reserved for non-replication superuser connections
    
    gunicorn.error:ERROR 2015-02-26 14:17:59,946 glogging.py:224 => Error handling request
    Traceback (most recent call last):
    File "/home/techempower/FrameworkBenchmarks/installs/py3/lib/python3.4/site-packages/aiohttp/server.py", line 240, in start
      yield from handler
    File "/home/techempower/FrameworkBenchmarks/installs/py3/lib/python3.4/site-packages/aiohttp/web.py", line 1209, in handle_request
      resp = yield from handler(request)
    File "/home/techempower/FrameworkBenchmarks/frameworks/Python/API-Hour/hello/hello/endpoints/world.py", line 31, in queries
      return JSON((yield from get_random_records(container, limit)))
    File "/home/techempower/FrameworkBenchmarks/frameworks/Python/API-Hour/hello/hello/services/world.py", line 23, in get_random_records
      results.append(task.result())
    
    [ 2.13 GB of this ]
    
    asyncio:WARNING 2015-02-26 14:24:06,654 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,655 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,655 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,656 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,656 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,656 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,656 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,657 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,657 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,658 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,658 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,658 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,659 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,659 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,659 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,660 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,660 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,661 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,661 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,661 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,661 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,662 selector_events.py:613 => socket.send() raised exception.
    asyncio:WARNING 2015-02-26 14:24:06,662 selector_events.py:613 => socket.send() raised exception.
    BENCHMARKING PLAINTEXT ... Complete

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions