2026-02-25 15:39:14 +00:00

81 lines
14 KiB
Plaintext

2026-02-25 15:24:32.253 DEBUG [tests.conftest] Running fixture setup: test_id
2026-02-25 15:24:32.253 DEBUG [tests.conftest] Running test: test_get_store_duplicate_messages with id: 2026-02-25_15-24-32__b9f545ac-e813-4c94-8d32-cdf80ba397f8
2026-02-25 15:24:32.253 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-02-25 15:24:32.254 DEBUG [src.steps.store] Running fixture setup: store_setup
2026-02-25 15:24:32.254 DEBUG [src.steps.store] Running fixture setup: node_setup
2026-02-25 15:24:32.262 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-25 15:24:32.262 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/publishing_node1_2026-02-25_15-24-32__b9f545ac-e813-4c94-8d32-cdf80ba397f8__wakuorg_nwaku:latest.log
2026-02-25 15:24:32.262 DEBUG [src.node.waku_node] Starting Node...
2026-02-25 15:24:32.262 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-25 15:24:32.264 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-25 15:24:32.264 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.67.157
2026-02-25 15:24:32.265 DEBUG [src.node.docker_mananger] Generated ports ['56107', '56108', '56109', '56110', '56111']
2026-02-25 15:24:32.265 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-25 15:24:32.265 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-25 15:24:32.265 DEBUG [src.node.waku_node] Using volumes []
2026-02-25 15:24:32.265 DEBUG [src.node.docker_mananger] docker run -i -t -p 56107:56107 -p 56108:56108 -p 56109:56109 -p 56110:56110 -p 56111:56111 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=56109 --rest-port=56107 --tcp-port=56108 --discv5-udp-port=56110 --rest-address=0.0.0.0 --nat=extip:172.18.67.157 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=7d9cf3049bb2bbef4f1bef1760a1b3e6d6f7aa0dabdc04fa9b19d5bb37847dff --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=56111 --metrics-logging=true --store=true --relay=true
2026-02-25 15:24:32.458 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.67.157 waku 231b12838c3aeefdbab94309d520405a0b13eaf88c1c414f481a850ae16b0959
2026-02-25 15:24:32.491 ERROR [src.node.docker_mananger] Max retries reached for container 50f437f87f77. Exiting log stream.
2026-02-25 15:24:32.495 DEBUG [src.node.docker_mananger] Container started with ID 231b12838c3a. Setting up logs at ./log/docker/publishing_node1_2026-02-25_15-24-32__b9f545ac-e813-4c94-8d32-cdf80ba397f8__wakuorg_nwaku:latest.log
2026-02-25 15:24:32.497 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 56107
2026-02-25 15:24:32.498 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-25 15:24:33.057 ERROR [src.node.docker_mananger] Max retries reached for container d28393a23c14. Exiting log stream.
2026-02-25 15:24:33.500 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:56107/health" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:24:33.503 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"},{"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"},{"Rln Relay":"NOT_MOUNTED"}]}'
2026-02-25 15:24:33.503 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-25 15:24:33.504 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:56107/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:24:33.506 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.67.157/tcp/56108/p2p/16Uiu2HAkyky3FJPBPjZRbYmpjd5FhQxGKqF2supzEqSnHu41TMte","/ip4/172.18.67.157/tcp/56109/ws/p2p/16Uiu2HAkyky3FJPBPjZRbYmpjd5FhQxGKqF2supzEqSnHu41TMte"],"enrUri":"enr:-L24QNjdObfcQl9E0FYyZGyhHner3EeC4kNL_hURoH73STc8AmmP7VihbJ0ptmtLsBGW_MGzk6N5x-nLZAtNYGX-ZGkCgmlkgnY0gmlwhKwSQ52KbXVsdGlhZGRyc5YACASsEkOdBtssAAoErBJDnQbbLd0DgnJzhQADAQAAiXNlY3AyNTZrMaECQGAShu-esaFRqoEWtiZIbpc7_Lz8p0P7ZrjHizdyd3ODdGNwgtssg3VkcILbLoV3YWt1MgM"}'
2026-02-25 15:24:33.507 INFO [src.node.waku_node] REST service is ready !!
2026-02-25 15:24:33.514 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-25 15:24:33.514 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/store_node1_2026-02-25_15-24-32__b9f545ac-e813-4c94-8d32-cdf80ba397f8__wakuorg_nwaku:latest.log
2026-02-25 15:24:33.515 DEBUG [src.node.waku_node] Starting Node...
2026-02-25 15:24:33.515 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-25 15:24:33.516 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-25 15:24:33.516 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.0.200
2026-02-25 15:24:33.516 DEBUG [src.node.docker_mananger] Generated ports ['42824', '42825', '42826', '42827', '42828']
2026-02-25 15:24:33.516 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-25 15:24:33.517 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-25 15:24:33.517 DEBUG [src.node.waku_node] Using volumes []
2026-02-25 15:24:33.517 DEBUG [src.node.docker_mananger] docker run -i -t -p 42824:42824 -p 42825:42825 -p 42826:42826 -p 42827:42827 -p 42828:42828 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=42826 --rest-port=42824 --tcp-port=42825 --discv5-udp-port=42827 --rest-address=0.0.0.0 --nat=extip:172.18.0.200 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=e877bbbc4dcab8d9e5173a803d1f7e3c7bdf8d8fad7eee3009f2bc3eeb067e0b --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=42828 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QNjdObfcQl9E0FYyZGyhHner3EeC4kNL_hURoH73STc8AmmP7VihbJ0ptmtLsBGW_MGzk6N5x-nLZAtNYGX-ZGkCgmlkgnY0gmlwhKwSQ52KbXVsdGlhZGRyc5YACASsEkOdBtssAAoErBJDnQbbLd0DgnJzhQADAQAAiXNlY3AyNTZrMaECQGAShu-esaFRqoEWtiZIbpc7_Lz8p0P7ZrjHizdyd3ODdGNwgtssg3VkcILbLoV3YWt1MgM --storenode=/ip4/172.18.67.157/tcp/56108/p2p/16Uiu2HAkyky3FJPBPjZRbYmpjd5FhQxGKqF2supzEqSnHu41TMte --store=true --relay=true
2026-02-25 15:24:33.709 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.0.200 waku b7f78c20eb78f31fa286db632c753ef13c7cbb77537b777111ff0f9e90a7a02d
2026-02-25 15:24:33.740 DEBUG [src.node.docker_mananger] Container started with ID b7f78c20eb78. Setting up logs at ./log/docker/store_node1_2026-02-25_15-24-32__b9f545ac-e813-4c94-8d32-cdf80ba397f8__wakuorg_nwaku:latest.log
2026-02-25 15:24:33.741 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 42824
2026-02-25 15:24:33.742 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-25 15:24:34.743 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:42824/health" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:24:34.746 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"},{"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"},{"Rln Relay":"NOT_MOUNTED"}]}'
2026-02-25 15:24:34.746 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-25 15:24:34.746 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:42824/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:24:34.749 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.0.200/tcp/42825/p2p/16Uiu2HAmKu2fApsun3zTkxurGDKWgGVoxPvqNDbp3mJs9tJHXh8N","/ip4/172.18.0.200/tcp/42826/ws/p2p/16Uiu2HAmKu2fApsun3zTkxurGDKWgGVoxPvqNDbp3mJs9tJHXh8N"],"enrUri":"enr:-L24QLa1m2binewMgNYHkPmkLSk6JJVQveNdo2vh_rUp-tjzJTZVmsMpSyM1L8FE1cOiqod3eVN9chs27jGk4TZ2KioCgmlkgnY0gmlwhKwSAMiKbXVsdGlhZGRyc5YACASsEgDIBqdJAAoErBIAyAanSt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDa5qMv04aodMAz7QvvUvPyTPm3CQLtQjAq-y9XnGyb1uDdGNwgqdJg3VkcIKnS4V3YWt1MgM"}'
2026-02-25 15:24:34.750 INFO [src.node.waku_node] REST service is ready !!
2026-02-25 15:24:34.750 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:42824/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.67.157/tcp/56108/p2p/16Uiu2HAkyky3FJPBPjZRbYmpjd5FhQxGKqF2supzEqSnHu41TMte"]'
2026-02-25 15:24:34.753 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 15:24:34.754 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:56107/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2026-02-25 15:24:34.756 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 15:24:34.757 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:42824/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2026-02-25 15:24:34.759 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 15:24:34.760 DEBUG [src.steps.store] Relaying message
2026-02-25 15:24:34.761 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:56107/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-02-25 15:24:34.767 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 15:24:34.767 DEBUG [src.libs.common] Sleeping for 0.2 seconds
2026-02-25 15:24:34.968 DEBUG [src.steps.store] Relaying message
2026-02-25 15:24:34.968 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:56107/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-02-25 15:24:34.972 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 15:24:34.973 DEBUG [src.libs.common] Sleeping for 0.2 seconds
2026-02-25 15:24:35.173 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2026-02-25 15:24:35.174 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:56107/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:24:35.177 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x6cfb971f7a0f7b570454981a9c5aab0c4f125cca4a3687bb604128439b8e6837"}]}'
2026-02-25 15:24:35.177 DEBUG [src.steps.store] messages length is 1
2026-02-25 15:24:35.178 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2026-02-25 15:24:35.178 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:42824/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:24:35.181 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x6cfb971f7a0f7b570454981a9c5aab0c4f125cca4a3687bb604128439b8e6837"}]}'
2026-02-25 15:24:35.181 DEBUG [src.steps.store] messages length is 1
2026-02-25 15:24:35.183 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-02-25 15:24:35.184 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-02-25 15:24:35.184 DEBUG [src.node.waku_node] Stopping container with id 231b12838c3a
2026-02-25 15:24:35.771 DEBUG [src.node.waku_node] Container stopped.
2026-02-25 15:24:35.772 DEBUG [src.node.waku_node] Stopping container with id b7f78c20eb78
2026-02-25 15:24:36.345 DEBUG [src.node.waku_node] Container stopped.
2026-02-25 15:24:36.347 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-02-25 15:24:36.353 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-25 15:24:36.358 DEBUG [src.node.docker_mananger] No errors found in the waku logs.