84 lines
16 KiB
Plaintext

2026-04-23 05:18:37.555 DEBUG [tests.conftest] Running fixture setup: test_id
2026-04-23 05:18:37.555 DEBUG [tests.conftest] Running test: test_store_with_wrongPeerAddr with id: 2026-04-23_05-18-37__d695fd81-f288-4ba9-a0dc-9faf54049884
2026-04-23 05:18:37.555 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-04-23 05:18:37.556 DEBUG [src.steps.store] Running fixture setup: store_setup
2026-04-23 05:18:37.556 DEBUG [src.steps.store] Running fixture setup: node_setup
2026-04-23 05:18:37.563 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-04-23 05:18:37.563 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/publishing_node1_2026-04-23_05-18-37__d695fd81-f288-4ba9-a0dc-9faf54049884__wakuorg_nwaku:latest.log
2026-04-23 05:18:37.563 DEBUG [src.node.waku_node] Starting Node...
2026-04-23 05:18:37.564 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-04-23 05:18:37.565 DEBUG [src.node.docker_mananger] Network waku already exists
2026-04-23 05:18:37.565 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.99.35
2026-04-23 05:18:37.565 DEBUG [src.node.docker_mananger] Generated ports ['21750', '21751', '21752', '21753', '21754']
2026-04-23 05:18:37.566 DEBUG [src.node.waku_node] RLN credentials were not set
2026-04-23 05:18:37.566 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-04-23 05:18:37.566 DEBUG [src.node.waku_node] Using volumes []
2026-04-23 05:18:37.566 DEBUG [src.node.docker_mananger] docker run -i -t -p 21750:21750 -p 21751:21751 -p 21752:21752 -p 21753:21753 -p 21754:21754 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=21752 --rest-port=21750 --tcp-port=21751 --discv5-udp-port=21753 --rest-address=0.0.0.0 --nat=extip:172.18.99.35 --peer-exchange=true --discv5-discovery=true --cluster-id=198 --nodekey=ebfd13710a6adafa8deaeef6fec53abeccf323ae7ed48a60dbb0b52ca0af2066 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=21754 --metrics-logging=true --store=true --relay=true
2026-04-23 05:18:37.765 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.99.35 waku 335404e008459d02bc3338ca504fe3cafd64c6658b962a083dd98f259517a9ce
2026-04-23 05:18:37.795 DEBUG [src.node.docker_mananger] Container started with ID 335404e00845. Setting up logs at ./log/docker/publishing_node1_2026-04-23_05-18-37__d695fd81-f288-4ba9-a0dc-9faf54049884__wakuorg_nwaku:latest.log
2026-04-23 05:18:37.796 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 21750
2026-04-23 05:18:37.796 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-04-23 05:18:37.868 ERROR [src.node.docker_mananger] Max retries reached for container 0668b59fea09. Exiting log stream.
2026-04-23 05:18:38.344 ERROR [src.node.docker_mananger] Max retries reached for container cf8d364a31df. Exiting log stream.
2026-04-23 05:18:38.797 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:21750/health" -H "Content-Type: application/json" -d 'None'
2026-04-23 05:18:38.800 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"},{"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"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"},{"Rln Relay":"NOT_MOUNTED"}]}'
2026-04-23 05:18:38.800 INFO [src.node.waku_node] Node protocols are initialized !!
2026-04-23 05:18:38.800 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:21750/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-04-23 05:18:38.803 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.99.35/tcp/21751/p2p/16Uiu2HAmHaAcCkDLwyFoeYGxJZ6c1W69thhvFxYwdDqEizkCXgC1","/ip4/172.18.99.35/tcp/21752/ws/p2p/16Uiu2HAmHaAcCkDLwyFoeYGxJZ6c1W69thhvFxYwdDqEizkCXgC1"],"enrUri":"enr:-L24QET2cwU-KiRQ314o2zl6WVduFESA0rTSTw3JABk3ICTwZQ-8im-sbqRpoSx-ugj7C--j14ZzqGpBQ3JXUkK8a04CgmlkgnY0gmlwhKwSYyOKbXVsdGlhZGRyc5YACASsEmMjBlT3AAoErBJjIwZU-N0DgnJzhQDGAQAAiXNlY3AyNTZrMaEDSQ4g3BdbwCGvsV3cD9Di9X0dyYXd52478fWzIYiAdPqDdGNwglT3g3VkcIJU-YV3YWt1MgM"}'
2026-04-23 05:18:38.803 INFO [src.node.waku_node] REST service is ready !!
2026-04-23 05:18:38.810 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-04-23 05:18:38.810 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/store_node1_2026-04-23_05-18-37__d695fd81-f288-4ba9-a0dc-9faf54049884__wakuorg_nwaku:latest.log
2026-04-23 05:18:38.810 DEBUG [src.node.waku_node] Starting Node...
2026-04-23 05:18:38.810 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-04-23 05:18:38.812 DEBUG [src.node.docker_mananger] Network waku already exists
2026-04-23 05:18:38.812 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.136.107
2026-04-23 05:18:38.812 DEBUG [src.node.docker_mananger] Generated ports ['56350', '56351', '56352', '56353', '56354']
2026-04-23 05:18:38.812 DEBUG [src.node.waku_node] RLN credentials were not set
2026-04-23 05:18:38.812 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-04-23 05:18:38.813 DEBUG [src.node.waku_node] Using volumes []
2026-04-23 05:18:38.813 DEBUG [src.node.docker_mananger] docker run -i -t -p 56350:56350 -p 56351:56351 -p 56352:56352 -p 56353:56353 -p 56354:56354 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=56352 --rest-port=56350 --tcp-port=56351 --discv5-udp-port=56353 --rest-address=0.0.0.0 --nat=extip:172.18.136.107 --peer-exchange=true --discv5-discovery=true --cluster-id=198 --nodekey=aca98dfb90bdbfdd98dc3cca5a538ddcc2d9321bbd5aee1233d17f5b4b71d382 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=56354 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QET2cwU-KiRQ314o2zl6WVduFESA0rTSTw3JABk3ICTwZQ-8im-sbqRpoSx-ugj7C--j14ZzqGpBQ3JXUkK8a04CgmlkgnY0gmlwhKwSYyOKbXVsdGlhZGRyc5YACASsEmMjBlT3AAoErBJjIwZU-N0DgnJzhQDGAQAAiXNlY3AyNTZrMaEDSQ4g3BdbwCGvsV3cD9Di9X0dyYXd52478fWzIYiAdPqDdGNwglT3g3VkcIJU-YV3YWt1MgM --storenode=/ip4/172.18.99.35/tcp/21751/p2p/16Uiu2HAmHaAcCkDLwyFoeYGxJZ6c1W69thhvFxYwdDqEizkCXgC1 --store=true --relay=true
2026-04-23 05:18:39.011 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.136.107 waku b431f00e5e7d099698d0966a848677c13cbd4e8089783779e2a96798ae6b3932
2026-04-23 05:18:39.055 DEBUG [src.node.docker_mananger] Container started with ID b431f00e5e7d. Setting up logs at ./log/docker/store_node1_2026-04-23_05-18-37__d695fd81-f288-4ba9-a0dc-9faf54049884__wakuorg_nwaku:latest.log
2026-04-23 05:18:39.056 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 56350
2026-04-23 05:18:39.056 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-04-23 05:18:40.056 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:56350/health" -H "Content-Type: application/json" -d 'None'
2026-04-23 05:18:40.060 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"},{"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"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"},{"Rln Relay":"NOT_MOUNTED"}]}'
2026-04-23 05:18:40.060 INFO [src.node.waku_node] Node protocols are initialized !!
2026-04-23 05:18:40.060 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:56350/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-04-23 05:18:40.062 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.136.107/tcp/56351/p2p/16Uiu2HAmBtwRYyhtUs7dNAWUqd5fJAMCJu9oPQmgQ15x6kiFmHAC","/ip4/172.18.136.107/tcp/56352/ws/p2p/16Uiu2HAmBtwRYyhtUs7dNAWUqd5fJAMCJu9oPQmgQ15x6kiFmHAC"],"enrUri":"enr:-L24QK2QxFABehrebvlmxiTjsCYM_DfxDlfr61v_RS2q7bjSJ9rY-FkbRE47n58dZvfGsGlQCdjog-nvtOzuMr293r4CgmlkgnY0gmlwhKwSiGuKbXVsdGlhZGRyc5YACASsEohrBtwfAAoErBKIawbcIN0DgnJzhQDGAQAAiXNlY3AyNTZrMaEC9LciqG5XGr6NllJY4RI7js8DGx4vUoLcSXlr0BXPaPWDdGNwgtwfg3VkcILcIYV3YWt1MgM"}'
2026-04-23 05:18:40.063 INFO [src.node.waku_node] REST service is ready !!
2026-04-23 05:18:40.063 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:56350/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.99.35/tcp/21751/p2p/16Uiu2HAmHaAcCkDLwyFoeYGxJZ6c1W69thhvFxYwdDqEizkCXgC1"]'
2026-04-23 05:18:40.066 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-04-23 05:18:40.066 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:21750/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/198/0"]'
2026-04-23 05:18:40.069 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-04-23 05:18:40.069 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:56350/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/198/0"]'
2026-04-23 05:18:40.071 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-04-23 05:18:40.072 DEBUG [src.steps.store] Relaying message
2026-04-23 05:18:40.073 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:21750/relay/v1/messages/%2Fwaku%2F2%2Frs%2F198%2F0" -H "Content-Type: application/json" -d '{"payload": "U3RvcmUgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
2026-04-23 05:18:40.079 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-04-23 05:18:40.079 DEBUG [src.libs.common] Sleeping for 0.2 seconds
2026-04-23 05:18:40.280 DEBUG [tests.store.test_api_flags] Running test with wrong_peer_addr: ip4/172.18.99.35/tcp/21751/p2p/16Uiu2HAmHaAcCkDLwyFoeYGxJZ6c1W69thhvFxYwdDqEizkCXgC1
2026-04-23 05:18:40.281 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2026-04-23 05:18:40.281 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:56350/store/v3/messages?peerAddr=ip4%2F172.18.99.35%2Ftcp%2F21751%2Fp2p%2F16Uiu2HAmHaAcCkDLwyFoeYGxJZ6c1W69thhvFxYwdDqEizkCXgC1&pubsubTopic=%2Fwaku%2F2%2Frs%2F198%2F0" -H "Content-Type: application/json" -d 'None'
2026-04-23 05:18:40.284 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:56350/store/v3/messages?peerAddr=ip4%2F172.18.99.35%2Ftcp%2F21751%2Fp2p%2F16Uiu2HAmHaAcCkDLwyFoeYGxJZ6c1W69thhvFxYwdDqEizkCXgC1&pubsubTopic=%2Fwaku%2F2%2Frs%2F198%2F0. Response content: b'Failed parsing remote peer info: MultiAddress.init [multiaddress: Invalid MultiAddress, must start with `/`]'
2026-04-23 05:18:40.285 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:56350/store/v3/messages?peerAddr=ip4%2F172.18.99.35%2Ftcp%2F21751%2Fp2p%2F16Uiu2HAmHaAcCkDLwyFoeYGxJZ6c1W69thhvFxYwdDqEizkCXgC1&pubsubTopic=%2Fwaku%2F2%2Frs%2F198%2F0 with response: b'Failed parsing remote peer info: MultiAddress.init [multiaddress: Invalid MultiAddress, must start with `/`]'
2026-04-23 05:18:40.286 DEBUG [tests.store.test_api_flags] Running test with wrong_peer_addr /ip4/172.18.99.35/tcp/21751/p2p/16Uiu2HAmHaAcCkDLwyFoeYGxJZ6c1W69thhvFxYwdDqEizkCXgC
2026-04-23 05:18:40.286 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2026-04-23 05:18:40.286 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:56350/store/v3/messages?peerAddr=%2Fip4%2F172.18.99.35%2Ftcp%2F21751%2Fp2p%2F16Uiu2HAmHaAcCkDLwyFoeYGxJZ6c1W69thhvFxYwdDqEizkCXgC&pubsubTopic=%2Fwaku%2F2%2Frs%2F198%2F0" -H "Content-Type: application/json" -d 'None'
2026-04-23 05:18:40.289 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:56350/store/v3/messages?peerAddr=%2Fip4%2F172.18.99.35%2Ftcp%2F21751%2Fp2p%2F16Uiu2HAmHaAcCkDLwyFoeYGxJZ6c1W69thhvFxYwdDqEizkCXgC&pubsubTopic=%2Fwaku%2F2%2Frs%2F198%2F0. Response content: b'Failed parsing remote peer info: MultiAddress.init [multiaddress: Error encoding `p2p/16Uiu2HAmHaAcCkDLwyFoeYGxJZ6c1W69thhvFxYwdDqEizkCXgC`]'
2026-04-23 05:18:40.290 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:56350/store/v3/messages?peerAddr=%2Fip4%2F172.18.99.35%2Ftcp%2F21751%2Fp2p%2F16Uiu2HAmHaAcCkDLwyFoeYGxJZ6c1W69thhvFxYwdDqEizkCXgC&pubsubTopic=%2Fwaku%2F2%2Frs%2F198%2F0 with response: b'Failed parsing remote peer info: MultiAddress.init [multiaddress: Error encoding `p2p/16Uiu2HAmHaAcCkDLwyFoeYGxJZ6c1W69thhvFxYwdDqEizkCXgC`]'
2026-04-23 05:18:40.291 DEBUG [tests.store.test_api_flags] logger is /ip4/172.18.99.35/21751/p2p/16Uiu2HAmHaAcCkDLwyFoeYGxJZ6c1W69thhvFxYwdDqEizkCXgC1
2026-04-23 05:18:40.291 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2026-04-23 05:18:40.291 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:56350/store/v3/messages?peerAddr=%2Fip4%2F172.18.99.35%2F21751%2Fp2p%2F16Uiu2HAmHaAcCkDLwyFoeYGxJZ6c1W69thhvFxYwdDqEizkCXgC1&pubsubTopic=%2Fwaku%2F2%2Frs%2F198%2F0" -H "Content-Type: application/json" -d 'None'
2026-04-23 05:18:40.294 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:56350/store/v3/messages?peerAddr=%2Fip4%2F172.18.99.35%2F21751%2Fp2p%2F16Uiu2HAmHaAcCkDLwyFoeYGxJZ6c1W69thhvFxYwdDqEizkCXgC1&pubsubTopic=%2Fwaku%2F2%2Frs%2F198%2F0. Response content: b"Failed parsing remote peer info: MultiAddress.init [multiaddress: Unsupported protocol '21751']"
2026-04-23 05:18:40.295 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:56350/store/v3/messages?peerAddr=%2Fip4%2F172.18.99.35%2F21751%2Fp2p%2F16Uiu2HAmHaAcCkDLwyFoeYGxJZ6c1W69thhvFxYwdDqEizkCXgC1&pubsubTopic=%2Fwaku%2F2%2Frs%2F198%2F0 with response: b"Failed parsing remote peer info: MultiAddress.init [multiaddress: Unsupported protocol '21751']"
2026-04-23 05:18:40.297 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-04-23 05:18:40.298 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-04-23 05:18:40.298 DEBUG [src.node.waku_node] Stopping container with id 335404e00845
2026-04-23 05:18:40.760 DEBUG [src.node.waku_node] Container stopped.
2026-04-23 05:18:40.760 DEBUG [src.node.waku_node] Stopping container with id b431f00e5e7d
2026-04-23 05:18:41.228 DEBUG [src.node.waku_node] Container stopped.
2026-04-23 05:18:41.229 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-04-23 05:18:41.242 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-04-23 05:18:41.250 DEBUG [src.node.docker_mananger] No errors found in the waku logs.