79 lines
14 KiB
Plaintext

2025-12-11 04:17:33.151 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-11 04:17:33.151 DEBUG [tests.conftest] Running test: test_filter_get_message_with_ephemeral with id: 2025-12-11_04-17-33__c0f7984f-5dc5-44e1-9538-4a50910a8d4c
2025-12-11 04:17:33.151 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-11 04:17:33.152 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2025-12-11 04:17:33.152 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2025-12-11 04:17:33.158 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-11 04:17:33.159 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-11_04-17-33__c0f7984f-5dc5-44e1-9538-4a50910a8d4c__wakuorg_nwaku:latest.log
2025-12-11 04:17:33.159 DEBUG [src.node.waku_node] Starting Node...
2025-12-11 04:17:33.159 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-11 04:17:33.160 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-11 04:17:33.160 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.209.179
2025-12-11 04:17:33.160 DEBUG [src.node.docker_mananger] Generated ports ['11272', '11273', '11274', '11275', '11276']
2025-12-11 04:17:33.161 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-11 04:17:33.161 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-11 04:17:33.161 DEBUG [src.node.waku_node] Using volumes []
2025-12-11 04:17:33.161 DEBUG [src.node.docker_mananger] docker run -i -t -p 11272:11272 -p 11273:11273 -p 11274:11274 -p 11275:11275 -p 11276:11276 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=11274 --rest-port=11272 --tcp-port=11273 --discv5-udp-port=11275 --rest-address=0.0.0.0 --nat=extip:172.18.209.179 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=16a2f16ca6a0fcc898a9f0fe04e2bef5b92a0e7f67eeb4e0dfaa8cdb2d9dbbba --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=11276 --metrics-logging=true --relay=true --filter=true
2025-12-11 04:17:33.340 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.209.179 waku a24a89d11edfbd6cf6c15fb8a63bee6344172f6cd72e95705d1d50f8d812c33d
2025-12-11 04:17:33.369 DEBUG [src.node.docker_mananger] Container started with ID a24a89d11edf. Setting up logs at ./log/docker/node1_2025-12-11_04-17-33__c0f7984f-5dc5-44e1-9538-4a50910a8d4c__wakuorg_nwaku:latest.log
2025-12-11 04:17:33.370 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 11272
2025-12-11 04:17:33.370 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-11 04:17:34.370 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:11272/health" -H "Content-Type: application/json" -d 'None'
2025-12-11 04:17:34.373 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-11 04:17:34.374 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-11 04:17:34.374 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:11272/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-11 04:17:34.376 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.209.179/tcp/11273/p2p/16Uiu2HAmKGBCcRbgCxWsG4c6jiQFMLEvByo5BWDr3pNovn4CJJxi","/ip4/172.18.209.179/tcp/11274/ws/p2p/16Uiu2HAmKGBCcRbgCxWsG4c6jiQFMLEvByo5BWDr3pNovn4CJJxi"],"enrUri":"enr:-L24QAgu7fF-lAL4saZ2KsHfaj13qHJ2IGui7eTQ8Jp1SQG5I2sR6dEoiGSqJ7sC3cUy_I9aB2P0lz0Z-eo3UWRPqdoCgmlkgnY0gmlwhKwS0bOKbXVsdGlhZGRyc5YACASsEtGzBiwJAAoErBLRswYsCt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDYim36zgItP1pL84_onqPG1cVlZHWZLqT_5TEh-_EyvuDdGNwgiwJg3VkcIIsC4V3YWt1MgU"}'
2025-12-11 04:17:34.376 INFO [src.node.waku_node] REST service is ready !!
2025-12-11 04:17:34.376 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2025-12-11 04:17:34.383 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-11 04:17:34.383 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-11_04-17-33__c0f7984f-5dc5-44e1-9538-4a50910a8d4c__wakuorg_nwaku:latest.log
2025-12-11 04:17:34.383 DEBUG [src.node.waku_node] Starting Node...
2025-12-11 04:17:34.383 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-11 04:17:34.385 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-11 04:17:34.385 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.85.150
2025-12-11 04:17:34.385 DEBUG [src.node.docker_mananger] Generated ports ['29581', '29582', '29583', '29584', '29585']
2025-12-11 04:17:34.385 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-11 04:17:34.385 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-11 04:17:34.385 DEBUG [src.node.waku_node] Using volumes []
2025-12-11 04:17:34.385 DEBUG [src.node.docker_mananger] docker run -i -t -p 29581:29581 -p 29582:29582 -p 29583:29583 -p 29584:29584 -p 29585:29585 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=29583 --rest-port=29581 --tcp-port=29582 --discv5-udp-port=29584 --rest-address=0.0.0.0 --nat=extip:172.18.85.150 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=bb0dffbaf4ab8e4aec0cdeb5e5c79db7d870a4c6bfb500a75afabe895aaffdbf --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=29585 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QAgu7fF-lAL4saZ2KsHfaj13qHJ2IGui7eTQ8Jp1SQG5I2sR6dEoiGSqJ7sC3cUy_I9aB2P0lz0Z-eo3UWRPqdoCgmlkgnY0gmlwhKwS0bOKbXVsdGlhZGRyc5YACASsEtGzBiwJAAoErBLRswYsCt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDYim36zgItP1pL84_onqPG1cVlZHWZLqT_5TEh-_EyvuDdGNwgiwJg3VkcIIsC4V3YWt1MgU --filternode=/ip4/172.18.209.179/tcp/11273/p2p/16Uiu2HAmKGBCcRbgCxWsG4c6jiQFMLEvByo5BWDr3pNovn4CJJxi
2025-12-11 04:17:34.560 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.85.150 waku ea01469f128bec138e72fc15a2012c3f773dd66a33b43ff6ed335f31d419a512
2025-12-11 04:17:34.588 DEBUG [src.node.docker_mananger] Container started with ID ea01469f128b. Setting up logs at ./log/docker/node2_2025-12-11_04-17-33__c0f7984f-5dc5-44e1-9538-4a50910a8d4c__wakuorg_nwaku:latest.log
2025-12-11 04:17:34.588 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 29581
2025-12-11 04:17:34.589 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-11 04:17:35.589 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:29581/health" -H "Content-Type: application/json" -d 'None'
2025-12-11 04:17:35.593 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-11 04:17:35.593 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-11 04:17:35.593 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:29581/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-11 04:17:35.596 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.85.150/tcp/29582/p2p/16Uiu2HAm5L96RxrB7h4gTNnFNXooX25XTvXc4W7zRwHrzzBgLAU3","/ip4/172.18.85.150/tcp/29583/ws/p2p/16Uiu2HAm5L96RxrB7h4gTNnFNXooX25XTvXc4W7zRwHrzzBgLAU3"],"enrUri":"enr:-L24QCqdIFGwD1IxO3MKmDpJs-kBEGu9Y50yD8Z9WiZAa0qUU1G-yVRE4tuFiuh_RnP2PtVXB3wENgMeZ3eeHSDG6fICgmlkgnY0gmlwhKwSVZaKbXVsdGlhZGRyc5YACASsElWWBnOOAAoErBJVlgZzj90DgnJzhQADAQAAiXNlY3AyNTZrMaECkyoK9W7xGXel39kRaQaQsrfOtRAs0k3Tfb3RECwM1syDdGNwgnOOg3VkcIJzkIV3YWt1MgA"}'
2025-12-11 04:17:35.596 INFO [src.node.waku_node] REST service is ready !!
2025-12-11 04:17:35.596 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:29581/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.209.179/tcp/11273/p2p/16Uiu2HAmKGBCcRbgCxWsG4c6jiQFMLEvByo5BWDr3pNovn4CJJxi"]'
2025-12-11 04:17:35.624 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-11 04:17:35.625 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2025-12-11 04:17:35.625 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:11272/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-11 04:17:35.638 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-11 04:17:35.640 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:29581/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "c11090d0-e31b-47cc-937b-d473a221831e", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-11 04:17:35.650 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"c11090d0-e31b-47cc-937b-d473a221831e","statusDesc":"OK"}'
2025-12-11 04:17:35.652 DEBUG [tests.filter.test_get_messages] Running test with Ephemeral True
2025-12-11 04:17:35.653 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:11272/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-11 04:17:35.659 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-11 04:17:35.660 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-11 04:17:35.760 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-11 04:17:35.760 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:29581/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-11 04:17:35.763 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":1765426655653024911,"ephemeral":true}]'
2025-12-11 04:17:35.764 DEBUG [tests.filter.test_get_messages] Running test with Ephemeral False
2025-12-11 04:17:35.765 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:11272/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-11 04:17:35.769 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-11 04:17:35.769 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-11 04:17:35.869 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-11 04:17:35.870 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:29581/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-11 04:17:35.872 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":1765426655765061626,"ephemeral":false}]'
2025-12-11 04:17:35.875 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-11 04:17:35.876 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-11 04:17:35.876 DEBUG [src.node.waku_node] Stopping container with id a24a89d11edf
2025-12-11 04:17:36.399 DEBUG [src.node.waku_node] Container stopped.
2025-12-11 04:17:36.399 DEBUG [src.node.waku_node] Stopping container with id ea01469f128b
2025-12-11 04:17:36.918 DEBUG [src.node.waku_node] Container stopped.
2025-12-11 04:17:36.919 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-11 04:17:36.927 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-11 04:17:36.932 DEBUG [src.node.docker_mananger] No errors found in the waku logs.