97 lines
18 KiB
Plaintext

2026-03-06 04:36:42.648 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-06 04:36:42.648 DEBUG [tests.conftest] Running test: test_publish_with_invalid_timestamps with id: 2026-03-06_04-36-42__eacf7367-4e4f-4c61-837c-804b553cb756
2026-03-06 04:36:42.649 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-06 04:36:42.649 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-06 04:36:42.649 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-03-06 04:36:42.655 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-06 04:36:42.656 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-06_04-36-42__eacf7367-4e4f-4c61-837c-804b553cb756__wakuorg_nwaku:latest.log
2026-03-06 04:36:42.656 DEBUG [src.node.waku_node] Starting Node...
2026-03-06 04:36:42.656 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-06 04:36:42.657 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-06 04:36:42.657 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.220.82
2026-03-06 04:36:42.657 DEBUG [src.node.docker_mananger] Generated ports ['59630', '59631', '59632', '59633', '59634']
2026-03-06 04:36:42.658 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-06 04:36:42.658 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-06 04:36:42.658 DEBUG [src.node.waku_node] Using volumes []
2026-03-06 04:36:42.658 DEBUG [src.node.docker_mananger] docker run -i -t -p 59630:59630 -p 59631:59631 -p 59632:59632 -p 59633:59633 -p 59634:59634 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=59632 --rest-port=59630 --tcp-port=59631 --discv5-udp-port=59633 --rest-address=0.0.0.0 --nat=extip:172.18.220.82 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=98fbc9cafafcb58fd45fb14dd5f0897eedaf5a6f08fc39e6e1ad66534115bdc3 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=59634 --metrics-logging=true --relay=true
2026-03-06 04:36:42.852 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.220.82 waku 55d8e46bf0eda5d62bef3fae582df62fafa1416117590207c38ad7b6ba1b1986
2026-03-06 04:36:42.884 ERROR [src.node.docker_mananger] Max retries reached for container a9c6670e68d4. Exiting log stream.
2026-03-06 04:36:42.885 DEBUG [src.node.docker_mananger] Container started with ID 55d8e46bf0ed. Setting up logs at ./log/docker/node1_2026-03-06_04-36-42__eacf7367-4e4f-4c61-837c-804b553cb756__wakuorg_nwaku:latest.log
2026-03-06 04:36:42.886 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 59630
2026-03-06 04:36:42.887 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-06 04:36:43.420 ERROR [src.node.docker_mananger] Max retries reached for container 72ac9807c90d. Exiting log stream.
2026-03-06 04:36:43.887 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:59630/health" -H "Content-Type: application/json" -d 'None'
2026-03-06 04:36:43.890 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","connectionStatus":"Disconnected","protocolsHealth":[{"Relay":"NOT_READY","desc":"No connected peers"},{"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"},{"Rln Relay":"NOT_MOUNTED"}]}'
2026-03-06 04:36:43.890 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-06 04:36:43.890 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:59630/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-06 04:36:43.893 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.220.82/tcp/59631/p2p/16Uiu2HAmADxGAFH1ETPYXSUSoaT9bmhnfxyufPtT3gJkivpq1ehv","/ip4/172.18.220.82/tcp/59632/ws/p2p/16Uiu2HAmADxGAFH1ETPYXSUSoaT9bmhnfxyufPtT3gJkivpq1ehv"],"enrUri":"enr:-L24QMn4j0pX6aUMvWYcZNiKZu0EKjbi0ItRwFWBGL0BB1sRN2BlP6B3bV8EMKinHHONr7cbWK7NT6ZRSi18nHFKEfMCgmlkgnY0gmlwhKwS3FKKbXVsdGlhZGRyc5YACASsEtxSBujvAAoErBLcUgbo8N0DgnJzhQADAQAAiXNlY3AyNTZrMaEC296-mEwpQ-EKHcNIS8ccUSJYMDKGT2Gj7gFKg63q5ZmDdGNwgujvg3VkcILo8YV3YWt1MgE"}'
2026-03-06 04:36:43.893 INFO [src.node.waku_node] REST service is ready !!
2026-03-06 04:36:43.900 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-06 04:36:43.900 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-06_04-36-42__eacf7367-4e4f-4c61-837c-804b553cb756__wakuorg_nwaku:latest.log
2026-03-06 04:36:43.900 DEBUG [src.node.waku_node] Starting Node...
2026-03-06 04:36:43.900 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-06 04:36:43.902 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-06 04:36:43.902 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.87.33
2026-03-06 04:36:43.902 DEBUG [src.node.docker_mananger] Generated ports ['25108', '25109', '25110', '25111', '25112']
2026-03-06 04:36:43.902 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-06 04:36:43.902 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-06 04:36:43.902 DEBUG [src.node.waku_node] Using volumes []
2026-03-06 04:36:43.902 DEBUG [src.node.docker_mananger] docker run -i -t -p 25108:25108 -p 25109:25109 -p 25110:25110 -p 25111:25111 -p 25112:25112 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=25110 --rest-port=25108 --tcp-port=25109 --discv5-udp-port=25111 --rest-address=0.0.0.0 --nat=extip:172.18.87.33 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=e8ea76e9273adc9bcb0af2e6ffe02fcf1ebcef36fa6062aabdc1f2361cae3a0a --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=25112 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QMn4j0pX6aUMvWYcZNiKZu0EKjbi0ItRwFWBGL0BB1sRN2BlP6B3bV8EMKinHHONr7cbWK7NT6ZRSi18nHFKEfMCgmlkgnY0gmlwhKwS3FKKbXVsdGlhZGRyc5YACASsEtxSBujvAAoErBLcUgbo8N0DgnJzhQADAQAAiXNlY3AyNTZrMaEC296-mEwpQ-EKHcNIS8ccUSJYMDKGT2Gj7gFKg63q5ZmDdGNwgujvg3VkcILo8YV3YWt1MgE
2026-03-06 04:36:44.095 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.87.33 waku 5dd8d49e491f370bc7ae32ada54d954a057cb5cd6359d1b4b220f65708cea1c0
2026-03-06 04:36:44.128 DEBUG [src.node.docker_mananger] Container started with ID 5dd8d49e491f. Setting up logs at ./log/docker/node2_2026-03-06_04-36-42__eacf7367-4e4f-4c61-837c-804b553cb756__wakuorg_nwaku:latest.log
2026-03-06 04:36:44.128 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 25108
2026-03-06 04:36:44.128 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-06 04:36:45.131 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:25108/health" -H "Content-Type: application/json" -d 'None'
2026-03-06 04:36:45.153 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","connectionStatus":"Disconnected","protocolsHealth":[{"Relay":"NOT_READY","desc":"No connected peers"},{"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"},{"Rln Relay":"NOT_MOUNTED"}]}'
2026-03-06 04:36:45.157 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-06 04:36:45.157 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:25108/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-06 04:36:45.164 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.87.33/tcp/25109/p2p/16Uiu2HAm97cAgCNsrmhGo5BhYen9W27cQVbbnLouNRGgRW9jEN2Y","/ip4/172.18.87.33/tcp/25110/ws/p2p/16Uiu2HAm97cAgCNsrmhGo5BhYen9W27cQVbbnLouNRGgRW9jEN2Y"],"enrUri":"enr:-L24QEhZOE01EiByLYjQsGDFqF2jlDSyTHtQzKMOh4mUiNFcQzEtnGYeFVkEpW3vXgilYNCudzcY35VsQ8D1V_rEfx0CgmlkgnY0gmlwhKwSVyGKbXVsdGlhZGRyc5YACASsElchBmIVAAoErBJXIQZiFt0DgnJzhQADAQAAiXNlY3AyNTZrMaECy2LaDKzKeuTwIL-vY5vnn7tMoYNDvbdiZBQTiDMewDWDdGNwgmIVg3VkcIJiF4V3YWt1MgE"}'
2026-03-06 04:36:45.164 INFO [src.node.waku_node] REST service is ready !!
2026-03-06 04:36:45.165 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25108/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.220.82/tcp/59631/p2p/16Uiu2HAmADxGAFH1ETPYXSUSoaT9bmhnfxyufPtT3gJkivpq1ehv"]'
2026-03-06 04:36:45.169 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-06 04:36:45.169 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2026-03-06 04:36:45.170 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:59630/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-06 04:36:45.175 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-06 04:36:45.175 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25108/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-06 04:36:45.182 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-06 04:36:45.184 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:59630/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)'}'
2026-03-06 04:36:45.188 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-06 04:36:45.188 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-06 04:36:45.289 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-06 04:36:45.289 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:59630/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-06 04:36:45.292 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":1772771805183947776,"ephemeral":false,"proof":""}]'
2026-03-06 04:36:45.293 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-06 04:36:45.293 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:25108/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-06 04:36:45.296 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":1772771805183947776,"ephemeral":false,"proof":""}]'
2026-03-06 04:36:45.297 INFO [src.steps.relay] WARM UP successful!!
2026-03-06 04:36:45.298 DEBUG [tests.relay.test_publish] Running test with timestamp Timestamp as string number
2026-03-06 04:36:45.298 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:59630/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)'}'
2026-03-06 04:36:45.301 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:59630/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-06 04:36:45.302 DEBUG [tests.relay.test_publish] Running test with timestamp Invalid large number
2026-03-06 04:36:45.302 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:59630/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)'}'
2026-03-06 04:36:45.304 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:59630/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-06 04:36:45.305 DEBUG [tests.relay.test_publish] Running test with timestamp Float number
2026-03-06 04:36:45.305 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:59630/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)'}'
2026-03-06 04:36:45.308 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:59630/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-06 04:36:45.308 DEBUG [tests.relay.test_publish] Running test with timestamp Array instead of timestamp
2026-03-06 04:36:45.309 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:59630/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)'}'
2026-03-06 04:36:45.311 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:59630/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-06 04:36:45.312 DEBUG [tests.relay.test_publish] Running test with timestamp Object instead of timestamp
2026-03-06 04:36:45.312 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:59630/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)'}'
2026-03-06 04:36:45.314 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:59630/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-06 04:36:45.315 DEBUG [tests.relay.test_publish] Running test with timestamp ISO 8601 timestamp
2026-03-06 04:36:45.315 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:59630/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)'}'
2026-03-06 04:36:45.317 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:59630/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-06 04:36:45.318 DEBUG [tests.relay.test_publish] Running test with timestamp Missing
2026-03-06 04:36:45.318 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:59630/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)'}'
2026-03-06 04:36:45.321 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:59630/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-06 04:36:45.323 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-06 04:36:45.324 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-06 04:36:45.324 DEBUG [src.node.waku_node] Stopping container with id 55d8e46bf0ed
2026-03-06 04:36:45.854 DEBUG [src.node.waku_node] Container stopped.
2026-03-06 04:36:45.854 DEBUG [src.node.waku_node] Stopping container with id 5dd8d49e491f
2026-03-06 04:36:46.418 DEBUG [src.node.waku_node] Container stopped.
2026-03-06 04:36:46.422 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-06 04:36:46.430 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-06 04:36:46.436 DEBUG [src.node.docker_mananger] No errors found in the waku logs.