74 lines
13 KiB
Plaintext

2026-02-03 04:38:20.057 DEBUG [tests.conftest] Running fixture setup: test_id
2026-02-03 04:38:20.058 DEBUG [tests.conftest] Running test: test_main_node_relay_and_store__peer_neither_relay_nor_store with id: 2026-02-03_04-38-20__6203fb28-79da-440e-8c62-f953c3aaa23d
2026-02-03 04:38:20.058 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-02-03 04:38:20.058 DEBUG [src.steps.store] Running fixture setup: store_setup
2026-02-03 04:38:20.066 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-03 04:38:20.066 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/publishing_node1_2026-02-03_04-38-20__6203fb28-79da-440e-8c62-f953c3aaa23d__wakuorg_nwaku:latest.log
2026-02-03 04:38:20.066 DEBUG [src.node.waku_node] Starting Node...
2026-02-03 04:38:20.066 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-03 04:38:20.068 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-03 04:38:20.068 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.35.1
2026-02-03 04:38:20.068 DEBUG [src.node.docker_mananger] Generated ports ['2707', '2708', '2709', '2710', '2711']
2026-02-03 04:38:20.068 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-03 04:38:20.068 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-03 04:38:20.068 DEBUG [src.node.waku_node] Using volumes []
2026-02-03 04:38:20.069 DEBUG [src.node.docker_mananger] docker run -i -t -p 2707:2707 -p 2708:2708 -p 2709:2709 -p 2710:2710 -p 2711:2711 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=2709 --rest-port=2707 --tcp-port=2708 --discv5-udp-port=2710 --rest-address=0.0.0.0 --nat=extip:172.18.35.1 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=eadab062f69b860ded6edcf6f0be0fe9e663ca7d8ff0e0cf250bff26aafd9c09 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=2711 --metrics-logging=true --store=true --relay=true
2026-02-03 04:38:20.254 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.35.1 waku 6e1005adc6f744b9780574cffc1e59e949eb6fd40a382c4dbc9a621391d432da
2026-02-03 04:38:20.284 DEBUG [src.node.docker_mananger] Container started with ID 6e1005adc6f7. Setting up logs at ./log/docker/publishing_node1_2026-02-03_04-38-20__6203fb28-79da-440e-8c62-f953c3aaa23d__wakuorg_nwaku:latest.log
2026-02-03 04:38:20.286 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 2707
2026-02-03 04:38:20.286 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-03 04:38:20.308 ERROR [src.node.docker_mananger] Max retries reached for container 64d7401d2f63. Exiting log stream.
2026-02-03 04:38:20.812 ERROR [src.node.docker_mananger] Max retries reached for container b62c56912e31. Exiting log stream.
2026-02-03 04:38:21.286 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:2707/health" -H "Content-Type: application/json" -d 'None'
2026-02-03 04:38:21.290 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":"READY"},{"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":"READY"},{"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-02-03 04:38:21.290 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-03 04:38:21.290 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:2707/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-03 04:38:21.292 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.35.1/tcp/2708/p2p/16Uiu2HAmCi8NN82z4MVrXmVEqnnQxa7bxDGamCBmXBBFJZyP4a1X","/ip4/172.18.35.1/tcp/2709/ws/p2p/16Uiu2HAmCi8NN82z4MVrXmVEqnnQxa7bxDGamCBmXBBFJZyP4a1X"],"enrUri":"enr:-L24QF0nK0s0-YggTuhRYECb1xhLtgR6C04kr_mqntwwNvdNK5zazmMUEDYYkVzvNJ3_aCXQ8eDuYFmXjBKXhkeWskwCgmlkgnY0gmlwhKwSIwGKbXVsdGlhZGRyc5YACASsEiMBBgqUAAoErBIjAQYKld0DgnJzhQADAQAAiXNlY3AyNTZrMaEDAM3PG5vVvOCRG8Pu1iXNVvhdtsj8QkuJ8DEZp552vxqDdGNwggqUg3VkcIIKloV3YWt1MgM"}'
2026-02-03 04:38:21.293 INFO [src.node.waku_node] REST service is ready !!
2026-02-03 04:38:21.300 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-03 04:38:21.300 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/store_node1_2026-02-03_04-38-20__6203fb28-79da-440e-8c62-f953c3aaa23d__wakuorg_nwaku:latest.log
2026-02-03 04:38:21.300 DEBUG [src.node.waku_node] Starting Node...
2026-02-03 04:38:21.300 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-03 04:38:21.301 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-03 04:38:21.302 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.7.141
2026-02-03 04:38:21.302 DEBUG [src.node.docker_mananger] Generated ports ['39277', '39278', '39279', '39280', '39281']
2026-02-03 04:38:21.302 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-03 04:38:21.302 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-03 04:38:21.302 DEBUG [src.node.waku_node] Using volumes []
2026-02-03 04:38:21.302 DEBUG [src.node.docker_mananger] docker run -i -t -p 39277:39277 -p 39278:39278 -p 39279:39279 -p 39280:39280 -p 39281:39281 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=39279 --rest-port=39277 --tcp-port=39278 --discv5-udp-port=39280 --rest-address=0.0.0.0 --nat=extip:172.18.7.141 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=fcabb3b1feedcffb3f15410e4ab6d9de3c9fd9ab7353fa7dc6fcb2371d7c4afe --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=39281 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QF0nK0s0-YggTuhRYECb1xhLtgR6C04kr_mqntwwNvdNK5zazmMUEDYYkVzvNJ3_aCXQ8eDuYFmXjBKXhkeWskwCgmlkgnY0gmlwhKwSIwGKbXVsdGlhZGRyc5YACASsEiMBBgqUAAoErBIjAQYKld0DgnJzhQADAQAAiXNlY3AyNTZrMaEDAM3PG5vVvOCRG8Pu1iXNVvhdtsj8QkuJ8DEZp552vxqDdGNwggqUg3VkcIIKloV3YWt1MgM --storenode=/ip4/172.18.35.1/tcp/2708/p2p/16Uiu2HAmCi8NN82z4MVrXmVEqnnQxa7bxDGamCBmXBBFJZyP4a1X --store=false --relay=false
2026-02-03 04:38:21.495 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.7.141 waku 23e94d9b000b543d4e2622a329affa88394d5ae2703f5d39475aa0a69be94a33
2026-02-03 04:38:21.527 DEBUG [src.node.docker_mananger] Container started with ID 23e94d9b000b. Setting up logs at ./log/docker/store_node1_2026-02-03_04-38-20__6203fb28-79da-440e-8c62-f953c3aaa23d__wakuorg_nwaku:latest.log
2026-02-03 04:38:21.527 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 39277
2026-02-03 04:38:21.527 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-03 04:38:22.528 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:39277/health" -H "Content-Type: application/json" -d 'None'
2026-02-03 04:38:22.531 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":"READY"},{"Legacy Store Client":"READY"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"}]}'
2026-02-03 04:38:22.532 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-03 04:38:22.532 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:39277/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-03 04:38:22.534 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.7.141/tcp/39278/p2p/16Uiu2HAkwGiM9fRzF1HtBkg7iJ8VxPP31fU7sm2nX7ZmbNyvEU4T","/ip4/172.18.7.141/tcp/39279/ws/p2p/16Uiu2HAkwGiM9fRzF1HtBkg7iJ8VxPP31fU7sm2nX7ZmbNyvEU4T"],"enrUri":"enr:-L24QDOlC_6BBnHkuaK-OrhpLyvNQDdtOYvlY-A_A90Da4zYJu5ML-J81VmgPzybLmV-YQ_zgHhGlUpW4yHu_fERrBoCgmlkgnY0gmlwhKwSB42KbXVsdGlhZGRyc5YACASsEgeNBpluAAoErBIHjQaZb90DgnJzhQADAQAAiXNlY3AyNTZrMaECG2vTBuOG_cZ7-Xc03pbY-2CIcBMNjIyYyjWc-X4CUyyDdGNwgplug3VkcIKZcIV3YWt1MgA"}'
2026-02-03 04:38:22.534 INFO [src.node.waku_node] REST service is ready !!
2026-02-03 04:38:22.534 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:39277/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.35.1/tcp/2708/p2p/16Uiu2HAmCi8NN82z4MVrXmVEqnnQxa7bxDGamCBmXBBFJZyP4a1X"]'
2026-02-03 04:38:22.563 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-03 04:38:22.565 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:2707/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2026-02-03 04:38:22.577 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-03 04:38:22.578 DEBUG [src.steps.store] Relaying message
2026-02-03 04:38:22.580 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:2707/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "U3RvcmUgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
2026-02-03 04:38:22.585 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-03 04:38:22.585 DEBUG [src.libs.common] Sleeping for 0.2 seconds
2026-02-03 04:38:22.786 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2026-02-03 04:38:22.786 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:2707/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
2026-02-03 04:38:22.789 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0xee71185b0a8bc7e1bbd798ac088ccbd74a480724a091b1cbc972cf67f2f24b5a"}]}'
2026-02-03 04:38:22.790 DEBUG [src.steps.store] messages length is 1
2026-02-03 04:38:22.790 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2026-02-03 04:38:22.790 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:39277/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
2026-02-03 04:38:22.798 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"7a4ef3f38ee3a41fdd4b","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0xee71185b0a8bc7e1bbd798ac088ccbd74a480724a091b1cbc972cf67f2f24b5a"}]}'
2026-02-03 04:38:22.798 DEBUG [src.steps.store] messages length is 1
2026-02-03 04:38:22.799 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-02-03 04:38:22.800 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-02-03 04:38:22.801 DEBUG [src.node.waku_node] Stopping container with id 6e1005adc6f7
2026-02-03 04:38:23.318 DEBUG [src.node.waku_node] Container stopped.
2026-02-03 04:38:23.318 DEBUG [src.node.waku_node] Stopping container with id 23e94d9b000b
2026-02-03 04:38:23.822 DEBUG [src.node.waku_node] Container stopped.
2026-02-03 04:38:23.822 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-02-03 04:38:23.828 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-03 04:38:23.833 DEBUG [src.node.docker_mananger] No errors found in the waku logs.