-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add db-sync checks for conway param update proposals [ CIP-080 -> CIP 083 ] #2414
Conversation
Existing tests in file are passing (ran several times): [nix-shell:~/Downloads/CIPsTests/cardano-node-tests](artur/cip-tests)$ pytest -sk "test_pparam_update" cardano_node_tests/
=============================================================================================================================================== test session starts ================================================================================================================================================
platform linux -- Python 3.10.12, pytest-7.4.4, pluggy-1.5.0 -- /nix/store/lx8vhp4fxclp494svlfis3sb2g8z4l9h-python3-3.10.12/bin/python3.10
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase(PosixPath('/home/artur/Downloads/CIPsTests/cardano-node-tests/.hypothesis/examples'))
metadata: {'Python': '3.10.12', 'Platform': 'Linux-5.15.0-106-generic-x86_64-with-glibc2.37', 'Packages': {'pytest': '7.4.4', 'pluggy': '1.5.0'}, 'Plugins': {'allure-pytest': '2.13.5', 'hypothesis': '6.100.2', 'html': '3.2.0', 'metadata': '3.1.1', 'order': '1.2.1', 'select': '0.1.2', 'xdist': '3.3.1'}, 'cardano-node': '8.10.0', 'cardano-node rev': '04e060e6d86a5791c00aa518b2cee025384be28b', 'cardano-node ghc': 'ghc-8.10', 'cardano-cli': '8.22.0.0', 'cardano-cli rev': '04e060e6d86a5791c00aa518b2cee025384be28b', 'cardano-cli ghc': 'ghc-8.10', 'CLUSTER_ERA': 'conway', 'TX_ERA': '', 'COMMAND_ERA': 'conway', 'SCRIPTS_DIRNAME': 'conway_fast', 'ENABLE_P2P': 'False', 'MIXED_P2P': 'False', 'NUM_POOLS': '3', 'DB_BACKEND': '', 'HAS_CC': 'True', 'cardano-node-tests rev': 'ad6b634c9e05db763c3705e1805ab8b0c10bc390', 'cardano-node-tests url': 'https://github.com/IntersectMBO/cardano-node-tests/tree/ad6b634c9e05db763c3705e1805ab8b0c10bc390', 'CARDANO_NODE_SOCKET_PATH': '/home/artur/Downloads/CIPsTests/cardano-node-tests/dev_workdir/state-cluster0/bft1.socket', 'cardano-cli exe': '/nix/store/r716z228al13457i2k2wlgflr9l0ldpg-cardano-cli-exe-cardano-cli-8.22.0.0/bin/cardano-cli', 'cardano-node exe': '/nix/store/yi869ay2900bv7bwq3qz6hsz0rlnhnw7-cardano-node-exe-cardano-node-8.10.0/bin/cardano-node', 'cardano-submit-api exe': '/nix/store/cx62sjxfw8n8y09x6w56xq1171f9llpl-cardano-submit-api-exe-cardano-submit-api-8.10.0/bin/cardano-submit-api', 'network magic': 42, 'HAS_DBSYNC': 'True', 'db-sync': '13.2.0.1', 'db-sync rev': '3ac426d9f7cf252d5a20a02c60d4988a43dbb3f2', 'db-sync ghc': 'ghc-8.10', 'db-sync exe': '/nix/store/5p7spghmzkfamjgidjsli8kr9fjqhix9-cardano-db-sync-exe-cardano-db-sync-13.2.0.1/bin/cardano-db-sync'}
rootdir: /home/artur/Downloads/CIPsTests/cardano-node-tests
configfile: pyproject.toml
plugins: allure-pytest-2.13.5, hypothesis-6.100.2, html-3.2.0, metadata-3.1.1, order-1.2.1, select-0.1.2, xdist-3.3.1
collected 1354 items / 1352 deselected / 2 selected
cardano_node_tests/tests/tests_conway/test_pparam_update.py::TestPParamUpdate::test_pparam_update@long
-------------------------------------------------------------------------------------------------------------------------------------------------- live log setup --------------------------------------------------------------------------------------------------------------------------------------------------
INFO cardano_node_tests.tests.conftest:conftest.py:188 Changed CWD to '/home/artur/Downloads/CIPsTests/cardano-node-tests/dev_workdir/tmp/pytest-of-artur/pytest-13'.
-------------------------------------------------------------------------------------------------------------------------------------------------- live log call ---------------------------------------------------------------------------------------------------------------------------------------------------
INFO cardano_clusterlib.clusterlib_klass:clusterlib_klass.py:372 Waiting for 38.20 sec for slot no 91005.
INFO cardano_clusterlib.clusterlib_klass:clusterlib_klass.py:372 Waiting for 50.20 sec for slot no 92025.
INFO cardano_clusterlib.clusterlib_klass:clusterlib_klass.py:372 Waiting for 188.40 sec for slot no 93025.
PASSED
cardano_node_tests/tests/tests_conway/test_pparam_update.py::TestPParamData::test_pparam_keys PASSED
------------------------------------------------------------------------------------------------------------------------------------------------ live log teardown -------------------------------------------------------------------------------------------------------------------------------------------------
INFO cardano_node_tests.utils.dbsync_conn:dbsync_conn.py:34 Closing connection to db-sync database dbsync0.
================================================================================================================================== 2 passed, 1352 deselected in 542.59s (0:09:02) ================================================================================================================================== Clear errors reporting at the end of tests so CLI checks flow is not "broken" by sudden
|
4100d8b
to
5af2633
Compare
5af2633
to
4244027
Compare
Tests for |
4d73069
to
b2b31e3
Compare
b2b31e3
to
71eb139
Compare
247a9b7
to
3d7ce96
Compare
Local Tests passed:
Conway Nightly CC Tests: ✔️ Nightly DB-Sync Tests: ✔️ |
51d30b6
to
4135e83
Compare
Add db-sync checks for conway param update proposals [ CIP-080 -> CIP 083 ]