102 lines
17 KiB
Plaintext
102 lines
17 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_subscribe_with_multiple_overlapping_pubsub_topics with id: 2024-09-12_04-27-07__c58ca5ef-9240-4274-93d0-25ee7bcca520
|
||
[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-07__c58ca5ef-9240-4274-93d0-25ee7bcca520__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.234.41
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['3697', '3698', '3699', '3700', '3701']
|
||
[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 3697:3697 -p 3698:3698 -p 3699:3699 -p 3700:3700 -p 3701:3701 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=3699 --rest-port=3697 --tcp-port=3698 --discv5-udp-port=3700 --rest-address=0.0.0.0 --nat=extip:172.18.234.41 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=bf7d233ccc7c08cecdddbebc713c8ad27bad5df612491a1de8a1fcec203ff211 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=3701 --metrics-logging=true --relay=true
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.234.41 waku 5de7328465c09747ff5813cebd7f657a4a6508962a667a9c252b08d8793ac4e6
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID 5de7328465c0. Setting up logs at ./log/docker/node1_2024-09-12_04-27-07__c58ca5ef-9240-4274-93d0-25ee7bcca520__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 3697
|
||
[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:3697/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:3697/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.234.41/tcp/3698/p2p/16Uiu2HAmT8YhBiqnLCNAbHETDbzqWFSwfULFunKxwWy4UQmEEigs","/ip4/172.18.234.41/tcp/3699/ws/p2p/16Uiu2HAmT8YhBiqnLCNAbHETDbzqWFSwfULFunKxwWy4UQmEEigs"],"enrUri":"enr:-LO4QFHSgjhglIsDdAnZsoYLXKo0EoGz6ONBNOBP4C3A2slmeYowP-F46WfhcKfx08xhRnpIYGk7f0_d4M_INdzZa44BgmlkgnY0gmlwhKwS6imKbXVsdGlhZGRyc4wACgSsEuopBg5z3QOCcnOFAAMBAACJc2VjcDI1NmsxoQPXEt6Dmgulqn9EOgkBq8DOs89ALSMMmG5m3Bm6vRHLZIN0Y3CCDnKDdWRwgg50hXdha3UyAQ"}'
|
||
[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-07__c58ca5ef-9240-4274-93d0-25ee7bcca520__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.202.219
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['44468', '44469', '44470', '44471', '44472']
|
||
[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 44468:44468 -p 44469:44469 -p 44470:44470 -p 44471:44471 -p 44472:44472 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=44470 --rest-port=44468 --tcp-port=44469 --discv5-udp-port=44471 --rest-address=0.0.0.0 --nat=extip:172.18.202.219 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=e6fda8b0fe25f953af2eb052dc024c77fc4ffdb3cd1b2ded69638886fada5bec --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=44472 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-LO4QFHSgjhglIsDdAnZsoYLXKo0EoGz6ONBNOBP4C3A2slmeYowP-F46WfhcKfx08xhRnpIYGk7f0_d4M_INdzZa44BgmlkgnY0gmlwhKwS6imKbXVsdGlhZGRyc4wACgSsEuopBg5z3QOCcnOFAAMBAACJc2VjcDI1NmsxoQPXEt6Dmgulqn9EOgkBq8DOs89ALSMMmG5m3Bm6vRHLZIN0Y3CCDnKDdWRwgg50hXdha3UyAQ
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.202.219 waku 6890e5930bdb328092c675ca5c071f2e0c598de7ff0620809817ecdbb1408643
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID 6890e5930bdb. Setting up logs at ./log/docker/node2_2024-09-12_04-27-07__c58ca5ef-9240-4274-93d0-25ee7bcca520__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 44468
|
||
[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:44468/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:44468/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.202.219/tcp/44469/p2p/16Uiu2HAm6aNjwaa59o373utnm63NkE9mnzSSHJHKbpGQyprRDFPa","/ip4/172.18.202.219/tcp/44470/ws/p2p/16Uiu2HAm6aNjwaa59o373utnm63NkE9mnzSSHJHKbpGQyprRDFPa"],"enrUri":"enr:-LO4QKgStL3Ic6O9Zj4v7SUq9uyEOMjtBkN4UrcBeoCJhGpdGqXsyOEvcNEUNZCKaP--J-3l_9xM9wrhapkT60h6yDUBgmlkgnY0gmlwhKwSytuKbXVsdGlhZGRyc4wACgSsEsrbBq223QOCcnOFAAMBAACJc2VjcDI1NmsxoQKlq0qd_DNiFtqrEQeFA2gpek1SvsDHZwXCJy_SyeCu1YN0Y3CCrbWDdWRwgq23hXdha3UyAQ"}'
|
||
[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:44468/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.234.41/tcp/3698/p2p/16Uiu2HAmT8YhBiqnLCNAbHETDbzqWFSwfULFunKxwWy4UQmEEigs"]'
|
||
[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:3697/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0", "/waku/2/rs/3/1", "/waku/2/rs/3/9"]'
|
||
[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:44468/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0", "/waku/2/rs/3/1", "/waku/2/rs/3/9"]'
|
||
[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:3697/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1", "/waku/2/rs/3/9", "/waku/2/rs/3/25"]'
|
||
[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:44468/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1", "/waku/2/rs/3/9", "/waku/2/rs/3/25"]'
|
||
[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:3697/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -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:3697/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -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":1726115230677464320,"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:44468/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -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":1726115230677464320,"ephemeral":false}]'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:3697/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:3697/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":1726115230792659456,"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:44468/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":1726115230792659456,"ephemeral":false}]'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:3697/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F9" -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:3697/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F9" -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":1726115230907087104,"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:44468/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F9" -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":1726115230907087104,"ephemeral":false}]'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:3697/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F25" -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:3697/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F25" -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":1726115231024317184,"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:44468/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F25" -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":1726115231024317184,"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 5de7328465c0
|
||
[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 6890e5930bdb
|
||
[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. |