2026-03-05 15:25:13 +00:00

85 lines
18 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

DEBUG  tests.conftest:conftest.py:51 Running fixture setup: test_id
DEBUG  tests.conftest:conftest.py:57 Running test: test_filter_auto_sharding_multiple_content_topics with id: 2026-03-05_15-05-59__5eea342d-9825-48ab-9aff-6ad78d508c2f
DEBUG  src.steps.common:common.py:19 Running fixture setup: common_setup
DEBUG  src.steps.relay:relay.py:28 Running fixture setup: relay_setup
DEBUG  src.steps.sharding:sharding.py:30 Running fixture setup: sharding_setup
DEBUG  src.node.docker_mananger:docker_mananger.py:19 Docker client initialized with image harbor.status.im/wakuorg/nwaku:v0.38.0-beta
DEBUG  src.node.waku_node:waku_node.py:86 WakuNode instance initialized with log path ./log/docker/node1_2026-03-05_15-05-59__5eea342d-9825-48ab-9aff-6ad78d508c2f__harbor.status.im_wakuorg_nwaku:v0.38.0-beta.log
DEBUG  src.node.waku_node:waku_node.py:90 Starting Node...
DEBUG  src.node.docker_mananger:docker_mananger.py:22 Attempting to create or retrieve network waku
DEBUG  src.node.docker_mananger:docker_mananger.py:25 Network waku already exists
DEBUG  src.node.docker_mananger:docker_mananger.py:108 Generated random external IP 172.18.83.124
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['20216', '20217', '20218', '20219', '20220']
DEBUG  src.node.waku_node:waku_node.py:163 Removing pubsub-topic from nwaku args
DEBUG  src.node.waku_node:waku_node.py:439 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:176 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:178 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 20216:20216 -p 20217:20217 -p 20218:20218 -p 20219:20219 -p 20220:20220 harbor.status.im/wakuorg/nwaku:v0.38.0-beta --listen-address=0.0.0.0 --rest=true --rest-admin=true --websocket-support=true --log-level=TRACE --rest-relay-cache-capacity=100 --websocket-port=20218 --rest-port=20216 --tcp-port=20217 --discv5-udp-port=20219 --rest-address=0.0.0.0 --nat=extip:172.18.83.124 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=d2e1cb1d8c3c177fa72a674bac77a608adad7c6193affe5daeebacad66a66592 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=20220 --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 --num-shards-in-network=8
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.83.124 waku b50c5bb25f7460a61236611182b4aa6342b28588da0417e267c91d10fd359ea0
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID b50c5bb25f74. Setting up logs at ./log/docker/node1_2026-03-05_15-05-59__5eea342d-9825-48ab-9aff-6ad78d508c2f__harbor.status.im_wakuorg_nwaku:v0.38.0-beta.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image harbor.status.im/wakuorg/nwaku:v0.38.0-beta. REST: 20216
DEBUG  src.libs.common:common.py:47 Sleeping for 1 seconds
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 772383d5114e. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:20216/health" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"nodeHealth":"READY","connectionStatus":"Disconnected","protocolsHealth":[{"Relay":"NOT_READY","desc":"No connected peers"},{"Lightpush":"NOT_MOUNTED"},{"Legacy Lightpush":"NOT_MOUNTED"},{"Filter":"NOT_READY","desc":"Relay is not ready, filter will not be able to sort out messages"},{"Store":"NOT_MOUNTED"},{"Legacy Store":"NOT_MOUNTED"},{"Peer Exchange":"READY"},{"Rendezvous":"NOT_READY","desc":"No Rendezvous peers are available yet"},{"Mix":"NOT_MOUNTED"},{"Lightpush Client":"NOT_READY","desc":"No Lightpush service peer available yet"},{"Legacy Lightpush Client":"NOT_READY","desc":"No Lightpush service peer available yet"},{"Store Client":"NOT_READY","desc":"No Store service peer available yet, neither Store service set up for the node"},{"Legacy Store Client":"NOT_READY","desc":"No Legacy Store service peers are available yet, neither Store service set up for the node"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"},{"Rln Relay":"NOT_MOUNTED"}]}'
INFO  src.node.waku_node:waku_node.py:287 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:20216/debug/v1/info" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.83.124/tcp/20217/p2p/16Uiu2HAky3oVtBcPWRaVb2pSizbqoxbBLMLGA71iJ3Mfipu6mork","/ip4/172.18.83.124/tcp/20218/ws/p2p/16Uiu2HAky3oVtBcPWRaVb2pSizbqoxbBLMLGA71iJ3Mfipu6mork"],"enrUri":"enr:-L24QLukaEFawFjHw8UcHXp2m8vuLhf7tjJ41dSPdwVZq4OITJQ-jpQpwH3jRMD_TaKtttc9AHjRjQl-1sJAPgAVmsYCgmlkgnY0gmlwhKwSU3yKbXVsdGlhZGRyc5YACASsElN8Bk75AAoErBJTfAZO-t0DgnJzhQACAQAAiXNlY3AyNTZrMaECNdR4r3r6ZtINXFwYRa6WGrqg-90jlp81L7DOw6qk7q2DdGNwgk75g3VkcIJO-4V3YWt1MgU"}'
INFO  src.node.waku_node:waku_node.py:292 REST service is ready !!
DEBUG  src.node.docker_mananger:docker_mananger.py:19 Docker client initialized with image harbor.status.im/wakuorg/nwaku:v0.38.0-beta
DEBUG  src.node.waku_node:waku_node.py:86 WakuNode instance initialized with log path ./log/docker/node2_2026-03-05_15-05-59__5eea342d-9825-48ab-9aff-6ad78d508c2f__harbor.status.im_wakuorg_nwaku:v0.38.0-beta.log
DEBUG  src.node.waku_node:waku_node.py:90 Starting Node...
DEBUG  src.node.docker_mananger:docker_mananger.py:22 Attempting to create or retrieve network waku
DEBUG  src.node.docker_mananger:docker_mananger.py:25 Network waku already exists
DEBUG  src.node.docker_mananger:docker_mananger.py:108 Generated random external IP 172.18.155.1
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['26260', '26261', '26262', '26263', '26264']
DEBUG  src.node.waku_node:waku_node.py:163 Removing pubsub-topic from nwaku args
DEBUG  src.node.waku_node:waku_node.py:439 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:176 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:178 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 26260:26260 -p 26261:26261 -p 26262:26262 -p 26263:26263 -p 26264:26264 harbor.status.im/wakuorg/nwaku:v0.38.0-beta --listen-address=0.0.0.0 --rest=true --rest-admin=true --websocket-support=true --log-level=TRACE --rest-relay-cache-capacity=100 --websocket-port=26262 --rest-port=26260 --tcp-port=26261 --discv5-udp-port=26263 --rest-address=0.0.0.0 --nat=extip:172.18.155.1 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=e30f70c49cecaca1c86cecbbf81e020eb5a2f86bc13dca0e5b9f3fd9e4cfa5d1 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=26264 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QLukaEFawFjHw8UcHXp2m8vuLhf7tjJ41dSPdwVZq4OITJQ-jpQpwH3jRMD_TaKtttc9AHjRjQl-1sJAPgAVmsYCgmlkgnY0gmlwhKwSU3yKbXVsdGlhZGRyc5YACASsElN8Bk75AAoErBJTfAZO-t0DgnJzhQACAQAAiXNlY3AyNTZrMaECNdR4r3r6ZtINXFwYRa6WGrqg-90jlp81L7DOw6qk7q2DdGNwgk75g3VkcIJO-4V3YWt1MgU --filternode=/ip4/172.18.83.124/tcp/20217/p2p/16Uiu2HAky3oVtBcPWRaVb2pSizbqoxbBLMLGA71iJ3Mfipu6mork --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
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.155.1 waku a08d158dcda725516b6233bdedb592e31cf460519d931bcde0f7ef8312ef5cab
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID a08d158dcda7. Setting up logs at ./log/docker/node2_2026-03-05_15-05-59__5eea342d-9825-48ab-9aff-6ad78d508c2f__harbor.status.im_wakuorg_nwaku:v0.38.0-beta.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image harbor.status.im/wakuorg/nwaku:v0.38.0-beta. REST: 26260
DEBUG  src.libs.common:common.py:47 Sleeping for 1 seconds
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:26260/health" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"nodeHealth":"READY","connectionStatus":"Disconnected","protocolsHealth":[{"Relay":"NOT_MOUNTED"},{"Lightpush":"NOT_MOUNTED"},{"Legacy Lightpush":"NOT_MOUNTED"},{"Filter":"NOT_MOUNTED"},{"Store":"NOT_MOUNTED"},{"Legacy Store":"NOT_MOUNTED"},{"Peer Exchange":"READY"},{"Rendezvous":"NOT_READY","desc":"No Rendezvous peers are available yet"},{"Mix":"NOT_MOUNTED"},{"Lightpush Client":"NOT_READY","desc":"No Lightpush service peer available yet"},{"Legacy Lightpush Client":"NOT_READY","desc":"No Lightpush service peer available yet"},{"Store Client":"NOT_READY","desc":"No Store service peer available yet, neither Store service set up for the node"},{"Legacy Store Client":"NOT_READY","desc":"No Legacy Store service peers are available yet, neither Store service set up for the node"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"},{"Rln Relay":"NOT_MOUNTED"}]}'
INFO  src.node.waku_node:waku_node.py:287 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:26260/debug/v1/info" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.155.1/tcp/26261/p2p/16Uiu2HAmUeFEGoo8MhoDDhB618dsyXfLSsoB26yn6vPo6JyPo1zW","/ip4/172.18.155.1/tcp/26262/ws/p2p/16Uiu2HAmUeFEGoo8MhoDDhB618dsyXfLSsoB26yn6vPo6JyPo1zW"],"enrUri":"enr:-L24QGiowPcm006mLjYM8AuuSF8L-j0l0uNGK35aVj1H6UnEGrxSPyrH7yXstld__MQjoeHxBVeBz6HTOS0EbnzJ-aYCgmlkgnY0gmlwhKwSmwGKbXVsdGlhZGRyc5YACASsEpsBBmaVAAoErBKbAQZmlt0DgnJzhQACAQAAiXNlY3AyNTZrMaED7Yo72QS0x-3v5xFlBN9j9ma8WdUKv1CXuXKo34YsL1eDdGNwgmaVg3VkcIJml4V3YWt1MgA"}'
INFO  src.node.waku_node:waku_node.py:292 REST service is ready !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:26260/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.83.124/tcp/20217/p2p/16Uiu2HAky3oVtBcPWRaVb2pSizbqoxbBLMLGA71iJ3Mfipu6mork"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:20216/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"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:26260/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "d4ac243a-70c6-4186-b283-19054e3e1c51", "contentFilters": ["/myapp/1/latest/proto"], "pubsubTopic": "/waku/2/rs/2/0"}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"d4ac243a-70c6-4186-b283-19054e3e1c51","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:26260/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "2d3eca1f-cf69-49c3-bead-fd1233a90c3a", "contentFilters": ["/waku/2/content/test.js"], "pubsubTopic": "/waku/2/rs/2/1"}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"2d3eca1f-cf69-49c3-bead-fd1233a90c3a","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:26260/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "24459437-4770-4e74-ac46-37515516df80", "contentFilters": ["/app/22/sometopic/someencoding"], "pubsubTopic": "/waku/2/rs/2/2"}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"24459437-4770-4e74-ac46-37515516df80","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:26260/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "57baaabe-2a0c-4422-8493-f37f869275ae", "contentFilters": ["/toychat/2/huilong/proto"], "pubsubTopic": "/waku/2/rs/2/3"}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"57baaabe-2a0c-4422-8493-f37f869275ae","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:26260/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "492ad610-dcb1-4ebb-b010-115680e04b61", "contentFilters": ["/statusim/1/community/cbor"], "pubsubTopic": "/waku/2/rs/2/4"}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"492ad610-dcb1-4ebb-b010-115680e04b61","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:26260/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "b4f6a6cd-cf08-479b-a36b-eb4a099af4cd", "contentFilters": ["/app/27/sometopic/someencoding"], "pubsubTopic": "/waku/2/rs/2/5"}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"b4f6a6cd-cf08-479b-a36b-eb4a099af4cd","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:26260/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "873bb1fb-b98e-43d4-99cf-b2fe9ea7f793", "contentFilters": ["/app/29/sometopic/someencoding"], "pubsubTopic": "/waku/2/rs/2/6"}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"873bb1fb-b98e-43d4-99cf-b2fe9ea7f793","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:26260/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "6ac11caa-9347-4747-a2b1-70dde485a8d1", "contentFilters": ["/app/20/sometopic/someencoding"], "pubsubTopic": "/waku/2/rs/2/7"}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"6ac11caa-9347-4747-a2b1-70dde485a8d1","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:20216/relay/v1/auto/messages" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
ERROR  src.node.api_clients.base_client:base_client.py:16 HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:20216/relay/v1/auto/messages. Response content: b'Failed to publish: publish failed in relay: NoPeersToPublish'
DEBUG  tests.conftest:conftest.py:59 Running fixture teardown: test_setup
DEBUG  tests.conftest:conftest.py:83 Running fixture teardown: close_open_nodes
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id b50c5bb25f74
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id a08d158dcda7
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  tests.conftest:conftest.py:98 Running fixture teardown: check_waku_log_errors
DEBUG  src.node.docker_mananger:docker_mananger.py:144 No errors found in the waku logs.
DEBUG  src.node.docker_mananger:docker_mananger.py:144 No errors found in the waku logs.
DEBUG  tests.conftest:conftest.py:73 Running fixture teardown: attach_logs_on_fail
DEBUG  tests.conftest:conftest.py:74 Test failed, attempting to attach logs to the allure reports
DEBUG  src.libs.common:common.py:42 Attaching file ./log/docker/node2_2026-03-05_15-05-59__5eea342d-9825-48ab-9aff-6ad78d508c2f__harbor.status.im_wakuorg_nwaku:v0.38.0-beta.log
DEBUG  src.libs.common:common.py:42 Attaching file ./log/docker/node1_2026-03-05_15-05-59__5eea342d-9825-48ab-9aff-6ad78d508c2f__harbor.status.im_wakuorg_nwaku:v0.38.0-beta.log