101 lines
18 KiB
Plaintext

2025-12-08 12:12:32.223 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-08 12:12:32.224 DEBUG [tests.conftest] Running test: test_message_relayed_while_store_node_is_paused with id: 2025-12-08_12-12-32__1e90d9f4-1339-453d-9f81-b911fe2a1db9
2025-12-08 12:12:32.227 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-08 12:12:32.227 DEBUG [src.steps.store] Running fixture setup: store_setup
2025-12-08 12:12:32.228 DEBUG [src.steps.store] Running fixture setup: node_setup
2025-12-08 12:12:32.236 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:12:32.236 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/publishing_node1_2025-12-08_12-12-32__1e90d9f4-1339-453d-9f81-b911fe2a1db9__wakuorg_nwaku:latest.log
2025-12-08 12:12:32.236 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:12:32.237 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:12:32.239 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:12:32.240 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.93.124
2025-12-08 12:12:32.240 DEBUG [src.node.docker_mananger] Generated ports ['28779', '28780', '28781', '28782', '28783']
2025-12-08 12:12:32.241 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:12:32.241 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:12:32.242 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:12:32.242 DEBUG [src.node.docker_mananger] docker run -i -t -p 28779:28779 -p 28780:28780 -p 28781:28781 -p 28782:28782 -p 28783:28783 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=28781 --rest-port=28779 --tcp-port=28780 --discv5-udp-port=28782 --rest-address=0.0.0.0 --nat=extip:172.18.93.124 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=28ade798691fda782880ee49b034480781ecba3c94aa23f59dee0cbfea8673b2 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=28783 --metrics-logging=true --store=true --relay=true
2025-12-08 12:12:32.375 ERROR [src.node.docker_mananger] Max retries reached for container c9028f883955. Exiting log stream.
2025-12-08 12:12:32.444 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.93.124 waku 1d32806e672bf381611bb494864f80817df54ca57101801224ed176077b77fe5
2025-12-08 12:12:32.475 DEBUG [src.node.docker_mananger] Container started with ID 1d32806e672b. Setting up logs at ./log/docker/publishing_node1_2025-12-08_12-12-32__1e90d9f4-1339-453d-9f81-b911fe2a1db9__wakuorg_nwaku:latest.log
2025-12-08 12:12:32.476 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 28779
2025-12-08 12:12:32.477 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:12:33.136 ERROR [src.node.docker_mananger] Max retries reached for container f8b5e789e7c0. Exiting log stream.
2025-12-08 12:12:33.478 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28779/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:33.481 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:33.482 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:12:33.482 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28779/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:33.484 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.93.124/tcp/28780/p2p/16Uiu2HAmF3SuNg6y3FkFQwMVkT9WsDzok8uCwCZxBQK1o8etnnGA","/ip4/172.18.93.124/tcp/28781/ws/p2p/16Uiu2HAmF3SuNg6y3FkFQwMVkT9WsDzok8uCwCZxBQK1o8etnnGA"],"enrUri":"enr:-L24QO6xdu_SRGo7x8eQLeIHjeXKE6aYVgmVraYEP4j58r40EtVEeasOo5XqxHj_NoLIIZgLylFQD9v_2hJaS2tOwFICgmlkgnY0gmlwhKwSXXyKbXVsdGlhZGRyc5YACASsEl18BnBsAAoErBJdfAZwbd0DgnJzhQADAQAAiXNlY3AyNTZrMaEDI3gs6SRhVYUCJa5W75rP4UCn3NOI98R5tRTmV6r-RNuDdGNwgnBsg3VkcIJwboV3YWt1MgM"}'
2025-12-08 12:12:33.484 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:12:33.492 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:12:33.492 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/store_node1_2025-12-08_12-12-32__1e90d9f4-1339-453d-9f81-b911fe2a1db9__wakuorg_nwaku:latest.log
2025-12-08 12:12:33.492 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:12:33.493 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:12:33.494 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:12:33.494 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.75.161
2025-12-08 12:12:33.494 DEBUG [src.node.docker_mananger] Generated ports ['29375', '29376', '29377', '29378', '29379']
2025-12-08 12:12:33.495 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:12:33.495 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:12:33.495 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:12:33.495 DEBUG [src.node.docker_mananger] docker run -i -t -p 29375:29375 -p 29376:29376 -p 29377:29377 -p 29378:29378 -p 29379:29379 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=29377 --rest-port=29375 --tcp-port=29376 --discv5-udp-port=29378 --rest-address=0.0.0.0 --nat=extip:172.18.75.161 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=d6f057ce4f70d750cb7313fe65583b1b7068eeafcced6a214de0dcd40e7a30d5 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=29379 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QO6xdu_SRGo7x8eQLeIHjeXKE6aYVgmVraYEP4j58r40EtVEeasOo5XqxHj_NoLIIZgLylFQD9v_2hJaS2tOwFICgmlkgnY0gmlwhKwSXXyKbXVsdGlhZGRyc5YACASsEl18BnBsAAoErBJdfAZwbd0DgnJzhQADAQAAiXNlY3AyNTZrMaEDI3gs6SRhVYUCJa5W75rP4UCn3NOI98R5tRTmV6r-RNuDdGNwgnBsg3VkcIJwboV3YWt1MgM --storenode=/ip4/172.18.93.124/tcp/28780/p2p/16Uiu2HAmF3SuNg6y3FkFQwMVkT9WsDzok8uCwCZxBQK1o8etnnGA --store=true --relay=true
2025-12-08 12:12:33.680 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.75.161 waku cc8fe9f83186cf337890cf6bc13cdcc148b57844e0d009a8e1ae429d6e870d74
2025-12-08 12:12:33.712 DEBUG [src.node.docker_mananger] Container started with ID cc8fe9f83186. Setting up logs at ./log/docker/store_node1_2025-12-08_12-12-32__1e90d9f4-1339-453d-9f81-b911fe2a1db9__wakuorg_nwaku:latest.log
2025-12-08 12:12:33.713 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 29375
2025-12-08 12:12:33.713 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:12:34.713 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:29375/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:34.718 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-08 12:12:34.718 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:12:34.718 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:29375/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:34.720 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.75.161/tcp/29376/p2p/16Uiu2HAmSbhXyyGBBca6CusyoKQ8vQ5rkYiAms8GibrfXTLyVRf2","/ip4/172.18.75.161/tcp/29377/ws/p2p/16Uiu2HAmSbhXyyGBBca6CusyoKQ8vQ5rkYiAms8GibrfXTLyVRf2"],"enrUri":"enr:-L24QDE1K8-q9YIOkTTQrR36H_kvioi5eLvNZvpiFSPTc7qMdGDSjSF_VAZLVW8wnrUWYnpQrW0-FSAhwzRNONCQmS8CgmlkgnY0gmlwhKwSS6GKbXVsdGlhZGRyc5YACASsEkuhBnLAAAoErBJLoQZywd0DgnJzhQADAQAAiXNlY3AyNTZrMaEDzyvcbU2lCGw0qrYZzAl7j5PZ4612qcLxasrrwsT6lD2DdGNwgnLAg3VkcIJywoV3YWt1MgM"}'
2025-12-08 12:12:34.721 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:12:34.721 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:29375/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.93.124/tcp/28780/p2p/16Uiu2HAmF3SuNg6y3FkFQwMVkT9WsDzok8uCwCZxBQK1o8etnnGA"]'
2025-12-08 12:12:34.724 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:12:34.724 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:28779/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2025-12-08 12:12:34.726 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:12:34.727 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:29375/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2025-12-08 12:12:34.729 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:12:34.730 DEBUG [src.steps.store] Relaying message
2025-12-08 12:12:34.730 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:28779/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:34.734 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:12:34.735 DEBUG [src.libs.common] Sleeping for 0.2 seconds
2025-12-08 12:12:34.935 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2025-12-08 12:12:34.936 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28779/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:34.939 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x14c2fc8208d7fa50ed27abec103457ba0fa13d50f386679035e50fdec2f368c4"}]}'
2025-12-08 12:12:34.939 DEBUG [src.steps.store] messages length is 1
2025-12-08 12:12:34.940 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2025-12-08 12:12:34.940 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:29375/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:34.943 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x14c2fc8208d7fa50ed27abec103457ba0fa13d50f386679035e50fdec2f368c4"}]}'
2025-12-08 12:12:34.943 DEBUG [src.steps.store] messages length is 1
2025-12-08 12:12:34.943 DEBUG [src.node.waku_node] Pausing container with id cc8fe9f83186
2025-12-08 12:12:34.953 DEBUG [src.steps.store] Relaying message
2025-12-08 12:12:34.953 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:28779/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:34.958 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:12:34.958 DEBUG [src.libs.common] Sleeping for 0.2 seconds
2025-12-08 12:12:35.158 DEBUG [src.node.waku_node] Unpause container with id cc8fe9f83186
2025-12-08 12:12:35.168 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:29375/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:35.172 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-08 12:12:35.172 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:12:35.172 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:29375/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:35.175 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.75.161/tcp/29376/p2p/16Uiu2HAmSbhXyyGBBca6CusyoKQ8vQ5rkYiAms8GibrfXTLyVRf2","/ip4/172.18.75.161/tcp/29377/ws/p2p/16Uiu2HAmSbhXyyGBBca6CusyoKQ8vQ5rkYiAms8GibrfXTLyVRf2"],"enrUri":"enr:-L24QDE1K8-q9YIOkTTQrR36H_kvioi5eLvNZvpiFSPTc7qMdGDSjSF_VAZLVW8wnrUWYnpQrW0-FSAhwzRNONCQmS8CgmlkgnY0gmlwhKwSS6GKbXVsdGlhZGRyc5YACASsEkuhBnLAAAoErBJLoQZywd0DgnJzhQADAQAAiXNlY3AyNTZrMaEDzyvcbU2lCGw0qrYZzAl7j5PZ4612qcLxasrrwsT6lD2DdGNwgnLAg3VkcIJywoV3YWt1MgM"}'
2025-12-08 12:12:35.175 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:12:35.175 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2025-12-08 12:12:35.175 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28779/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:35.178 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x14c2fc8208d7fa50ed27abec103457ba0fa13d50f386679035e50fdec2f368c4"},{"messageHash":"0x0c5b74f669008cabb2625c648e8f71c564e8c632b65e61bd1f050cfaaddb4037"}]}'
2025-12-08 12:12:35.178 DEBUG [src.steps.store] messages length is 2
2025-12-08 12:12:35.179 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2025-12-08 12:12:35.179 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:29375/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:35.181 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x14c2fc8208d7fa50ed27abec103457ba0fa13d50f386679035e50fdec2f368c4"},{"messageHash":"0x0c5b74f669008cabb2625c648e8f71c564e8c632b65e61bd1f050cfaaddb4037"}]}'
2025-12-08 12:12:35.181 DEBUG [src.steps.store] messages length is 2
2025-12-08 12:12:35.182 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28779/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:35.184 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x14c2fc8208d7fa50ed27abec103457ba0fa13d50f386679035e50fdec2f368c4"},{"messageHash":"0x0c5b74f669008cabb2625c648e8f71c564e8c632b65e61bd1f050cfaaddb4037"}]}'
2025-12-08 12:12:35.185 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:29375/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:35.187 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x14c2fc8208d7fa50ed27abec103457ba0fa13d50f386679035e50fdec2f368c4"},{"messageHash":"0x0c5b74f669008cabb2625c648e8f71c564e8c632b65e61bd1f050cfaaddb4037"}]}'
2025-12-08 12:12:35.189 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-08 12:12:35.190 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-08 12:12:35.190 DEBUG [src.node.waku_node] Stopping container with id 1d32806e672b
2025-12-08 12:12:35.756 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:12:35.758 DEBUG [src.node.waku_node] Stopping container with id cc8fe9f83186
2025-12-08 12:12:36.290 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:12:36.291 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-08 12:12:36.301 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-08 12:12:36.308 DEBUG [src.node.docker_mananger] No errors found in the waku logs.