84 lines
15 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

DEBUG  tests.conftest:conftest.py:51 Running fixture setup: test_id
DEBUG  tests.conftest:conftest.py:57 Running test: test_filter_unsubscribe_from_all_subscribed_content_topics with id: 2025-12-11_04-13-51__f4b70b32-b7a6-4dad-99da-6009fa529252
DEBUG  src.steps.common:common.py:19 Running fixture setup: common_setup
DEBUG  src.steps.filter:filter.py:28 Running fixture setup: filter_setup
DEBUG  src.steps.filter:filter.py:34 Running fixture setup: setup_main_relay_node
DEBUG  src.node.docker_mananger:docker_mananger.py:19 Docker client initialized with image wakuorg/nwaku:latest
DEBUG  src.node.waku_node:waku_node.py:86 WakuNode instance initialized with log path ./log/docker/node1_2025-12-11_04-13-51__f4b70b32-b7a6-4dad-99da-6009fa529252__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:90 Starting Node...
DEBUG  src.node.docker_mananger:docker_mananger.py:22 Attempting to create or retrieve network waku
DEBUG  src.node.docker_mananger:docker_mananger.py:25 Network waku already exists
DEBUG  src.node.docker_mananger:docker_mananger.py:108 Generated random external IP 172.18.82.138
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['49575', '49576', '49577', '49578', '49579']
DEBUG  src.node.waku_node:waku_node.py:439 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:176 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:178 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 49575:49575 -p 49576:49576 -p 49577:49577 -p 49578:49578 -p 49579:49579 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=49577 --rest-port=49575 --tcp-port=49576 --discv5-udp-port=49578 --rest-address=0.0.0.0 --nat=extip:172.18.82.138 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=b42bffc80b4e8639ad1afcdb223ef2bcfe3b0b54443adc7cde6010d5d1de45cb --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=49579 --metrics-logging=true --relay=true --filter=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.82.138 waku 5348a620d1c60dc8a535f21c7f584733590149e04575225ae896f900a4d3d525
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 3e1f8604cb47. Exiting log stream.
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 5348a620d1c6. Setting up logs at ./log/docker/node1_2025-12-11_04-13-51__f4b70b32-b7a6-4dad-99da-6009fa529252__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 49575
DEBUG  src.libs.common:common.py:47 Sleeping for 1 seconds
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container d02bf9bc37ff. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:49575/health" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 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"}]}'
INFO  src.node.waku_node:waku_node.py:287 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:49575/debug/v1/info" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.82.138/tcp/49576/p2p/16Uiu2HAmKxAeDcprDgysfRbBdcJwkD47iXk3hgWwvjrugKrMr3A5","/ip4/172.18.82.138/tcp/49577/ws/p2p/16Uiu2HAmKxAeDcprDgysfRbBdcJwkD47iXk3hgWwvjrugKrMr3A5"],"enrUri":"enr:-L24QDHiJZ_zXovZrrsnN-pB8wpIabdsSyav78GRt9TaBYMzX0aVd6wCP9OrWc3ZPR_RudaTdTiRnKlsKZJAlJYFNo0CgmlkgnY0gmlwhKwSUoqKbXVsdGlhZGRyc5YACASsElKKBsGoAAoErBJSigbBqd0DgnJzhQADAQAAiXNlY3AyNTZrMaEDbGhRvTx7EWsZcnvRyB5L1NKS_fAHuxJ3PjyAcnxx7t6DdGNwgsGog3VkcILBqoV3YWt1MgU"}'
INFO  src.node.waku_node:waku_node.py:292 REST service is ready !!
DEBUG  src.steps.filter:filter.py:39 Running fixture setup: setup_main_filter_node
DEBUG  src.node.docker_mananger:docker_mananger.py:19 Docker client initialized with image wakuorg/nwaku:latest
DEBUG  src.node.waku_node:waku_node.py:86 WakuNode instance initialized with log path ./log/docker/node2_2025-12-11_04-13-51__f4b70b32-b7a6-4dad-99da-6009fa529252__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:90 Starting Node...
DEBUG  src.node.docker_mananger:docker_mananger.py:22 Attempting to create or retrieve network waku
DEBUG  src.node.docker_mananger:docker_mananger.py:25 Network waku already exists
DEBUG  src.node.docker_mananger:docker_mananger.py:108 Generated random external IP 172.18.31.131
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['29554', '29555', '29556', '29557', '29558']
DEBUG  src.node.waku_node:waku_node.py:439 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:176 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:178 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 29554:29554 -p 29555:29555 -p 29556:29556 -p 29557:29557 -p 29558:29558 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=29556 --rest-port=29554 --tcp-port=29555 --discv5-udp-port=29557 --rest-address=0.0.0.0 --nat=extip:172.18.31.131 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=649e6fd23c52b3cd1828a6eebd496ddd4ea78ffa1728200ac6e33f13f0eac3f1 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=29558 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QDHiJZ_zXovZrrsnN-pB8wpIabdsSyav78GRt9TaBYMzX0aVd6wCP9OrWc3ZPR_RudaTdTiRnKlsKZJAlJYFNo0CgmlkgnY0gmlwhKwSUoqKbXVsdGlhZGRyc5YACASsElKKBsGoAAoErBJSigbBqd0DgnJzhQADAQAAiXNlY3AyNTZrMaEDbGhRvTx7EWsZcnvRyB5L1NKS_fAHuxJ3PjyAcnxx7t6DdGNwgsGog3VkcILBqoV3YWt1MgU --filternode=/ip4/172.18.82.138/tcp/49576/p2p/16Uiu2HAmKxAeDcprDgysfRbBdcJwkD47iXk3hgWwvjrugKrMr3A5
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.31.131 waku ce6e40811b4d1f08ea047ad93da2b55dd77a933888b9cf6e31f6768329571c85
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID ce6e40811b4d. Setting up logs at ./log/docker/node2_2025-12-11_04-13-51__f4b70b32-b7a6-4dad-99da-6009fa529252__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 29554
DEBUG  src.libs.common:common.py:47 Sleeping for 1 seconds
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:29554/health" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 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"}]}'
INFO  src.node.waku_node:waku_node.py:287 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:29554/debug/v1/info" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.31.131/tcp/29555/p2p/16Uiu2HAmC5RHb99gapyuMDbyuN6rf51xoSJxkDomWGUxJM6DgUE7","/ip4/172.18.31.131/tcp/29556/ws/p2p/16Uiu2HAmC5RHb99gapyuMDbyuN6rf51xoSJxkDomWGUxJM6DgUE7"],"enrUri":"enr:-L24QDp5AdUodLVyiHb8hBILLIoM4UaOu6fzkSHpbuv08hRqdgLRT0vX50UpQSznzEWtopQDCRhQjYJLMsxOje7Is_MCgmlkgnY0gmlwhKwSH4OKbXVsdGlhZGRyc5YACASsEh-DBnNzAAoErBIfgwZzdN0DgnJzhQADAQAAiXNlY3AyNTZrMaEC92ZyrFUys_rwdAZC8wVqvRC6FeeSqVCDGBjGg3WskzyDdGNwgnNzg3VkcIJzdYV3YWt1MgA"}'
INFO  src.node.waku_node:waku_node.py:292 REST service is ready !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:29554/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.82.138/tcp/49576/p2p/16Uiu2HAmKxAeDcprDgysfRbBdcJwkD47iXk3hgWwvjrugKrMr3A5"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.steps.filter:filter.py:47 Running fixture setup: subscribe_main_nodes
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:49575/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:29554/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "61d8675f-f8a9-4bf1-b0b2-94acac1e9921", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"61d8675f-f8a9-4bf1-b0b2-94acac1e9921","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:49575/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:29554/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "ae36cf99-db5e-421b-96c5-01fe74cf1073", "contentFilters": ["Hello World!", "1234567890"], "pubsubTopic": "/waku/2/rs/3/1"}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"ae36cf99-db5e-421b-96c5-01fe74cf1073","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:49575/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "RmlsdGVyIHdvcmtzISE=", "contentTopic": "1234567890", "timestamp": '$(date +%s%N)'}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.libs.common:common.py:47 Sleeping for 0.1 seconds
DEBUG  src.steps.filter:filter.py:96 Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:29554/filter/v2/messages/1234567890" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'[{"payload":"RmlsdGVyIHdvcmtzISE=","contentTopic":"1234567890","version":0,"timestamp":1765426434556143834,"ephemeral":false}]'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X DELETE "http://127.0.0.1:29554/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": ["Hello World!", "1234567890"], "pubsubTopic": "/waku/2/rs/3/1"}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"1","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:49575/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "RmlsdGVyIHdvcmtzISE=", "contentTopic": "1234567890", "timestamp": '$(date +%s%N)'}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.libs.common:common.py:47 Sleeping for 0.1 seconds
DEBUG  src.steps.filter:filter.py:96 Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:29554/filter/v2/messages/1234567890" -H "Content-Type: application/json" -d 'None'
ERROR  src.node.api_clients.base_client:base_client.py:16 HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:29554/filter/v2/messages/1234567890. Response content: b'Not subscribed to topic: 1234567890'
DEBUG  tests.conftest:conftest.py:59 Running fixture teardown: test_setup
DEBUG  tests.conftest:conftest.py:83 Running fixture teardown: close_open_nodes
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id 5348a620d1c6
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id ce6e40811b4d
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  tests.conftest:conftest.py:98 Running fixture teardown: check_waku_log_errors
DEBUG  src.node.docker_mananger:docker_mananger.py:144 No errors found in the waku logs.
DEBUG  src.node.docker_mananger:docker_mananger.py:144 No errors found in the waku logs.