97 lines
18 KiB
Plaintext

2026-03-08 04:37:26.942 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-08 04:37:26.942 DEBUG [tests.conftest] Running test: test_publish_with_invalid_timestamps with id: 2026-03-08_04-37-26__e2f508ab-278e-48a7-86e4-add80fe6420a
2026-03-08 04:37:26.943 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-08 04:37:26.943 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-08 04:37:26.943 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-03-08 04:37:26.950 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-08 04:37:26.950 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-08_04-37-26__e2f508ab-278e-48a7-86e4-add80fe6420a__wakuorg_nwaku:latest.log
2026-03-08 04:37:26.950 DEBUG [src.node.waku_node] Starting Node...
2026-03-08 04:37:26.950 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-08 04:37:26.951 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-08 04:37:26.952 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.154.132
2026-03-08 04:37:26.952 DEBUG [src.node.docker_mananger] Generated ports ['25043', '25044', '25045', '25046', '25047']
2026-03-08 04:37:26.952 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-08 04:37:26.952 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-08 04:37:26.952 DEBUG [src.node.waku_node] Using volumes []
2026-03-08 04:37:26.952 DEBUG [src.node.docker_mananger] docker run -i -t -p 25043:25043 -p 25044:25044 -p 25045:25045 -p 25046:25046 -p 25047:25047 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=25045 --rest-port=25043 --tcp-port=25044 --discv5-udp-port=25046 --rest-address=0.0.0.0 --nat=extip:172.18.154.132 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=4bf4bec6ff5cbca1fb8f5cfe6fee5bda0bb78ece30b8ce70ccc6ceb4daab9fb8 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=25047 --metrics-logging=true --relay=true
2026-03-08 04:37:27.151 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.154.132 waku ff6ef41ae24fbf6056307b0187ecc0236ac2938cf24bc85e3dff401ffa973251
2026-03-08 04:37:27.183 ERROR [src.node.docker_mananger] Max retries reached for container 4511b5f149be. Exiting log stream.
2026-03-08 04:37:27.192 DEBUG [src.node.docker_mananger] Container started with ID ff6ef41ae24f. Setting up logs at ./log/docker/node1_2026-03-08_04-37-26__e2f508ab-278e-48a7-86e4-add80fe6420a__wakuorg_nwaku:latest.log
2026-03-08 04:37:27.193 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 25043
2026-03-08 04:37:27.193 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-08 04:37:27.732 ERROR [src.node.docker_mananger] Max retries reached for container 6e957a29c8fb. Exiting log stream.
2026-03-08 04:37:28.194 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:25043/health" -H "Content-Type: application/json" -d 'None'
2026-03-08 04:37:28.197 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-08 04:37:28.197 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-08 04:37:28.197 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:25043/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-08 04:37:28.200 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.154.132/tcp/25044/p2p/16Uiu2HAkvREZc9WrEL1wMAWS9TZXhkJ9Knrx7fSH8K1xM3ypNN9h","/ip4/172.18.154.132/tcp/25045/ws/p2p/16Uiu2HAkvREZc9WrEL1wMAWS9TZXhkJ9Knrx7fSH8K1xM3ypNN9h"],"enrUri":"enr:-L24QPqOk6q15DbR0itxmjSiBw0tQqSstCnX_1qHT-yNe_1qCEjvow2zSLJiQoKDlloM_JrauMxnbD0AxAMBICXkSxoCgmlkgnY0gmlwhKwSmoSKbXVsdGlhZGRyc5YACASsEpqEBmHUAAoErBKahAZh1d0DgnJzhQADAQAAiXNlY3AyNTZrMaECDr7ypEA7sdJnkOvjB8as4rU2GrXAmXfzJxdBd6SIEaSDdGNwgmHUg3VkcIJh1oV3YWt1MgE"}'
2026-03-08 04:37:28.200 INFO [src.node.waku_node] REST service is ready !!
2026-03-08 04:37:28.206 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-08 04:37:28.207 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-08_04-37-26__e2f508ab-278e-48a7-86e4-add80fe6420a__wakuorg_nwaku:latest.log
2026-03-08 04:37:28.207 DEBUG [src.node.waku_node] Starting Node...
2026-03-08 04:37:28.207 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-08 04:37:28.208 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-08 04:37:28.208 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.252.10
2026-03-08 04:37:28.209 DEBUG [src.node.docker_mananger] Generated ports ['31300', '31301', '31302', '31303', '31304']
2026-03-08 04:37:28.209 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-08 04:37:28.209 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-08 04:37:28.209 DEBUG [src.node.waku_node] Using volumes []
2026-03-08 04:37:28.209 DEBUG [src.node.docker_mananger] docker run -i -t -p 31300:31300 -p 31301:31301 -p 31302:31302 -p 31303:31303 -p 31304:31304 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=31302 --rest-port=31300 --tcp-port=31301 --discv5-udp-port=31303 --rest-address=0.0.0.0 --nat=extip:172.18.252.10 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=f753aadd69d1b5500af4a36e1bc8224c27c39ee8266d7eecdcdad768eb8e39f1 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=31304 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QPqOk6q15DbR0itxmjSiBw0tQqSstCnX_1qHT-yNe_1qCEjvow2zSLJiQoKDlloM_JrauMxnbD0AxAMBICXkSxoCgmlkgnY0gmlwhKwSmoSKbXVsdGlhZGRyc5YACASsEpqEBmHUAAoErBKahAZh1d0DgnJzhQADAQAAiXNlY3AyNTZrMaECDr7ypEA7sdJnkOvjB8as4rU2GrXAmXfzJxdBd6SIEaSDdGNwgmHUg3VkcIJh1oV3YWt1MgE
2026-03-08 04:37:28.402 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.252.10 waku 535a00e1759af05884dcecdedb5ab6673c860d934cfed96ff9f2da2002e6556c
2026-03-08 04:37:28.441 DEBUG [src.node.docker_mananger] Container started with ID 535a00e1759a. Setting up logs at ./log/docker/node2_2026-03-08_04-37-26__e2f508ab-278e-48a7-86e4-add80fe6420a__wakuorg_nwaku:latest.log
2026-03-08 04:37:28.441 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 31300
2026-03-08 04:37:28.442 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-08 04:37:29.443 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:31300/health" -H "Content-Type: application/json" -d 'None'
2026-03-08 04:37:29.466 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-08 04:37:29.468 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-08 04:37:29.471 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:31300/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-08 04:37:29.476 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.252.10/tcp/31301/p2p/16Uiu2HAmKjaQQggdGTu9iFQmC8qz33vwakWPPWCfcoQW4pS1s4AA","/ip4/172.18.252.10/tcp/31302/ws/p2p/16Uiu2HAmKjaQQggdGTu9iFQmC8qz33vwakWPPWCfcoQW4pS1s4AA"],"enrUri":"enr:-L24QOI0zOz4fq_LZtlVyWhW0tMpu2OOXJZU5jYBbB48nUYvcTS2-J4zUBFP5CJ3Ui865QWxUXQWADB1SqQ_qTWijVUCgmlkgnY0gmlwhKwS_AqKbXVsdGlhZGRyc5YACASsEvwKBnpFAAoErBL8CgZ6Rt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDaS6i7p4Smru2l6Qu02lxXlXRI_JWorkE8PWSIY2L6i-DdGNwgnpFg3VkcIJ6R4V3YWt1MgE"}'
2026-03-08 04:37:29.477 INFO [src.node.waku_node] REST service is ready !!
2026-03-08 04:37:29.477 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31300/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.154.132/tcp/25044/p2p/16Uiu2HAkvREZc9WrEL1wMAWS9TZXhkJ9Knrx7fSH8K1xM3ypNN9h"]'
2026-03-08 04:37:29.480 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-08 04:37:29.480 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2026-03-08 04:37:29.481 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25043/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-08 04:37:29.485 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-08 04:37:29.485 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31300/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-08 04:37:29.490 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-08 04:37:29.492 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25043/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-08 04:37:29.499 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-08 04:37:29.499 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-08 04:37:29.599 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-08 04:37:29.600 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:25043/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-08 04:37:29.602 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":1772944649492411648,"ephemeral":false,"proof":""}]'
2026-03-08 04:37:29.604 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-08 04:37:29.604 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:31300/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-08 04:37:29.606 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":1772944649492411648,"ephemeral":false,"proof":""}]'
2026-03-08 04:37:29.608 INFO [src.steps.relay] WARM UP successful!!
2026-03-08 04:37:29.609 DEBUG [tests.relay.test_publish] Running test with timestamp Timestamp as string number
2026-03-08 04:37:29.609 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25043/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-08 04:37:29.612 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:25043/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-08 04:37:29.613 DEBUG [tests.relay.test_publish] Running test with timestamp Invalid large number
2026-03-08 04:37:29.613 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25043/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-08 04:37:29.616 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:25043/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-08 04:37:29.616 DEBUG [tests.relay.test_publish] Running test with timestamp Float number
2026-03-08 04:37:29.617 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25043/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-08 04:37:29.619 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:25043/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-08 04:37:29.619 DEBUG [tests.relay.test_publish] Running test with timestamp Array instead of timestamp
2026-03-08 04:37:29.620 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25043/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-08 04:37:29.622 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:25043/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-08 04:37:29.623 DEBUG [tests.relay.test_publish] Running test with timestamp Object instead of timestamp
2026-03-08 04:37:29.623 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25043/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-08 04:37:29.625 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:25043/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-08 04:37:29.626 DEBUG [tests.relay.test_publish] Running test with timestamp ISO 8601 timestamp
2026-03-08 04:37:29.626 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25043/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-08 04:37:29.629 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:25043/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-08 04:37:29.630 DEBUG [tests.relay.test_publish] Running test with timestamp Missing
2026-03-08 04:37:29.630 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25043/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-08 04:37:29.632 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:25043/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-08 04:37:29.635 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-08 04:37:29.636 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-08 04:37:29.636 DEBUG [src.node.waku_node] Stopping container with id ff6ef41ae24f
2026-03-08 04:37:30.213 DEBUG [src.node.waku_node] Container stopped.
2026-03-08 04:37:30.214 DEBUG [src.node.waku_node] Stopping container with id 535a00e1759a
2026-03-08 04:37:30.746 DEBUG [src.node.waku_node] Container stopped.
2026-03-08 04:37:30.748 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-08 04:37:30.755 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-08 04:37:30.760 DEBUG [src.node.docker_mananger] No errors found in the waku logs.