84 lines
14 KiB
Plaintext
84 lines
14 KiB
Plaintext
[35mDEBUG [0m tests.conftest:conftest.py:51 Running fixture setup: test_id
|
||
[35mDEBUG [0m tests.conftest:conftest.py:57 Running test: test_relay_unsubscribe_from_non_existing_pubsub_topic with id: 2024-09-12_04-27-38__435e8ede-9187-4d5a-82c5-86c7ebd229b6
|
||
[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.relay:relay.py:34 Running fixture setup: setup_main_relay_nodes
|
||
[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-38__435e8ede-9187-4d5a-82c5-86c7ebd229b6__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.78.75
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['42427', '42428', '42429', '42430', '42431']
|
||
[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 42427:42427 -p 42428:42428 -p 42429:42429 -p 42430:42430 -p 42431:42431 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=42429 --rest-port=42427 --tcp-port=42428 --discv5-udp-port=42430 --rest-address=0.0.0.0 --nat=extip:172.18.78.75 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=3da59b5e0514aeff26322eedcb8a5f3c159ecff62c49da0ce6aa84d47e190744 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=42431 --metrics-logging=true --relay=true
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.78.75 waku c776db0e301cf5fddd6f828b6130f8b09880c1244f8e5d96a4b2bb2cf0439500
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID c776db0e301c. Setting up logs at ./log/docker/node1_2024-09-12_04-27-38__435e8ede-9187-4d5a-82c5-86c7ebd229b6__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 42427
|
||
[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:42427/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:42427/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.78.75/tcp/42428/p2p/16Uiu2HAmPVCUC2qszhUWnCk9a51N7caxKe9CkzNcZUXFwTkwKfXz","/ip4/172.18.78.75/tcp/42429/ws/p2p/16Uiu2HAmPVCUC2qszhUWnCk9a51N7caxKe9CkzNcZUXFwTkwKfXz"],"enrUri":"enr:-LO4QD6x4EWH_UW9OEGIKizaK9XOhe5XAVASozuhvXEP8HJGVUE-l797oiF7UsDTRi9ul9f8XtTMzd4xmZDOY49l5mcBgmlkgnY0gmlwhKwSTkuKbXVsdGlhZGRyc4wACgSsEk5LBqW93QOCcnOFAAMBAACJc2VjcDI1NmsxoQOg7nN58LR75N4RyKzZbCqYztpKW6ojEw68Y9eAn0Bj7YN0Y3CCpbyDdWRwgqW-hXdha3UyAQ"}'
|
||
[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-38__435e8ede-9187-4d5a-82c5-86c7ebd229b6__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.95.241
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['51487', '51488', '51489', '51490', '51491']
|
||
[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 51487:51487 -p 51488:51488 -p 51489:51489 -p 51490:51490 -p 51491:51491 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=51489 --rest-port=51487 --tcp-port=51488 --discv5-udp-port=51490 --rest-address=0.0.0.0 --nat=extip:172.18.95.241 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=7ac1aeda17f6fe21adfda802dbe95d7da9458deda7582cdc503499a9c0b14c06 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=51491 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-LO4QD6x4EWH_UW9OEGIKizaK9XOhe5XAVASozuhvXEP8HJGVUE-l797oiF7UsDTRi9ul9f8XtTMzd4xmZDOY49l5mcBgmlkgnY0gmlwhKwSTkuKbXVsdGlhZGRyc4wACgSsEk5LBqW93QOCcnOFAAMBAACJc2VjcDI1NmsxoQOg7nN58LR75N4RyKzZbCqYztpKW6ojEw68Y9eAn0Bj7YN0Y3CCpbyDdWRwgqW-hXdha3UyAQ
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.95.241 waku e441da08c393d5919cdd261c480e2c332b552236de53aeaef6cb3fb9d04bef4c
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID e441da08c393. Setting up logs at ./log/docker/node2_2024-09-12_04-27-38__435e8ede-9187-4d5a-82c5-86c7ebd229b6__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 51487
|
||
[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:51487/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:51487/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.95.241/tcp/51488/p2p/16Uiu2HAm8xioSzGvBh2QLqgeC63LZbiBbpPTzNNtRRBjkh8yes2w","/ip4/172.18.95.241/tcp/51489/ws/p2p/16Uiu2HAm8xioSzGvBh2QLqgeC63LZbiBbpPTzNNtRRBjkh8yes2w"],"enrUri":"enr:-LO4QNbKy9J9KWjDv0IUPZ08SgI2rtPNogvvqLaeVwtoJr6_ccccPKBslVZ_u5UJADpuj-fxwtdFrvGaYAMWdbo11-UBgmlkgnY0gmlwhKwSX_GKbXVsdGlhZGRyc4wACgSsEl_xBskh3QOCcnOFAAMBAACJc2VjcDI1NmsxoQLJHCAlKkx-r_l5coWeuu_b2Ih8Kum6BUSCvLyY8awHoIN0Y3CCySCDdWRwgskihXdha3UyAQ"}'
|
||
[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:51487/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.78.75/tcp/42428/p2p/16Uiu2HAmPVCUC2qszhUWnCk9a51N7caxKe9CkzNcZUXFwTkwKfXz"]'
|
||
[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:42427/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
|
||
[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:51487/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
|
||
[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:42427/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": "/test/1/waku-relay/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.relay:relay.py:123 Checking that peer NODE_1: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:42427/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -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":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1726115261898887424,"ephemeral":false}]'
|
||
[35mDEBUG [0m src.steps.relay:relay.py:123 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:51487/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -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":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1726115261898887424,"ephemeral":false}]'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X DELETE "http://127.0.0.1:42427/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1000"]'
|
||
[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 DELETE "http://127.0.0.1:51487/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1000"]'
|
||
[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:42427/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": "/test/1/waku-relay/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.relay:relay.py:123 Checking that peer NODE_1: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:42427/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -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":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1726115262037097984,"ephemeral":false}]'
|
||
[35mDEBUG [0m src.steps.relay:relay.py:123 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:51487/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -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":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1726115262037097984,"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 c776db0e301c
|
||
[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 e441da08c393
|
||
[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. |