84 lines
16 KiB
Plaintext

2026-02-28 04:32:53.856 DEBUG [tests.conftest] Running fixture setup: test_id
2026-02-28 04:32:53.857 DEBUG [tests.conftest] Running test: test_store_with_wrongPeerAddr with id: 2026-02-28_04-32-53__2eec5dcb-4f5b-43a6-8e4a-5481832ba34e
2026-02-28 04:32:53.858 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-02-28 04:32:53.858 DEBUG [src.steps.store] Running fixture setup: store_setup
2026-02-28 04:32:53.859 DEBUG [src.steps.store] Running fixture setup: node_setup
2026-02-28 04:32:53.867 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-28 04:32:53.868 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/publishing_node1_2026-02-28_04-32-53__2eec5dcb-4f5b-43a6-8e4a-5481832ba34e__wakuorg_nwaku:latest.log
2026-02-28 04:32:53.868 DEBUG [src.node.waku_node] Starting Node...
2026-02-28 04:32:53.868 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-28 04:32:53.871 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-28 04:32:53.872 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.197.200
2026-02-28 04:32:53.872 DEBUG [src.node.docker_mananger] Generated ports ['65204', '65205', '65206', '65207', '65208']
2026-02-28 04:32:53.872 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-28 04:32:53.872 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-28 04:32:53.872 DEBUG [src.node.waku_node] Using volumes []
2026-02-28 04:32:53.872 DEBUG [src.node.docker_mananger] docker run -i -t -p 65204:65204 -p 65205:65205 -p 65206:65206 -p 65207:65207 -p 65208:65208 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=65206 --rest-port=65204 --tcp-port=65205 --discv5-udp-port=65207 --rest-address=0.0.0.0 --nat=extip:172.18.197.200 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=c5d0be2fa9ac1cc202baadcae0123fb5c04cf3abaf8faddcf41d749bbb28caeb --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=65208 --metrics-logging=true --store=true --relay=true
2026-02-28 04:32:54.076 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.197.200 waku db69773ca30477c534898d91bc60e3467f0745b7bd569501ce0ee9ffadc3cc93
2026-02-28 04:32:54.107 ERROR [src.node.docker_mananger] Max retries reached for container 089b9de6f161. Exiting log stream.
2026-02-28 04:32:54.112 DEBUG [src.node.docker_mananger] Container started with ID db69773ca304. Setting up logs at ./log/docker/publishing_node1_2026-02-28_04-32-53__2eec5dcb-4f5b-43a6-8e4a-5481832ba34e__wakuorg_nwaku:latest.log
2026-02-28 04:32:54.113 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 65204
2026-02-28 04:32:54.113 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-28 04:32:54.727 ERROR [src.node.docker_mananger] Max retries reached for container 9777f7c62a19. Exiting log stream.
2026-02-28 04:32:55.114 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:65204/health" -H "Content-Type: application/json" -d 'None'
2026-02-28 04:32:55.116 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_MOUNTED"},{"Store":"READY"},{"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":"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":"NOT_READY","desc":"No Filter service peer available yet"},{"Rln Relay":"NOT_MOUNTED"}]}'
2026-02-28 04:32:55.117 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-28 04:32:55.117 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:65204/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-28 04:32:55.119 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.197.200/tcp/65205/p2p/16Uiu2HAm3Wd8WabuB73eiUXDinbFWcEjaYdRS3f7yFfXVdsM53aJ","/ip4/172.18.197.200/tcp/65206/ws/p2p/16Uiu2HAm3Wd8WabuB73eiUXDinbFWcEjaYdRS3f7yFfXVdsM53aJ"],"enrUri":"enr:-L24QN_LuIvr6kABwYVuuHBdpHaOfZwaQPXAqQJ227Eaxx_6XL3hHpeD0V4I4VhXxY8L3JmKxhTfOMXAfuMM8JZIGbYCgmlkgnY0gmlwhKwSxciKbXVsdGlhZGRyc5YACASsEsXIBv61AAoErBLFyAb-tt0DgnJzhQADAQAAiXNlY3AyNTZrMaECeCItYr4zeFFuGWWu_dxhnmaWW638kwGMXTUcVUa94fODdGNwgv61g3VkcIL-t4V3YWt1MgM"}'
2026-02-28 04:32:55.120 INFO [src.node.waku_node] REST service is ready !!
2026-02-28 04:32:55.127 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-28 04:32:55.127 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/store_node1_2026-02-28_04-32-53__2eec5dcb-4f5b-43a6-8e4a-5481832ba34e__wakuorg_nwaku:latest.log
2026-02-28 04:32:55.127 DEBUG [src.node.waku_node] Starting Node...
2026-02-28 04:32:55.127 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-28 04:32:55.129 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-28 04:32:55.129 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.213.220
2026-02-28 04:32:55.129 DEBUG [src.node.docker_mananger] Generated ports ['35207', '35208', '35209', '35210', '35211']
2026-02-28 04:32:55.129 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-28 04:32:55.129 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-28 04:32:55.129 DEBUG [src.node.waku_node] Using volumes []
2026-02-28 04:32:55.129 DEBUG [src.node.docker_mananger] docker run -i -t -p 35207:35207 -p 35208:35208 -p 35209:35209 -p 35210:35210 -p 35211:35211 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=35209 --rest-port=35207 --tcp-port=35208 --discv5-udp-port=35210 --rest-address=0.0.0.0 --nat=extip:172.18.213.220 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=06fdabdf12b0bcf75c4f1c8cfb9ad6be326e9b7fe3cd87d8ad71ad3b4ff3b713 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=35211 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QN_LuIvr6kABwYVuuHBdpHaOfZwaQPXAqQJ227Eaxx_6XL3hHpeD0V4I4VhXxY8L3JmKxhTfOMXAfuMM8JZIGbYCgmlkgnY0gmlwhKwSxciKbXVsdGlhZGRyc5YACASsEsXIBv61AAoErBLFyAb-tt0DgnJzhQADAQAAiXNlY3AyNTZrMaECeCItYr4zeFFuGWWu_dxhnmaWW638kwGMXTUcVUa94fODdGNwgv61g3VkcIL-t4V3YWt1MgM --storenode=/ip4/172.18.197.200/tcp/65205/p2p/16Uiu2HAm3Wd8WabuB73eiUXDinbFWcEjaYdRS3f7yFfXVdsM53aJ --store=true --relay=true
2026-02-28 04:32:55.349 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.213.220 waku 1e2907688b79249a22c55bffc31ddb12355647c9d19130493ca6e09e42637c43
2026-02-28 04:32:55.384 DEBUG [src.node.docker_mananger] Container started with ID 1e2907688b79. Setting up logs at ./log/docker/store_node1_2026-02-28_04-32-53__2eec5dcb-4f5b-43a6-8e4a-5481832ba34e__wakuorg_nwaku:latest.log
2026-02-28 04:32:55.384 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 35207
2026-02-28 04:32:55.384 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-28 04:32:56.385 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:35207/health" -H "Content-Type: application/json" -d 'None'
2026-02-28 04:32:56.388 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","connectionStatus":"PartiallyConnected","protocolsHealth":[{"Relay":"READY"},{"Lightpush":"NOT_MOUNTED"},{"Legacy Lightpush":"NOT_MOUNTED"},{"Filter":"NOT_MOUNTED"},{"Store":"READY"},{"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":"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":"NOT_READY","desc":"No Filter service peer available yet"},{"Rln Relay":"NOT_MOUNTED"}]}'
2026-02-28 04:32:56.388 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-28 04:32:56.388 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:35207/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-28 04:32:56.390 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.213.220/tcp/35208/p2p/16Uiu2HAmEBxnFcS7rCpU952QnZFd6U3yCgRrk4nZYoe19vSHbWvD","/ip4/172.18.213.220/tcp/35209/ws/p2p/16Uiu2HAmEBxnFcS7rCpU952QnZFd6U3yCgRrk4nZYoe19vSHbWvD"],"enrUri":"enr:-L24QOJenChO_V-IwHztd6SV-XSq7KH9elM0vYbdl1Ba5-ylWGsj2ltc-l6sacp-VwNs1utKWJrx4yOxXcvyxiVUpTkCgmlkgnY0gmlwhKwS1dyKbXVsdGlhZGRyc5YACASsEtXcBomIAAoErBLV3AaJid0DgnJzhQADAQAAiXNlY3AyNTZrMaEDFsrq0My1yga-3H7CYA8GW2yAs451MN1CN8dhRa7WYVKDdGNwgomIg3VkcIKJioV3YWt1MgM"}'
2026-02-28 04:32:56.391 INFO [src.node.waku_node] REST service is ready !!
2026-02-28 04:32:56.391 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:35207/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.197.200/tcp/65205/p2p/16Uiu2HAm3Wd8WabuB73eiUXDinbFWcEjaYdRS3f7yFfXVdsM53aJ"]'
2026-02-28 04:32:56.394 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-28 04:32:56.394 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:65204/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2026-02-28 04:32:56.397 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-28 04:32:56.397 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:35207/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2026-02-28 04:32:56.400 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-28 04:32:56.401 DEBUG [src.steps.store] Relaying message
2026-02-28 04:32:56.401 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:65204/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "U3RvcmUgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
2026-02-28 04:32:56.406 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-28 04:32:56.407 DEBUG [src.libs.common] Sleeping for 0.2 seconds
2026-02-28 04:32:56.607 DEBUG [tests.store.test_api_flags] Running test with wrong_peer_addr: ip4/172.18.197.200/tcp/65205/p2p/16Uiu2HAm3Wd8WabuB73eiUXDinbFWcEjaYdRS3f7yFfXVdsM53aJ
2026-02-28 04:32:56.608 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2026-02-28 04:32:56.608 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:35207/store/v3/messages?peerAddr=ip4%2F172.18.197.200%2Ftcp%2F65205%2Fp2p%2F16Uiu2HAm3Wd8WabuB73eiUXDinbFWcEjaYdRS3f7yFfXVdsM53aJ&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d 'None'
2026-02-28 04:32:56.611 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:35207/store/v3/messages?peerAddr=ip4%2F172.18.197.200%2Ftcp%2F65205%2Fp2p%2F16Uiu2HAm3Wd8WabuB73eiUXDinbFWcEjaYdRS3f7yFfXVdsM53aJ&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0. Response content: b'Failed parsing remote peer info: MultiAddress.init [multiaddress: Invalid MultiAddress, must start with `/`]'
2026-02-28 04:32:56.612 DEBUG [tests.store.test_api_flags] Response with wrong peer address is Error: 400 Client Error: Bad Request for url: http://127.0.0.1:35207/store/v3/messages?peerAddr=ip4%2F172.18.197.200%2Ftcp%2F65205%2Fp2p%2F16Uiu2HAm3Wd8WabuB73eiUXDinbFWcEjaYdRS3f7yFfXVdsM53aJ&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0 with response: b'Failed parsing remote peer info: MultiAddress.init [multiaddress: Invalid MultiAddress, must start with `/`]'
2026-02-28 04:32:56.612 DEBUG [tests.store.test_api_flags] Running test with wrong_peer_addr /ip4/172.18.197.200/tcp/65205/p2p/16Uiu2HAm3Wd8WabuB73eiUXDinbFWcEjaYdRS3f7yFfXVdsM53a
2026-02-28 04:32:56.612 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2026-02-28 04:32:56.613 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:35207/store/v3/messages?peerAddr=%2Fip4%2F172.18.197.200%2Ftcp%2F65205%2Fp2p%2F16Uiu2HAm3Wd8WabuB73eiUXDinbFWcEjaYdRS3f7yFfXVdsM53a&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d 'None'
2026-02-28 04:32:56.615 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:35207/store/v3/messages?peerAddr=%2Fip4%2F172.18.197.200%2Ftcp%2F65205%2Fp2p%2F16Uiu2HAm3Wd8WabuB73eiUXDinbFWcEjaYdRS3f7yFfXVdsM53a&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0. Response content: b'Failed parsing remote peer info: MultiAddress.init [multiaddress: Error encoding `p2p/16Uiu2HAm3Wd8WabuB73eiUXDinbFWcEjaYdRS3f7yFfXVdsM53a`]'
2026-02-28 04:32:56.616 DEBUG [tests.store.test_api_flags] Response with wrong peer id is Error: 400 Client Error: Bad Request for url: http://127.0.0.1:35207/store/v3/messages?peerAddr=%2Fip4%2F172.18.197.200%2Ftcp%2F65205%2Fp2p%2F16Uiu2HAm3Wd8WabuB73eiUXDinbFWcEjaYdRS3f7yFfXVdsM53a&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0 with response: b'Failed parsing remote peer info: MultiAddress.init [multiaddress: Error encoding `p2p/16Uiu2HAm3Wd8WabuB73eiUXDinbFWcEjaYdRS3f7yFfXVdsM53a`]'
2026-02-28 04:32:56.616 DEBUG [tests.store.test_api_flags] logger is /ip4/172.18.197.200/65205/p2p/16Uiu2HAm3Wd8WabuB73eiUXDinbFWcEjaYdRS3f7yFfXVdsM53aJ
2026-02-28 04:32:56.616 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2026-02-28 04:32:56.617 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:35207/store/v3/messages?peerAddr=%2Fip4%2F172.18.197.200%2F65205%2Fp2p%2F16Uiu2HAm3Wd8WabuB73eiUXDinbFWcEjaYdRS3f7yFfXVdsM53aJ&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d 'None'
2026-02-28 04:32:56.619 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:35207/store/v3/messages?peerAddr=%2Fip4%2F172.18.197.200%2F65205%2Fp2p%2F16Uiu2HAm3Wd8WabuB73eiUXDinbFWcEjaYdRS3f7yFfXVdsM53aJ&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0. Response content: b"Failed parsing remote peer info: MultiAddress.init [multiaddress: Unsupported protocol '65205']"
2026-02-28 04:32:56.620 DEBUG [tests.store.test_api_flags] Response with wrong peer address is Error: 400 Client Error: Bad Request for url: http://127.0.0.1:35207/store/v3/messages?peerAddr=%2Fip4%2F172.18.197.200%2F65205%2Fp2p%2F16Uiu2HAm3Wd8WabuB73eiUXDinbFWcEjaYdRS3f7yFfXVdsM53aJ&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0 with response: b"Failed parsing remote peer info: MultiAddress.init [multiaddress: Unsupported protocol '65205']"
2026-02-28 04:32:56.622 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-02-28 04:32:56.623 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-02-28 04:32:56.623 DEBUG [src.node.waku_node] Stopping container with id db69773ca304
2026-02-28 04:32:57.229 DEBUG [src.node.waku_node] Container stopped.
2026-02-28 04:32:57.229 DEBUG [src.node.waku_node] Stopping container with id 1e2907688b79
2026-02-28 04:32:57.817 DEBUG [src.node.waku_node] Container stopped.
2026-02-28 04:32:57.821 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-02-28 04:32:57.826 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-28 04:32:57.831 DEBUG [src.node.docker_mananger] No errors found in the waku logs.