97 lines
18 KiB
Plaintext

2026-03-11 04:38:04.540 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-11 04:38:04.540 DEBUG [tests.conftest] Running test: test_publish_with_invalid_timestamps with id: 2026-03-11_04-38-04__5e55b8d6-13e6-4daa-9d3d-f3f7b0b4a5b6
2026-03-11 04:38:04.540 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-11 04:38:04.540 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-11 04:38:04.541 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-03-11 04:38:04.548 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-11 04:38:04.548 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-11_04-38-04__5e55b8d6-13e6-4daa-9d3d-f3f7b0b4a5b6__wakuorg_nwaku:latest.log
2026-03-11 04:38:04.548 DEBUG [src.node.waku_node] Starting Node...
2026-03-11 04:38:04.549 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-11 04:38:04.550 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-11 04:38:04.550 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.161.80
2026-03-11 04:38:04.550 DEBUG [src.node.docker_mananger] Generated ports ['47984', '47985', '47986', '47987', '47988']
2026-03-11 04:38:04.550 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-11 04:38:04.551 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-11 04:38:04.551 DEBUG [src.node.waku_node] Using volumes []
2026-03-11 04:38:04.551 DEBUG [src.node.docker_mananger] docker run -i -t -p 47984:47984 -p 47985:47985 -p 47986:47986 -p 47987:47987 -p 47988:47988 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=47986 --rest-port=47984 --tcp-port=47985 --discv5-udp-port=47987 --rest-address=0.0.0.0 --nat=extip:172.18.161.80 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=8efedbb33b26d686eeaefa2f45bf4fbbf9ee1f0b2dfca05dea9cbfa3f3dddcff --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=47988 --metrics-logging=true --relay=true
2026-03-11 04:38:04.733 ERROR [src.node.docker_mananger] Max retries reached for container 4372f25661d7. Exiting log stream.
2026-03-11 04:38:04.751 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.161.80 waku bd786f5873731c1c14c94e9c66646d0dd1d27dcb8b457d425c3a41dff5186a0f
2026-03-11 04:38:04.791 DEBUG [src.node.docker_mananger] Container started with ID bd786f587373. Setting up logs at ./log/docker/node1_2026-03-11_04-38-04__5e55b8d6-13e6-4daa-9d3d-f3f7b0b4a5b6__wakuorg_nwaku:latest.log
2026-03-11 04:38:04.791 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 47984
2026-03-11 04:38:04.792 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-11 04:38:05.308 ERROR [src.node.docker_mananger] Max retries reached for container ac5c1c51abb3. Exiting log stream.
2026-03-11 04:38:05.793 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:47984/health" -H "Content-Type: application/json" -d 'None'
2026-03-11 04:38:05.796 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-11 04:38:05.796 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-11 04:38:05.797 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:47984/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-11 04:38:05.799 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.161.80/tcp/47985/p2p/16Uiu2HAmCrkYQgFStwW3a3Vi2wXruonpW3d9QupAxYmvcMxuBLbx","/ip4/172.18.161.80/tcp/47986/ws/p2p/16Uiu2HAmCrkYQgFStwW3a3Vi2wXruonpW3d9QupAxYmvcMxuBLbx"],"enrUri":"enr:-L24QC7-wuKfQ2dN-FMm5edltu3WNMaZlZYJIIVfNKbVnOsKWJ9ah75eoA7aIwNwWCpdF0M6sHCjyasVIWSfVrqqktYCgmlkgnY0gmlwhKwSoVCKbXVsdGlhZGRyc5YACASsEqFQBrtxAAoErBKhUAa7ct0DgnJzhQADAQAAiXNlY3AyNTZrMaEDAwNbS8pgzo3I24-eAqW-o63mqKyMQezcd5eeX9pp8UeDdGNwgrtxg3VkcIK7c4V3YWt1MgE"}'
2026-03-11 04:38:05.799 INFO [src.node.waku_node] REST service is ready !!
2026-03-11 04:38:05.806 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-11 04:38:05.806 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-11_04-38-04__5e55b8d6-13e6-4daa-9d3d-f3f7b0b4a5b6__wakuorg_nwaku:latest.log
2026-03-11 04:38:05.807 DEBUG [src.node.waku_node] Starting Node...
2026-03-11 04:38:05.807 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-11 04:38:05.808 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-11 04:38:05.808 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.9.128
2026-03-11 04:38:05.808 DEBUG [src.node.docker_mananger] Generated ports ['38296', '38297', '38298', '38299', '38300']
2026-03-11 04:38:05.808 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-11 04:38:05.808 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-11 04:38:05.808 DEBUG [src.node.waku_node] Using volumes []
2026-03-11 04:38:05.809 DEBUG [src.node.docker_mananger] docker run -i -t -p 38296:38296 -p 38297:38297 -p 38298:38298 -p 38299:38299 -p 38300:38300 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=38298 --rest-port=38296 --tcp-port=38297 --discv5-udp-port=38299 --rest-address=0.0.0.0 --nat=extip:172.18.9.128 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=5cd477e69eded5eb3ede4fd4a5554c35e74585966c33fdcaca5ff4c6ad60eeeb --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=38300 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QC7-wuKfQ2dN-FMm5edltu3WNMaZlZYJIIVfNKbVnOsKWJ9ah75eoA7aIwNwWCpdF0M6sHCjyasVIWSfVrqqktYCgmlkgnY0gmlwhKwSoVCKbXVsdGlhZGRyc5YACASsEqFQBrtxAAoErBKhUAa7ct0DgnJzhQADAQAAiXNlY3AyNTZrMaEDAwNbS8pgzo3I24-eAqW-o63mqKyMQezcd5eeX9pp8UeDdGNwgrtxg3VkcIK7c4V3YWt1MgE
2026-03-11 04:38:06.012 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.9.128 waku 51039a83cea1f3b2c163b0aa5f733f1b0838c200683650f4843fe94c0a3904b9
2026-03-11 04:38:06.047 DEBUG [src.node.docker_mananger] Container started with ID 51039a83cea1. Setting up logs at ./log/docker/node2_2026-03-11_04-38-04__5e55b8d6-13e6-4daa-9d3d-f3f7b0b4a5b6__wakuorg_nwaku:latest.log
2026-03-11 04:38:06.047 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 38296
2026-03-11 04:38:06.048 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-11 04:38:07.048 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:38296/health" -H "Content-Type: application/json" -d 'None'
2026-03-11 04:38:07.070 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-11 04:38:07.072 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-11 04:38:07.074 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:38296/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-11 04:38:07.081 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.9.128/tcp/38297/p2p/16Uiu2HAm2dMXmxQEBFBRUFwLnTx2VV11kGevDBq1awxeDmhBeYAf","/ip4/172.18.9.128/tcp/38298/ws/p2p/16Uiu2HAm2dMXmxQEBFBRUFwLnTx2VV11kGevDBq1awxeDmhBeYAf"],"enrUri":"enr:-L24QFPZsV825oW3EwhzwmYb9tvI2CMKu24A1w3rken3B-zaQnWfn9g5fzG1zqqiK2FIHO291Q0cpVe113GwsdCLUGMCgmlkgnY0gmlwhKwSCYCKbXVsdGlhZGRyc5YACASsEgmABpWZAAoErBIJgAaVmt0DgnJzhQADAQAAiXNlY3AyNTZrMaECav_rFuO-_VQoPSIVHYSBsVJgltEBFCTw73Rf1op_MPSDdGNwgpWZg3VkcIKVm4V3YWt1MgE"}'
2026-03-11 04:38:07.081 INFO [src.node.waku_node] REST service is ready !!
2026-03-11 04:38:07.081 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:38296/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.161.80/tcp/47985/p2p/16Uiu2HAmCrkYQgFStwW3a3Vi2wXruonpW3d9QupAxYmvcMxuBLbx"]'
2026-03-11 04:38:07.085 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-11 04:38:07.086 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2026-03-11 04:38:07.086 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:47984/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-11 04:38:07.090 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-11 04:38:07.091 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:38296/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-11 04:38:07.095 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-11 04:38:07.098 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:47984/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-11 04:38:07.103 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-11 04:38:07.104 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-11 04:38:07.204 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-11 04:38:07.204 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:47984/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-11 04:38:07.207 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":1773203887097942016,"ephemeral":false,"proof":""}]'
2026-03-11 04:38:07.209 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-11 04:38:07.209 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:38296/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-11 04:38:07.211 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":1773203887097942016,"ephemeral":false,"proof":""}]'
2026-03-11 04:38:07.213 INFO [src.steps.relay] WARM UP successful!!
2026-03-11 04:38:07.214 DEBUG [tests.relay.test_publish] Running test with timestamp Timestamp as string number
2026-03-11 04:38:07.214 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:47984/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-11 04:38:07.217 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:47984/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-11 04:38:07.218 DEBUG [tests.relay.test_publish] Running test with timestamp Invalid large number
2026-03-11 04:38:07.218 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:47984/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-11 04:38:07.221 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:47984/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-11 04:38:07.221 DEBUG [tests.relay.test_publish] Running test with timestamp Float number
2026-03-11 04:38:07.222 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:47984/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-11 04:38:07.224 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:47984/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-11 04:38:07.224 DEBUG [tests.relay.test_publish] Running test with timestamp Array instead of timestamp
2026-03-11 04:38:07.225 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:47984/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-11 04:38:07.227 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:47984/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-11 04:38:07.227 DEBUG [tests.relay.test_publish] Running test with timestamp Object instead of timestamp
2026-03-11 04:38:07.228 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:47984/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-11 04:38:07.230 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:47984/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-11 04:38:07.231 DEBUG [tests.relay.test_publish] Running test with timestamp ISO 8601 timestamp
2026-03-11 04:38:07.231 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:47984/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-11 04:38:07.234 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:47984/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-11 04:38:07.235 DEBUG [tests.relay.test_publish] Running test with timestamp Missing
2026-03-11 04:38:07.235 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:47984/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-11 04:38:07.237 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:47984/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-11 04:38:07.240 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-11 04:38:07.241 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-11 04:38:07.241 DEBUG [src.node.waku_node] Stopping container with id bd786f587373
2026-03-11 04:38:07.822 DEBUG [src.node.waku_node] Container stopped.
2026-03-11 04:38:07.825 DEBUG [src.node.waku_node] Stopping container with id 51039a83cea1
2026-03-11 04:38:08.421 DEBUG [src.node.waku_node] Container stopped.
2026-03-11 04:38:08.424 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-11 04:38:08.430 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-11 04:38:08.435 DEBUG [src.node.docker_mananger] No errors found in the waku logs.