90 lines
17 KiB
Plaintext

2026-03-16 04:53:01.752 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-16 04:53:01.752 DEBUG [tests.conftest] Running test: test_filter_auto_sharding_multiple_content_topics with id: 2026-03-16_04-53-01__abe16a8e-a3fe-411c-a887-a3658c18e512
2026-03-16 04:53:01.753 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-16 04:53:01.753 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-16 04:53:01.753 DEBUG [src.steps.sharding] Running fixture setup: sharding_setup
2026-03-16 04:53:01.760 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-16 04:53:01.760 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-16_04-53-01__abe16a8e-a3fe-411c-a887-a3658c18e512__wakuorg_nwaku:latest.log
2026-03-16 04:53:01.761 DEBUG [src.node.waku_node] Starting Node...
2026-03-16 04:53:01.761 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-16 04:53:01.762 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-16 04:53:01.762 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.126.199
2026-03-16 04:53:01.762 DEBUG [src.node.docker_mananger] Generated ports ['57024', '57025', '57026', '57027', '57028']
2026-03-16 04:53:01.763 DEBUG [src.node.waku_node] Removing pubsub-topic from nwaku args
2026-03-16 04:53:01.763 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-16 04:53:01.763 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-16 04:53:01.763 DEBUG [src.node.waku_node] Using volumes []
2026-03-16 04:53:01.763 DEBUG [src.node.docker_mananger] docker run -i -t -p 57024:57024 -p 57025:57025 -p 57026:57026 -p 57027:57027 -p 57028:57028 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=57026 --rest-port=57024 --tcp-port=57025 --discv5-udp-port=57027 --rest-address=0.0.0.0 --nat=extip:172.18.126.199 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=bc2cb1ea3d8ce1134208c29ecbcc84d3cee7bd40ede65d1924a4caa2b8a0ab8b --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=57028 --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
2026-03-16 04:53:01.961 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.126.199 waku 79697d236229e38beb7e743b3aeac1e2f727ea386553fcc67c34bc68b89e9e09
2026-03-16 04:53:01.996 DEBUG [src.node.docker_mananger] Container started with ID 79697d236229. Setting up logs at ./log/docker/node1_2026-03-16_04-53-01__abe16a8e-a3fe-411c-a887-a3658c18e512__wakuorg_nwaku:latest.log
2026-03-16 04:53:01.998 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 57024
2026-03-16 04:53:01.998 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-16 04:53:02.556 ERROR [src.node.docker_mananger] Max retries reached for container d6917bbf9c4b. Exiting log stream.
2026-03-16 04:53:02.999 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:57024/health" -H "Content-Type: application/json" -d 'None'
2026-03-16 04:53:03.001 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","connectionStatus":"Connected","protocolsHealth":[{"Relay":"READY"},{"Lightpush":"NOT_MOUNTED"},{"Legacy Lightpush":"NOT_MOUNTED"},{"Filter":"READY"},{"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":"READY"},{"Legacy Lightpush Client":"READY"},{"Store Client":"READY"},{"Legacy Store Client":"NOT_READY","desc":"No Legacy Store service peers are available yet, neither Store service set up for the node"},{"Filter Client":"READY"},{"Rln Relay":"NOT_MOUNTED"}]}'
2026-03-16 04:53:03.002 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-16 04:53:03.002 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:57024/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-16 04:53:03.004 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.126.199/tcp/57025/p2p/16Uiu2HAmAayCZ28TFkR8rVSUfkpg1tT6gNrn7TaJA7yhyFa2HaUE","/ip4/172.18.126.199/tcp/57026/ws/p2p/16Uiu2HAmAayCZ28TFkR8rVSUfkpg1tT6gNrn7TaJA7yhyFa2HaUE"],"enrUri":"enr:-L24QLF30CNPaJZI82HrCZwm_VDjOpwmFD56WFDbXMBExV93Jo3AsxgaXyanl8hb8aHKcZ6GJ6owGkjZpSZ_nGGATqUCgmlkgnY0gmlwhKwSfseKbXVsdGlhZGRyc5YACASsEn7HBt7BAAoErBJ-xwbewt0DgnJzhQACAQAAiXNlY3AyNTZrMaEC4UEAez4wyJ4JaMeAq37FtU4DARkTXERjSVBRroGXnH-DdGNwgt7Bg3VkcILew4V3YWt1MgU"}'
2026-03-16 04:53:03.005 INFO [src.node.waku_node] REST service is ready !!
2026-03-16 04:53:03.012 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-16 04:53:03.012 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-16_04-53-01__abe16a8e-a3fe-411c-a887-a3658c18e512__wakuorg_nwaku:latest.log
2026-03-16 04:53:03.012 DEBUG [src.node.waku_node] Starting Node...
2026-03-16 04:53:03.012 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-16 04:53:03.014 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-16 04:53:03.014 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.138.178
2026-03-16 04:53:03.014 DEBUG [src.node.docker_mananger] Generated ports ['3925', '3926', '3927', '3928', '3929']
2026-03-16 04:53:03.014 DEBUG [src.node.waku_node] Removing pubsub-topic from nwaku args
2026-03-16 04:53:03.014 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-16 04:53:03.015 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-16 04:53:03.015 DEBUG [src.node.waku_node] Using volumes []
2026-03-16 04:53:03.015 DEBUG [src.node.docker_mananger] docker run -i -t -p 3925:3925 -p 3926:3926 -p 3927:3927 -p 3928:3928 -p 3929:3929 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=3927 --rest-port=3925 --tcp-port=3926 --discv5-udp-port=3928 --rest-address=0.0.0.0 --nat=extip:172.18.138.178 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=4b67b4bf59cba379bcaba64aa7eecd2bee7b8adbff0401aad3eb1ffb19eb9acb --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=3929 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QLF30CNPaJZI82HrCZwm_VDjOpwmFD56WFDbXMBExV93Jo3AsxgaXyanl8hb8aHKcZ6GJ6owGkjZpSZ_nGGATqUCgmlkgnY0gmlwhKwSfseKbXVsdGlhZGRyc5YACASsEn7HBt7BAAoErBJ-xwbewt0DgnJzhQACAQAAiXNlY3AyNTZrMaEC4UEAez4wyJ4JaMeAq37FtU4DARkTXERjSVBRroGXnH-DdGNwgt7Bg3VkcILew4V3YWt1MgU --filternode=/ip4/172.18.126.199/tcp/57025/p2p/16Uiu2HAmAayCZ28TFkR8rVSUfkpg1tT6gNrn7TaJA7yhyFa2HaUE --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
2026-03-16 04:53:03.222 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.138.178 waku 74d0e092f4213424ad19ee1c8852bfff41763be79436391ff3575f4ad8a06e81
2026-03-16 04:53:03.258 DEBUG [src.node.docker_mananger] Container started with ID 74d0e092f421. Setting up logs at ./log/docker/node2_2026-03-16_04-53-01__abe16a8e-a3fe-411c-a887-a3658c18e512__wakuorg_nwaku:latest.log
2026-03-16 04:53:03.258 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 3925
2026-03-16 04:53:03.259 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-16 04:53:04.260 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:3925/health" -H "Content-Type: application/json" -d 'None'
2026-03-16 04:53:04.264 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","connectionStatus":"Connected","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":"READY"},{"Legacy Lightpush Client":"READY"},{"Store Client":"READY"},{"Legacy Store Client":"NOT_READY","desc":"No Legacy Store service peers are available yet, neither Store service set up for the node"},{"Filter Client":"READY"},{"Rln Relay":"NOT_MOUNTED"}]}'
2026-03-16 04:53:04.264 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-16 04:53:04.264 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:3925/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-16 04:53:04.267 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.138.178/tcp/3926/p2p/16Uiu2HAmGyUUKydkoYHm6DcvnsuKJJUGKwuJM8ZoqHJVuXYWCbeh","/ip4/172.18.138.178/tcp/3927/ws/p2p/16Uiu2HAmGyUUKydkoYHm6DcvnsuKJJUGKwuJM8ZoqHJVuXYWCbeh"],"enrUri":"enr:-L24QA9JYEuFyi1UzOdTFQelASItJx65VsyFRLkGU_wOBvWNEHBsO5vDJzdUwmimTOwzgdLC_n2YkqV7zYLaH6xGVWwCgmlkgnY0gmlwhKwSirKKbXVsdGlhZGRyc5YACASsEoqyBg9WAAoErBKKsgYPV90DgnJzhQACAQAAiXNlY3AyNTZrMaEDQCr_yhGZwgDH1x5e8FUdLC1HC-P1zZHGLaEocffv07qDdGNwgg9Wg3VkcIIPWIV3YWt1MgA"}'
2026-03-16 04:53:04.267 INFO [src.node.waku_node] REST service is ready !!
2026-03-16 04:53:04.267 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:3925/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.126.199/tcp/57025/p2p/16Uiu2HAmAayCZ28TFkR8rVSUfkpg1tT6gNrn7TaJA7yhyFa2HaUE"]'
2026-03-16 04:53:04.292 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-16 04:53:04.294 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:57024/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"]'
2026-03-16 04:53:04.302 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-16 04:53:04.303 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:3925/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "20d6c4d8-bbfa-4358-a89b-0d85a84ff9b9", "contentFilters": ["/myapp/1/latest/proto"], "pubsubTopic": "/waku/2/rs/2/0"}'
2026-03-16 04:53:04.317 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"20d6c4d8-bbfa-4358-a89b-0d85a84ff9b9","statusDesc":"OK"}'
2026-03-16 04:53:04.319 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:3925/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "fd30d926-1504-4e98-9745-ca40bc32f4b8", "contentFilters": ["/waku/2/content/test.js"], "pubsubTopic": "/waku/2/rs/2/1"}'
2026-03-16 04:53:04.330 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"fd30d926-1504-4e98-9745-ca40bc32f4b8","statusDesc":"OK"}'
2026-03-16 04:53:04.330 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:3925/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "6be6af0b-f36c-4681-985b-c046fa8420ec", "contentFilters": ["/app/22/sometopic/someencoding"], "pubsubTopic": "/waku/2/rs/2/2"}'
2026-03-16 04:53:04.339 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"6be6af0b-f36c-4681-985b-c046fa8420ec","statusDesc":"OK"}'
2026-03-16 04:53:04.340 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:3925/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "8ad79553-2242-4758-bd27-35b4c95ed623", "contentFilters": ["/toychat/2/huilong/proto"], "pubsubTopic": "/waku/2/rs/2/3"}'
2026-03-16 04:53:04.350 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"8ad79553-2242-4758-bd27-35b4c95ed623","statusDesc":"OK"}'
2026-03-16 04:53:04.351 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:3925/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "3169692d-2978-4061-9f61-de4e6504b84c", "contentFilters": ["/statusim/1/community/cbor"], "pubsubTopic": "/waku/2/rs/2/4"}'
2026-03-16 04:53:04.361 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"3169692d-2978-4061-9f61-de4e6504b84c","statusDesc":"OK"}'
2026-03-16 04:53:04.362 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:3925/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "387f9275-0e6b-46d6-a997-a46c36eabe8e", "contentFilters": ["/app/27/sometopic/someencoding"], "pubsubTopic": "/waku/2/rs/2/5"}'
2026-03-16 04:53:04.373 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"387f9275-0e6b-46d6-a997-a46c36eabe8e","statusDesc":"OK"}'
2026-03-16 04:53:04.373 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:3925/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "4e33de4a-085a-48cc-bc1d-d57433d02678", "contentFilters": ["/app/29/sometopic/someencoding"], "pubsubTopic": "/waku/2/rs/2/6"}'
2026-03-16 04:53:04.385 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"4e33de4a-085a-48cc-bc1d-d57433d02678","statusDesc":"OK"}'
2026-03-16 04:53:04.385 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:3925/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "17085b30-b43c-4327-bf14-65508a2e7ec7", "contentFilters": ["/app/20/sometopic/someencoding"], "pubsubTopic": "/waku/2/rs/2/7"}'
2026-03-16 04:53:04.397 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"17085b30-b43c-4327-bf14-65508a2e7ec7","statusDesc":"OK"}'
2026-03-16 04:53:04.398 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:57024/relay/v1/auto/messages" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
2026-03-16 04:53:04.421 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-16 04:53:04.421 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-16 04:53:04.521 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-16 04:53:04.522 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:3925/filter/v2/messages/%2Fmyapp%2F1%2Flatest%2Fproto" -H "Content-Type: application/json" -d 'None'
2026-03-16 04:53:04.525 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1773636784397987220,"ephemeral":false},{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1773636784358663506,"ephemeral":false}]'
2026-03-16 04:53:04.570 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-16 04:53:04.571 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-16 04:53:04.571 DEBUG [src.node.waku_node] Stopping container with id 79697d236229
2026-03-16 04:53:05.154 DEBUG [src.node.waku_node] Container stopped.
2026-03-16 04:53:05.154 DEBUG [src.node.waku_node] Stopping container with id 74d0e092f421
2026-03-16 04:53:05.731 DEBUG [src.node.waku_node] Container stopped.
2026-03-16 04:53:05.733 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-16 04:53:05.777 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-16 04:53:05.801 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-16 04:53:05.803 DEBUG [tests.conftest] Running fixture teardown: attach_logs_on_fail
2026-03-16 04:53:05.803 DEBUG [tests.conftest] Test failed, attempting to attach logs to the allure reports
2026-03-16 04:53:05.804 DEBUG [src.libs.common] Attaching file ./log/docker/node2_2026-03-16_04-53-01__abe16a8e-a3fe-411c-a887-a3658c18e512__wakuorg_nwaku:latest.log
2026-03-16 04:53:05.805 DEBUG [src.libs.common] Attaching file ./log/docker/node1_2026-03-16_04-53-01__abe16a8e-a3fe-411c-a887-a3658c18e512__wakuorg_nwaku:latest.log