84 lines
16 KiB
Plaintext

2026-01-31 04:37:29.520 DEBUG [tests.conftest] Running fixture setup: test_id
2026-01-31 04:37:29.521 DEBUG [tests.conftest] Running test: test_store_with_wrongPeerAddr with id: 2026-01-31_04-37-29__af918883-27c5-409b-809c-53a588c41ee3
2026-01-31 04:37:29.521 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-01-31 04:37:29.521 DEBUG [src.steps.store] Running fixture setup: store_setup
2026-01-31 04:37:29.521 DEBUG [src.steps.store] Running fixture setup: node_setup
2026-01-31 04:37:29.528 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-01-31 04:37:29.528 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/publishing_node1_2026-01-31_04-37-29__af918883-27c5-409b-809c-53a588c41ee3__wakuorg_nwaku:latest.log
2026-01-31 04:37:29.528 DEBUG [src.node.waku_node] Starting Node...
2026-01-31 04:37:29.528 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-01-31 04:37:29.530 DEBUG [src.node.docker_mananger] Network waku already exists
2026-01-31 04:37:29.530 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.5.183
2026-01-31 04:37:29.530 DEBUG [src.node.docker_mananger] Generated ports ['19833', '19834', '19835', '19836', '19837']
2026-01-31 04:37:29.530 DEBUG [src.node.waku_node] RLN credentials were not set
2026-01-31 04:37:29.530 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-01-31 04:37:29.531 DEBUG [src.node.waku_node] Using volumes []
2026-01-31 04:37:29.531 DEBUG [src.node.docker_mananger] docker run -i -t -p 19833:19833 -p 19834:19834 -p 19835:19835 -p 19836:19836 -p 19837:19837 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=19835 --rest-port=19833 --tcp-port=19834 --discv5-udp-port=19836 --rest-address=0.0.0.0 --nat=extip:172.18.5.183 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=cfca5b26eaa0e0ebabfd86b2023dad597b643383fe4aafdb7e6af13c61cf6ac1 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=19837 --metrics-logging=true --store=true --relay=true
2026-01-31 04:37:29.719 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.5.183 waku 113ee6b7218b807abfaf2b5b1b5369d6144e389d19b2d02f8e3be199f81bb4f4
2026-01-31 04:37:29.751 DEBUG [src.node.docker_mananger] Container started with ID 113ee6b7218b. Setting up logs at ./log/docker/publishing_node1_2026-01-31_04-37-29__af918883-27c5-409b-809c-53a588c41ee3__wakuorg_nwaku:latest.log
2026-01-31 04:37:29.753 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 19833
2026-01-31 04:37:29.753 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-01-31 04:37:29.764 ERROR [src.node.docker_mananger] Max retries reached for container 82fb3e7a681d. Exiting log stream.
2026-01-31 04:37:30.325 ERROR [src.node.docker_mananger] Max retries reached for container a1cb5a5c21bc. Exiting log stream.
2026-01-31 04:37:30.754 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:19833/health" -H "Content-Type: application/json" -d 'None'
2026-01-31 04:37:30.757 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","protocolsHealth":[{"Relay":"NOT_READY","desc":"No connected peers"},{"Rln Relay":"NOT_MOUNTED"},{"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"}]}'
2026-01-31 04:37:30.757 INFO [src.node.waku_node] Node protocols are initialized !!
2026-01-31 04:37:30.757 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:19833/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-01-31 04:37:30.760 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.5.183/tcp/19834/p2p/16Uiu2HAmDGajrbJiFaTPM5hQ8noEpaGaVDaaA5Jx5QGd61ub8D6b","/ip4/172.18.5.183/tcp/19835/ws/p2p/16Uiu2HAmDGajrbJiFaTPM5hQ8noEpaGaVDaaA5Jx5QGd61ub8D6b"],"enrUri":"enr:-L24QMYw_rTWhOzFja3oevEMtxByWnmW8BW0lcCU-X4uHhnbF_Jw6yzKxddC46WMY6EFEXm5OKNNc7HFadMaNosysDwCgmlkgnY0gmlwhKwSBbeKbXVsdGlhZGRyc5YACASsEgW3Bk16AAoErBIFtwZNe90DgnJzhQADAQAAiXNlY3AyNTZrMaEDCR42UDJNz2f3SHL_hvAyS_iizJ-PKZvKuIo_nUADYSyDdGNwgk16g3VkcIJNfIV3YWt1MgM"}'
2026-01-31 04:37:30.760 INFO [src.node.waku_node] REST service is ready !!
2026-01-31 04:37:30.767 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-01-31 04:37:30.767 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/store_node1_2026-01-31_04-37-29__af918883-27c5-409b-809c-53a588c41ee3__wakuorg_nwaku:latest.log
2026-01-31 04:37:30.767 DEBUG [src.node.waku_node] Starting Node...
2026-01-31 04:37:30.767 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-01-31 04:37:30.768 DEBUG [src.node.docker_mananger] Network waku already exists
2026-01-31 04:37:30.769 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.204.190
2026-01-31 04:37:30.769 DEBUG [src.node.docker_mananger] Generated ports ['41595', '41596', '41597', '41598', '41599']
2026-01-31 04:37:30.769 DEBUG [src.node.waku_node] RLN credentials were not set
2026-01-31 04:37:30.769 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-01-31 04:37:30.769 DEBUG [src.node.waku_node] Using volumes []
2026-01-31 04:37:30.769 DEBUG [src.node.docker_mananger] docker run -i -t -p 41595:41595 -p 41596:41596 -p 41597:41597 -p 41598:41598 -p 41599:41599 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=41597 --rest-port=41595 --tcp-port=41596 --discv5-udp-port=41598 --rest-address=0.0.0.0 --nat=extip:172.18.204.190 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=cd4dd6b8bd6fd740bec0d2fe35f031ecacf2dc85e8195de4a05fbbafa350566f --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=41599 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QMYw_rTWhOzFja3oevEMtxByWnmW8BW0lcCU-X4uHhnbF_Jw6yzKxddC46WMY6EFEXm5OKNNc7HFadMaNosysDwCgmlkgnY0gmlwhKwSBbeKbXVsdGlhZGRyc5YACASsEgW3Bk16AAoErBIFtwZNe90DgnJzhQADAQAAiXNlY3AyNTZrMaEDCR42UDJNz2f3SHL_hvAyS_iizJ-PKZvKuIo_nUADYSyDdGNwgk16g3VkcIJNfIV3YWt1MgM --storenode=/ip4/172.18.5.183/tcp/19834/p2p/16Uiu2HAmDGajrbJiFaTPM5hQ8noEpaGaVDaaA5Jx5QGd61ub8D6b --store=true --relay=true
2026-01-31 04:37:30.967 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.204.190 waku 76939f5a84ff14f6e37c6b1a92b57728b49574b7b8557b56586405b13f4df5fc
2026-01-31 04:37:31.000 DEBUG [src.node.docker_mananger] Container started with ID 76939f5a84ff. Setting up logs at ./log/docker/store_node1_2026-01-31_04-37-29__af918883-27c5-409b-809c-53a588c41ee3__wakuorg_nwaku:latest.log
2026-01-31 04:37:31.002 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 41595
2026-01-31 04:37:31.002 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-01-31 04:37:32.002 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:41595/health" -H "Content-Type: application/json" -d 'None'
2026-01-31 04:37:32.006 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","protocolsHealth":[{"Relay":"READY"},{"Rln Relay":"NOT_MOUNTED"},{"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":"READY"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"}]}'
2026-01-31 04:37:32.007 INFO [src.node.waku_node] Node protocols are initialized !!
2026-01-31 04:37:32.007 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:41595/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-01-31 04:37:32.010 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.204.190/tcp/41596/p2p/16Uiu2HAmGEEhx5zpBYWbY4uMDUxpAActwTCPLvNFyNRN4g3GyoKm","/ip4/172.18.204.190/tcp/41597/ws/p2p/16Uiu2HAmGEEhx5zpBYWbY4uMDUxpAActwTCPLvNFyNRN4g3GyoKm"],"enrUri":"enr:-L24QGtPImLmLzuD5ZI7PuUGKR24Lxfp8MK1xhrH0YKutsgtM8sSJMxGiA35PecjTNG2kEPSmDfloUiFUKH81dQ39uICgmlkgnY0gmlwhKwSzL6KbXVsdGlhZGRyc5YACASsEsy-BqJ8AAoErBLMvgaifd0DgnJzhQADAQAAiXNlY3AyNTZrMaEDNRd1yZQv_TlC1qzHZ4J_C3BnmK3DOZu74fwZklanFOiDdGNwgqJ8g3VkcIKifoV3YWt1MgM"}'
2026-01-31 04:37:32.010 INFO [src.node.waku_node] REST service is ready !!
2026-01-31 04:37:32.011 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:41595/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.5.183/tcp/19834/p2p/16Uiu2HAmDGajrbJiFaTPM5hQ8noEpaGaVDaaA5Jx5QGd61ub8D6b"]'
2026-01-31 04:37:32.013 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-31 04:37:32.013 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:19833/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2026-01-31 04:37:32.016 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-31 04:37:32.016 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:41595/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2026-01-31 04:37:32.018 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-31 04:37:32.019 DEBUG [src.steps.store] Relaying message
2026-01-31 04:37:32.019 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:19833/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-01-31 04:37:32.024 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-31 04:37:32.025 DEBUG [src.libs.common] Sleeping for 0.2 seconds
2026-01-31 04:37:32.225 DEBUG [tests.store.test_api_flags] Running test with wrong_peer_addr: ip4/172.18.5.183/tcp/19834/p2p/16Uiu2HAmDGajrbJiFaTPM5hQ8noEpaGaVDaaA5Jx5QGd61ub8D6b
2026-01-31 04:37:32.226 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2026-01-31 04:37:32.226 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:41595/store/v3/messages?peerAddr=ip4%2F172.18.5.183%2Ftcp%2F19834%2Fp2p%2F16Uiu2HAmDGajrbJiFaTPM5hQ8noEpaGaVDaaA5Jx5QGd61ub8D6b&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d 'None'
2026-01-31 04:37:32.229 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:41595/store/v3/messages?peerAddr=ip4%2F172.18.5.183%2Ftcp%2F19834%2Fp2p%2F16Uiu2HAmDGajrbJiFaTPM5hQ8noEpaGaVDaaA5Jx5QGd61ub8D6b&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0. Response content: b'Failed parsing remote peer info: MultiAddress.init [multiaddress: Invalid MultiAddress, must start with `/`]'
2026-01-31 04:37:32.230 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:41595/store/v3/messages?peerAddr=ip4%2F172.18.5.183%2Ftcp%2F19834%2Fp2p%2F16Uiu2HAmDGajrbJiFaTPM5hQ8noEpaGaVDaaA5Jx5QGd61ub8D6b&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0 with response: b'Failed parsing remote peer info: MultiAddress.init [multiaddress: Invalid MultiAddress, must start with `/`]'
2026-01-31 04:37:32.230 DEBUG [tests.store.test_api_flags] Running test with wrong_peer_addr /ip4/172.18.5.183/tcp/19834/p2p/16Uiu2HAmDGajrbJiFaTPM5hQ8noEpaGaVDaaA5Jx5QGd61ub8D6
2026-01-31 04:37:32.231 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2026-01-31 04:37:32.231 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:41595/store/v3/messages?peerAddr=%2Fip4%2F172.18.5.183%2Ftcp%2F19834%2Fp2p%2F16Uiu2HAmDGajrbJiFaTPM5hQ8noEpaGaVDaaA5Jx5QGd61ub8D6&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d 'None'
2026-01-31 04:37:32.233 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:41595/store/v3/messages?peerAddr=%2Fip4%2F172.18.5.183%2Ftcp%2F19834%2Fp2p%2F16Uiu2HAmDGajrbJiFaTPM5hQ8noEpaGaVDaaA5Jx5QGd61ub8D6&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0. Response content: b'Failed parsing remote peer info: MultiAddress.init [multiaddress: Error encoding `p2p/16Uiu2HAmDGajrbJiFaTPM5hQ8noEpaGaVDaaA5Jx5QGd61ub8D6`]'
2026-01-31 04:37:32.234 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:41595/store/v3/messages?peerAddr=%2Fip4%2F172.18.5.183%2Ftcp%2F19834%2Fp2p%2F16Uiu2HAmDGajrbJiFaTPM5hQ8noEpaGaVDaaA5Jx5QGd61ub8D6&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0 with response: b'Failed parsing remote peer info: MultiAddress.init [multiaddress: Error encoding `p2p/16Uiu2HAmDGajrbJiFaTPM5hQ8noEpaGaVDaaA5Jx5QGd61ub8D6`]'
2026-01-31 04:37:32.234 DEBUG [tests.store.test_api_flags] logger is /ip4/172.18.5.183/19834/p2p/16Uiu2HAmDGajrbJiFaTPM5hQ8noEpaGaVDaaA5Jx5QGd61ub8D6b
2026-01-31 04:37:32.235 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2026-01-31 04:37:32.235 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:41595/store/v3/messages?peerAddr=%2Fip4%2F172.18.5.183%2F19834%2Fp2p%2F16Uiu2HAmDGajrbJiFaTPM5hQ8noEpaGaVDaaA5Jx5QGd61ub8D6b&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d 'None'
2026-01-31 04:37:32.237 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:41595/store/v3/messages?peerAddr=%2Fip4%2F172.18.5.183%2F19834%2Fp2p%2F16Uiu2HAmDGajrbJiFaTPM5hQ8noEpaGaVDaaA5Jx5QGd61ub8D6b&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0. Response content: b"Failed parsing remote peer info: MultiAddress.init [multiaddress: Unsupported protocol '19834']"
2026-01-31 04:37:32.238 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:41595/store/v3/messages?peerAddr=%2Fip4%2F172.18.5.183%2F19834%2Fp2p%2F16Uiu2HAmDGajrbJiFaTPM5hQ8noEpaGaVDaaA5Jx5QGd61ub8D6b&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0 with response: b"Failed parsing remote peer info: MultiAddress.init [multiaddress: Unsupported protocol '19834']"
2026-01-31 04:37:32.240 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-01-31 04:37:32.241 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-01-31 04:37:32.241 DEBUG [src.node.waku_node] Stopping container with id 113ee6b7218b
2026-01-31 04:37:32.803 DEBUG [src.node.waku_node] Container stopped.
2026-01-31 04:37:32.803 DEBUG [src.node.waku_node] Stopping container with id 76939f5a84ff
2026-01-31 04:37:33.362 DEBUG [src.node.waku_node] Container stopped.
2026-01-31 04:37:33.364 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-01-31 04:37:33.371 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-01-31 04:37:33.376 DEBUG [src.node.docker_mananger] No errors found in the waku logs.