Created
November 25, 2022 17:46
-
-
Save arssher/71fecfe3f6887b8b1ecdbb1c146e7a04 to your computer and use it in GitHub Desktop.
tmp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ars@librem ~/neon/cloud $ make test-e2e RUNTEST_ARGS='-k test_proxy_get_role_secret' | |
| make -C tests_e2e test | |
| make[1]: Entering directory '/home/ars/neon/cloud/tests_e2e' | |
| poetry install | |
| Installing dependencies from lock file | |
| No dependencies to install or update | |
| poetry run pytest -vvs --durations=15 -k test_proxy_get_role_secret | |
| ==================================================================================== test session starts ===================================================================================== | |
| platform linux -- Python 3.10.8, pytest-7.1.1, pluggy-1.0.0 -- /home/ars/.cache/pypoetry/virtualenvs/tests-e2e-CrmeBj7j-py3.10/bin/python | |
| cachedir: .pytest_cache | |
| rootdir: /home/ars/neon/cloud/tests_e2e, configfile: pytest.ini | |
| plugins: xdist-2.5.0, forked-1.4.0, timeout-2.1.0, order-1.0.1, anyio-3.5.0, asyncio-0.18.3, timeouts-1.2.1 | |
| timeout: 600.0s | |
| timeout method: signal | |
| timeout func_only: False | |
| asyncio: mode=auto | |
| setup timeout: 60.0s, execution timeout: 0.0s, teardown timeout: 60.0s | |
| collected 100 items / 99 deselected / 1 selected | |
| tests/v2_management_api_tests/test_auth_proxy_request.py::test_proxy_get_role_secret | |
| --------------------------------------------------------------------------------------- live log setup --------------------------------------------------------------------------------------- | |
| 2022-11-25 21:30:26.897 DEBUG Using selector: EpollSelector | |
| 2022-11-25 21:30:26.898 DEBUG Using selector: EpollSelector | |
| 2022-11-25 21:30:26.898 DEBUG Using oauth-based client | |
| 2022-11-25 21:30:26.928 DEBUG HTTP Request: GET http://localhost:3000/api/v1/users/me "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:26.930 DEBUG Starting new HTTP connection (1): localhost:3000 | |
| 2022-11-25 21:30:26.932 DEBUG http://localhost:3000 "GET / HTTP/1.1" 302 37 | |
| 2022-11-25 21:30:26.934 DEBUG http://localhost:3000 "GET /sign_in?ref=/ HTTP/1.1" 200 None | |
| 2022-11-25 21:30:26.935 DEBUG Using oauth-based client | |
| 2022-11-25 21:30:26.956 DEBUG HTTP Request: POST http://localhost:3005/api/v2/projects "HTTP/1.1 201 Created" | |
| 2022-11-25 21:30:26.957 INFO waiting for project "yellow-wood-647344" to become "active" | |
| 2022-11-25 21:30:26.978 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:26.980 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:29.000 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:29.001 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:31.045 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:31.048 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:33.068 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:33.069 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:35.088 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:35.089 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:37.122 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:37.123 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:39.142 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:39.143 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:41.171 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:41.172 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:43.193 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:43.194 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:45.224 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:45.226 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:47.249 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:47.250 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:49.280 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:49.283 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:51.307 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:51.308 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:53.326 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:53.327 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:55.373 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:55.374 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:57.398 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:57.399 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:59.421 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:59.423 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:01.468 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:01.471 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:03.494 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:03.495 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:05.505 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:05.506 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:07.539 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:07.540 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:09.566 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:09.567 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:11.591 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:11.592 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:13.606 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:13.607 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:15.627 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:15.628 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:17.682 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:17.685 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:19.712 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:19.713 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:21.740 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:21.743 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:23.775 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:23.778 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:25.791 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:25.792 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| ERROR | |
| ------------------------------------------------------------------------------------- live log teardown -------------------------------------------------------------------------------------- | |
| 2022-11-25 21:31:27.096 DEBUG test 'test_proxy_get_role_secret' has never executed, either problem with it's setup or a global timeout | |
| 2022-11-25 21:31:27.111 INFO test "test_proxy_get_role_secret" failed, collecting logs from 0 projects | |
| 2022-11-25 21:31:27.119 DEBUG HTTP Request: GET http://localhost:3005/api/v2/projects "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:27.148 DEBUG HTTP Request: DELETE http://localhost:3005/api/v2/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:27.149 INFO deleted projects from worker master: ['yellow-wood-647344'] | |
| 2022-11-25 21:31:27.149 DEBUG Using selector: EpollSelector | |
| =========================================================================================== ERRORS =========================================================================================== | |
| ________________________________________________________________________ ERROR at setup of test_proxy_get_role_secret ________________________________________________________________________ | |
| event_loop = <_UnixSelectorEventLoop running=False closed=False debug=False>, request = <SubRequest 'project' for <Function test_proxy_get_role_secret>> | |
| kwargs = {'api_client': Client(base_url='http://localhost:3000/api/v1', cookies={}, headers={'X-Forwarded-For': 'neon-test-addr...0>, additional_properties={})], additional_properties={}), 'fixture_logger': <Logger file_logger_fixture (DEBUG)>, ...} | |
| setup = <function _wrap_asyncgen.<locals>._asyncgen_fixture_wrapper.<locals>.setup at 0x7f7c118153f0> | |
| finalizer = <function _wrap_asyncgen.<locals>._asyncgen_fixture_wrapper.<locals>.finalizer at 0x7f7c11815240> | |
| @functools.wraps(func) | |
| def _asyncgen_fixture_wrapper( | |
| event_loop: asyncio.AbstractEventLoop, request: SubRequest, **kwargs: Any | |
| ) -> _R: | |
| gen_obj = func(**_add_kwargs(func, kwargs, event_loop, request)) | |
| async def setup() -> _R: | |
| res = await gen_obj.__anext__() | |
| return res | |
| def finalizer() -> None: | |
| """Yield again, to finalize.""" | |
| async def async_finalizer() -> None: | |
| try: | |
| await gen_obj.__anext__() | |
| except StopAsyncIteration: | |
| pass | |
| else: | |
| msg = "Async generator fixture didn't stop." | |
| msg += "Yield only once." | |
| raise ValueError(msg) | |
| event_loop.run_until_complete(async_finalizer()) | |
| > result = event_loop.run_until_complete(setup()) | |
| event_loop = <_UnixSelectorEventLoop running=False closed=False debug=False> | |
| finalizer = <function _wrap_asyncgen.<locals>._asyncgen_fixture_wrapper.<locals>.finalizer at 0x7f7c11815240> | |
| func = <function project at 0x7f7c11b3a560> | |
| gen_obj = <async_generator object project at 0x7f7c118508c0> | |
| kwargs = {'api_client': Client(base_url='http://localhost:3000/api/v1', cookies={}, headers={'X-Forwarded-For': 'neon-test-addr', 'accept': 'application/json', 'Authorization': 'Bearer 1dwirlqtxb6zc95b6emqd6rq2dnazmwqs5nb7o5n7ww7f2nkt31axdut674o0hd8'}, timeout=20, verify_ssl=False, retries=2, retry_delay=0.2), | |
| 'cloud_user': ConsoleUser(id='5b126760-24c5-4a69-bf65-65f19f84c1d6', cookies={}), | |
| 'created_project': CreateProjectResponse201(project=CreateProjectResponse201Project(id='yellow-wood-647344', platform_id='aws', name='master_test_proxy_get_role_secret_test_proxy_get_role_secret', pg_version=14, locked=False, created_at=datetime.datetime(2022, 11, 25, 17, 30, 26, tzinfo=tzutc()), updated_at=datetime.datetime(2022, 11, 25, 17, 30, 26, tzinfo=tzutc()), proxy_host='localtest.me:4432', max_project_size=10240, default_endpoint_settings=<zenith_public_v2_client.types.Unset object at 0x7f7c14a5f130>, additional_properties={}), connection_uris=[CreateProjectResponse201ConnectionUrisItem(connection_uri='postgres://test_login:hmac2XDCy4ug@yellow-wood-647344.localtest.me:4432/neondb', additional_properties={})], roles=[CreateProjectResponse201RolesItem(branch_id='br-cold-disk-959994', name='test_login', created_at=datetime.datetime(2022, 11, 25, 17, 30, 26, tzinfo=tzutc()), updated_at=datetime.datetime(2022, 11, 25, 17, 30, 26, tzinfo=tzutc()), password='hmac2XDCy4ug', protected=False, additional_properties={}), CreateProjectResponse201RolesItem(branch_id='br-cold-disk-959994', name='web_access', created_at=datetime.datetime(2022, 11, 25, 17, 30, 26, tzinfo=tzutc()), updated_at=datetime.datetime(2022, 11, 25, 17, 30, 26, tzinfo=tzutc()), password=<zenith_public_v2_client.types.Unset object at 0x7f7c14a5f130>, protected=True, additional_properties={})], databases=[CreateProjectResponse201DatabasesItem(id=12, branch_id='br-cold-disk-959994', name='neondb', owner_name='test_login', created_at=datetime.datetime(2022, 11, 25, 17, 30, 26, tzinfo=tzutc()), updated_at=datetime.datetime(2022, 11, 25, 17, 30, 26, tzinfo=tzutc()), additional_properties={})], operations=[CreateProjectResponse201OperationsItem(id='6f014d34-98a0-4021-9d16-7cad27c67637', project_id='yellow-wood-647344', action=<CreateProjectResponse201OperationsItemAction.CREATE_TIMELINE: 'create_timeline'>, status=<CreateProjectResponse201OperationsItemStatus.RUNNING: 'running'>, failures_count=0, created_at=datetime.datetime(2022, 11, 25, 17, 30, 26, tzinfo=tzutc()), updated_at=datetime.datetime(2022, 11, 25, 17, 30, 26, tzinfo=tzutc()), branch_id='br-cold-disk-959994', endpoint_id=<zenith_public_v2_client.types.Unset object at 0x7f7c14a5f130>, error=<zenith_public_v2_client.types.Unset object at 0x7f7c14a5f130>, retry_at=<zenith_public_v2_client.types.Unset object at 0x7f7c14a5f130>, additional_properties={}), CreateProjectResponse201OperationsItem(id='c3ff27b1-a046-416b-b998-aa98194376b0', project_id='yellow-wood-647344', action=<CreateProjectResponse201OperationsItemAction.START_COMPUTE: 'start_compute'>, status=<CreateProjectResponse201OperationsItemStatus.SCHEDULING: 'scheduling'>, failures_count=0, created_at=datetime.datetime(2022, 11, 25, 17, 30, 26, tzinfo=tzutc()), updated_at=datetime.datetime(2022, 11, 25, 17, 30, 26, tzinfo=tzutc()), branch_id='br-cold-disk-959994', endpoint_id='ep-sweet-smoke-855576', error=<zenith_public_v2_client.types.Unset object at 0x7f7c14a5f130>, retry_at=<zenith_public_v2_client.types.Unset object at 0x7f7c14a5f130>, additional_properties={})], branch=CreateProjectResponse201Branch(id='br-cold-disk-959994', project_id='yellow-wood-647344', name='main', current_state=<CreateProjectResponse201BranchCurrentState.INIT: 'init'>, created_at=datetime.datetime(2022, 11, 25, 17, 30, 26, tzinfo=tzutc()), updated_at=datetime.datetime(2022, 11, 25, 17, 30, 26, tzinfo=tzutc()), parent_id=<zenith_public_v2_client.types.Unset object at 0x7f7c14a5f130>, parent_lsn=<zenith_public_v2_client.types.Unset object at 0x7f7c14a5f130>, parent_timestamp=<zenith_public_v2_client.types.Unset object at 0x7f7c14a5f130>, pending_state=<CreateProjectResponse201BranchPendingState.READY: 'ready'>, logical_size=<zenith_public_v2_client.types.Unset object at 0x7f7c14a5f130>, physical_size=<zenith_public_v2_client.types.Unset object at 0x7f7c14a5f130>, additional_properties={}), endpoints=[CreateProjectResponse201EndpointsItem(host='ep-sweet-smoke-855576.localtest.me:4432', id='ep-sweet-smoke-855576', project_id='yellow-wood-647344', branch_id='br-cold-disk-959994', autoscaling_limit_min_cu=1, autoscaling_limit_max_cu=1, region_id='aws-k8s', type=<CreateProjectResponse201EndpointsItemType.READ_WRITE: 'read_write'>, current_state=<CreateProjectResponse201EndpointsItemCurrentState.INIT: 'init'>, settings=CreateProjectResponse201EndpointsItemSettings(pg_settings=CreateProjectResponse201EndpointsItemSettingsPgSettings(additional_properties={}), additional_properties={}), pooler_enabled=False, pooler_mode=<CreateProjectResponse201EndpointsItemPoolerMode.TRANSACTION: 'transaction'>, disabled=False, passwordless_access=True, created_at=datetime.datetime(2022, 11, 25, 17, 30, 26, tzinfo=tzutc()), updated_at=datetime.datetime(2022, 11, 25, 17, 30, 26, tzinfo=tzutc()), proxy_host='localtest.me:4432', pending_state=<CreateProjectResponse201EndpointsItemPendingState.ACTIVE: 'active'>, last_active=<zenith_public_v2_client.types.Unset object at 0x7f7c14a5f130>, additional_properties={})], additional_properties={}), | |
| 'fixture_logger': <Logger file_logger_fixture (DEBUG)>, | |
| 'worker_id': 'master'} | |
| request = <SubRequest 'project' for <Function test_proxy_get_role_secret>> | |
| setup = <function _wrap_asyncgen.<locals>._asyncgen_fixture_wrapper.<locals>.setup at 0x7f7c118153f0> | |
| ../../../.cache/pypoetry/virtualenvs/tests-e2e-CrmeBj7j-py3.10/lib/python3.10/site-packages/pytest_asyncio/plugin.py:293: | |
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| /usr/lib/python3.10/asyncio/base_events.py:636: in run_until_complete | |
| self.run_forever() | |
| future = <Task pending name='Task-3' coro=<_wrap_asyncgen.<locals>._asyncgen_fixture_wrapper.<locals>.setup() running at /home/ars/.cache/pypoetry/virtualenvs/tests-e2e-CrmeBj7j-py3.10/lib/python3.10/site-packages/pytest_asyncio/plugin.py:275> wait_for=<Future pending cb=[Task.task_wakeup()]>> | |
| new_task = True | |
| self = <_UnixSelectorEventLoop running=False closed=False debug=False> | |
| /usr/lib/python3.10/asyncio/base_events.py:603: in run_forever | |
| self._run_once() | |
| old_agen_hooks = asyncgen_hooks(firstiter=None, finalizer=None) | |
| self = <_UnixSelectorEventLoop running=False closed=False debug=False> | |
| /usr/lib/python3.10/asyncio/base_events.py:1863: in _run_once | |
| event_list = self._selector.select(timeout) | |
| sched_count = 1 | |
| self = <_UnixSelectorEventLoop running=False closed=False debug=False> | |
| timeout = 1.999985094065778 | |
| when = 596623.609770545 | |
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| self = <selectors.EpollSelector object at 0x7f7c118479a0>, timeout = 2.0 | |
| def select(self, timeout=None): | |
| if timeout is None: | |
| timeout = -1 | |
| elif timeout <= 0: | |
| timeout = 0 | |
| else: | |
| # epoll_wait() has a resolution of 1 millisecond, round away | |
| # from zero to wait *at least* timeout seconds. | |
| timeout = math.ceil(timeout * 1e3) * 1e-3 | |
| # epoll_wait() expects `maxevents` to be greater than zero; | |
| # we want to make sure that `select()` can be called when no | |
| # FD is registered. | |
| max_ev = max(len(self._fd_to_key), 1) | |
| ready = [] | |
| try: | |
| > fd_event_list = self._selector.poll(timeout, max_ev) | |
| E Failed: Timeout >60.0s | |
| max_ev = 1 | |
| ready = [] | |
| self = <selectors.EpollSelector object at 0x7f7c118479a0> | |
| timeout = 2.0 | |
| /usr/lib/python3.10/selectors.py:469: Failed | |
| ------------------------------------------------------------------------------------- Captured log setup ------------------------------------------------------------------------------------- | |
| 2022-11-25 21:30:26.897 DEBUG Using selector: EpollSelector | |
| 2022-11-25 21:30:26.898 DEBUG Using selector: EpollSelector | |
| 2022-11-25 21:30:26.898 DEBUG Using oauth-based client | |
| 2022-11-25 21:30:26.928 DEBUG HTTP Request: GET http://localhost:3000/api/v1/users/me "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:26.930 DEBUG Starting new HTTP connection (1): localhost:3000 | |
| 2022-11-25 21:30:26.932 DEBUG http://localhost:3000 "GET / HTTP/1.1" 302 37 | |
| 2022-11-25 21:30:26.934 DEBUG http://localhost:3000 "GET /sign_in?ref=/ HTTP/1.1" 200 None | |
| 2022-11-25 21:30:26.935 DEBUG Using oauth-based client | |
| 2022-11-25 21:30:26.956 DEBUG HTTP Request: POST http://localhost:3005/api/v2/projects "HTTP/1.1 201 Created" | |
| 2022-11-25 21:30:26.957 INFO waiting for project "yellow-wood-647344" to become "active" | |
| 2022-11-25 21:30:26.978 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:26.980 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:29.000 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:29.001 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:31.045 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:31.048 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:33.068 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:33.069 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:35.088 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:35.089 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:37.122 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:37.123 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:39.142 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:39.143 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:41.171 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:41.172 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:43.193 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:43.194 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:45.224 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:45.226 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:47.249 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:47.250 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:49.280 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:49.283 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:51.307 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:51.308 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:53.326 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:53.327 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:55.373 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:55.374 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:57.398 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:57.399 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:30:59.421 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:30:59.423 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:01.468 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:01.471 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:03.494 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:03.495 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:05.505 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:05.506 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:07.539 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:07.540 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:09.566 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:09.567 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:11.591 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:11.592 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:13.606 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:13.607 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:15.627 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:15.628 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:17.682 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:17.685 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:19.712 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:19.713 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:21.740 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:21.743 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:23.775 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:23.778 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| 2022-11-25 21:31:25.791 DEBUG HTTP Request: GET http://localhost:3000/api/v1/projects/yellow-wood-647344 "HTTP/1.1 200 OK" | |
| 2022-11-25 21:31:25.792 DEBUG sleeping, waiting for project yellow-wood-647344 to become active, current state init -> active | |
| ==================================================================================== slowest 15 durations ==================================================================================== | |
| 60.00s setup tests/v2_management_api_tests/test_auth_proxy_request.py::test_proxy_get_role_secret | |
| 0.05s teardown tests/v2_management_api_tests/test_auth_proxy_request.py::test_proxy_get_role_secret | |
| ================================================================================== short test summary info =================================================================================== | |
| ERROR tests/v2_management_api_tests/test_auth_proxy_request.py::test_proxy_get_role_secret - Failed: Timeout >60.0s | |
| ========================================================================= 99 deselected, 1 error in 60.58s (0:01:00) ========================================================================= | |
| make[1]: *** [Makefile:26: test] Error 1 | |
| make[1]: Leaving directory '/home/ars/neon/cloud/tests_e2e' | |
| make: *** [Makefile:132: test-e2e] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment