84 lines
16 KiB
Plaintext

2025-12-18 04:41:34.321 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-18 04:41:34.322 DEBUG [tests.conftest] Running test: test_store_with_wrongPeerAddr with id: 2025-12-18_04-41-34__281380a2-8464-4668-b9fd-428a6790d503
2025-12-18 04:41:34.322 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-18 04:41:34.322 DEBUG [src.steps.store] Running fixture setup: store_setup
2025-12-18 04:41:34.323 DEBUG [src.steps.store] Running fixture setup: node_setup
2025-12-18 04:41:34.329 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-18 04:41:34.329 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/publishing_node1_2025-12-18_04-41-34__281380a2-8464-4668-b9fd-428a6790d503__wakuorg_nwaku:latest.log
2025-12-18 04:41:34.329 DEBUG [src.node.waku_node] Starting Node...
2025-12-18 04:41:34.329 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-18 04:41:34.330 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-18 04:41:34.331 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.176.173
2025-12-18 04:41:34.331 DEBUG [src.node.docker_mananger] Generated ports ['34268', '34269', '34270', '34271', '34272']
2025-12-18 04:41:34.331 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-18 04:41:34.331 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-18 04:41:34.331 DEBUG [src.node.waku_node] Using volumes []
2025-12-18 04:41:34.331 DEBUG [src.node.docker_mananger] docker run -i -t -p 34268:34268 -p 34269:34269 -p 34270:34270 -p 34271:34271 -p 34272:34272 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=34270 --rest-port=34268 --tcp-port=34269 --discv5-udp-port=34271 --rest-address=0.0.0.0 --nat=extip:172.18.176.173 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=7cdee6a9e97eb40081e24bfb80cbaabfcf6fdb8c5fd0f3505d967e925a6374f6 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=34272 --metrics-logging=true --store=true --relay=true
2025-12-18 04:41:34.515 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.176.173 waku 3bf96367b913e4b200c945198f6133f6ab25f621e5732cfb6aad21a9d759ebd1
2025-12-18 04:41:34.543 DEBUG [src.node.docker_mananger] Container started with ID 3bf96367b913. Setting up logs at ./log/docker/publishing_node1_2025-12-18_04-41-34__281380a2-8464-4668-b9fd-428a6790d503__wakuorg_nwaku:latest.log
2025-12-18 04:41:34.544 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 34268
2025-12-18 04:41:34.544 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-18 04:41:34.590 ERROR [src.node.docker_mananger] Max retries reached for container 8109522b0d32. Exiting log stream.
2025-12-18 04:41:35.103 ERROR [src.node.docker_mananger] Max retries reached for container 87c96b826bcb. Exiting log stream.
2025-12-18 04:41:35.544 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:34268/health" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:41:35.547 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"}]}'
2025-12-18 04:41:35.547 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-18 04:41:35.547 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:34268/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:41:35.549 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.176.173/tcp/34269/p2p/16Uiu2HAmKcbtwz8uMZZZY7np5uih5ALZS71qt7xeCvyKNZcUBfaK","/ip4/172.18.176.173/tcp/34270/ws/p2p/16Uiu2HAmKcbtwz8uMZZZY7np5uih5ALZS71qt7xeCvyKNZcUBfaK"],"enrUri":"enr:-L24QFxgtWtKqg1sFYJhj18mk2NTmgG-TFZZsq0eFGMR3A9pH8CrxxSOOOo_RyKQKeFluDGjf0o_yQWd23SCfQrSXhACgmlkgnY0gmlwhKwSsK2KbXVsdGlhZGRyc5YACASsErCtBoXdAAoErBKwrQaF3t0DgnJzhQADAQAAiXNlY3AyNTZrMaEDZ2VCA9sGkmlJGGoHNbnwfonr-d2Z3z-RQBJ9WBiaeISDdGNwgoXdg3VkcIKF34V3YWt1MgM"}'
2025-12-18 04:41:35.550 INFO [src.node.waku_node] REST service is ready !!
2025-12-18 04:41:35.556 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-18 04:41:35.557 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/store_node1_2025-12-18_04-41-34__281380a2-8464-4668-b9fd-428a6790d503__wakuorg_nwaku:latest.log
2025-12-18 04:41:35.557 DEBUG [src.node.waku_node] Starting Node...
2025-12-18 04:41:35.557 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-18 04:41:35.558 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-18 04:41:35.558 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.200.5
2025-12-18 04:41:35.558 DEBUG [src.node.docker_mananger] Generated ports ['45941', '45942', '45943', '45944', '45945']
2025-12-18 04:41:35.559 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-18 04:41:35.559 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-18 04:41:35.559 DEBUG [src.node.waku_node] Using volumes []
2025-12-18 04:41:35.559 DEBUG [src.node.docker_mananger] docker run -i -t -p 45941:45941 -p 45942:45942 -p 45943:45943 -p 45944:45944 -p 45945:45945 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=45943 --rest-port=45941 --tcp-port=45942 --discv5-udp-port=45944 --rest-address=0.0.0.0 --nat=extip:172.18.200.5 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=1fbccfb6d2ec374af5fcef0bdfedbfe3eddeefeea16a20deb6a53535ed36ebc2 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=45945 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QFxgtWtKqg1sFYJhj18mk2NTmgG-TFZZsq0eFGMR3A9pH8CrxxSOOOo_RyKQKeFluDGjf0o_yQWd23SCfQrSXhACgmlkgnY0gmlwhKwSsK2KbXVsdGlhZGRyc5YACASsErCtBoXdAAoErBKwrQaF3t0DgnJzhQADAQAAiXNlY3AyNTZrMaEDZ2VCA9sGkmlJGGoHNbnwfonr-d2Z3z-RQBJ9WBiaeISDdGNwgoXdg3VkcIKF34V3YWt1MgM --storenode=/ip4/172.18.176.173/tcp/34269/p2p/16Uiu2HAmKcbtwz8uMZZZY7np5uih5ALZS71qt7xeCvyKNZcUBfaK --store=true --relay=true
2025-12-18 04:41:35.734 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.200.5 waku d3688729a98104d17d6dc628b58cd50b7851c892a8c6d7556218e06ebe7f988b
2025-12-18 04:41:35.769 DEBUG [src.node.docker_mananger] Container started with ID d3688729a981. Setting up logs at ./log/docker/store_node1_2025-12-18_04-41-34__281380a2-8464-4668-b9fd-428a6790d503__wakuorg_nwaku:latest.log
2025-12-18 04:41:35.770 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 45941
2025-12-18 04:41:35.770 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-18 04:41:36.771 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:45941/health" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:41:36.775 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"}]}'
2025-12-18 04:41:36.775 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-18 04:41:36.775 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:45941/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:41:36.777 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.200.5/tcp/45942/p2p/16Uiu2HAmFqdAUPCZaDwHDcxmF3denMcpzYmkdJE7y712eL3EASTK","/ip4/172.18.200.5/tcp/45943/ws/p2p/16Uiu2HAmFqdAUPCZaDwHDcxmF3denMcpzYmkdJE7y712eL3EASTK"],"enrUri":"enr:-L24QHyW1joumJT9TPeWEJcAsvA03vvVEJFFBlYxdCKnJwwkJaNWRSE9E6_hYI8-544ddoyuTPifr0K-OZZzFkKdkwICgmlkgnY0gmlwhKwSyAWKbXVsdGlhZGRyc5YACASsEsgFBrN2AAoErBLIBQazd90DgnJzhQADAQAAiXNlY3AyNTZrMaEDL0x-eJ-SNwExZ5nUwNFfZBGQZGnAHUedPPh4EPFMwzKDdGNwgrN2g3VkcIKzeIV3YWt1MgM"}'
2025-12-18 04:41:36.777 INFO [src.node.waku_node] REST service is ready !!
2025-12-18 04:41:36.778 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:45941/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.176.173/tcp/34269/p2p/16Uiu2HAmKcbtwz8uMZZZY7np5uih5ALZS71qt7xeCvyKNZcUBfaK"]'
2025-12-18 04:41:36.780 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:41:36.781 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:34268/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2025-12-18 04:41:36.783 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:41:36.783 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:45941/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2025-12-18 04:41:36.785 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:41:36.786 DEBUG [src.steps.store] Relaying message
2025-12-18 04:41:36.787 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:34268/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)'}'
2025-12-18 04:41:36.791 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:41:36.792 DEBUG [src.libs.common] Sleeping for 0.2 seconds
2025-12-18 04:41:36.992 DEBUG [tests.store.test_api_flags] Running test with wrong_peer_addr: ip4/172.18.176.173/tcp/34269/p2p/16Uiu2HAmKcbtwz8uMZZZY7np5uih5ALZS71qt7xeCvyKNZcUBfaK
2025-12-18 04:41:36.993 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2025-12-18 04:41:36.993 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:45941/store/v3/messages?peerAddr=ip4%2F172.18.176.173%2Ftcp%2F34269%2Fp2p%2F16Uiu2HAmKcbtwz8uMZZZY7np5uih5ALZS71qt7xeCvyKNZcUBfaK&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:41:36.995 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:45941/store/v3/messages?peerAddr=ip4%2F172.18.176.173%2Ftcp%2F34269%2Fp2p%2F16Uiu2HAmKcbtwz8uMZZZY7np5uih5ALZS71qt7xeCvyKNZcUBfaK&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0. Response content: b'Failed parsing remote peer info: MultiAddress.init [multiaddress: Invalid MultiAddress, must start with `/`]'
2025-12-18 04:41:36.997 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:45941/store/v3/messages?peerAddr=ip4%2F172.18.176.173%2Ftcp%2F34269%2Fp2p%2F16Uiu2HAmKcbtwz8uMZZZY7np5uih5ALZS71qt7xeCvyKNZcUBfaK&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0 with response: b'Failed parsing remote peer info: MultiAddress.init [multiaddress: Invalid MultiAddress, must start with `/`]'
2025-12-18 04:41:36.997 DEBUG [tests.store.test_api_flags] Running test with wrong_peer_addr /ip4/172.18.176.173/tcp/34269/p2p/16Uiu2HAmKcbtwz8uMZZZY7np5uih5ALZS71qt7xeCvyKNZcUBfa
2025-12-18 04:41:36.997 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2025-12-18 04:41:36.997 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:45941/store/v3/messages?peerAddr=%2Fip4%2F172.18.176.173%2Ftcp%2F34269%2Fp2p%2F16Uiu2HAmKcbtwz8uMZZZY7np5uih5ALZS71qt7xeCvyKNZcUBfa&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:41:37.000 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:45941/store/v3/messages?peerAddr=%2Fip4%2F172.18.176.173%2Ftcp%2F34269%2Fp2p%2F16Uiu2HAmKcbtwz8uMZZZY7np5uih5ALZS71qt7xeCvyKNZcUBfa&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0. Response content: b'Failed parsing remote peer info: MultiAddress.init [multiaddress: Error encoding `p2p/16Uiu2HAmKcbtwz8uMZZZY7np5uih5ALZS71qt7xeCvyKNZcUBfa`]'
2025-12-18 04:41:37.000 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:45941/store/v3/messages?peerAddr=%2Fip4%2F172.18.176.173%2Ftcp%2F34269%2Fp2p%2F16Uiu2HAmKcbtwz8uMZZZY7np5uih5ALZS71qt7xeCvyKNZcUBfa&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0 with response: b'Failed parsing remote peer info: MultiAddress.init [multiaddress: Error encoding `p2p/16Uiu2HAmKcbtwz8uMZZZY7np5uih5ALZS71qt7xeCvyKNZcUBfa`]'
2025-12-18 04:41:37.001 DEBUG [tests.store.test_api_flags] logger is /ip4/172.18.176.173/34269/p2p/16Uiu2HAmKcbtwz8uMZZZY7np5uih5ALZS71qt7xeCvyKNZcUBfaK
2025-12-18 04:41:37.001 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2025-12-18 04:41:37.001 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:45941/store/v3/messages?peerAddr=%2Fip4%2F172.18.176.173%2F34269%2Fp2p%2F16Uiu2HAmKcbtwz8uMZZZY7np5uih5ALZS71qt7xeCvyKNZcUBfaK&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:41:37.004 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:45941/store/v3/messages?peerAddr=%2Fip4%2F172.18.176.173%2F34269%2Fp2p%2F16Uiu2HAmKcbtwz8uMZZZY7np5uih5ALZS71qt7xeCvyKNZcUBfaK&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0. Response content: b"Failed parsing remote peer info: MultiAddress.init [multiaddress: Unsupported protocol '34269']"
2025-12-18 04:41:37.004 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:45941/store/v3/messages?peerAddr=%2Fip4%2F172.18.176.173%2F34269%2Fp2p%2F16Uiu2HAmKcbtwz8uMZZZY7np5uih5ALZS71qt7xeCvyKNZcUBfaK&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0 with response: b"Failed parsing remote peer info: MultiAddress.init [multiaddress: Unsupported protocol '34269']"
2025-12-18 04:41:37.006 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-18 04:41:37.007 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-18 04:41:37.008 DEBUG [src.node.waku_node] Stopping container with id 3bf96367b913
2025-12-18 04:41:37.517 DEBUG [src.node.waku_node] Container stopped.
2025-12-18 04:41:37.517 DEBUG [src.node.waku_node] Stopping container with id d3688729a981
2025-12-18 04:41:38.056 DEBUG [src.node.waku_node] Container stopped.
2025-12-18 04:41:38.059 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-18 04:41:38.064 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-18 04:41:38.070 DEBUG [src.node.docker_mananger] No errors found in the waku logs.