70 lines
12 KiB
Plaintext

2025-12-08 12:15:48.974 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-08 12:15:48.974 DEBUG [tests.conftest] Running test: test_cant_retrieve_messages_on_not_subscribed_content_topic with id: 2025-12-08_12-15-48__12d49526-70f0-40bf-952f-63fdc821874a
2025-12-08 12:15:48.974 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-08 12:15:48.975 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2025-12-08 12:15:48.975 DEBUG [src.steps.sharding] Running fixture setup: sharding_setup
2025-12-08 12:15:48.981 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:15:48.982 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-08_12-15-48__12d49526-70f0-40bf-952f-63fdc821874a__wakuorg_nwaku:latest.log
2025-12-08 12:15:48.982 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:15:48.982 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:15:48.983 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:15:48.983 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.227.42
2025-12-08 12:15:48.983 DEBUG [src.node.docker_mananger] Generated ports ['1707', '1708', '1709', '1710', '1711']
2025-12-08 12:15:48.984 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:15:48.984 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:15:48.984 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:15:48.984 DEBUG [src.node.docker_mananger] docker run -i -t -p 1707:1707 -p 1708:1708 -p 1709:1709 -p 1710:1710 -p 1711:1711 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=1709 --rest-port=1707 --tcp-port=1708 --discv5-udp-port=1710 --rest-address=0.0.0.0 --nat=extip:172.18.227.42 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=d9fcabbc45e20a8b40c42f86618e238daacfd7d668cd5eee8acf4fcd73dfe77c --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=1711 --metrics-logging=true --relay=true --filter=true --content-topic=/myapp/1/latest/proto --num-shards-in-network=8
2025-12-08 12:15:49.147 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.227.42 waku ef30c4626a261d51567b5fde79a4961f6c286dec0e07ae3aea9e5c5c8475d72d
2025-12-08 12:15:49.175 DEBUG [src.node.docker_mananger] Container started with ID ef30c4626a26. Setting up logs at ./log/docker/node1_2025-12-08_12-15-48__12d49526-70f0-40bf-952f-63fdc821874a__wakuorg_nwaku:latest.log
2025-12-08 12:15:49.175 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 1707
2025-12-08 12:15:49.175 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:15:49.780 ERROR [src.node.docker_mananger] Max retries reached for container c3ba7ddfbcaf. Exiting log stream.
2025-12-08 12:15:50.176 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:1707/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:15:50.179 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:15:50.179 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:15:50.179 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:1707/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:15:50.181 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.227.42/tcp/1708/p2p/16Uiu2HAky6rSzgupZKcdrGL5RhA1TNqVw6SGWUTGeGWb9GJfYF3o","/ip4/172.18.227.42/tcp/1709/ws/p2p/16Uiu2HAky6rSzgupZKcdrGL5RhA1TNqVw6SGWUTGeGWb9GJfYF3o"],"enrUri":"enr:-L24QCoQzu8TFC2Lzo925v5DK0Bpyyi8PelezHtYmfCOb1twQ3zPsCRALAmzk2viq8uKTwbOXFxaNBla-U9pA5XCMRgCgmlkgnY0gmlwhKwS4yqKbXVsdGlhZGRyc5YACASsEuMqBgasAAoErBLjKgYGrd0DgnJzhQACAQAAiXNlY3AyNTZrMaECNpyMtwJpaLcIzb2OJsbf8_5CM0WmWPsazXJU-W_b3TKDdGNwggasg3VkcIIGroV3YWt1MgU"}'
2025-12-08 12:15:50.182 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:15:50.188 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:15:50.188 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-08_12-15-48__12d49526-70f0-40bf-952f-63fdc821874a__wakuorg_nwaku:latest.log
2025-12-08 12:15:50.188 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:15:50.188 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:15:50.190 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:15:50.190 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.25.36
2025-12-08 12:15:50.190 DEBUG [src.node.docker_mananger] Generated ports ['48172', '48173', '48174', '48175', '48176']
2025-12-08 12:15:50.190 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:15:50.190 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:15:50.190 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:15:50.190 DEBUG [src.node.docker_mananger] docker run -i -t -p 48172:48172 -p 48173:48173 -p 48174:48174 -p 48175:48175 -p 48176:48176 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=48174 --rest-port=48172 --tcp-port=48173 --discv5-udp-port=48175 --rest-address=0.0.0.0 --nat=extip:172.18.25.36 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=9f7dc761aab1f7eee56ea7b6c56c1fd872ce37eddc05b7368bef778c4ff52fca --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=48176 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QCoQzu8TFC2Lzo925v5DK0Bpyyi8PelezHtYmfCOb1twQ3zPsCRALAmzk2viq8uKTwbOXFxaNBla-U9pA5XCMRgCgmlkgnY0gmlwhKwS4yqKbXVsdGlhZGRyc5YACASsEuMqBgasAAoErBLjKgYGrd0DgnJzhQACAQAAiXNlY3AyNTZrMaECNpyMtwJpaLcIzb2OJsbf8_5CM0WmWPsazXJU-W_b3TKDdGNwggasg3VkcIIGroV3YWt1MgU --content-topic=/myapp/1/latest/proto --num-shards-in-network=8
2025-12-08 12:15:50.361 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.25.36 waku 87580e7c6757a6eb5b77963d5f8b6ece0f7e4484fa62913593255e66ae6badb9
2025-12-08 12:15:50.388 DEBUG [src.node.docker_mananger] Container started with ID 87580e7c6757. Setting up logs at ./log/docker/node2_2025-12-08_12-15-48__12d49526-70f0-40bf-952f-63fdc821874a__wakuorg_nwaku:latest.log
2025-12-08 12:15:50.389 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 48172
2025-12-08 12:15:50.389 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:15:51.389 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:48172/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:15:51.406 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-08 12:15:51.407 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:15:51.408 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:48172/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:15:51.413 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.25.36/tcp/48173/p2p/16Uiu2HAmUJnEdjhwei2yfG5GsHcN6RupFPB7LroH6KtVCaVD5fGC","/ip4/172.18.25.36/tcp/48174/ws/p2p/16Uiu2HAmUJnEdjhwei2yfG5GsHcN6RupFPB7LroH6KtVCaVD5fGC"],"enrUri":"enr:-L24QEmhME7oltPYoc1dbjdgf2-Lnu5O7YTG0Es_FeRniGk2WOOpyzFO516OaJx-UBnb2M4l7bfawwIt6FS7qYs4NXECgmlkgnY0gmlwhKwSGSSKbXVsdGlhZGRyc5YACASsEhkkBrwtAAoErBIZJAa8Lt0DgnJzhQACAQAAiXNlY3AyNTZrMaED6I2tK4O7vJ58a6e0otiN8p0UfEvoElhLWkUsUMvE1WmDdGNwgrwtg3VkcIK8L4V3YWt1MgE"}'
2025-12-08 12:15:51.413 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:15:51.414 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:48172/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.227.42/tcp/1708/p2p/16Uiu2HAky6rSzgupZKcdrGL5RhA1TNqVw6SGWUTGeGWb9GJfYF3o"]'
2025-12-08 12:15:51.417 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:15:51.418 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:1707/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/myapp/1/latest/proto"]'
2025-12-08 12:15:51.420 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:15:51.420 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:48172/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/myapp/1/latest/proto"]'
2025-12-08 12:15:51.422 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:15:51.423 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:1707/relay/v1/auto/messages" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/toychat/2/huilong/proto", "timestamp": '$(date +%s%N)'}'
2025-12-08 12:15:51.426 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:15:51.426 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-08 12:15:51.526 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-08 12:15:51.527 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:1707/relay/v1/auto/messages/%2Ftoychat%2F2%2Fhuilong%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:15:51.530 ERROR [src.node.api_clients.base_client] HTTP error occurred: 404 Client Error: Not Found for url: http://127.0.0.1:1707/relay/v1/auto/messages/%2Ftoychat%2F2%2Fhuilong%2Fproto. Response content: b'/toychat/2/huilong/proto'
2025-12-08 12:15:51.532 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-08 12:15:51.533 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-08 12:15:51.533 DEBUG [src.node.waku_node] Stopping container with id ef30c4626a26
2025-12-08 12:15:52.074 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:15:52.074 DEBUG [src.node.waku_node] Stopping container with id 87580e7c6757
2025-12-08 12:15:52.578 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:15:52.581 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-08 12:15:52.585 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-08 12:15:52.589 DEBUG [src.node.docker_mananger] No errors found in the waku logs.