106 lines
19 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.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

INFO  tests.conftest:conftest.py:158 Fleet bootstrap patch active NODE1→/dns4/node-01.do-ams3.waku.test.status.im/tcp/30303/p2p/16Uiu2HAkykgaECHswi3YKJ5dMLbq2kPVCo89fcyTd38UcQD6ej5W NODE2→/dns4/node-01.gc-us-central1-a.waku.test.status.im/tcp/30303/p2p/16Uiu2HAmDCp8XJ9z1ev18zuv8NHekAsjNyezAvmMfFEJkiharitG (additional nodes→/dns4/node-01.do-ams3.waku.test.status.im/tcp/30303/p2p/16Uiu2HAkykgaECHswi3YKJ5dMLbq2kPVCo89fcyTd38UcQD6ej5W) dns_discovery_url=enrtree://AOGYWMBYOUIMOENHXCHILPKY3ZRFEULMFI4DOM442QSZ73TT2A7VI@test.waku.nodes.status.im
DEBUG  tests.conftest:conftest.py:201 Running fixture setup: test_id
DEBUG  tests.conftest:conftest.py:207 Running test: test_filter_get_message_with_ephemeral with id: 2026-04-22_23-53-52__19b8eea9-9465-4025-9d9b-781c352ab4ec
DEBUG  src.steps.common:common.py:19 Running fixture setup: common_setup
DEBUG  src.steps.filter:filter.py:28 Running fixture setup: filter_setup
DEBUG  src.steps.filter:filter.py:34 Running fixture setup: setup_main_relay_node
DEBUG  src.node.docker_mananger:docker_mananger.py:19 Docker client initialized with image wakuorg/nwaku:latest
DEBUG  src.node.waku_node:waku_node.py:108 WakuNode instance initialized with log path ./log/docker/node1_2026-04-22_23-53-52__19b8eea9-9465-4025-9d9b-781c352ab4ec__wakuorg_nwaku:latest.log
DEBUG  tests.conftest:conftest.py:115 fleet_joined_start: injecting waku.test bootstrap args into WakuNode.start()
DEBUG  tests.conftest:conftest.py:126 fleet_joined_start: NODE1 bootstrapping from config-n1.toml (/dns4/node-01.do-ams3.waku.test.status.im/tcp/30303/p2p/16Uiu2HAkykgaECHswi3YKJ5dMLbq2kPVCo89fcyTd38UcQD6ej5W)
DEBUG  tests.conftest:conftest.py:150 fleet_joined_start: staticnode=/dns4/node-01.do-ams3.waku.test.status.im/tcp/30303/p2p/16Uiu2HAkykgaECHswi3YKJ5dMLbq2kPVCo89fcyTd38UcQD6ej5W dns_discovery_url=enrtree://AOGYWMBYOUIMOENHXCHILPKY3ZRFEULMFI4DOM442QSZ73TT2A7VI@test.waku.nodes.status.im
DEBUG  src.node.waku_node:waku_node.py:116 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.17.104
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['26666', '26667', '26668', '26669', '26670']
DEBUG  src.node.waku_node:waku_node.py:606 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:211 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:217 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 26666:26666 -p 26667:26667 -p 26668:26668 -p 26669:26669 -p 26670:26670 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=26668 --rest-port=26666 --tcp-port=26667 --discv5-udp-port=26669 --rest-address=0.0.0.0 --nat=extip:172.18.17.104 --peer-exchange=true --discv5-discovery=true --cluster-id=198 --nodekey=c15e829fad12b65c44cde478e9bf4e79dfb6706fba43ccc38197dfb70bcbe62b --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=26670 --metrics-logging=true --relay=true --filter=true --staticnode=/dns4/node-01.do-ams3.waku.test.status.im/tcp/30303/p2p/16Uiu2HAkykgaECHswi3YKJ5dMLbq2kPVCo89fcyTd38UcQD6ej5W --dns-discovery=true --dns-discovery-url=enrtree://AOGYWMBYOUIMOENHXCHILPKY3ZRFEULMFI4DOM442QSZ73TT2A7VI@test.waku.nodes.status.im
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.17.104 waku 7fe66f753af8e448256c371f930551ee20fbae3f06b5b697acee4696d10e20cf
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 7fe66f753af8. Setting up logs at ./log/docker/node1_2026-04-22_23-53-52__19b8eea9-9465-4025-9d9b-781c352ab4ec__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:228 Started container from image wakuorg/nwaku:latest. REST: 26666
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 e4c118040cea. Exiting log stream.
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container b87da62a1abc. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:26666/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":"INITIALIZING","connectionStatus":"Disconnected","protocolsHealth":[]}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:26666/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":"INITIALIZING","connectionStatus":"Disconnected","protocolsHealth":[]}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:26666/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":"INITIALIZING","connectionStatus":"Disconnected","protocolsHealth":[]}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:26666/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":"INITIALIZING","connectionStatus":"Disconnected","protocolsHealth":[]}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:26666/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":"INITIALIZING","connectionStatus":"Disconnected","protocolsHealth":[]}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:26666/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":"INITIALIZING","connectionStatus":"Disconnected","protocolsHealth":[]}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:26666/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":"PartiallyConnected","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"},{"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"},{"Filter Client":"READY"},{"Rln Relay":"NOT_MOUNTED"}]}'
INFO  src.node.waku_node:waku_node.py:412 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:26666/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.17.104/tcp/26667/p2p/16Uiu2HAmJkAaqyDhWVjkzyx4ajBKRRv7w5n6jbDCXLjJiAW7z5S6","/ip4/172.18.17.104/tcp/26668/ws/p2p/16Uiu2HAmJkAaqyDhWVjkzyx4ajBKRRv7w5n6jbDCXLjJiAW7z5S6"],"enrUri":"enr:-L24QK4MxeDfIuEBL7Czb0M5KbfeV8ZUddXmZWlZt9swdhgQXGFCMVmwD2VQN9FlxfhXi1rD7UCebnQrTkaccM5IN9UCgmlkgnY0gmlwhKwSEWiKbXVsdGlhZGRyc5YACASsEhFoBmgrAAoErBIRaAZoLN0DgnJzhQDGAQAAiXNlY3AyNTZrMaEDWnmYzkTj-LeQm9FJgM28I2Z3l8MwSuZFbTsz5pNn9meDdGNwgmgrg3VkcIJoLYV3YWt1MgU"}'
INFO  src.node.waku_node:waku_node.py:417 REST service is ready !!
DEBUG  src.steps.filter:filter.py:39 Running fixture setup: setup_main_filter_node
DEBUG  src.node.docker_mananger:docker_mananger.py:19 Docker client initialized with image wakuorg/nwaku:latest
DEBUG  src.node.waku_node:waku_node.py:108 WakuNode instance initialized with log path ./log/docker/node2_2026-04-22_23-53-52__19b8eea9-9465-4025-9d9b-781c352ab4ec__wakuorg_nwaku:latest.log
DEBUG  tests.conftest:conftest.py:115 fleet_joined_start: injecting waku.test bootstrap args into WakuNode.start()
DEBUG  tests.conftest:conftest.py:130 fleet_joined_start: NODE2 bootstrapping from config-n2.toml (/dns4/node-01.gc-us-central1-a.waku.test.status.im/tcp/30303/p2p/16Uiu2HAmDCp8XJ9z1ev18zuv8NHekAsjNyezAvmMfFEJkiharitG)
DEBUG  tests.conftest:conftest.py:144 fleet_joined_start: dropping local discv5_bootstrap_node=enr:-L24QK4MxeDfIuEBL7Czb0M5KbfeV8ZUddXmZWlZt9swdhgQXGFCMVmwD2VQN9FlxfhXi1rD7UCebnQrTkaccM5IN9UCgmlkgnY0gmlwhKwSEWiKbXVsdGlhZGRyc5YACASsEhFoBmgrAAoErBIRaAZoLN0DgnJzhQDGAQAAiXNlY3AyNTZrMaEDWnmYzkTj-LeQm9FJgM28I2Z3l8MwSuZFbTsz5pNn9meDdGNwgmgrg3VkcIJoLYV3YWt1MgU (fleet DNS discovery replaces it)
DEBUG  tests.conftest:conftest.py:150 fleet_joined_start: staticnode=/dns4/node-01.gc-us-central1-a.waku.test.status.im/tcp/30303/p2p/16Uiu2HAmDCp8XJ9z1ev18zuv8NHekAsjNyezAvmMfFEJkiharitG dns_discovery_url=enrtree://AOGYWMBYOUIMOENHXCHILPKY3ZRFEULMFI4DOM442QSZ73TT2A7VI@test.waku.nodes.status.im
DEBUG  src.node.waku_node:waku_node.py:116 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.102.129
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['9749', '9750', '9751', '9752', '9753']
DEBUG  src.node.waku_node:waku_node.py:606 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:211 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:217 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 9749:9749 -p 9750:9750 -p 9751:9751 -p 9752:9752 -p 9753:9753 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=9751 --rest-port=9749 --tcp-port=9750 --discv5-udp-port=9752 --rest-address=0.0.0.0 --nat=extip:172.18.102.129 --peer-exchange=true --discv5-discovery=true --cluster-id=198 --nodekey=4a5c10834386cfa865abceeae2ebc91b239b7de7b8a25ee602f80fbfc15ca7b1 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=9753 --metrics-logging=true --relay=false --filternode=/ip4/172.18.17.104/tcp/26667/p2p/16Uiu2HAmJkAaqyDhWVjkzyx4ajBKRRv7w5n6jbDCXLjJiAW7z5S6 --staticnode=/dns4/node-01.gc-us-central1-a.waku.test.status.im/tcp/30303/p2p/16Uiu2HAmDCp8XJ9z1ev18zuv8NHekAsjNyezAvmMfFEJkiharitG --dns-discovery=true --dns-discovery-url=enrtree://AOGYWMBYOUIMOENHXCHILPKY3ZRFEULMFI4DOM442QSZ73TT2A7VI@test.waku.nodes.status.im
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.102.129 waku 7ba495955c232ad1f08bb413a1f9889deaedf3da3d1f3c246f0194a6bef39a20
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 7ba495955c23. Setting up logs at ./log/docker/node2_2026-04-22_23-53-52__19b8eea9-9465-4025-9d9b-781c352ab4ec__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:228 Started container from image wakuorg/nwaku:latest. REST: 9749
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:9749/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":"INITIALIZING","connectionStatus":"Disconnected","protocolsHealth":[]}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:9749/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":"INITIALIZING","connectionStatus":"Disconnected","protocolsHealth":[]}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:9749/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":"INITIALIZING","connectionStatus":"Disconnected","protocolsHealth":[]}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:9749/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":"PartiallyConnected","protocolsHealth":[{"Relay":"NOT_MOUNTED"},{"Lightpush":"NOT_MOUNTED"},{"Legacy Lightpush":"NOT_MOUNTED"},{"Filter":"NOT_MOUNTED"},{"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"},{"Filter Client":"READY"},{"Rln Relay":"NOT_MOUNTED"}]}'
INFO  src.node.waku_node:waku_node.py:412 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:9749/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.102.129/tcp/9750/p2p/16Uiu2HAmDvVLdqg7M76hfydpn22QpwaLj13nHrJ2mGgqMR4LU8kg","/ip4/172.18.102.129/tcp/9751/ws/p2p/16Uiu2HAmDvVLdqg7M76hfydpn22QpwaLj13nHrJ2mGgqMR4LU8kg"],"enrUri":"enr:-L24QF_DPGPgyS_qkTkbR_8mr6xwycEMMdKYzZqRL3RcmkWhLq-z0hZcRRRaOzcms7kCZxCoXGdXz4h4p34e8cgCtJsCgmlkgnY0gmlwhKwSZoGKbXVsdGlhZGRyc5YACASsEmaBBiYWAAoErBJmgQYmF90DgnJzhQDGAQAAiXNlY3AyNTZrMaEDEtQtPXm4lS1MqjJpJyDFC0DRGCS-T9QJABk2Fw9IWymDdGNwgiYWg3VkcIImGIV3YWt1MgA"}'
INFO  src.node.waku_node:waku_node.py:417 REST service is ready !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:9749/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.17.104/tcp/26667/p2p/16Uiu2HAmJkAaqyDhWVjkzyx4ajBKRRv7w5n6jbDCXLjJiAW7z5S6"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.steps.filter:filter.py:47 Running fixture setup: subscribe_main_nodes
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:26666/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/198/1"]'
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:9749/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "29fd0689-aab5-44bd-8d94-93ef2aafcbb2", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/198/1"}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"29fd0689-aab5-44bd-8d94-93ef2aafcbb2","statusDesc":"OK"}'
DEBUG  tests.filter.test_get_messages:test_get_messages.py:54 Running test with Ephemeral True
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:26666/relay/v1/messages/%2Fwaku%2F2%2Frs%2F198%2F1" -H "Content-Type: application/json" -d '{"payload": "RmlsdGVyIHdvcmtzISE=", "contentTopic": "/test/1/waku-filter/proto", "timestamp": '$(date +%s%N)', "ephemeral": true}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.libs.common:common.py:47 Sleeping for 0.1 seconds
DEBUG  src.steps.filter:filter.py:96 Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:9749/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto" -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'[{"payload":"RmlsdGVyIHdvcmtzISE=","contentTopic":"/test/1/waku-filter/proto","version":0,"timestamp":1776902035554178678,"ephemeral":true}]'
DEBUG  tests.filter.test_get_messages:test_get_messages.py:54 Running test with Ephemeral False
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:26666/relay/v1/messages/%2Fwaku%2F2%2Frs%2F198%2F1" -H "Content-Type: application/json" -d '{"payload": "RmlsdGVyIHdvcmtzISE=", "contentTopic": "/test/1/waku-filter/proto", "timestamp": '$(date +%s%N)', "ephemeral": false}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.libs.common:common.py:47 Sleeping for 0.1 seconds
DEBUG  src.steps.filter:filter.py:96 Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:9749/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto" -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'[{"payload":"RmlsdGVyIHdvcmtzISE=","contentTopic":"/test/1/waku-filter/proto","version":0,"timestamp":1776902035665346557,"ephemeral":false}]'
DEBUG  tests.conftest:conftest.py:209 Running fixture teardown: test_setup
DEBUG  tests.conftest:conftest.py:233 Running fixture teardown: close_open_nodes
DEBUG  src.node.waku_node:waku_node.py:343 Stopping container with id 7fe66f753af8
DEBUG  src.node.waku_node:waku_node.py:355 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:343 Stopping container with id 7ba495955c23
DEBUG  src.node.waku_node:waku_node.py:355 Container stopped.
DEBUG  tests.conftest:conftest.py:248 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.