78 lines
13 KiB
Plaintext

2025-12-30 04:23:51.301 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-30 04:23:51.302 DEBUG [tests.conftest] Running test: test_content_topic_also_in_docker_flags[/toychat/2/huilong/proto] with id: 2025-12-30_04-23-51__d8234e0a-7a96-4808-a0cd-f764b60fa8e7
2025-12-30 04:23:51.302 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-30 04:23:51.302 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2025-12-30 04:23:51.303 DEBUG [src.steps.sharding] Running fixture setup: sharding_setup
2025-12-30 04:23:51.310 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-30 04:23:51.311 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-30_04-23-51__d8234e0a-7a96-4808-a0cd-f764b60fa8e7__wakuorg_nwaku:latest.log
2025-12-30 04:23:51.311 DEBUG [src.node.waku_node] Starting Node...
2025-12-30 04:23:51.311 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-30 04:23:51.312 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-30 04:23:51.312 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.168.29
2025-12-30 04:23:51.313 DEBUG [src.node.docker_mananger] Generated ports ['63292', '63293', '63294', '63295', '63296']
2025-12-30 04:23:51.313 DEBUG [src.node.waku_node] Cluster id was resolved to: 2
2025-12-30 04:23:51.313 DEBUG [src.node.waku_node] Removing pubsub-topic from nwaku args
2025-12-30 04:23:51.313 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-30 04:23:51.313 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-30 04:23:51.313 DEBUG [src.node.waku_node] Using volumes []
2025-12-30 04:23:51.313 DEBUG [src.node.docker_mananger] docker run -i -t -p 63292:63292 -p 63293:63293 -p 63294:63294 -p 63295:63295 -p 63296:63296 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=63294 --rest-port=63292 --tcp-port=63293 --discv5-udp-port=63295 --rest-address=0.0.0.0 --nat=extip:172.18.168.29 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=f882b9c03262c0d2a8eaded8b55a2badea2f65dc3c3b639a50ed7b7f3ed6bfa6 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=63296 --metrics-logging=true --relay=true --filter=true --content-topic=/toychat/2/huilong/proto
2025-12-30 04:23:51.492 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.168.29 waku 30b5d4e42c2e6b1154364d7a40b1110d57a6927957b91b8c6c344745103436cb
2025-12-30 04:23:51.525 DEBUG [src.node.docker_mananger] Container started with ID 30b5d4e42c2e. Setting up logs at ./log/docker/node1_2025-12-30_04-23-51__d8234e0a-7a96-4808-a0cd-f764b60fa8e7__wakuorg_nwaku:latest.log
2025-12-30 04:23:51.526 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 63292
2025-12-30 04:23:51.526 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-30 04:23:51.558 ERROR [src.node.docker_mananger] Max retries reached for container d594f1ed444f. Exiting log stream.
2025-12-30 04:23:52.099 ERROR [src.node.docker_mananger] Max retries reached for container bd6742db4c2c. Exiting log stream.
2025-12-30 04:23:52.527 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:63292/health" -H "Content-Type: application/json" -d 'None'
2025-12-30 04:23:52.532 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-30 04:23:52.532 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-30 04:23:52.532 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:63292/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-30 04:23:52.534 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.168.29/tcp/63293/p2p/16Uiu2HAkz59TLRFLBtk35mMJAzoGCtmwtnthLJZt2tfbTbzFNLii","/ip4/172.18.168.29/tcp/63294/ws/p2p/16Uiu2HAkz59TLRFLBtk35mMJAzoGCtmwtnthLJZt2tfbTbzFNLii"],"enrUri":"enr:-L24QG9_Khe085y2X5bDq-Oen-iBiymzN2CKBwIlJUAIxB1MZ1XLdi5Z3z_R2-zNl74zwju205VNSeqGtzefuWbKw4ECgmlkgnY0gmlwhKwSqB2KbXVsdGlhZGRyc5YACASsEqgdBvc9AAoErBKoHQb3Pt0DgnJzhQACAQAAiXNlY3AyNTZrMaECRQhNtqvE9pULqzd8PNbPqDqFVcM7sbYxBy52r-Q2l2eDdGNwgvc9g3VkcIL3P4V3YWt1MgU"}'
2025-12-30 04:23:52.535 INFO [src.node.waku_node] REST service is ready !!
2025-12-30 04:23:52.541 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-30 04:23:52.541 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-30_04-23-51__d8234e0a-7a96-4808-a0cd-f764b60fa8e7__wakuorg_nwaku:latest.log
2025-12-30 04:23:52.541 DEBUG [src.node.waku_node] Starting Node...
2025-12-30 04:23:52.542 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-30 04:23:52.543 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-30 04:23:52.543 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.118.232
2025-12-30 04:23:52.543 DEBUG [src.node.docker_mananger] Generated ports ['57870', '57871', '57872', '57873', '57874']
2025-12-30 04:23:52.543 DEBUG [src.node.waku_node] Cluster id was resolved to: 2
2025-12-30 04:23:52.544 DEBUG [src.node.waku_node] Removing pubsub-topic from nwaku args
2025-12-30 04:23:52.544 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-30 04:23:52.544 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-30 04:23:52.544 DEBUG [src.node.waku_node] Using volumes []
2025-12-30 04:23:52.544 DEBUG [src.node.docker_mananger] docker run -i -t -p 57870:57870 -p 57871:57871 -p 57872:57872 -p 57873:57873 -p 57874:57874 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=57872 --rest-port=57870 --tcp-port=57871 --discv5-udp-port=57873 --rest-address=0.0.0.0 --nat=extip:172.18.118.232 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=8a0d3fce4de8d652ddf08ef0b6eff8cee45afccc9dbe8bdfdc6aa97afbc832af --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=57874 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QG9_Khe085y2X5bDq-Oen-iBiymzN2CKBwIlJUAIxB1MZ1XLdi5Z3z_R2-zNl74zwju205VNSeqGtzefuWbKw4ECgmlkgnY0gmlwhKwSqB2KbXVsdGlhZGRyc5YACASsEqgdBvc9AAoErBKoHQb3Pt0DgnJzhQACAQAAiXNlY3AyNTZrMaECRQhNtqvE9pULqzd8PNbPqDqFVcM7sbYxBy52r-Q2l2eDdGNwgvc9g3VkcIL3P4V3YWt1MgU --content-topic=/toychat/2/huilong/proto
2025-12-30 04:23:52.733 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.118.232 waku fb23685b3e130e326afb608c6dd3978c3142bbc0bac716cf8a5ba03f6abc644f
2025-12-30 04:23:52.765 DEBUG [src.node.docker_mananger] Container started with ID fb23685b3e13. Setting up logs at ./log/docker/node2_2025-12-30_04-23-51__d8234e0a-7a96-4808-a0cd-f764b60fa8e7__wakuorg_nwaku:latest.log
2025-12-30 04:23:52.765 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 57870
2025-12-30 04:23:52.765 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-30 04:23:53.766 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:57870/health" -H "Content-Type: application/json" -d 'None'
2025-12-30 04:23:53.780 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_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-30 04:23:53.782 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-30 04:23:53.782 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:57870/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-30 04:23:53.785 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.118.232/tcp/57871/p2p/16Uiu2HAmUx6Y3W2XYHvj7Bsv5CbvJ1YpPz8EhyPEiLFXvHEa6v3U","/ip4/172.18.118.232/tcp/57872/ws/p2p/16Uiu2HAmUx6Y3W2XYHvj7Bsv5CbvJ1YpPz8EhyPEiLFXvHEa6v3U"],"enrUri":"enr:-L24QK7Ux4rEWKcuCinfhvhNizy1oJXYNnTSabBr4o0vIXEkeAaKZy2VolYV2a70XJDDIuwhpQ2r6WsW_4WLh4ipYF4CgmlkgnY0gmlwhKwSduiKbXVsdGlhZGRyc5YACASsEnboBuIPAAoErBJ26AbiEN0DgnJzhQACAQAAiXNlY3AyNTZrMaED8hzbwyfqABfhjH3V4pra_mYdeJXbxTX2sEYspfZQAnuDdGNwguIPg3VkcILiEYV3YWt1MgE"}'
2025-12-30 04:23:53.786 INFO [src.node.waku_node] REST service is ready !!
2025-12-30 04:23:53.786 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:57870/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.168.29/tcp/63293/p2p/16Uiu2HAkz59TLRFLBtk35mMJAzoGCtmwtnthLJZt2tfbTbzFNLii"]'
2025-12-30 04:23:53.791 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-30 04:23:53.791 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:63292/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/2/0"]'
2025-12-30 04:23:53.794 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-30 04:23:53.794 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:57870/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/2/0"]'
2025-12-30 04:23:53.796 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-30 04:23:53.797 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:63292/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F0" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
2025-12-30 04:23:53.801 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-30 04:23:53.801 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-30 04:23:53.901 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-30 04:23:53.902 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:63292/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F0" -H "Content-Type: application/json" -d 'None'
2025-12-30 04:23:53.904 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1767068633797153542,"ephemeral":false,"proof":""}]'
2025-12-30 04:23:53.906 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-30 04:23:53.906 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:57870/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F0" -H "Content-Type: application/json" -d 'None'
2025-12-30 04:23:53.909 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1767068633797153542,"ephemeral":false,"proof":""}]'
2025-12-30 04:23:53.912 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-30 04:23:53.913 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-30 04:23:53.913 DEBUG [src.node.waku_node] Stopping container with id 30b5d4e42c2e
2025-12-30 04:23:54.462 DEBUG [src.node.waku_node] Container stopped.
2025-12-30 04:23:54.462 DEBUG [src.node.waku_node] Stopping container with id fb23685b3e13
2025-12-30 04:23:55.019 DEBUG [src.node.waku_node] Container stopped.
2025-12-30 04:23:55.020 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-30 04:23:55.025 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-30 04:23:55.031 DEBUG [src.node.docker_mananger] No errors found in the waku logs.