waku-interop-tests/nim/357/data/attachments/13c6d7c15167c83a.txt

94 lines
16 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

DEBUG  tests.conftest:conftest.py:51 Running fixture setup: test_id
DEBUG  tests.conftest:conftest.py:57 Running test: test_publish_with_invalid_timestamps with id: 2024-09-12_04-26-13__95fac5cb-140c-4211-8ed9-d3fcbf485fd6
DEBUG  src.steps.common:common.py:17 Running fixture setup: common_setup
DEBUG  src.steps.relay:relay.py:28 Running fixture setup: relay_setup
DEBUG  src.steps.relay:relay.py:34 Running fixture setup: setup_main_relay_nodes
DEBUG  src.node.docker_mananger:docker_mananger.py:18 Docker client initialized with image wakuorg/nwaku:latest
DEBUG  src.node.waku_node:waku_node.py:85 WakuNode instance initialized with log path ./log/docker/node1_2024-09-12_04-26-13__95fac5cb-140c-4211-8ed9-d3fcbf485fd6__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:89 Starting Node...
DEBUG  src.node.docker_mananger:docker_mananger.py:21 Attempting to create or retrieve network waku
DEBUG  src.node.docker_mananger:docker_mananger.py:24 Network waku already exists
DEBUG  src.node.docker_mananger:docker_mananger.py:81 Generated random external IP 172.18.171.250
DEBUG  src.node.docker_mananger:docker_mananger.py:74 Generated ports ['24707', '24708', '24709', '24710', '24711']
DEBUG  src.node.waku_node:waku_node.py:434 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:163 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:165 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:48 docker run -i -t -p 24707:24707 -p 24708:24708 -p 24709:24709 -p 24710:24710 -p 24711:24711 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=24709 --rest-port=24707 --tcp-port=24708 --discv5-udp-port=24710 --rest-address=0.0.0.0 --nat=extip:172.18.171.250 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=4bb23a859f6efb1e04cd5eacc1c005646eeb6cbc54ab114febe8c08dee6a3daa --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=24711 --metrics-logging=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.171.250 waku d9c8ab05091401f493f5d4a907a3b17390a8e60c9f63e43cc9409756c4def744
DEBUG  src.node.docker_mananger:docker_mananger.py:57 Container started with ID d9c8ab050914. Setting up logs at ./log/docker/node1_2024-09-12_04-26-13__95fac5cb-140c-4211-8ed9-d3fcbf485fd6__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 24707
DEBUG  src.libs.common:common.py:35 Sleeping for 1 seconds
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:24707/health" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"nodeHealth":"Ready","protocolsHealth":[]}'
INFO  src.node.waku_node:waku_node.py:277 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:24707/debug/v1/info" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.171.250/tcp/24708/p2p/16Uiu2HAm1tupJfQKFXxV1FTXffLkb2U1TBcSEThzi598kvZ7zz1t","/ip4/172.18.171.250/tcp/24709/ws/p2p/16Uiu2HAm1tupJfQKFXxV1FTXffLkb2U1TBcSEThzi598kvZ7zz1t"],"enrUri":"enr:-LO4QAf-M9k-WMDdOKdRQ-tj30fUaUem6CqUM_LbhTqF21CjTLB2MtU7TqEv3puA0JgSsvZA6aVXUFBemvIXOwyyrY0BgmlkgnY0gmlwhKwSq_qKbXVsdGlhZGRyc4wACgSsEqv6BmCF3QOCcnOFAAMBAACJc2VjcDI1NmsxoQJgIHLCpTY4aco6XTU_GYceK4EXc2SzD6MsFT_DmCmwP4N0Y3CCYISDdWRwgmCGhXdha3UyAQ"}'
INFO  src.node.waku_node:waku_node.py:282 REST service is ready !!
DEBUG  src.node.docker_mananger:docker_mananger.py:18 Docker client initialized with image wakuorg/nwaku:latest
DEBUG  src.node.waku_node:waku_node.py:85 WakuNode instance initialized with log path ./log/docker/node2_2024-09-12_04-26-13__95fac5cb-140c-4211-8ed9-d3fcbf485fd6__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:89 Starting Node...
DEBUG  src.node.docker_mananger:docker_mananger.py:21 Attempting to create or retrieve network waku
DEBUG  src.node.docker_mananger:docker_mananger.py:24 Network waku already exists
DEBUG  src.node.docker_mananger:docker_mananger.py:81 Generated random external IP 172.18.234.165
DEBUG  src.node.docker_mananger:docker_mananger.py:74 Generated ports ['45879', '45880', '45881', '45882', '45883']
DEBUG  src.node.waku_node:waku_node.py:434 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:163 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:165 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:48 docker run -i -t -p 45879:45879 -p 45880:45880 -p 45881:45881 -p 45882:45882 -p 45883:45883 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=45881 --rest-port=45879 --tcp-port=45880 --discv5-udp-port=45882 --rest-address=0.0.0.0 --nat=extip:172.18.234.165 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=9addac3bb2da78c3cc3469ea6b04e1bb3d851d6c08def3bbf4cd4d5dc5e1d317 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=45883 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-LO4QAf-M9k-WMDdOKdRQ-tj30fUaUem6CqUM_LbhTqF21CjTLB2MtU7TqEv3puA0JgSsvZA6aVXUFBemvIXOwyyrY0BgmlkgnY0gmlwhKwSq_qKbXVsdGlhZGRyc4wACgSsEqv6BmCF3QOCcnOFAAMBAACJc2VjcDI1NmsxoQJgIHLCpTY4aco6XTU_GYceK4EXc2SzD6MsFT_DmCmwP4N0Y3CCYISDdWRwgmCGhXdha3UyAQ
DEBUG  src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.234.165 waku 5a130f510e2c45ce3726caab3c2e4b85950e9ed53dc998ead18d5eb04745b0d4
DEBUG  src.node.docker_mananger:docker_mananger.py:57 Container started with ID 5a130f510e2c. Setting up logs at ./log/docker/node2_2024-09-12_04-26-13__95fac5cb-140c-4211-8ed9-d3fcbf485fd6__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 45879
DEBUG  src.libs.common:common.py:35 Sleeping for 1 seconds
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:45879/health" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"nodeHealth":"Ready","protocolsHealth":[]}'
INFO  src.node.waku_node:waku_node.py:277 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:45879/debug/v1/info" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.234.165/tcp/45880/p2p/16Uiu2HAkz6LYKCbVWgMSJeyQtmnQMcvee2ZSSRbuuGsu9A6nxLpY","/ip4/172.18.234.165/tcp/45881/ws/p2p/16Uiu2HAkz6LYKCbVWgMSJeyQtmnQMcvee2ZSSRbuuGsu9A6nxLpY"],"enrUri":"enr:-LO4QJiJ4X3r7yAJ5mlzHih0KGBUzvmMmsGnaYzGhnHraeYMT2mtqangBBwvWCbI_d0xQCmeG-Ibp4i_MwCcrAKiv-gBgmlkgnY0gmlwhKwS6qWKbXVsdGlhZGRyc4wACgSsEuqlBrM53QOCcnOFAAMBAACJc2VjcDI1NmsxoQJFVmtPiF2ygA4i6Q7BVoGfkuq1q46A16xtzFJ2P88rOYN0Y3CCsziDdWRwgrM6hXdha3UyAQ"}'
INFO  src.node.waku_node:waku_node.py:282 REST service is ready !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:45879/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.171.250/tcp/24708/p2p/16Uiu2HAm1tupJfQKFXxV1FTXffLkb2U1TBcSEThzi598kvZ7zz1t"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.steps.relay:relay.py:59 Running fixture setup: subscribe_main_relay_nodes
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:24707/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:45879/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:24707/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)'}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.libs.common:common.py:35 Sleeping for 0.1 seconds
DEBUG  src.steps.relay:relay.py:123 Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:24707/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'[{"payload":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1726115177520702208,"ephemeral":false}]'
DEBUG  src.steps.relay:relay.py:123 Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:45879/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'[{"payload":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1726115177520702208,"ephemeral":false}]'
INFO  src.steps.relay:relay.py:71 WARM UP successful!!
DEBUG  tests.relay.test_publish:test_publish.py:138 Running test with timestamp Timestamp as string number
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:24707/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)'}'
ERROR  src.node.api_clients.base_client:base_client.py:16 HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:24707/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode. Unable to deserialize data'
DEBUG  tests.relay.test_publish:test_publish.py:138 Running test with timestamp Invalid large number
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:24707/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)'}'
ERROR  src.node.api_clients.base_client:base_client.py:16 HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:24707/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode. Unable to deserialize data'
DEBUG  tests.relay.test_publish:test_publish.py:138 Running test with timestamp Float number
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:24707/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)'}'
ERROR  src.node.api_clients.base_client:base_client.py:16 HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:24707/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode. Unable to deserialize data'
DEBUG  tests.relay.test_publish:test_publish.py:138 Running test with timestamp Array instead of timestamp
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:24707/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)'}'
ERROR  src.node.api_clients.base_client:base_client.py:16 HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:24707/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode. Unable to deserialize data'
DEBUG  tests.relay.test_publish:test_publish.py:138 Running test with timestamp Object instead of timestamp
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:24707/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)'}'
ERROR  src.node.api_clients.base_client:base_client.py:16 HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:24707/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode. Unable to deserialize data'
DEBUG  tests.relay.test_publish:test_publish.py:138 Running test with timestamp ISO 8601 timestamp
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:24707/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)'}'
ERROR  src.node.api_clients.base_client:base_client.py:16 HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:24707/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode. Unable to deserialize data'
DEBUG  tests.relay.test_publish:test_publish.py:138 Running test with timestamp Missing
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:24707/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)'}'
ERROR  src.node.api_clients.base_client:base_client.py:16 HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:24707/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode. Unable to deserialize data'
DEBUG  tests.conftest:conftest.py:59 Running fixture teardown: test_setup
DEBUG  tests.conftest:conftest.py:83 Running fixture teardown: close_open_nodes
DEBUG  src.node.waku_node:waku_node.py:221 Stopping container with id d9c8ab050914
DEBUG  src.node.waku_node:waku_node.py:228 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:221 Stopping container with id 5a130f510e2c
DEBUG  src.node.waku_node:waku_node.py:228 Container stopped.
DEBUG  tests.conftest:conftest.py:98 Running fixture teardown: check_waku_log_errors
DEBUG  src.node.docker_mananger:docker_mananger.py:117 No errors found in the waku logs.
DEBUG  src.node.docker_mananger:docker_mananger.py:117 No errors found in the waku logs.