80 lines
14 KiB
Plaintext

2025-12-08 12:14:48.296 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-08 12:14:48.297 DEBUG [tests.conftest] Running test: test_filter_get_message_with_ephemeral with id: 2025-12-08_12-14-48__b78efefa-b27a-40fd-ad8c-9e8bbb13d19b
2025-12-08 12:14:48.297 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-08 12:14:48.297 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2025-12-08 12:14:48.298 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2025-12-08 12:14:48.304 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:14:48.304 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-08_12-14-48__b78efefa-b27a-40fd-ad8c-9e8bbb13d19b__wakuorg_nwaku:latest.log
2025-12-08 12:14:48.304 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:14:48.304 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:14:48.306 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:14:48.306 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.197.109
2025-12-08 12:14:48.306 DEBUG [src.node.docker_mananger] Generated ports ['2882', '2883', '2884', '2885', '2886']
2025-12-08 12:14:48.306 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:14:48.306 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:14:48.306 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:14:48.306 DEBUG [src.node.docker_mananger] docker run -i -t -p 2882:2882 -p 2883:2883 -p 2884:2884 -p 2885:2885 -p 2886:2886 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=2884 --rest-port=2882 --tcp-port=2883 --discv5-udp-port=2885 --rest-address=0.0.0.0 --nat=extip:172.18.197.109 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=adea1dc0ed1faa38c163bd9c7b56f3efc68f031a51b0a08bd9bb020fce3cf723 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=2886 --metrics-logging=true --relay=true --filter=true
2025-12-08 12:14:48.461 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.197.109 waku 06fbed3806d08a56e5b7b69fc3b59c7a4d04e9e18baa0ff5d76606e3a932e960
2025-12-08 12:14:48.487 DEBUG [src.node.docker_mananger] Container started with ID 06fbed3806d0. Setting up logs at ./log/docker/node1_2025-12-08_12-14-48__b78efefa-b27a-40fd-ad8c-9e8bbb13d19b__wakuorg_nwaku:latest.log
2025-12-08 12:14:48.487 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 2882
2025-12-08 12:14:48.487 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:14:48.584 ERROR [src.node.docker_mananger] Max retries reached for container d12f9fc04222. Exiting log stream.
2025-12-08 12:14:49.488 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:2882/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:14:49.491 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-08 12:14:49.491 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:14:49.491 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:2882/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:14:49.494 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.197.109/tcp/2883/p2p/16Uiu2HAmLeWPwX6DTzVHGCreyqsNyQpJCBmXVWvCbqEjJhB3bFco","/ip4/172.18.197.109/tcp/2884/ws/p2p/16Uiu2HAmLeWPwX6DTzVHGCreyqsNyQpJCBmXVWvCbqEjJhB3bFco"],"enrUri":"enr:-L24QLKjViNy0k_BEG8NnkPuLSNPZ21RDDYftfsisk3O0YxnL3F6qQfxCzQHzvfS1LXslrHSM-fG47UHESakR02ZhkcCgmlkgnY0gmlwhKwSxW2KbXVsdGlhZGRyc5YACASsEsVtBgtDAAoErBLFbQYLRN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDdr3jK_F1r6Gchn2GjnlIswQHJhZGW07Q_LcGc2aAdESDdGNwggtDg3VkcIILRYV3YWt1MgU"}'
2025-12-08 12:14:49.494 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:14:49.494 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2025-12-08 12:14:49.500 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:14:49.500 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-08_12-14-48__b78efefa-b27a-40fd-ad8c-9e8bbb13d19b__wakuorg_nwaku:latest.log
2025-12-08 12:14:49.500 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:14:49.500 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:14:49.501 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:14:49.502 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.176.161
2025-12-08 12:14:49.502 DEBUG [src.node.docker_mananger] Generated ports ['26487', '26488', '26489', '26490', '26491']
2025-12-08 12:14:49.502 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:14:49.502 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:14:49.502 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:14:49.502 DEBUG [src.node.docker_mananger] docker run -i -t -p 26487:26487 -p 26488:26488 -p 26489:26489 -p 26490:26490 -p 26491:26491 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=26489 --rest-port=26487 --tcp-port=26488 --discv5-udp-port=26490 --rest-address=0.0.0.0 --nat=extip:172.18.176.161 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=aa58a4a6adc9444bd49daafbfc6bc5bbfebd53b51d47ef34dbcedf7d4bbcec9b --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=26491 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QLKjViNy0k_BEG8NnkPuLSNPZ21RDDYftfsisk3O0YxnL3F6qQfxCzQHzvfS1LXslrHSM-fG47UHESakR02ZhkcCgmlkgnY0gmlwhKwSxW2KbXVsdGlhZGRyc5YACASsEsVtBgtDAAoErBLFbQYLRN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDdr3jK_F1r6Gchn2GjnlIswQHJhZGW07Q_LcGc2aAdESDdGNwggtDg3VkcIILRYV3YWt1MgU --filternode=/ip4/172.18.197.109/tcp/2883/p2p/16Uiu2HAmLeWPwX6DTzVHGCreyqsNyQpJCBmXVWvCbqEjJhB3bFco
2025-12-08 12:14:49.663 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.176.161 waku 836d77ab2e5d16404eaa60451fa76599193a0af6cdcf20378dab481958eb9672
2025-12-08 12:14:49.688 DEBUG [src.node.docker_mananger] Container started with ID 836d77ab2e5d. Setting up logs at ./log/docker/node2_2025-12-08_12-14-48__b78efefa-b27a-40fd-ad8c-9e8bbb13d19b__wakuorg_nwaku:latest.log
2025-12-08 12:14:49.688 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 26487
2025-12-08 12:14:49.689 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:14:50.689 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:26487/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:14:50.693 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-08 12:14:50.693 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:14:50.693 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:26487/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:14:50.695 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.176.161/tcp/26488/p2p/16Uiu2HAm4fffRypDbvmmZjJebHF2uWnRg8qWhY5hjQG1FmoMsFvK","/ip4/172.18.176.161/tcp/26489/ws/p2p/16Uiu2HAm4fffRypDbvmmZjJebHF2uWnRg8qWhY5hjQG1FmoMsFvK"],"enrUri":"enr:-L24QPje2HvrLM-2gcxShXWGVfJFCyLUUjYoS7ytQwKnJ30ibyiwUSdKpDdXNJ-opdVwbL6fAMf-DU4Gh9J08xtkBTICgmlkgnY0gmlwhKwSsKGKbXVsdGlhZGRyc5YACASsErChBmd4AAoErBKwoQZned0DgnJzhQADAQAAiXNlY3AyNTZrMaECiU70qKtlWHE6uzgymtok9SPQiLzUGyOhoG5RO13l39yDdGNwgmd4g3VkcIJneoV3YWt1MgA"}'
2025-12-08 12:14:50.695 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:14:50.696 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:26487/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.197.109/tcp/2883/p2p/16Uiu2HAmLeWPwX6DTzVHGCreyqsNyQpJCBmXVWvCbqEjJhB3bFco"]'
2025-12-08 12:14:50.722 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:14:50.724 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2025-12-08 12:14:50.724 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:2882/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-08 12:14:50.735 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:14:50.736 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:26487/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "e820a918-bfd7-4542-8b67-f8c4f48053aa", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-08 12:14:50.747 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"e820a918-bfd7-4542-8b67-f8c4f48053aa","statusDesc":"OK"}'
2025-12-08 12:14:50.748 DEBUG [tests.filter.test_get_messages] Running test with Ephemeral True
2025-12-08 12:14:50.748 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:2882/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-08 12:14:50.754 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:14:50.754 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-08 12:14:50.855 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-08 12:14:50.855 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:26487/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:14:50.858 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":1765196090748457683,"ephemeral":true}]'
2025-12-08 12:14:50.859 DEBUG [tests.filter.test_get_messages] Running test with Ephemeral False
2025-12-08 12:14:50.860 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:2882/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-08 12:14:50.864 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:14:50.864 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-08 12:14:50.964 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-08 12:14:50.965 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:26487/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:14:50.968 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":1765196090860187568,"ephemeral":false}]'
2025-12-08 12:14:50.971 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-08 12:14:50.972 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-08 12:14:50.972 DEBUG [src.node.waku_node] Stopping container with id 06fbed3806d0
2025-12-08 12:14:51.467 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:14:51.467 DEBUG [src.node.waku_node] Stopping container with id 836d77ab2e5d
2025-12-08 12:14:51.925 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:14:51.928 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-08 12:14:51.933 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-08 12:14:51.937 DEBUG [src.node.docker_mananger] No errors found in the waku logs.