Created
May 3, 2022 11:42
-
-
Save chaporgin/3e2b1fa80c29fd61b4961524904b1799 to your computer and use it in GitHub Desktop.
chapson quick paste
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
| m ~/D/zenithdb kubectl logs zenith-console-periodic-e2e-test-27526284-gm7xm -f | |
| 2022/05/03 11:39:16 Waiting for: https://console.stage.neon.tech/healthz | |
| 2022/05/03 11:39:16 Received 200 from https://console.stage.neon.tech/healthz | |
| ============================= test session starts ============================== | |
| platform linux -- Python 3.9.12, pytest-7.1.1, pluggy-1.0.0 -- /usr/local/bin/python | |
| cachedir: /tmp/.pytest_cache | |
| rootdir: /tests_e2e, configfile: ../etc/e2e/pytest.ini | |
| plugins: anyio-3.5.0, asyncio-0.18.3, order-1.0.1, timeout-2.1.0 | |
| asyncio: mode=auto | |
| collecting ... collected 57 items / 13 deselected / 44 selected | |
| tests/test_api_keys.py::test_api_key_new_key_with_same_name PASSED [ 2%] | |
| tests/test_api_keys.py::test_api_key_not_exists_is_authentication_error PASSED [ 4%] | |
| tests/test_api_keys.py::test_api_key_can_auth_with_new_key PASSED [ 6%] | |
| tests/test_cluster.py::test_cluster_get PASSED [ 9%] | |
| tests/test_cluster.py::test_get_clusters PASSED [ 11%] | |
| tests/test_cluster.py::test_cluster_proxy_query FAILED [ 13%] | |
| =================================== FAILURES =================================== | |
| ___________________________ test_cluster_proxy_query ___________________________ | |
| Traceback (most recent call last): | |
| File "/tests_e2e/tests/test_cluster.py", line 108, in test_cluster_proxy_query | |
| with proxy_query( | |
| File "/usr/local/lib/python3.9/contextlib.py", line 119, in __enter__ | |
| return next(self.gen) | |
| File "/tests_e2e/common/cluster.py", line 82, in proxy_query | |
| conn = psycopg2.connect( | |
| File "/usr/local/lib/python3.9/site-packages/psycopg2/__init__.py", line 122, in connect | |
| conn = _connect(dsn, connection_factory=connection_factory, **kwasync) | |
| psycopg2.OperationalError: timeout expired | |
| ------------------------------ Captured log setup ------------------------------ | |
| 2022-05-03 11:39:24 DEBUG Using selector: EpollSelector | |
| ------------------------------ Captured log call ------------------------------- | |
| 2022-05-03 11:39:24 DEBUG HTTP Request: POST https://console.stage.neon.tech/api/v1/clusters "HTTP/1.1 201 Created" | |
| 2022-05-03 11:39:24 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424/issue_token "HTTP/1.1 200 OK" | |
| 2022-05-03 11:39:24 INFO waiting for cluster "sweet-pine-445424" to become "active" | |
| 2022-05-03 11:39:24 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:39:24 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:39:27 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:39:27 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:39:29 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:39:29 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:39:31 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:39:31 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:39:33 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:39:33 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:39:35 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:39:35 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:39:37 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:39:37 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:39:39 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:39:39 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:39:41 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:39:41 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:39:43 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:39:43 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:39:45 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:39:45 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:39:47 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:39:47 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:39:49 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:39:49 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:39:51 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:39:51 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:39:53 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:39:53 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:39:55 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:39:55 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:39:57 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:39:57 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:39:59 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:39:59 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:40:01 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:40:01 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:40:03 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:40:03 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:40:05 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:40:05 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:40:07 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:40:07 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:40:09 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:40:09 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:40:11 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:40:11 DEBUG sleeping, wait for cluster sweet-pine-445424 becomes active | |
| 2022-05-03 11:40:13 DEBUG HTTP Request: GET https://console.stage.neon.tech/api/v1/clusters/sweet-pine-445424 "HTTP/1.1 200 OK" | |
| 2022-05-03 11:40:13 INFO cluster "sweet-pine-445424" became active in 49 sec | |
| ---------------------------- Captured log teardown ----------------------------- | |
| 2022-05-03 11:40:16 INFO Running in cloud, collecting of logs for this setup is not implemented | |
| 2022-05-03 11:40:16 DEBUG Using selector: EpollSelector | |
| ============================= slowest 5 durations ============================== | |
| 51.16s call tests/test_cluster.py::test_cluster_proxy_query | |
| 6.30s setup tests/test_cluster.py::test_cluster_get | |
| 0.24s call tests/test_api_keys.py::test_api_key_new_key_with_same_name | |
| 0.23s call tests/test_api_keys.py::test_api_key_can_auth_with_new_key | |
| 0.08s setup tests/test_api_keys.py::test_api_key_new_key_with_same_name | |
| =========================== short test summary info ============================ | |
| FAILED tests/test_cluster.py::test_cluster_proxy_query - psycopg2.Operational... | |
| !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! | |
| ================= 1 failed, 5 passed, 13 deselected in 58.59s ================== | |
| 2022/05/03 11:40:16 Command exited with error: exit status 1 | |
| m ~/D/zenithdb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment