80 lines
14 KiB
Plaintext

2025-12-10 04:15:00.973 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-10 04:15:00.974 DEBUG [tests.conftest] Running test: test_filter_get_message_with_ephemeral with id: 2025-12-10_04-15-00__62e81cd4-b7d1-4f76-a332-e580e25635e9
2025-12-10 04:15:00.974 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-10 04:15:00.974 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2025-12-10 04:15:00.974 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2025-12-10 04:15:00.980 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-10 04:15:00.980 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-10_04-15-00__62e81cd4-b7d1-4f76-a332-e580e25635e9__wakuorg_nwaku:latest.log
2025-12-10 04:15:00.981 DEBUG [src.node.waku_node] Starting Node...
2025-12-10 04:15:00.981 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-10 04:15:00.982 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-10 04:15:00.982 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.208.254
2025-12-10 04:15:00.982 DEBUG [src.node.docker_mananger] Generated ports ['21436', '21437', '21438', '21439', '21440']
2025-12-10 04:15:00.983 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-10 04:15:00.983 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-10 04:15:00.983 DEBUG [src.node.waku_node] Using volumes []
2025-12-10 04:15:00.983 DEBUG [src.node.docker_mananger] docker run -i -t -p 21436:21436 -p 21437:21437 -p 21438:21438 -p 21439:21439 -p 21440:21440 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=21438 --rest-port=21436 --tcp-port=21437 --discv5-udp-port=21439 --rest-address=0.0.0.0 --nat=extip:172.18.208.254 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=03aa5aceb0708eff2f6bee4b97b4064592e9065cabe8f143ebf1ccba909d3880 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=21440 --metrics-logging=true --relay=true --filter=true
2025-12-10 04:15:01.134 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.208.254 waku 5ae2e097fb5f608a554b672f97426ff7cd9b86e2dc65e7edbf4c41b9f175ebbb
2025-12-10 04:15:01.159 DEBUG [src.node.docker_mananger] Container started with ID 5ae2e097fb5f. Setting up logs at ./log/docker/node1_2025-12-10_04-15-00__62e81cd4-b7d1-4f76-a332-e580e25635e9__wakuorg_nwaku:latest.log
2025-12-10 04:15:01.159 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 21436
2025-12-10 04:15:01.159 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-10 04:15:01.322 ERROR [src.node.docker_mananger] Max retries reached for container 4ad18c41f3d6. Exiting log stream.
2025-12-10 04:15:02.160 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:21436/health" -H "Content-Type: application/json" -d 'None'
2025-12-10 04:15:02.163 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_READY","desc":"Relay is not ready, filter will not be able to sort out messages"},{"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":"NOT_READY","desc":"No Store service peer available yet, neither Store service set up for the node"},{"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-10 04:15:02.163 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-10 04:15:02.164 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:21436/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-10 04:15:02.166 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.208.254/tcp/21437/p2p/16Uiu2HAmL3ueudoRr3p3s1HhtSersiD12aye2VV95UQjxyhUrz63","/ip4/172.18.208.254/tcp/21438/ws/p2p/16Uiu2HAmL3ueudoRr3p3s1HhtSersiD12aye2VV95UQjxyhUrz63"],"enrUri":"enr:-L24QDAKbHmjOInijCqv7G6dijo_5shB1iFgRPc1eDjeceWjdbFG3qPAVH-DNl5Z7F2_AEGwA7dgUD5oS5c7Ev7Zaj4CgmlkgnY0gmlwhKwS0P6KbXVsdGlhZGRyc5YACASsEtD-BlO9AAoErBLQ_gZTvt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDbeDbZ0WJVnT2AS9xZA00PO-ZCpXyPjTp9J4PD3Z1PQCDdGNwglO9g3VkcIJTv4V3YWt1MgU"}'
2025-12-10 04:15:02.166 INFO [src.node.waku_node] REST service is ready !!
2025-12-10 04:15:02.167 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2025-12-10 04:15:02.172 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-10 04:15:02.173 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-10_04-15-00__62e81cd4-b7d1-4f76-a332-e580e25635e9__wakuorg_nwaku:latest.log
2025-12-10 04:15:02.173 DEBUG [src.node.waku_node] Starting Node...
2025-12-10 04:15:02.173 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-10 04:15:02.174 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-10 04:15:02.174 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.102.78
2025-12-10 04:15:02.174 DEBUG [src.node.docker_mananger] Generated ports ['49308', '49309', '49310', '49311', '49312']
2025-12-10 04:15:02.174 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-10 04:15:02.174 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-10 04:15:02.174 DEBUG [src.node.waku_node] Using volumes []
2025-12-10 04:15:02.175 DEBUG [src.node.docker_mananger] docker run -i -t -p 49308:49308 -p 49309:49309 -p 49310:49310 -p 49311:49311 -p 49312:49312 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=49310 --rest-port=49308 --tcp-port=49309 --discv5-udp-port=49311 --rest-address=0.0.0.0 --nat=extip:172.18.102.78 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=79bceffec16cdfa5afb9ca2e9bd74f83c301aaed2b7a30aa877fd24db926793b --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=49312 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QDAKbHmjOInijCqv7G6dijo_5shB1iFgRPc1eDjeceWjdbFG3qPAVH-DNl5Z7F2_AEGwA7dgUD5oS5c7Ev7Zaj4CgmlkgnY0gmlwhKwS0P6KbXVsdGlhZGRyc5YACASsEtD-BlO9AAoErBLQ_gZTvt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDbeDbZ0WJVnT2AS9xZA00PO-ZCpXyPjTp9J4PD3Z1PQCDdGNwglO9g3VkcIJTv4V3YWt1MgU --filternode=/ip4/172.18.208.254/tcp/21437/p2p/16Uiu2HAmL3ueudoRr3p3s1HhtSersiD12aye2VV95UQjxyhUrz63
2025-12-10 04:15:02.338 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.102.78 waku 5fe9d203559f3b350cb183e2f7fa11e9f594d1338cc8a8de10f8faef216caec9
2025-12-10 04:15:02.362 DEBUG [src.node.docker_mananger] Container started with ID 5fe9d203559f. Setting up logs at ./log/docker/node2_2025-12-10_04-15-00__62e81cd4-b7d1-4f76-a332-e580e25635e9__wakuorg_nwaku:latest.log
2025-12-10 04:15:02.363 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 49308
2025-12-10 04:15:02.363 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-10 04:15:03.363 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:49308/health" -H "Content-Type: application/json" -d 'None'
2025-12-10 04:15:03.367 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":"NOT_READY","desc":"No Store service peer available yet, neither Store service set up for the node"},{"Legacy Store Client":"NOT_READY","desc":"No Legacy Store service peers are available yet, neither Store service set up for the node"},{"Filter Client":"READY"}]}'
2025-12-10 04:15:03.367 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-10 04:15:03.367 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:49308/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-10 04:15:03.369 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.102.78/tcp/49309/p2p/16Uiu2HAm7sKNkMkCcmpTxjx3RKvM2WVPFzw81bo5LqKhq57mVxTM","/ip4/172.18.102.78/tcp/49310/ws/p2p/16Uiu2HAm7sKNkMkCcmpTxjx3RKvM2WVPFzw81bo5LqKhq57mVxTM"],"enrUri":"enr:-L24QI3nsH6Y6BXNcjI3OGoFPXFrWD5Gs8-hb9Cb0_qk8o1MYovNoNnKeoSqBPrC-s2MGQ37OGvi1DcHjb7t2mPVJskCgmlkgnY0gmlwhKwSZk6KbXVsdGlhZGRyc5YACASsEmZOBsCdAAoErBJmTgbAnt0DgnJzhQADAQAAiXNlY3AyNTZrMaECuN4MAD1ncNhE1wDeqeb6UP87tkBwHl95E8JnVJF2upSDdGNwgsCdg3VkcILAn4V3YWt1MgA"}'
2025-12-10 04:15:03.370 INFO [src.node.waku_node] REST service is ready !!
2025-12-10 04:15:03.370 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:49308/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.208.254/tcp/21437/p2p/16Uiu2HAmL3ueudoRr3p3s1HhtSersiD12aye2VV95UQjxyhUrz63"]'
2025-12-10 04:15:03.394 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-10 04:15:03.395 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2025-12-10 04:15:03.396 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:21436/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-10 04:15:03.409 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-10 04:15:03.409 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:49308/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "092f3f10-8017-4725-9360-4afef7ab9627", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-10 04:15:03.420 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"092f3f10-8017-4725-9360-4afef7ab9627","statusDesc":"OK"}'
2025-12-10 04:15:03.421 DEBUG [tests.filter.test_get_messages] Running test with Ephemeral True
2025-12-10 04:15:03.422 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:21436/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "RmlsdGVyIHdvcmtzISE=", "contentTopic": "/test/1/waku-filter/proto", "timestamp": '$(date +%s%N)', "ephemeral": true}'
2025-12-10 04:15:03.428 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-10 04:15:03.428 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-10 04:15:03.528 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-10 04:15:03.529 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:49308/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-10 04:15:03.532 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"RmlsdGVyIHdvcmtzISE=","contentTopic":"/test/1/waku-filter/proto","version":0,"timestamp":1765340103421885483,"ephemeral":true}]'
2025-12-10 04:15:03.533 DEBUG [tests.filter.test_get_messages] Running test with Ephemeral False
2025-12-10 04:15:03.534 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:21436/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "RmlsdGVyIHdvcmtzISE=", "contentTopic": "/test/1/waku-filter/proto", "timestamp": '$(date +%s%N)', "ephemeral": false}'
2025-12-10 04:15:03.538 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-10 04:15:03.538 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-10 04:15:03.638 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-10 04:15:03.639 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:49308/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-10 04:15:03.641 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"RmlsdGVyIHdvcmtzISE=","contentTopic":"/test/1/waku-filter/proto","version":0,"timestamp":1765340103533895442,"ephemeral":false}]'
2025-12-10 04:15:03.644 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-10 04:15:03.645 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-10 04:15:03.645 DEBUG [src.node.waku_node] Stopping container with id 5ae2e097fb5f
2025-12-10 04:15:04.193 DEBUG [src.node.waku_node] Container stopped.
2025-12-10 04:15:04.195 DEBUG [src.node.waku_node] Stopping container with id 5fe9d203559f
2025-12-10 04:15:04.670 DEBUG [src.node.waku_node] Container stopped.
2025-12-10 04:15:04.671 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-10 04:15:04.676 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-10 04:15:04.682 DEBUG [src.node.docker_mananger] No errors found in the waku logs.