2026-02-28 20:41:24 +00:00

86 lines
17 KiB
Plaintext

2026-02-28 20:22:31.666 DEBUG [tests.conftest] Running fixture setup: test_id
2026-02-28 20:22:31.667 DEBUG [tests.conftest] Running test: test_filter_auto_sharding_multiple_content_topics with id: 2026-02-28_20-22-31__225f7a94-f954-4dc4-8ca7-f3dd03a01231
2026-02-28 20:22:31.667 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-02-28 20:22:31.667 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-02-28 20:22:31.667 DEBUG [src.steps.sharding] Running fixture setup: sharding_setup
2026-02-28 20:22:31.674 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-28 20:22:31.674 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-02-28_20-22-31__225f7a94-f954-4dc4-8ca7-f3dd03a01231__wakuorg_nwaku:latest.log
2026-02-28 20:22:31.675 DEBUG [src.node.waku_node] Starting Node...
2026-02-28 20:22:31.675 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-28 20:22:31.676 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-28 20:22:31.676 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.13.154
2026-02-28 20:22:31.676 DEBUG [src.node.docker_mananger] Generated ports ['49356', '49357', '49358', '49359', '49360']
2026-02-28 20:22:31.676 DEBUG [src.node.waku_node] Removing pubsub-topic from nwaku args
2026-02-28 20:22:31.677 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-28 20:22:31.677 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-28 20:22:31.677 DEBUG [src.node.waku_node] Using volumes []
2026-02-28 20:22:31.677 DEBUG [src.node.docker_mananger] docker run -i -t -p 49356:49356 -p 49357:49357 -p 49358:49358 -p 49359:49359 -p 49360:49360 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=49358 --rest-port=49356 --tcp-port=49357 --discv5-udp-port=49359 --rest-address=0.0.0.0 --nat=extip:172.18.13.154 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=adc5af20481c13ebd7f21cbf69beb22aeffecaf26f3c195daa80687fc383ec7f --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=49360 --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-02-28 20:22:31.871 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.13.154 waku be2e673b41b4b5ecd241b179f70413b04b6d2a501b4e235b3e14e18f5f1e552e
2026-02-28 20:22:31.905 DEBUG [src.node.docker_mananger] Container started with ID be2e673b41b4. Setting up logs at ./log/docker/node1_2026-02-28_20-22-31__225f7a94-f954-4dc4-8ca7-f3dd03a01231__wakuorg_nwaku:latest.log
2026-02-28 20:22:31.905 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 49356
2026-02-28 20:22:31.905 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-28 20:22:32.474 ERROR [src.node.docker_mananger] Max retries reached for container 9dfecd55b6fc. Exiting log stream.
2026-02-28 20:22:32.906 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:49356/health" -H "Content-Type: application/json" -d 'None'
2026-02-28 20:22:32.909 INFO [src.node.api_clients.base_client] 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"}]}'
2026-02-28 20:22:32.909 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-28 20:22:32.909 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:49356/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-28 20:22:32.911 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.13.154/tcp/49357/p2p/16Uiu2HAm6CczLdWjdfbnDPBsZgrE2BEzwtYGEq7nw9W2Kf6WYdyN","/ip4/172.18.13.154/tcp/49358/ws/p2p/16Uiu2HAm6CczLdWjdfbnDPBsZgrE2BEzwtYGEq7nw9W2Kf6WYdyN"],"enrUri":"enr:-L24QLqt_gNub8UM0CErulAYiHbqdhwGx0mFu8yMj69dXTSNMj-_SKRcA0zyW31aJfYIcs5s-n3Q0zOPohdxqLAUTDMCgmlkgnY0gmlwhKwSDZqKbXVsdGlhZGRyc5YACASsEg2aBsDNAAoErBINmgbAzt0DgnJzhQACAQAAiXNlY3AyNTZrMaECoBify5XjfUHFb8esAhpXKfPG5dq-j8-mTlK2DN6QlR2DdGNwgsDNg3VkcILAz4V3YWt1MgU"}'
2026-02-28 20:22:32.911 INFO [src.node.waku_node] REST service is ready !!
2026-02-28 20:22:32.918 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-28 20:22:32.918 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-02-28_20-22-31__225f7a94-f954-4dc4-8ca7-f3dd03a01231__wakuorg_nwaku:latest.log
2026-02-28 20:22:32.919 DEBUG [src.node.waku_node] Starting Node...
2026-02-28 20:22:32.919 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-28 20:22:32.920 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-28 20:22:32.920 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.245.190
2026-02-28 20:22:32.920 DEBUG [src.node.docker_mananger] Generated ports ['46530', '46531', '46532', '46533', '46534']
2026-02-28 20:22:32.921 DEBUG [src.node.waku_node] Removing pubsub-topic from nwaku args
2026-02-28 20:22:32.921 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-28 20:22:32.921 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-28 20:22:32.921 DEBUG [src.node.waku_node] Using volumes []
2026-02-28 20:22:32.921 DEBUG [src.node.docker_mananger] docker run -i -t -p 46530:46530 -p 46531:46531 -p 46532:46532 -p 46533:46533 -p 46534:46534 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=46532 --rest-port=46530 --tcp-port=46531 --discv5-udp-port=46533 --rest-address=0.0.0.0 --nat=extip:172.18.245.190 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=bced45009cfc1e92f61f7b3fa4fcee3a8b3cebfaf963a4e12eaf2daa80d6f377 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=46534 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QLqt_gNub8UM0CErulAYiHbqdhwGx0mFu8yMj69dXTSNMj-_SKRcA0zyW31aJfYIcs5s-n3Q0zOPohdxqLAUTDMCgmlkgnY0gmlwhKwSDZqKbXVsdGlhZGRyc5YACASsEg2aBsDNAAoErBINmgbAzt0DgnJzhQACAQAAiXNlY3AyNTZrMaECoBify5XjfUHFb8esAhpXKfPG5dq-j8-mTlK2DN6QlR2DdGNwgsDNg3VkcILAz4V3YWt1MgU --filternode=/ip4/172.18.13.154/tcp/49357/p2p/16Uiu2HAm6CczLdWjdfbnDPBsZgrE2BEzwtYGEq7nw9W2Kf6WYdyN --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-02-28 20:22:33.119 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.245.190 waku 0ddac7c65379a3f0ad510362d3fe5c175e70f1f5862a61e4f4d7059c7bc5c2b1
2026-02-28 20:22:33.157 DEBUG [src.node.docker_mananger] Container started with ID 0ddac7c65379. Setting up logs at ./log/docker/node2_2026-02-28_20-22-31__225f7a94-f954-4dc4-8ca7-f3dd03a01231__wakuorg_nwaku:latest.log
2026-02-28 20:22:33.157 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 46530
2026-02-28 20:22:33.157 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-28 20:22:34.158 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:46530/health" -H "Content-Type: application/json" -d 'None'
2026-02-28 20:22:34.161 INFO [src.node.api_clients.base_client] 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"}]}'
2026-02-28 20:22:34.161 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-28 20:22:34.161 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:46530/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-28 20:22:34.163 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.245.190/tcp/46531/p2p/16Uiu2HAmNZi9tFmUqUYa8WRSt99H28L2yLESXtGirj24vLz6e2H9","/ip4/172.18.245.190/tcp/46532/ws/p2p/16Uiu2HAmNZi9tFmUqUYa8WRSt99H28L2yLESXtGirj24vLz6e2H9"],"enrUri":"enr:-L24QF6XosRaF4u0S3bSoM9fQ7DRuTQTcAwoKA6cLOJFqT8JaFcJ8RKYdoSNbWq4y5cjS5kbVYBOhVDDDcQXJIy3rSgCgmlkgnY0gmlwhKwS9b6KbXVsdGlhZGRyc5YACASsEvW-BrXDAAoErBL1vga1xN0DgnJzhQACAQAAiXNlY3AyNTZrMaEDkzqm0DDuOMCeiT7P4gmiGPojuAOkWEEAoTVDDHUjSsSDdGNwgrXDg3VkcIK1xYV3YWt1MgA"}'
2026-02-28 20:22:34.164 INFO [src.node.waku_node] REST service is ready !!
2026-02-28 20:22:34.164 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:46530/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.13.154/tcp/49357/p2p/16Uiu2HAm6CczLdWjdfbnDPBsZgrE2BEzwtYGEq7nw9W2Kf6WYdyN"]'
2026-02-28 20:22:34.202 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-28 20:22:34.206 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:49356/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-02-28 20:22:34.222 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-28 20:22:34.224 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:46530/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "ea7f932c-6781-4039-b587-ae67d264298c", "contentFilters": ["/myapp/1/latest/proto"], "pubsubTopic": "/waku/2/rs/2/0"}'
2026-02-28 20:22:34.236 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"ea7f932c-6781-4039-b587-ae67d264298c","statusDesc":"OK"}'
2026-02-28 20:22:34.237 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:46530/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "7dfe347e-9e53-42b8-8b7e-bd2c5ab18cff", "contentFilters": ["/waku/2/content/test.js"], "pubsubTopic": "/waku/2/rs/2/1"}'
2026-02-28 20:22:34.248 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"7dfe347e-9e53-42b8-8b7e-bd2c5ab18cff","statusDesc":"OK"}'
2026-02-28 20:22:34.248 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:46530/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "dd1f5933-235d-49b0-9d11-a7552f0b895c", "contentFilters": ["/app/22/sometopic/someencoding"], "pubsubTopic": "/waku/2/rs/2/2"}'
2026-02-28 20:22:34.257 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"dd1f5933-235d-49b0-9d11-a7552f0b895c","statusDesc":"OK"}'
2026-02-28 20:22:34.257 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:46530/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "7c27b3b1-0780-4b8d-8baf-8f08d645a228", "contentFilters": ["/toychat/2/huilong/proto"], "pubsubTopic": "/waku/2/rs/2/3"}'
2026-02-28 20:22:34.266 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"7c27b3b1-0780-4b8d-8baf-8f08d645a228","statusDesc":"OK"}'
2026-02-28 20:22:34.266 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:46530/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "84d29b01-4940-4d07-b8d5-4fb78902e5f1", "contentFilters": ["/statusim/1/community/cbor"], "pubsubTopic": "/waku/2/rs/2/4"}'
2026-02-28 20:22:34.275 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"84d29b01-4940-4d07-b8d5-4fb78902e5f1","statusDesc":"OK"}'
2026-02-28 20:22:34.276 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:46530/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "b6ce4bd6-a624-42e8-b98a-c76f72c4bcad", "contentFilters": ["/app/27/sometopic/someencoding"], "pubsubTopic": "/waku/2/rs/2/5"}'
2026-02-28 20:22:34.284 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"b6ce4bd6-a624-42e8-b98a-c76f72c4bcad","statusDesc":"OK"}'
2026-02-28 20:22:34.285 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:46530/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "c58c9f02-5291-497b-bf16-78ce43db1ae5", "contentFilters": ["/app/29/sometopic/someencoding"], "pubsubTopic": "/waku/2/rs/2/6"}'
2026-02-28 20:22:34.295 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"c58c9f02-5291-497b-bf16-78ce43db1ae5","statusDesc":"OK"}'
2026-02-28 20:22:34.295 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:46530/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "cbaa524d-ea9a-4b12-b76c-0c7ae727ab11", "contentFilters": ["/app/20/sometopic/someencoding"], "pubsubTopic": "/waku/2/rs/2/7"}'
2026-02-28 20:22:34.304 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"cbaa524d-ea9a-4b12-b76c-0c7ae727ab11","statusDesc":"OK"}'
2026-02-28 20:22:34.305 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:49356/relay/v1/auto/messages" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
2026-02-28 20:22:34.315 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:49356/relay/v1/auto/messages. Response content: b'Failed to publish: publish failed in relay: NoPeersToPublish'
2026-02-28 20:22:34.383 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-02-28 20:22:34.384 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-02-28 20:22:34.384 DEBUG [src.node.waku_node] Stopping container with id be2e673b41b4
2026-02-28 20:22:34.970 DEBUG [src.node.waku_node] Container stopped.
2026-02-28 20:22:34.970 DEBUG [src.node.waku_node] Stopping container with id 0ddac7c65379
2026-02-28 20:22:35.531 DEBUG [src.node.waku_node] Container stopped.
2026-02-28 20:22:35.535 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-02-28 20:22:35.544 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-28 20:22:35.551 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-28 20:22:35.552 DEBUG [tests.conftest] Running fixture teardown: attach_logs_on_fail
2026-02-28 20:22:35.552 DEBUG [tests.conftest] Test failed, attempting to attach logs to the allure reports
2026-02-28 20:22:35.552 DEBUG [src.libs.common] Attaching file ./log/docker/node1_2026-02-28_20-22-31__225f7a94-f954-4dc4-8ca7-f3dd03a01231__wakuorg_nwaku:latest.log
2026-02-28 20:22:35.553 DEBUG [src.libs.common] Attaching file ./log/docker/node2_2026-02-28_20-22-31__225f7a94-f954-4dc4-8ca7-f3dd03a01231__wakuorg_nwaku:latest.log