Skip to content

Instantly share code, notes, and snippets.

@chaporgin
Created April 29, 2022 09:42
Show Gist options
  • Select an option

  • Save chaporgin/eb5d903359dfb4124168d07d52a4eece to your computer and use it in GitHub Desktop.

Select an option

Save chaporgin/eb5d903359dfb4124168d07d52a4eece to your computer and use it in GitHub Desktop.
chapson quick paste
m ~/D/zenithdb kubectl logs release-test-8qwq2 > tmp/e2e_logs`date +%s`.log
m ~/D/zenithdb cat tmp/e2e_logs1651225326.log
2022/04/29 08:13:07 Waiting for: https://console.stage.neon.tech/healthz
2022/04/29 08:13:07 Received 503 from https://console.stage.neon.tech/healthz. Sleeping 1s
2022/04/29 08:13:08 Received 503 from https://console.stage.neon.tech/healthz. Sleeping 1s
2022/04/29 08:13:09 Received 503 from https://console.stage.neon.tech/healthz. Sleeping 1s
2022/04/29 08:13:10 Received 503 from https://console.stage.neon.tech/healthz. Sleeping 1s
2022/04/29 08:13:11 Received 503 from https://console.stage.neon.tech/healthz. Sleeping 1s
2022/04/29 08:13:12 Received 503 from https://console.stage.neon.tech/healthz. Sleeping 1s
2022/04/29 08:13:13 Received 503 from https://console.stage.neon.tech/healthz. Sleeping 1s
2022/04/29 08:13:14 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 ERROR [ 2%]
==================================== ERRORS ====================================
____________ ERROR at setup of test_api_key_new_key_with_same_name _____________
Traceback (most recent call last):
File "/tests_e2e/fixtures/config.py", line 10, in app_config
return common.load_config_from_path()
File "/tests_e2e/common/config_load.py", line 27, in load_config_from_path
cfg = load_config(config_str)
File "/tests_e2e/common/config_load.py", line 14, in load_config
return schema().load(yaml.load(yaml_str, Loader=yaml.SafeLoader))
File "/usr/local/lib/python3.9/site-packages/marshmallow_dataclass/__init__.py", line 736, in load
all_loaded = super().load(data, many=many, **kwargs)
File "/usr/local/lib/python3.9/site-packages/marshmallow/schema.py", line 717, in load
return self._do_load(
File "/usr/local/lib/python3.9/site-packages/marshmallow/schema.py", line 900, in _do_load
raise exc
marshmallow.exceptions.ValidationError: {'k8s': ['Missing data for required field.']}
------------------------------ Captured log setup ------------------------------
2022-04-29 08:13:15 DEBUG Using selector: EpollSelector
2022-04-29 08:13:15 DEBUG Using selector: EpollSelector
============================= slowest 5 durations ==============================
0.01s setup tests/test_api_keys.py::test_api_key_new_key_with_same_name
0.00s teardown tests/test_api_keys.py::test_api_key_new_key_with_same_name
=========================== short test summary info ============================
ERROR tests/test_api_keys.py::test_api_key_new_key_with_same_name - marshmall...
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
======================= 13 deselected, 1 error in 0.37s ========================
2022/04/29 08:13: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