93 lines
16 KiB
Plaintext

2025-12-08 12:11:01.093 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-08 12:11:01.094 DEBUG [tests.conftest] Running test: test_relay_resubscribe_to_unsubscribed_pubsub_topic with id: 2025-12-08_12-11-01__804f3e62-f50b-40c2-a9f8-3ae0493bf469
2025-12-08 12:11:01.095 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-08 12:11:01.097 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2025-12-08 12:11:01.098 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2025-12-08 12:11:01.106 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:11:01.106 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-08_12-11-01__804f3e62-f50b-40c2-a9f8-3ae0493bf469__wakuorg_nwaku:latest.log
2025-12-08 12:11:01.106 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:11:01.107 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:11:01.108 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:11:01.108 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.230.42
2025-12-08 12:11:01.108 DEBUG [src.node.docker_mananger] Generated ports ['37528', '37529', '37530', '37531', '37532']
2025-12-08 12:11:01.108 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:11:01.108 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:11:01.108 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:11:01.109 DEBUG [src.node.docker_mananger] docker run -i -t -p 37528:37528 -p 37529:37529 -p 37530:37530 -p 37531:37531 -p 37532:37532 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=37530 --rest-port=37528 --tcp-port=37529 --discv5-udp-port=37531 --rest-address=0.0.0.0 --nat=extip:172.18.230.42 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=cedb81c48fbd0a39facbeaddbbf056ebe71abf9bac909c0ac57a2eba80bcaaeb --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=37532 --metrics-logging=true --relay=true
2025-12-08 12:11:01.287 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.230.42 waku 4632809845eaff955e11b30da39683a34994ae532fdec0a15882f6a4ed26684a
2025-12-08 12:11:01.317 DEBUG [src.node.docker_mananger] Container started with ID 4632809845ea. Setting up logs at ./log/docker/node1_2025-12-08_12-11-01__804f3e62-f50b-40c2-a9f8-3ae0493bf469__wakuorg_nwaku:latest.log
2025-12-08 12:11:01.317 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 37528
2025-12-08 12:11:01.318 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:11:01.350 ERROR [src.node.docker_mananger] Max retries reached for container 18644b6490be. Exiting log stream.
2025-12-08 12:11:01.916 ERROR [src.node.docker_mananger] Max retries reached for container 9d9ccbfd9d06. Exiting log stream.
2025-12-08 12:11:02.319 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:37528/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:02.322 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":"NOT_READY","desc":"No Filter service peer available yet"}]}'
2025-12-08 12:11:02.322 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:11:02.323 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:37528/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:02.325 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.230.42/tcp/37529/p2p/16Uiu2HAm1AR4HXoU4mDofU7j4Mp9iGqQWm158KLFpgGDVRp1Gw7i","/ip4/172.18.230.42/tcp/37530/ws/p2p/16Uiu2HAm1AR4HXoU4mDofU7j4Mp9iGqQWm158KLFpgGDVRp1Gw7i"],"enrUri":"enr:-L24QCj5iXKjV0QA5_erc319MswAS2VOIAQVGRoQQHcdRupxZvN6ni643NuxeyBI6GvmN718WpMaDUxRmnvKGqoF8d8CgmlkgnY0gmlwhKwS5iqKbXVsdGlhZGRyc5YACASsEuYqBpKZAAoErBLmKgaSmt0DgnJzhQADAQAAiXNlY3AyNTZrMaECVT2JVHgzZd2j-RyAqjR6Yt6ARKsq9BAWZL6qdXsBSdWDdGNwgpKZg3VkcIKSm4V3YWt1MgE"}'
2025-12-08 12:11:02.325 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:11:02.331 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:11:02.331 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-08_12-11-01__804f3e62-f50b-40c2-a9f8-3ae0493bf469__wakuorg_nwaku:latest.log
2025-12-08 12:11:02.332 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:11:02.332 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:11:02.333 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:11:02.333 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.113.233
2025-12-08 12:11:02.333 DEBUG [src.node.docker_mananger] Generated ports ['40877', '40878', '40879', '40880', '40881']
2025-12-08 12:11:02.333 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:11:02.334 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:11:02.334 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:11:02.334 DEBUG [src.node.docker_mananger] docker run -i -t -p 40877:40877 -p 40878:40878 -p 40879:40879 -p 40880:40880 -p 40881:40881 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=40879 --rest-port=40877 --tcp-port=40878 --discv5-udp-port=40880 --rest-address=0.0.0.0 --nat=extip:172.18.113.233 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=6845e9ad92be6dacea96a2b0c8d18a9cf0c72db7abbf8c2ef40cff3d9882ec33 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=40881 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QCj5iXKjV0QA5_erc319MswAS2VOIAQVGRoQQHcdRupxZvN6ni643NuxeyBI6GvmN718WpMaDUxRmnvKGqoF8d8CgmlkgnY0gmlwhKwS5iqKbXVsdGlhZGRyc5YACASsEuYqBpKZAAoErBLmKgaSmt0DgnJzhQADAQAAiXNlY3AyNTZrMaECVT2JVHgzZd2j-RyAqjR6Yt6ARKsq9BAWZL6qdXsBSdWDdGNwgpKZg3VkcIKSm4V3YWt1MgE
2025-12-08 12:11:02.524 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.113.233 waku f98335eafe1cb28c7bb2b22b933f7343ef3e4ef6825b9b78cf62f24490e7bdfa
2025-12-08 12:11:02.560 DEBUG [src.node.docker_mananger] Container started with ID f98335eafe1c. Setting up logs at ./log/docker/node2_2025-12-08_12-11-01__804f3e62-f50b-40c2-a9f8-3ae0493bf469__wakuorg_nwaku:latest.log
2025-12-08 12:11:02.560 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 40877
2025-12-08 12:11:02.560 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:11:03.561 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:40877/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:03.575 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":"NOT_READY","desc":"No Filter service peer available yet"}]}'
2025-12-08 12:11:03.576 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:11:03.577 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:40877/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:03.581 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.113.233/tcp/40878/p2p/16Uiu2HAmSM8gjqt7NZd1Qze9w7a3LkuEixwrpxV8TswS1ZBn9QFp","/ip4/172.18.113.233/tcp/40879/ws/p2p/16Uiu2HAmSM8gjqt7NZd1Qze9w7a3LkuEixwrpxV8TswS1ZBn9QFp"],"enrUri":"enr:-L24QHAkfZ0iDymt2IQnwZ1hjHqeXr_munnntXAkOGPgabdtcJKdXbPx0K70UmUPM6HL0r95VeVI5kaklv49_QRl9bQCgmlkgnY0gmlwhKwScemKbXVsdGlhZGRyc5YACASsEnHpBp-uAAoErBJx6Qafr90DgnJzhQADAQAAiXNlY3AyNTZrMaEDy3CWUuWL3w0HZiTGK7473esAEzjy2LJPV43jWxr9C-eDdGNwgp-ug3VkcIKfsIV3YWt1MgE"}'
2025-12-08 12:11:03.581 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:11:03.582 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:40877/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.230.42/tcp/37529/p2p/16Uiu2HAm1AR4HXoU4mDofU7j4Mp9iGqQWm158KLFpgGDVRp1Gw7i"]'
2025-12-08 12:11:03.587 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:03.588 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:37528/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-08 12:11:03.591 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:03.592 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:40877/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-08 12:11:03.596 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:03.598 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:37528/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": "/test/1/waku-relay/proto", "timestamp": '$(date +%s%N)'}'
2025-12-08 12:11:03.604 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:03.604 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-08 12:11:03.704 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-08 12:11:03.705 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:37528/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:03.707 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1765195863598774016,"ephemeral":false,"proof":""}]'
2025-12-08 12:11:03.709 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-08 12:11:03.709 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:40877/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:03.711 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1765195863598774016,"ephemeral":false,"proof":""}]'
2025-12-08 12:11:03.712 INFO [src.node.api_clients.base_client] curl -v -X DELETE "http://127.0.0.1:37528/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-08 12:11:03.716 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:03.717 INFO [src.node.api_clients.base_client] curl -v -X DELETE "http://127.0.0.1:40877/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-08 12:11:03.721 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:03.721 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:37528/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": "/test/1/waku-relay/proto", "timestamp": '$(date +%s%N)'}'
2025-12-08 12:11:03.724 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:37528/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Failed to publish: Node not subscribed to topic: /waku/2/rs/3/1'
2025-12-08 12:11:03.724 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:37528/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-08 12:11:03.728 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:03.728 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:40877/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-08 12:11:03.732 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:03.732 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:37528/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": "/test/1/waku-relay/proto", "timestamp": '$(date +%s%N)'}'
2025-12-08 12:11:03.737 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:03.738 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-08 12:11:03.838 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-08 12:11:03.838 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:37528/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:03.841 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1765195863732681591,"ephemeral":false,"proof":""}]'
2025-12-08 12:11:03.842 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-08 12:11:03.843 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:40877/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:03.845 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1765195863732681591,"ephemeral":false,"proof":""}]'
2025-12-08 12:11:03.847 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-08 12:11:03.848 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-08 12:11:03.848 DEBUG [src.node.waku_node] Stopping container with id 4632809845ea
2025-12-08 12:11:04.353 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:11:04.354 DEBUG [src.node.waku_node] Stopping container with id f98335eafe1c
2025-12-08 12:11:04.856 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:11:04.859 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-08 12:11:04.871 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-08 12:11:04.878 DEBUG [src.node.docker_mananger] No errors found in the waku logs.