97 lines
18 KiB
Plaintext

2026-03-30 05:02:12.244 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-30 05:02:12.244 DEBUG [tests.conftest] Running test: test_publish_with_invalid_timestamps with id: 2026-03-30_05-02-12__73969db1-23cd-486e-9ac9-1249b916ea2f
2026-03-30 05:02:12.245 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-30 05:02:12.245 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-30 05:02:12.246 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-03-30 05:02:12.254 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-30 05:02:12.255 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-30_05-02-12__73969db1-23cd-486e-9ac9-1249b916ea2f__wakuorg_nwaku:latest.log
2026-03-30 05:02:12.255 DEBUG [src.node.waku_node] Starting Node...
2026-03-30 05:02:12.255 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-30 05:02:12.256 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-30 05:02:12.257 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.48.143
2026-03-30 05:02:12.257 DEBUG [src.node.docker_mananger] Generated ports ['61034', '61035', '61036', '61037', '61038']
2026-03-30 05:02:12.257 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-30 05:02:12.257 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-30 05:02:12.257 DEBUG [src.node.waku_node] Using volumes []
2026-03-30 05:02:12.257 DEBUG [src.node.docker_mananger] docker run -i -t -p 61034:61034 -p 61035:61035 -p 61036:61036 -p 61037:61037 -p 61038:61038 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=61036 --rest-port=61034 --tcp-port=61035 --discv5-udp-port=61037 --rest-address=0.0.0.0 --nat=extip:172.18.48.143 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=bee82ab5fa7248a536bcd846a0bfe3fae770424f9efb667fdaf18905fc6de16c --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=61038 --metrics-logging=true --relay=true
2026-03-30 05:02:12.440 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.48.143 waku 70649e63ba4d689ca0b824f5d7e845867c163c028a2006b8c8a62d583cb1fc0a
2026-03-30 05:02:12.480 DEBUG [src.node.docker_mananger] Container started with ID 70649e63ba4d. Setting up logs at ./log/docker/node1_2026-03-30_05-02-12__73969db1-23cd-486e-9ac9-1249b916ea2f__wakuorg_nwaku:latest.log
2026-03-30 05:02:12.480 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 61034
2026-03-30 05:02:12.481 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-30 05:02:12.552 ERROR [src.node.docker_mananger] Max retries reached for container 9072fc90cbe5. Exiting log stream.
2026-03-30 05:02:13.065 ERROR [src.node.docker_mananger] Max retries reached for container 20bfcd10ba4e. Exiting log stream.
2026-03-30 05:02:13.481 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:61034/health" -H "Content-Type: application/json" -d 'None'
2026-03-30 05:02:13.484 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-30 05:02:13.484 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-30 05:02:13.485 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:61034/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-30 05:02:13.487 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.48.143/tcp/61035/p2p/16Uiu2HAkyZyiJvTUyvaJDzNSWWErcoZwgkmQd18awUMSJah2iCJ7","/ip4/172.18.48.143/tcp/61036/ws/p2p/16Uiu2HAkyZyiJvTUyvaJDzNSWWErcoZwgkmQd18awUMSJah2iCJ7"],"enrUri":"enr:-L24QFAnpCcBeh1QtvlCMzvB9MeMkRlYsnOICRWqCRbcG7z-WEWrYbeKQQ-0tPYJ-xOGkISJvACNcjHUorjbWaO9r04CgmlkgnY0gmlwhKwSMI-KbXVsdGlhZGRyc5YACASsEjCPBu5rAAoErBIwjwbubN0DgnJzhQADAQAAiXNlY3AyNTZrMaECPY9x6tkXSbG2EPNCNJcwi3n3Y9PX03kBBD9-hb4bYKSDdGNwgu5rg3VkcILubYV3YWt1MgE"}'
2026-03-30 05:02:13.487 INFO [src.node.waku_node] REST service is ready !!
2026-03-30 05:02:13.494 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-30 05:02:13.494 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-30_05-02-12__73969db1-23cd-486e-9ac9-1249b916ea2f__wakuorg_nwaku:latest.log
2026-03-30 05:02:13.494 DEBUG [src.node.waku_node] Starting Node...
2026-03-30 05:02:13.495 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-30 05:02:13.496 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-30 05:02:13.496 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.56.247
2026-03-30 05:02:13.496 DEBUG [src.node.docker_mananger] Generated ports ['9400', '9401', '9402', '9403', '9404']
2026-03-30 05:02:13.497 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-30 05:02:13.497 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-30 05:02:13.497 DEBUG [src.node.waku_node] Using volumes []
2026-03-30 05:02:13.497 DEBUG [src.node.docker_mananger] docker run -i -t -p 9400:9400 -p 9401:9401 -p 9402:9402 -p 9403:9403 -p 9404:9404 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=9402 --rest-port=9400 --tcp-port=9401 --discv5-udp-port=9403 --rest-address=0.0.0.0 --nat=extip:172.18.56.247 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=c4d0241eec05f1bedf7298c832eae7ded4d77caca73ccdb0f4ccd75b6eb87e71 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=9404 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QFAnpCcBeh1QtvlCMzvB9MeMkRlYsnOICRWqCRbcG7z-WEWrYbeKQQ-0tPYJ-xOGkISJvACNcjHUorjbWaO9r04CgmlkgnY0gmlwhKwSMI-KbXVsdGlhZGRyc5YACASsEjCPBu5rAAoErBIwjwbubN0DgnJzhQADAQAAiXNlY3AyNTZrMaECPY9x6tkXSbG2EPNCNJcwi3n3Y9PX03kBBD9-hb4bYKSDdGNwgu5rg3VkcILubYV3YWt1MgE
2026-03-30 05:02:13.691 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.56.247 waku d55c0b27bff615ef5097dff7c1bccf2cdba930d46b1d05a829fcf844a6805629
2026-03-30 05:02:13.722 DEBUG [src.node.docker_mananger] Container started with ID d55c0b27bff6. Setting up logs at ./log/docker/node2_2026-03-30_05-02-12__73969db1-23cd-486e-9ac9-1249b916ea2f__wakuorg_nwaku:latest.log
2026-03-30 05:02:13.722 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 9400
2026-03-30 05:02:13.722 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-30 05:02:14.723 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:9400/health" -H "Content-Type: application/json" -d 'None'
2026-03-30 05:02:14.741 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-30 05:02:14.743 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-30 05:02:14.745 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:9400/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-30 05:02:14.752 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.56.247/tcp/9401/p2p/16Uiu2HAmEsWPkp2u5Peh9oXE5H3jTy8wEr5snLXSB9Az2t1vp62u","/ip4/172.18.56.247/tcp/9402/ws/p2p/16Uiu2HAmEsWPkp2u5Peh9oXE5H3jTy8wEr5snLXSB9Az2t1vp62u"],"enrUri":"enr:-L24QBki2MiSDY4lx8Sm6ZZg-VVkt0B2qus5vUYHvhqgN9rzGMu-GJwvhuwfwJbK-Wkie6dE1WQWkPIO52_-Zl7aSv8CgmlkgnY0gmlwhKwSOPeKbXVsdGlhZGRyc5YACASsEjj3BiS5AAoErBI49wYkut0DgnJzhQADAQAAiXNlY3AyNTZrMaEDIOxQEGJ8NTqShawBcanJb9yNiRCqnB3h_YrUb3ensAqDdGNwgiS5g3VkcIIku4V3YWt1MgE"}'
2026-03-30 05:02:14.753 INFO [src.node.waku_node] REST service is ready !!
2026-03-30 05:02:14.753 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:9400/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.48.143/tcp/61035/p2p/16Uiu2HAkyZyiJvTUyvaJDzNSWWErcoZwgkmQd18awUMSJah2iCJ7"]'
2026-03-30 05:02:14.756 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-30 05:02:14.757 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2026-03-30 05:02:14.757 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61034/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-30 05:02:14.761 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-30 05:02:14.762 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:9400/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-30 05:02:14.768 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-30 05:02:14.768 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61034/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-30 05:02:14.774 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-30 05:02:14.775 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-30 05:02:14.875 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-30 05:02:14.875 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:61034/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-30 05:02:14.878 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":1774846934768696832,"ephemeral":false,"proof":""}]'
2026-03-30 05:02:14.881 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-30 05:02:14.881 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:9400/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-30 05:02:14.884 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":1774846934768696832,"ephemeral":false,"proof":""}]'
2026-03-30 05:02:14.885 INFO [src.steps.relay] WARM UP successful!!
2026-03-30 05:02:14.886 DEBUG [tests.relay.test_publish] Running test with timestamp Timestamp as string number
2026-03-30 05:02:14.886 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61034/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-30 05:02:14.889 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:61034/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-30 05:02:14.890 DEBUG [tests.relay.test_publish] Running test with timestamp Invalid large number
2026-03-30 05:02:14.890 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61034/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-30 05:02:14.893 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:61034/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-30 05:02:14.893 DEBUG [tests.relay.test_publish] Running test with timestamp Float number
2026-03-30 05:02:14.894 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61034/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-30 05:02:14.896 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:61034/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-30 05:02:14.897 DEBUG [tests.relay.test_publish] Running test with timestamp Array instead of timestamp
2026-03-30 05:02:14.897 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61034/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-30 05:02:14.899 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:61034/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-30 05:02:14.900 DEBUG [tests.relay.test_publish] Running test with timestamp Object instead of timestamp
2026-03-30 05:02:14.900 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61034/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-30 05:02:14.903 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:61034/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-30 05:02:14.903 DEBUG [tests.relay.test_publish] Running test with timestamp ISO 8601 timestamp
2026-03-30 05:02:14.904 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61034/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-30 05:02:14.906 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:61034/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-30 05:02:14.907 DEBUG [tests.relay.test_publish] Running test with timestamp Missing
2026-03-30 05:02:14.907 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61034/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-30 05:02:14.910 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:61034/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-30 05:02:14.913 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-30 05:02:14.941 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-30 05:02:14.942 DEBUG [src.node.waku_node] Stopping container with id 70649e63ba4d
2026-03-30 05:02:15.386 DEBUG [src.node.waku_node] Container stopped.
2026-03-30 05:02:15.386 DEBUG [src.node.waku_node] Stopping container with id d55c0b27bff6
2026-03-30 05:02:15.833 DEBUG [src.node.waku_node] Container stopped.
2026-03-30 05:02:15.836 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-30 05:02:15.842 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-30 05:02:15.847 DEBUG [src.node.docker_mananger] No errors found in the waku logs.