172 lines
32 KiB
Plaintext
172 lines
32 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_auto_sharding_multiple_content_topics with id: 2024-09-12_04-27-56__aa32080d-f710-4287-9efe-19979e2766ed
|
||
[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-56__aa32080d-f710-4287-9efe-19979e2766ed__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.177.58
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['54204', '54205', '54206', '54207', '54208']
|
||
[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 54204:54204 -p 54205:54205 -p 54206:54206 -p 54207:54207 -p 54208:54208 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=54206 --rest-port=54204 --tcp-port=54205 --discv5-udp-port=54207 --rest-address=0.0.0.0 --nat=extip:172.18.177.58 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=bd9caeffc7ea6bcc1fcdb730ffe5b763ab058b304decbd1fc73cb06ffecbde76 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=54208 --metrics-logging=true --relay=true --filter=true --content-topic=/myapp/1/latest/proto --content-topic=/waku/2/content/test.js --content-topic=/app/22/sometopic/someencoding --content-topic=/toychat/2/huilong/proto --content-topic=/statusim/1/community/cbor --content-topic=/app/27/sometopic/someencoding --content-topic=/app/29/sometopic/someencoding --content-topic=/app/20/sometopic/someencoding --pubsub-topic=/waku/2/rs/2/0 --pubsub-topic=/waku/2/rs/2/1 --pubsub-topic=/waku/2/rs/2/2 --pubsub-topic=/waku/2/rs/2/3 --pubsub-topic=/waku/2/rs/2/4 --pubsub-topic=/waku/2/rs/2/5 --pubsub-topic=/waku/2/rs/2/6 --pubsub-topic=/waku/2/rs/2/7
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.177.58 waku 10e1e8a1adaa02d204ad39fc8675580d31de0695a72e55bef0350380700f062a
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID 10e1e8a1adaa. Setting up logs at ./log/docker/node1_2024-09-12_04-27-56__aa32080d-f710-4287-9efe-19979e2766ed__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 54204
|
||
[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:54204/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:54204/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.177.58/tcp/54205/p2p/16Uiu2HAkvNabG1hBJ4hkWwBfJrHT5wBh5payusPCvcP8Rnp3pGPu","/ip4/172.18.177.58/tcp/54206/ws/p2p/16Uiu2HAkvNabG1hBJ4hkWwBfJrHT5wBh5payusPCvcP8Rnp3pGPu"],"enrUri":"enr:-MG4QJ9ls_yBolg-QkTI6r1AZmB4hE6UdYALsHMag2nNg3jpMaBDkYHYH0HmYGaPAJ5I19v_JK2DBaj5h8rV9HIxlosBgmlkgnY0gmlwhKwSsTqKbXVsdGlhZGRyc4wACgSsErE6BtO-3QOCcnOTAAIIAAAAAQACAAMABAAFAAYAB4lzZWNwMjU2azGhAg4Q2ggTMQj7HFs1PdqgCQx_yGPuZfqcTm0a76VG2yZkg3RjcILTvYN1ZHCC07-Fd2FrdTIF"}'
|
||
[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-56__aa32080d-f710-4287-9efe-19979e2766ed__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.242.112
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['21176', '21177', '21178', '21179', '21180']
|
||
[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 21176:21176 -p 21177:21177 -p 21178:21178 -p 21179:21179 -p 21180:21180 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=21178 --rest-port=21176 --tcp-port=21177 --discv5-udp-port=21179 --rest-address=0.0.0.0 --nat=extip:172.18.242.112 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=beedeeda4e4f415c87c5aaffbffb3ca0a73624cd33d7a7ab34805c8900dbaeec --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=21180 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-MG4QJ9ls_yBolg-QkTI6r1AZmB4hE6UdYALsHMag2nNg3jpMaBDkYHYH0HmYGaPAJ5I19v_JK2DBaj5h8rV9HIxlosBgmlkgnY0gmlwhKwSsTqKbXVsdGlhZGRyc4wACgSsErE6BtO-3QOCcnOTAAIIAAAAAQACAAMABAAFAAYAB4lzZWNwMjU2azGhAg4Q2ggTMQj7HFs1PdqgCQx_yGPuZfqcTm0a76VG2yZkg3RjcILTvYN1ZHCC07-Fd2FrdTIF --filternode=/ip4/172.18.177.58/tcp/54205/p2p/16Uiu2HAkvNabG1hBJ4hkWwBfJrHT5wBh5payusPCvcP8Rnp3pGPu --content-topic=/myapp/1/latest/proto --content-topic=/waku/2/content/test.js --content-topic=/app/22/sometopic/someencoding --content-topic=/toychat/2/huilong/proto --content-topic=/statusim/1/community/cbor --content-topic=/app/27/sometopic/someencoding --content-topic=/app/29/sometopic/someencoding --content-topic=/app/20/sometopic/someencoding --pubsub-topic=/waku/2/rs/2/0
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.242.112 waku 5bf9c5092c5dbc58d12fff7c58efbadc6f76d23c5be5c389ecfe84ed3e8db6cb
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID 5bf9c5092c5d. Setting up logs at ./log/docker/node2_2024-09-12_04-27-56__aa32080d-f710-4287-9efe-19979e2766ed__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 21176
|
||
[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:21176/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:21176/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.242.112/tcp/21177/p2p/16Uiu2HAmVad1ZYyVLym8Grdkdn7ouDPgr5aneGzA5s3TZSFbvX8A","/ip4/172.18.242.112/tcp/21178/ws/p2p/16Uiu2HAmVad1ZYyVLym8Grdkdn7ouDPgr5aneGzA5s3TZSFbvX8A"],"enrUri":"enr:-LO4QN2cLkFQCRqWfpQ3HDJArSqludSez-qfZL-nXiADfexcTLcxu5PZHgLZkaSUp45GlaarG26v4pH9uG1Ete2hKOoBgmlkgnY0gmlwhKwS8nCKbXVsdGlhZGRyc4wACgSsEvJwBlK63QOCcnOFAAIBAACJc2VjcDI1NmsxoQP7eDmjC0h9gtAPuUIq1PADe4Ymq7THdCfP8TrZWiuzP4N0Y3CCUrmDdWRwglK7hXdha3UyAA"}'
|
||
[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:21176/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.177.58/tcp/54205/p2p/16Uiu2HAkvNabG1hBJ4hkWwBfJrHT5wBh5payusPCvcP8Rnp3pGPu"]'
|
||
[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:54204/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/myapp/1/latest/proto", "/waku/2/content/test.js", "/app/22/sometopic/someencoding", "/toychat/2/huilong/proto", "/statusim/1/community/cbor", "/app/27/sometopic/someencoding", "/app/29/sometopic/someencoding", "/app/20/sometopic/someencoding"]'
|
||
[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:21176/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "875d9433-6ef0-4376-9008-68881faf6d53", "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":"875d9433-6ef0-4376-9008-68881faf6d53","statusDesc":"OK"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:21176/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "f2a8bb33-6b3e-47f5-b785-dd70277b8e07", "contentFilters": ["/waku/2/content/test.js"], "pubsubTopic": "/waku/2/rs/2/1"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"f2a8bb33-6b3e-47f5-b785-dd70277b8e07","statusDesc":"OK"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:21176/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "e8fa9186-7ec9-4e40-8651-cad3a1fb41af", "contentFilters": ["/app/22/sometopic/someencoding"], "pubsubTopic": "/waku/2/rs/2/2"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"e8fa9186-7ec9-4e40-8651-cad3a1fb41af","statusDesc":"OK"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:21176/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "a62f593a-0ea6-46b7-bcc8-ae4774a9367e", "contentFilters": ["/toychat/2/huilong/proto"], "pubsubTopic": "/waku/2/rs/2/3"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"a62f593a-0ea6-46b7-bcc8-ae4774a9367e","statusDesc":"OK"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:21176/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "09c34433-d8e0-4093-896f-57c116f5d0f6", "contentFilters": ["/statusim/1/community/cbor"], "pubsubTopic": "/waku/2/rs/2/4"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"09c34433-d8e0-4093-896f-57c116f5d0f6","statusDesc":"OK"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:21176/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "6743769e-ffff-4eaa-83bb-9a634918e590", "contentFilters": ["/app/27/sometopic/someencoding"], "pubsubTopic": "/waku/2/rs/2/5"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"6743769e-ffff-4eaa-83bb-9a634918e590","statusDesc":"OK"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:21176/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "b0c32368-1305-4466-9b1a-dfc82e33c4c7", "contentFilters": ["/app/29/sometopic/someencoding"], "pubsubTopic": "/waku/2/rs/2/6"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"b0c32368-1305-4466-9b1a-dfc82e33c4c7","statusDesc":"OK"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:21176/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "91b1f677-80c8-469d-a1a0-344826857487", "contentFilters": ["/app/20/sometopic/someencoding"], "pubsubTopic": "/waku/2/rs/2/7"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"91b1f677-80c8-469d-a1a0-344826857487","statusDesc":"OK"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:54204/relay/v1/auto/messages" -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:21176/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'[]'
|
||
[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 10e1e8a1adaa
|
||
[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 5bf9c5092c5d
|
||
[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.
|
||
[35mDEBUG [0m tests.conftest:conftest.py:73 Running fixture teardown: attach_logs_on_fail
|
||
[35mDEBUG [0m tests.conftest:conftest.py:74 Test failed, attempting to attach logs to the allure reports
|
||
[35mDEBUG [0m src.libs.common:common.py:30 Attaching file ./log/docker/node1_2024-09-12_04-27-56__aa32080d-f710-4287-9efe-19979e2766ed__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.libs.common:common.py:30 Attaching file ./log/docker/node2_2024-09-12_04-27-56__aa32080d-f710-4287-9efe-19979e2766ed__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m tests.conftest:conftest.py:51 Running fixture setup: test_id
|
||
[35mDEBUG [0m tests.conftest:conftest.py:57 Running test: test_filter_auto_sharding_multiple_content_topics with id: 2024-09-12_04-28-05__941c5c2d-d58c-491e-be82-cea69fd1ba09
|
||
[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-28-05__941c5c2d-d58c-491e-be82-cea69fd1ba09__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.249.116
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['17646', '17647', '17648', '17649', '17650']
|
||
[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 17646:17646 -p 17647:17647 -p 17648:17648 -p 17649:17649 -p 17650:17650 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=17648 --rest-port=17646 --tcp-port=17647 --discv5-udp-port=17649 --rest-address=0.0.0.0 --nat=extip:172.18.249.116 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=feceb0dd86d91bfbd317dd4dcc3db62ccfaa7f38ed4db887e2cbcc489d0c064c --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=17650 --metrics-logging=true --relay=true --filter=true --content-topic=/myapp/1/latest/proto --content-topic=/waku/2/content/test.js --content-topic=/app/22/sometopic/someencoding --content-topic=/toychat/2/huilong/proto --content-topic=/statusim/1/community/cbor --content-topic=/app/27/sometopic/someencoding --content-topic=/app/29/sometopic/someencoding --content-topic=/app/20/sometopic/someencoding --pubsub-topic=/waku/2/rs/2/0 --pubsub-topic=/waku/2/rs/2/1 --pubsub-topic=/waku/2/rs/2/2 --pubsub-topic=/waku/2/rs/2/3 --pubsub-topic=/waku/2/rs/2/4 --pubsub-topic=/waku/2/rs/2/5 --pubsub-topic=/waku/2/rs/2/6 --pubsub-topic=/waku/2/rs/2/7
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.249.116 waku 9b9a58182aa56641bfecb9268b84b64a98aed5386cd702342c4d737b1650de31
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID 9b9a58182aa5. Setting up logs at ./log/docker/node1_2024-09-12_04-28-05__941c5c2d-d58c-491e-be82-cea69fd1ba09__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 17646
|
||
[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:17646/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:17646/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.249.116/tcp/17647/p2p/16Uiu2HAkw3EnajKpeYuJtxkCNJHE3zCbxBGQaxr2W9g4cKvUJi1P","/ip4/172.18.249.116/tcp/17648/ws/p2p/16Uiu2HAkw3EnajKpeYuJtxkCNJHE3zCbxBGQaxr2W9g4cKvUJi1P"],"enrUri":"enr:-MG4QMFLLdOeLX_QZwIDrQky-rnPai80dr4Ek8nb7-NYdepoc95Fjhg_8BXrOos2IMNjkA7Tm4x1IguJV3Hv2j0mWTcBgmlkgnY0gmlwhKwS-XSKbXVsdGlhZGRyc4wACgSsEvl0BkTw3QOCcnOTAAIIAAAAAQACAAMABAAFAAYAB4lzZWNwMjU2azGhAhf4HCKV54V22mA9T1squ04THCg-NE_vEF19QM3mwCNSg3RjcIJE74N1ZHCCRPGFd2FrdTIF"}'
|
||
[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-28-05__941c5c2d-d58c-491e-be82-cea69fd1ba09__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.212.237
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['61443', '61444', '61445', '61446', '61447']
|
||
[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 61443:61443 -p 61444:61444 -p 61445:61445 -p 61446:61446 -p 61447:61447 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=61445 --rest-port=61443 --tcp-port=61444 --discv5-udp-port=61446 --rest-address=0.0.0.0 --nat=extip:172.18.212.237 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=64e773977df6a94a3fa7cf8b649f87217b6d9ab3d2e4115d77a4d1bff4b3d2dd --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=61447 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-MG4QMFLLdOeLX_QZwIDrQky-rnPai80dr4Ek8nb7-NYdepoc95Fjhg_8BXrOos2IMNjkA7Tm4x1IguJV3Hv2j0mWTcBgmlkgnY0gmlwhKwS-XSKbXVsdGlhZGRyc4wACgSsEvl0BkTw3QOCcnOTAAIIAAAAAQACAAMABAAFAAYAB4lzZWNwMjU2azGhAhf4HCKV54V22mA9T1squ04THCg-NE_vEF19QM3mwCNSg3RjcIJE74N1ZHCCRPGFd2FrdTIF --filternode=/ip4/172.18.249.116/tcp/17647/p2p/16Uiu2HAkw3EnajKpeYuJtxkCNJHE3zCbxBGQaxr2W9g4cKvUJi1P --content-topic=/myapp/1/latest/proto --content-topic=/waku/2/content/test.js --content-topic=/app/22/sometopic/someencoding --content-topic=/toychat/2/huilong/proto --content-topic=/statusim/1/community/cbor --content-topic=/app/27/sometopic/someencoding --content-topic=/app/29/sometopic/someencoding --content-topic=/app/20/sometopic/someencoding --pubsub-topic=/waku/2/rs/2/0
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.212.237 waku a4ff9e305afafb5285b8337037f96c12c4e52eaaccb6de5b76fa97c6d71e696f
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID a4ff9e305afa. Setting up logs at ./log/docker/node2_2024-09-12_04-28-05__941c5c2d-d58c-491e-be82-cea69fd1ba09__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 61443
|
||
[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:61443/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:61443/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.212.237/tcp/61444/p2p/16Uiu2HAmBXxmTuNynJpq75UBc8J1KQhZ4jLjBmA1Uojiy7xuVung","/ip4/172.18.212.237/tcp/61445/ws/p2p/16Uiu2HAmBXxmTuNynJpq75UBc8J1KQhZ4jLjBmA1Uojiy7xuVung"],"enrUri":"enr:-LO4QHeMmJuUaxU_bkpuFfoEabyn-rnyCgxZ06L_6_Bznu7kBz2p5btcCsTyIMIe6EOnj5iblW9qlSOqj0CA-qjYh6kBgmlkgnY0gmlwhKwS1O2KbXVsdGlhZGRyc4wACgSsEtTtBvAF3QOCcnOFAAIBAACJc2VjcDI1NmsxoQLvV3UQzrzSfLSFk3_Devw8LOWR2xBqtGnzNdl0SjMNKYN0Y3CC8ASDdWRwgvAGhXdha3UyAA"}'
|
||
[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:61443/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.249.116/tcp/17647/p2p/16Uiu2HAkw3EnajKpeYuJtxkCNJHE3zCbxBGQaxr2W9g4cKvUJi1P"]'
|
||
[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:17646/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/myapp/1/latest/proto", "/waku/2/content/test.js", "/app/22/sometopic/someencoding", "/toychat/2/huilong/proto", "/statusim/1/community/cbor", "/app/27/sometopic/someencoding", "/app/29/sometopic/someencoding", "/app/20/sometopic/someencoding"]'
|
||
[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:61443/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "24e39d79-5cd8-454a-b9d8-f1f5e046ae13", "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":"24e39d79-5cd8-454a-b9d8-f1f5e046ae13","statusDesc":"OK"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:61443/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "50a4adf5-5bb6-4492-9370-505a90f1b1a5", "contentFilters": ["/waku/2/content/test.js"], "pubsubTopic": "/waku/2/rs/2/1"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"50a4adf5-5bb6-4492-9370-505a90f1b1a5","statusDesc":"OK"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:61443/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "5b3b1662-269c-4995-82a8-5134c79b9f75", "contentFilters": ["/app/22/sometopic/someencoding"], "pubsubTopic": "/waku/2/rs/2/2"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"5b3b1662-269c-4995-82a8-5134c79b9f75","statusDesc":"OK"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:61443/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "d262fc8b-0fac-4535-9091-f99a5f3d2793", "contentFilters": ["/toychat/2/huilong/proto"], "pubsubTopic": "/waku/2/rs/2/3"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"d262fc8b-0fac-4535-9091-f99a5f3d2793","statusDesc":"OK"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:61443/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1e8427a1-448e-4c64-8571-3ae00dc781af", "contentFilters": ["/statusim/1/community/cbor"], "pubsubTopic": "/waku/2/rs/2/4"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"1e8427a1-448e-4c64-8571-3ae00dc781af","statusDesc":"OK"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:61443/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "ded988cf-48f2-48be-b2b1-4bc52e8a41e7", "contentFilters": ["/app/27/sometopic/someencoding"], "pubsubTopic": "/waku/2/rs/2/5"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"ded988cf-48f2-48be-b2b1-4bc52e8a41e7","statusDesc":"OK"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:61443/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "235be162-9ba5-41df-86d6-ddbb7a11d4d7", "contentFilters": ["/app/29/sometopic/someencoding"], "pubsubTopic": "/waku/2/rs/2/6"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"235be162-9ba5-41df-86d6-ddbb7a11d4d7","statusDesc":"OK"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:61443/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "41b59b9c-538d-415f-9703-732d780caca2", "contentFilters": ["/app/20/sometopic/someencoding"], "pubsubTopic": "/waku/2/rs/2/7"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"41b59b9c-538d-415f-9703-732d780caca2","statusDesc":"OK"}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:17646/relay/v1/auto/messages" -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:61443/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'[]'
|
||
[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 9b9a58182aa5
|
||
[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 a4ff9e305afa
|
||
[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.
|
||
[35mDEBUG [0m tests.conftest:conftest.py:73 Running fixture teardown: attach_logs_on_fail
|
||
[35mDEBUG [0m tests.conftest:conftest.py:74 Test failed, attempting to attach logs to the allure reports
|
||
[35mDEBUG [0m src.libs.common:common.py:30 Attaching file ./log/docker/node2_2024-09-12_04-28-05__941c5c2d-d58c-491e-be82-cea69fd1ba09__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.libs.common:common.py:30 Attaching file ./log/docker/node1_2024-09-12_04-28-05__941c5c2d-d58c-491e-be82-cea69fd1ba09__wakuorg_nwaku:latest.log |