80 lines
13 KiB
Plaintext
80 lines
13 KiB
Plaintext
|
[35mDEBUG [0m tests.conftest:conftest.py:51 Running fixture setup: test_id
|
|||
|
[35mDEBUG [0m tests.conftest:conftest.py:57 Running test: test_filter_works_with_static_sharding with id: 2024-09-12_04-27-47__61a5ea51-f3d2-46e9-a65a-4848c8b02f79
|
|||
|
[35mDEBUG [0m src.steps.common:common.py:17 Running fixture setup: common_setup
|
|||
|
[35mDEBUG [0m src.steps.relay:relay.py:28 Running fixture setup: relay_setup
|
|||
|
[35mDEBUG [0m src.steps.sharding:sharding.py:29 Running fixture setup: sharding_setup
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:18 Docker client initialized with image wakuorg/nwaku:latest
|
|||
|
[35mDEBUG [0m src.node.waku_node:waku_node.py:85 WakuNode instance initialized with log path ./log/docker/node1_2024-09-12_04-27-47__61a5ea51-f3d2-46e9-a65a-4848c8b02f79__wakuorg_nwaku:latest.log
|
|||
|
[35mDEBUG [0m src.node.waku_node:waku_node.py:89 Starting Node...
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:21 Attempting to create or retrieve network waku
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:24 Network waku already exists
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:81 Generated random external IP 172.18.115.115
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['54874', '54875', '54876', '54877', '54878']
|
|||
|
[35mDEBUG [0m src.node.waku_node:waku_node.py:72 Cluster id was resolved to: 2
|
|||
|
[35mDEBUG [0m src.node.waku_node:waku_node.py:434 RLN credentials were not set
|
|||
|
[32mINFO [0m src.node.waku_node:waku_node.py:163 RLN credentials not set or credential store not available, starting without RLN
|
|||
|
[35mDEBUG [0m src.node.waku_node:waku_node.py:165 Using volumes []
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:48 docker run -i -t -p 54874:54874 -p 54875:54875 -p 54876:54876 -p 54877:54877 -p 54878:54878 wakuorg/nwaku:latest --listen-address=0.0.0.0 --rest=true --rest-admin=true --websocket-support=true --log-level=TRACE --rest-relay-cache-capacity=100 --websocket-port=54876 --rest-port=54874 --tcp-port=54875 --discv5-udp-port=54877 --rest-address=0.0.0.0 --nat=extip:172.18.115.115 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=cfc0c14a5de32232f4748bed8aeca50cbf3bcbefffbc9ffed81e70dfcebc3400 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=54878 --metrics-logging=true --relay=true --filter=true --pubsub-topic=/waku/2/rs/2/0
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.115.115 waku 74c02174ddc6b682b64fd7c7e3adf0a9518d90e3059dc142e09b9e38c10ede9b
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID 74c02174ddc6. Setting up logs at ./log/docker/node1_2024-09-12_04-27-47__61a5ea51-f3d2-46e9-a65a-4848c8b02f79__wakuorg_nwaku:latest.log
|
|||
|
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 54874
|
|||
|
[35mDEBUG [0m src.libs.common:common.py:35 Sleeping for 1 seconds
|
|||
|
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:54874/health" -H "Content-Type: application/json" -d 'None'
|
|||
|
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"nodeHealth":"Ready","protocolsHealth":[]}'
|
|||
|
[32mINFO [0m src.node.waku_node:waku_node.py:277 Node protocols are initialized !!
|
|||
|
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:54874/debug/v1/info" -H "Content-Type: application/json" -d 'None'
|
|||
|
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.115.115/tcp/54875/p2p/16Uiu2HAmU7BqS7sZMrMYWdYa6hfTbdihMjZC95abGEaaNTytQs7j","/ip4/172.18.115.115/tcp/54876/ws/p2p/16Uiu2HAmU7BqS7sZMrMYWdYa6hfTbdihMjZC95abGEaaNTytQs7j"],"enrUri":"enr:-LO4QADtFW6KP-mdAAAILriU-uWt5zDxpVzy_mt4HVrJgRPVWKYGY95mLJFGF5IGlGd-O_uZtl8QPTWmhixSBEv3iMEBgmlkgnY0gmlwhKwSc3OKbXVsdGlhZGRyc4wACgSsEnNzBtZc3QOCcnOFAAIBAACJc2VjcDI1NmsxoQPllWQujqp-vH6NwNCh-9zkjWoF2etXxrCZov4K9_oHVoN0Y3CC1luDdWRwgtZdhXdha3UyBQ"}'
|
|||
|
[32mINFO [0m src.node.waku_node:waku_node.py:282 REST service is ready !!
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:18 Docker client initialized with image wakuorg/nwaku:latest
|
|||
|
[35mDEBUG [0m src.node.waku_node:waku_node.py:85 WakuNode instance initialized with log path ./log/docker/node2_2024-09-12_04-27-47__61a5ea51-f3d2-46e9-a65a-4848c8b02f79__wakuorg_nwaku:latest.log
|
|||
|
[35mDEBUG [0m src.node.waku_node:waku_node.py:89 Starting Node...
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:21 Attempting to create or retrieve network waku
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:24 Network waku already exists
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:81 Generated random external IP 172.18.208.228
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['34247', '34248', '34249', '34250', '34251']
|
|||
|
[35mDEBUG [0m src.node.waku_node:waku_node.py:72 Cluster id was resolved to: 2
|
|||
|
[35mDEBUG [0m src.node.waku_node:waku_node.py:434 RLN credentials were not set
|
|||
|
[32mINFO [0m src.node.waku_node:waku_node.py:163 RLN credentials not set or credential store not available, starting without RLN
|
|||
|
[35mDEBUG [0m src.node.waku_node:waku_node.py:165 Using volumes []
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:48 docker run -i -t -p 34247:34247 -p 34248:34248 -p 34249:34249 -p 34250:34250 -p 34251:34251 wakuorg/nwaku:latest --listen-address=0.0.0.0 --rest=true --rest-admin=true --websocket-support=true --log-level=TRACE --rest-relay-cache-capacity=100 --websocket-port=34249 --rest-port=34247 --tcp-port=34248 --discv5-udp-port=34250 --rest-address=0.0.0.0 --nat=extip:172.18.208.228 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=87c3cb4cea4cbb7cf9f7fb9aec1c3fcab8f4b6cb2d6b0d5d5eedddb7b462db55 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=34251 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-LO4QADtFW6KP-mdAAAILriU-uWt5zDxpVzy_mt4HVrJgRPVWKYGY95mLJFGF5IGlGd-O_uZtl8QPTWmhixSBEv3iMEBgmlkgnY0gmlwhKwSc3OKbXVsdGlhZGRyc4wACgSsEnNzBtZc3QOCcnOFAAIBAACJc2VjcDI1NmsxoQPllWQujqp-vH6NwNCh-9zkjWoF2etXxrCZov4K9_oHVoN0Y3CC1luDdWRwgtZdhXdha3UyBQ --filternode=/ip4/172.18.115.115/tcp/54875/p2p/16Uiu2HAmU7BqS7sZMrMYWdYa6hfTbdihMjZC95abGEaaNTytQs7j --pubsub-topic=/waku/2/rs/2/0
|
|||
|
[35mDEBUG [0m src.node.waku_node:waku_node.py:89 Starting Node...
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:21 Attempting to create or retrieve network waku
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:24 Network waku already exists
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:81 Generated random external IP 172.18.123.2
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['12433', '12434', '12435', '12436', '12437']
|
|||
|
[35mDEBUG [0m src.node.waku_node:waku_node.py:72 Cluster id was resolved to: 2
|
|||
|
[35mDEBUG [0m src.node.waku_node:waku_node.py:434 RLN credentials were not set
|
|||
|
[32mINFO [0m src.node.waku_node:waku_node.py:163 RLN credentials not set or credential store not available, starting without RLN
|
|||
|
[35mDEBUG [0m src.node.waku_node:waku_node.py:165 Using volumes []
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:48 docker run -i -t -p 12433:12433 -p 12434:12434 -p 12435:12435 -p 12436:12436 -p 12437:12437 wakuorg/nwaku:latest --listen-address=0.0.0.0 --rest=true --rest-admin=true --websocket-support=true --log-level=TRACE --rest-relay-cache-capacity=100 --websocket-port=12435 --rest-port=12433 --tcp-port=12434 --discv5-udp-port=12436 --rest-address=0.0.0.0 --nat=extip:172.18.123.2 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=1ae7dfa8e6e043ce01b8afde4ac19712d7099ba3cbeeeaed7bfeb2092a81c84a --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=12437 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-LO4QADtFW6KP-mdAAAILriU-uWt5zDxpVzy_mt4HVrJgRPVWKYGY95mLJFGF5IGlGd-O_uZtl8QPTWmhixSBEv3iMEBgmlkgnY0gmlwhKwSc3OKbXVsdGlhZGRyc4wACgSsEnNzBtZc3QOCcnOFAAIBAACJc2VjcDI1NmsxoQPllWQujqp-vH6NwNCh-9zkjWoF2etXxrCZov4K9_oHVoN0Y3CC1luDdWRwgtZdhXdha3UyBQ --filternode=/ip4/172.18.115.115/tcp/54875/p2p/16Uiu2HAmU7BqS7sZMrMYWdYa6hfTbdihMjZC95abGEaaNTytQs7j --pubsub-topic=/waku/2/rs/2/0
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.123.2 waku 56d0bc84f5aa96a71fa45ec0308a4167bd223f0edf81c856be322b4671c4638c
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID 56d0bc84f5aa. Setting up logs at ./log/docker/node2_2024-09-12_04-27-47__61a5ea51-f3d2-46e9-a65a-4848c8b02f79__wakuorg_nwaku:latest.log
|
|||
|
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 12433
|
|||
|
[35mDEBUG [0m src.libs.common:common.py:35 Sleeping for 1 seconds
|
|||
|
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:12433/health" -H "Content-Type: application/json" -d 'None'
|
|||
|
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"nodeHealth":"Ready","protocolsHealth":[]}'
|
|||
|
[32mINFO [0m src.node.waku_node:waku_node.py:277 Node protocols are initialized !!
|
|||
|
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:12433/debug/v1/info" -H "Content-Type: application/json" -d 'None'
|
|||
|
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.123.2/tcp/12434/p2p/16Uiu2HAmP1xGPLgURT2kxKYY2jePsPh9uiMtXGKW55aTPizru87S","/ip4/172.18.123.2/tcp/12435/ws/p2p/16Uiu2HAmP1xGPLgURT2kxKYY2jePsPh9uiMtXGKW55aTPizru87S"],"enrUri":"enr:-LO4QDwtK4SPSRBr5s-YRPIC0vtHWhme08bBqah5lfxZvLfLNs4y9eQcVwKKMhtuSdlgK--2yoYO1WA1Vdw-9xX7CpUBgmlkgnY0gmlwhKwSewKKbXVsdGlhZGRyc4wACgSsEnsCBjCT3QOCcnOFAAIBAACJc2VjcDI1NmsxoQOZ87WRJAK91FgnUIxgbJBIc5YeB7Hq8PhNetClu2sZgYN0Y3CCMJKDdWRwgjCUhXdha3UyAA"}'
|
|||
|
[32mINFO [0m src.node.waku_node:waku_node.py:282 REST service is ready !!
|
|||
|
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:12433/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.115.115/tcp/54875/p2p/16Uiu2HAmU7BqS7sZMrMYWdYa6hfTbdihMjZC95abGEaaNTytQs7j"]'
|
|||
|
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
|
|||
|
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:54874/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/2/0"]'
|
|||
|
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
|
|||
|
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:12433/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "52063d66-3c05-44ac-9526-928ccb86f48b", "contentFilters": ["/myapp/1/latest/proto"], "pubsubTopic": "/waku/2/rs/2/0"}'
|
|||
|
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"52063d66-3c05-44ac-9526-928ccb86f48b","statusDesc":"OK"}'
|
|||
|
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:54874/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F0" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
|
|||
|
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
|
|||
|
[35mDEBUG [0m src.libs.common:common.py:35 Sleeping for 0.1 seconds
|
|||
|
[35mDEBUG [0m src.steps.sharding:sharding.py:186 Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
|
|||
|
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:12433/filter/v2/messages/%2Fmyapp%2F1%2Flatest%2Fproto" -H "Content-Type: application/json" -d 'None'
|
|||
|
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1726115271891167488,"ephemeral":false}]'
|
|||
|
[35mDEBUG [0m tests.conftest:conftest.py:59 Running fixture teardown: test_setup
|
|||
|
[35mDEBUG [0m tests.conftest:conftest.py:83 Running fixture teardown: close_open_nodes
|
|||
|
[35mDEBUG [0m src.node.waku_node:waku_node.py:221 Stopping container with id 74c02174ddc6
|
|||
|
[35mDEBUG [0m src.node.waku_node:waku_node.py:228 Container stopped.
|
|||
|
[35mDEBUG [0m src.node.waku_node:waku_node.py:221 Stopping container with id 56d0bc84f5aa
|
|||
|
[35mDEBUG [0m src.node.waku_node:waku_node.py:228 Container stopped.
|
|||
|
[35mDEBUG [0m tests.conftest:conftest.py:98 Running fixture teardown: check_waku_log_errors
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:117 No errors found in the waku logs.
|
|||
|
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:117 No errors found in the waku logs.
|