78 lines
13 KiB
Plaintext

2026-01-02 04:25:40.245 DEBUG [tests.conftest] Running fixture setup: test_id
2026-01-02 04:25:40.246 DEBUG [tests.conftest] Running test: test_content_topic_also_in_docker_flags[/toychat/2/huilong/proto] with id: 2026-01-02_04-25-40__a57ebee7-3d3c-4b9c-967d-c612e77982d1
2026-01-02 04:25:40.246 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-01-02 04:25:40.248 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-01-02 04:25:40.248 DEBUG [src.steps.sharding] Running fixture setup: sharding_setup
2026-01-02 04:25:40.258 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-01-02 04:25:40.258 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-01-02_04-25-40__a57ebee7-3d3c-4b9c-967d-c612e77982d1__wakuorg_nwaku:latest.log
2026-01-02 04:25:40.259 DEBUG [src.node.waku_node] Starting Node...
2026-01-02 04:25:40.259 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-01-02 04:25:40.260 DEBUG [src.node.docker_mananger] Network waku already exists
2026-01-02 04:25:40.260 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.205.75
2026-01-02 04:25:40.261 DEBUG [src.node.docker_mananger] Generated ports ['16891', '16892', '16893', '16894', '16895']
2026-01-02 04:25:40.261 DEBUG [src.node.waku_node] Cluster id was resolved to: 2
2026-01-02 04:25:40.261 DEBUG [src.node.waku_node] Removing pubsub-topic from nwaku args
2026-01-02 04:25:40.261 DEBUG [src.node.waku_node] RLN credentials were not set
2026-01-02 04:25:40.261 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-01-02 04:25:40.261 DEBUG [src.node.waku_node] Using volumes []
2026-01-02 04:25:40.261 DEBUG [src.node.docker_mananger] docker run -i -t -p 16891:16891 -p 16892:16892 -p 16893:16893 -p 16894:16894 -p 16895:16895 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=16893 --rest-port=16891 --tcp-port=16892 --discv5-udp-port=16894 --rest-address=0.0.0.0 --nat=extip:172.18.205.75 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=4143d29efd23728bec4ddf2c7c16bdbbcb53a5c0597d61de124cf1e4acbbe8bf --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=16895 --metrics-logging=true --relay=true --filter=true --content-topic=/toychat/2/huilong/proto
2026-01-02 04:25:40.440 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.205.75 waku caec5248de018b1e37314438d1dc72b0af9481fdaa78d02632b82b570b45a2af
2026-01-02 04:25:40.471 DEBUG [src.node.docker_mananger] Container started with ID caec5248de01. Setting up logs at ./log/docker/node1_2026-01-02_04-25-40__a57ebee7-3d3c-4b9c-967d-c612e77982d1__wakuorg_nwaku:latest.log
2026-01-02 04:25:40.471 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 16891
2026-01-02 04:25:40.472 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-01-02 04:25:40.509 ERROR [src.node.docker_mananger] Max retries reached for container b710d1ebaa5e. Exiting log stream.
2026-01-02 04:25:41.068 ERROR [src.node.docker_mananger] Max retries reached for container 6dd1286a136d. Exiting log stream.
2026-01-02 04:25:41.473 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:16891/health" -H "Content-Type: application/json" -d 'None'
2026-01-02 04:25:41.476 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"}]}'
2026-01-02 04:25:41.476 INFO [src.node.waku_node] Node protocols are initialized !!
2026-01-02 04:25:41.476 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:16891/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-01-02 04:25:41.478 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.205.75/tcp/16892/p2p/16Uiu2HAmMqhNhTGRF4CVhUEfc1T1LY5pvGDKRkgefymjg88TDV1T","/ip4/172.18.205.75/tcp/16893/ws/p2p/16Uiu2HAmMqhNhTGRF4CVhUEfc1T1LY5pvGDKRkgefymjg88TDV1T"],"enrUri":"enr:-L24QFpn_IbsBpTMgyZDh6V75dNcmllrzjY8y8hSOGLOPCMzY3UsOvUMgauMkgxGDFAL1A9NMSSoNDrH2u0p2YFB4MQCgmlkgnY0gmlwhKwSzUuKbXVsdGlhZGRyc5YACASsEs1LBkH8AAoErBLNSwZB_d0DgnJzhQACAQAAiXNlY3AyNTZrMaEDiHdgcYidrk2Ty4zLPBHxNrMFYC7oXKek59OcwnHA3CqDdGNwgkH8g3VkcIJB_oV3YWt1MgU"}'
2026-01-02 04:25:41.478 INFO [src.node.waku_node] REST service is ready !!
2026-01-02 04:25:41.485 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-01-02 04:25:41.485 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-01-02_04-25-40__a57ebee7-3d3c-4b9c-967d-c612e77982d1__wakuorg_nwaku:latest.log
2026-01-02 04:25:41.485 DEBUG [src.node.waku_node] Starting Node...
2026-01-02 04:25:41.485 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-01-02 04:25:41.487 DEBUG [src.node.docker_mananger] Network waku already exists
2026-01-02 04:25:41.487 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.158.5
2026-01-02 04:25:41.487 DEBUG [src.node.docker_mananger] Generated ports ['17628', '17629', '17630', '17631', '17632']
2026-01-02 04:25:41.487 DEBUG [src.node.waku_node] Cluster id was resolved to: 2
2026-01-02 04:25:41.487 DEBUG [src.node.waku_node] Removing pubsub-topic from nwaku args
2026-01-02 04:25:41.487 DEBUG [src.node.waku_node] RLN credentials were not set
2026-01-02 04:25:41.487 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-01-02 04:25:41.488 DEBUG [src.node.waku_node] Using volumes []
2026-01-02 04:25:41.488 DEBUG [src.node.docker_mananger] docker run -i -t -p 17628:17628 -p 17629:17629 -p 17630:17630 -p 17631:17631 -p 17632:17632 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=17630 --rest-port=17628 --tcp-port=17629 --discv5-udp-port=17631 --rest-address=0.0.0.0 --nat=extip:172.18.158.5 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=52d8ff5fa8151ebc7d8e90657abcdac54ec1bab3b5be1b168d10e74304772aad --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=17632 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QFpn_IbsBpTMgyZDh6V75dNcmllrzjY8y8hSOGLOPCMzY3UsOvUMgauMkgxGDFAL1A9NMSSoNDrH2u0p2YFB4MQCgmlkgnY0gmlwhKwSzUuKbXVsdGlhZGRyc5YACASsEs1LBkH8AAoErBLNSwZB_d0DgnJzhQACAQAAiXNlY3AyNTZrMaEDiHdgcYidrk2Ty4zLPBHxNrMFYC7oXKek59OcwnHA3CqDdGNwgkH8g3VkcIJB_oV3YWt1MgU --content-topic=/toychat/2/huilong/proto
2026-01-02 04:25:41.665 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.158.5 waku 860a2df90d64bbda79c6dec52adb5fc6401ad27798992d5dcd134a06d7739238
2026-01-02 04:25:41.696 DEBUG [src.node.docker_mananger] Container started with ID 860a2df90d64. Setting up logs at ./log/docker/node2_2026-01-02_04-25-40__a57ebee7-3d3c-4b9c-967d-c612e77982d1__wakuorg_nwaku:latest.log
2026-01-02 04:25:41.697 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 17628
2026-01-02 04:25:41.697 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-01-02 04:25:42.698 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:17628/health" -H "Content-Type: application/json" -d 'None'
2026-01-02 04:25:42.707 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"}]}'
2026-01-02 04:25:42.708 INFO [src.node.waku_node] Node protocols are initialized !!
2026-01-02 04:25:42.708 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:17628/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-01-02 04:25:42.715 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.158.5/tcp/17629/p2p/16Uiu2HAmBd3PkxamcDbimXDce7fj5sUWAejfJ2w1fUDUoeEz9grD","/ip4/172.18.158.5/tcp/17630/ws/p2p/16Uiu2HAmBd3PkxamcDbimXDce7fj5sUWAejfJ2w1fUDUoeEz9grD"],"enrUri":"enr:-L24QPW8BgBt0RkGpgTFDkHnPHOhwIdZISxBPFg0EgRNKKXCe8IoKWkh2F6YySnQ6wY4UEWU_U_ZmjXfUb7fVBs2b1YCgmlkgnY0gmlwhKwSngWKbXVsdGlhZGRyc5YACASsEp4FBkTdAAoErBKeBQZE3t0DgnJzhQACAQAAiXNlY3AyNTZrMaEC8KSXeWWfuBxvuoLRoZAg9-t96Z0pAQHDiCIV_jKZt9KDdGNwgkTdg3VkcIJE34V3YWt1MgE"}'
2026-01-02 04:25:42.717 INFO [src.node.waku_node] REST service is ready !!
2026-01-02 04:25:42.717 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:17628/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.205.75/tcp/16892/p2p/16Uiu2HAmMqhNhTGRF4CVhUEfc1T1LY5pvGDKRkgefymjg88TDV1T"]'
2026-01-02 04:25:42.721 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-02 04:25:42.721 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:16891/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/2/0"]'
2026-01-02 04:25:42.723 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-02 04:25:42.724 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:17628/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/2/0"]'
2026-01-02 04:25:42.726 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-02 04:25:42.726 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:16891/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)'}'
2026-01-02 04:25:42.731 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-02 04:25:42.731 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-01-02 04:25:42.831 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-01-02 04:25:42.832 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:16891/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F0" -H "Content-Type: application/json" -d 'None'
2026-01-02 04:25:42.834 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1767327942726801687,"ephemeral":false,"proof":""}]'
2026-01-02 04:25:42.836 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-01-02 04:25:42.836 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:17628/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F0" -H "Content-Type: application/json" -d 'None'
2026-01-02 04:25:42.838 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1767327942726801687,"ephemeral":false,"proof":""}]'
2026-01-02 04:25:42.841 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-01-02 04:25:42.842 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-01-02 04:25:42.842 DEBUG [src.node.waku_node] Stopping container with id caec5248de01
2026-01-02 04:25:43.390 DEBUG [src.node.waku_node] Container stopped.
2026-01-02 04:25:43.390 DEBUG [src.node.waku_node] Stopping container with id 860a2df90d64
2026-01-02 04:25:43.900 DEBUG [src.node.waku_node] Container stopped.
2026-01-02 04:25:43.901 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-01-02 04:25:43.907 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-01-02 04:25:43.912 DEBUG [src.node.docker_mananger] No errors found in the waku logs.