89 lines
16 KiB
Plaintext

2025-12-08 12:12:19.430 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-08 12:12:19.430 DEBUG [tests.conftest] Running test: test_message_relayed_while_store_node_is_stopped_without_removing with id: 2025-12-08_12-12-19__aede1a24-3517-4521-95b1-d6126b3aef60
2025-12-08 12:12:19.430 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-08 12:12:19.431 DEBUG [src.steps.store] Running fixture setup: store_setup
2025-12-08 12:12:19.438 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:12:19.438 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/publishing_node1_2025-12-08_12-12-19__aede1a24-3517-4521-95b1-d6126b3aef60__wakuorg_nwaku:latest.log
2025-12-08 12:12:19.438 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:12:19.438 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:12:19.439 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:12:19.439 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.249.58
2025-12-08 12:12:19.440 DEBUG [src.node.docker_mananger] Generated ports ['31926', '31927', '31928', '31929', '31930']
2025-12-08 12:12:19.440 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:12:19.440 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:12:19.440 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:12:19.440 DEBUG [src.node.docker_mananger] docker run -i -t -p 31926:31926 -p 31927:31927 -p 31928:31928 -p 31929:31929 -p 31930:31930 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=31928 --rest-port=31926 --tcp-port=31927 --discv5-udp-port=31929 --rest-address=0.0.0.0 --nat=extip:172.18.249.58 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=8d339ef4669e3aa3718f33a9a00eef6dc5eba14dadad00d5dbb6e67b6d6c59f7 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=31930 --metrics-logging=true --store=true --relay=true
2025-12-08 12:12:19.631 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.249.58 waku 9d35952710a8d8d3ef81444fd9e91caa5ce0068205e16e26242b1e2295f6dc1a
2025-12-08 12:12:19.661 DEBUG [src.node.docker_mananger] Container started with ID 9d35952710a8. Setting up logs at ./log/docker/publishing_node1_2025-12-08_12-12-19__aede1a24-3517-4521-95b1-d6126b3aef60__wakuorg_nwaku:latest.log
2025-12-08 12:12:19.662 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 31926
2025-12-08 12:12:19.662 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:12:19.680 ERROR [src.node.docker_mananger] Max retries reached for container 8edf06e4b1b4. Exiting log stream.
2025-12-08 12:12:20.231 ERROR [src.node.docker_mananger] Max retries reached for container 08c8466f0d4a. Exiting log stream.
2025-12-08 12:12:20.664 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:31926/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:20.667 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-08 12:12:20.668 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:12:20.668 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:31926/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:20.670 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.249.58/tcp/31927/p2p/16Uiu2HAmLu8wcUqkkqyCAR1VeeGgZXqDYjmMBzvfVrqMHf2kGndP","/ip4/172.18.249.58/tcp/31928/ws/p2p/16Uiu2HAmLu8wcUqkkqyCAR1VeeGgZXqDYjmMBzvfVrqMHf2kGndP"],"enrUri":"enr:-L24QOp6P24ZZHJ4vVNe0TIXj8VQmyvvo5YPi4wTiMgwIsVWP2jqVvleC-6pcZMHBJdddCYmFvPpHSPl2ugQwu76RFwCgmlkgnY0gmlwhKwS-TqKbXVsdGlhZGRyc5YACASsEvk6Bny3AAoErBL5OgZ8uN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDen1Xa3KYL4ITWsYpjkvY2cBc_53Xqy-1H3vaKmyllLqDdGNwgny3g3VkcIJ8uYV3YWt1MgM"}'
2025-12-08 12:12:20.670 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:12:20.677 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:12:20.677 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/store_node1_2025-12-08_12-12-19__aede1a24-3517-4521-95b1-d6126b3aef60__wakuorg_nwaku:latest.log
2025-12-08 12:12:20.677 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:12:20.677 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:12:20.679 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:12:20.679 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.87.245
2025-12-08 12:12:20.679 DEBUG [src.node.docker_mananger] Generated ports ['33679', '33680', '33681', '33682', '33683']
2025-12-08 12:12:20.679 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:12:20.679 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:12:20.679 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:12:20.679 DEBUG [src.node.docker_mananger] docker run -i -t -p 33679:33679 -p 33680:33680 -p 33681:33681 -p 33682:33682 -p 33683:33683 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=33681 --rest-port=33679 --tcp-port=33680 --discv5-udp-port=33682 --rest-address=0.0.0.0 --nat=extip:172.18.87.245 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=5ce2203ebd5d6461f61deacef8cf3d387efa5a3cf39a438053b6ac6eb22f7cb3 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=33683 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QOp6P24ZZHJ4vVNe0TIXj8VQmyvvo5YPi4wTiMgwIsVWP2jqVvleC-6pcZMHBJdddCYmFvPpHSPl2ugQwu76RFwCgmlkgnY0gmlwhKwS-TqKbXVsdGlhZGRyc5YACASsEvk6Bny3AAoErBL5OgZ8uN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDen1Xa3KYL4ITWsYpjkvY2cBc_53Xqy-1H3vaKmyllLqDdGNwgny3g3VkcIJ8uYV3YWt1MgM --storenode=/ip4/172.18.249.58/tcp/31927/p2p/16Uiu2HAmLu8wcUqkkqyCAR1VeeGgZXqDYjmMBzvfVrqMHf2kGndP --store=false --relay=false
2025-12-08 12:12:20.866 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.87.245 waku c4613240877c65a8cd81dad5202867e75ca9c4eafec988d7c7fe76ad2dd24262
2025-12-08 12:12:20.897 DEBUG [src.node.docker_mananger] Container started with ID c4613240877c. Setting up logs at ./log/docker/store_node1_2025-12-08_12-12-19__aede1a24-3517-4521-95b1-d6126b3aef60__wakuorg_nwaku:latest.log
2025-12-08 12:12:20.897 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 33679
2025-12-08 12:12:20.897 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:12:21.898 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:33679/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:21.902 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","protocolsHealth":[{"Relay":"NOT_MOUNTED"},{"Rln Relay":"NOT_MOUNTED"},{"Lightpush":"NOT_MOUNTED"},{"Legacy Lightpush":"NOT_MOUNTED"},{"Filter":"NOT_MOUNTED"},{"Store":"NOT_MOUNTED"},{"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-08 12:12:21.902 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:12:21.902 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:33679/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:21.904 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.87.245/tcp/33680/p2p/16Uiu2HAmThGrqFTf3Dwi1JnwamEuqvd5EcpBVC2dRj6N7jx5aQC4","/ip4/172.18.87.245/tcp/33681/ws/p2p/16Uiu2HAmThGrqFTf3Dwi1JnwamEuqvd5EcpBVC2dRj6N7jx5aQC4"],"enrUri":"enr:-L24QDqboY6CXDRNWHtnUPf5k8FSzOyIPZAa_WU_7Lpnd1DAbXljHcF0IbMhIb6sIxO81xezCYNEAb1KtKzQJapFb9kCgmlkgnY0gmlwhKwSV_WKbXVsdGlhZGRyc5YACASsElf1BoOQAAoErBJX9QaDkd0DgnJzhQADAQAAiXNlY3AyNTZrMaED33Uh-Pg7VwgkQBVoE7mDRlBJ6ZjPglqyHjLBcEY5zgWDdGNwgoOQg3VkcIKDkoV3YWt1MgA"}'
2025-12-08 12:12:21.905 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:12:21.905 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:33679/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.249.58/tcp/31927/p2p/16Uiu2HAmLu8wcUqkkqyCAR1VeeGgZXqDYjmMBzvfVrqMHf2kGndP"]'
2025-12-08 12:12:21.931 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:12:21.932 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31926/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2025-12-08 12:12:21.949 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:12:21.950 DEBUG [src.steps.store] Relaying message
2025-12-08 12:12:21.951 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31926/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-08 12:12:21.958 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:12:21.958 DEBUG [src.libs.common] Sleeping for 0.2 seconds
2025-12-08 12:12:22.159 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2025-12-08 12:12:22.159 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:31926/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:22.162 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x86b4a7f36023d99fc0871a799558d083a664350f4d6dae29b5f3bcfa10d365bc"}]}'
2025-12-08 12:12:22.163 DEBUG [src.steps.store] messages length is 1
2025-12-08 12:12:22.163 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2025-12-08 12:12:22.163 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:33679/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:22.171 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"eb37068160f4f1da9051","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x86b4a7f36023d99fc0871a799558d083a664350f4d6dae29b5f3bcfa10d365bc"}]}'
2025-12-08 12:12:22.172 DEBUG [src.steps.store] messages length is 1
2025-12-08 12:12:22.735 DEBUG [src.steps.store] Relaying message
2025-12-08 12:12:22.735 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31926/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-08 12:12:22.744 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:12:22.745 DEBUG [src.libs.common] Sleeping for 0.2 seconds
2025-12-08 12:12:23.141 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:33679/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:23.244 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:33679/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:23.249 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","protocolsHealth":[{"Relay":"NOT_MOUNTED"},{"Rln Relay":"NOT_MOUNTED"},{"Lightpush":"NOT_MOUNTED"},{"Legacy Lightpush":"NOT_MOUNTED"},{"Filter":"NOT_MOUNTED"},{"Store":"NOT_MOUNTED"},{"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-08 12:12:23.249 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:12:23.249 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:33679/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:23.251 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.87.245/tcp/33680/p2p/16Uiu2HAmThGrqFTf3Dwi1JnwamEuqvd5EcpBVC2dRj6N7jx5aQC4","/ip4/172.18.87.245/tcp/33681/ws/p2p/16Uiu2HAmThGrqFTf3Dwi1JnwamEuqvd5EcpBVC2dRj6N7jx5aQC4"],"enrUri":"enr:-L24QDqboY6CXDRNWHtnUPf5k8FSzOyIPZAa_WU_7Lpnd1DAbXljHcF0IbMhIb6sIxO81xezCYNEAb1KtKzQJapFb9kCgmlkgnY0gmlwhKwSV_WKbXVsdGlhZGRyc5YACASsElf1BoOQAAoErBJX9QaDkd0DgnJzhQADAQAAiXNlY3AyNTZrMaED33Uh-Pg7VwgkQBVoE7mDRlBJ6ZjPglqyHjLBcEY5zgWDdGNwgoOQg3VkcIKDkoV3YWt1MgA"}'
2025-12-08 12:12:23.252 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:12:23.252 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:31926/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:23.255 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x86b4a7f36023d99fc0871a799558d083a664350f4d6dae29b5f3bcfa10d365bc"},{"messageHash":"0xe4a9ac54ab5f9f4de828528a9692439911bdfadfe016667efc759651b0bafb3e"}]}'
2025-12-08 12:12:23.255 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:33679/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:23.290 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"a4a1c46472f8fae1b114","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x86b4a7f36023d99fc0871a799558d083a664350f4d6dae29b5f3bcfa10d365bc"},{"messageHash":"0xe4a9ac54ab5f9f4de828528a9692439911bdfadfe016667efc759651b0bafb3e"}]}'
2025-12-08 12:12:23.295 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-08 12:12:23.298 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-08 12:12:23.298 DEBUG [src.node.waku_node] Stopping container with id 9d35952710a8
2025-12-08 12:12:23.854 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:12:23.855 DEBUG [src.node.waku_node] Stopping container with id c4613240877c
2025-12-08 12:12:24.393 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:12:24.394 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-08 12:12:24.410 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-08 12:12:24.489 DEBUG [src.node.docker_mananger] No errors found in the waku logs.