75 lines
12 KiB
Plaintext
75 lines
12 KiB
Plaintext
[35mDEBUG [0m tests.conftest:conftest.py:51 Running fixture setup: test_id
|
||
[35mDEBUG [0m tests.conftest:conftest.py:57 Running test: test_publish_with_invalid_version with id: 2024-09-12_04-26-23__eaa33327-9892-48b5-81a6-2568f1dd3e28
|
||
[35mDEBUG [0m src.steps.common:common.py:17 Running fixture setup: common_setup
|
||
[35mDEBUG [0m src.steps.relay:relay.py:28 Running fixture setup: relay_setup
|
||
[35mDEBUG [0m src.steps.relay:relay.py:34 Running fixture setup: setup_main_relay_nodes
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:18 Docker client initialized with image wakuorg/nwaku:latest
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:85 WakuNode instance initialized with log path ./log/docker/node1_2024-09-12_04-26-23__eaa33327-9892-48b5-81a6-2568f1dd3e28__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:89 Starting Node...
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:21 Attempting to create or retrieve network waku
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:24 Network waku already exists
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:81 Generated random external IP 172.18.222.56
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['47608', '47609', '47610', '47611', '47612']
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:434 RLN credentials were not set
|
||
[32mINFO [0m src.node.waku_node:waku_node.py:163 RLN credentials not set or credential store not available, starting without RLN
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:165 Using volumes []
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:48 docker run -i -t -p 47608:47608 -p 47609:47609 -p 47610:47610 -p 47611:47611 -p 47612:47612 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=47610 --rest-port=47608 --tcp-port=47609 --discv5-udp-port=47611 --rest-address=0.0.0.0 --nat=extip:172.18.222.56 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=1ba693aaa7b207d59deadabc300e4c8f73092eaecebaa98cf6d52c7fb9bbfad4 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=47612 --metrics-logging=true --relay=true
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.222.56 waku 504eb2e3c6bb9fc836bc516c9c994e112ece780c5e7ba52ce30df670f6f6793a
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID 504eb2e3c6bb. Setting up logs at ./log/docker/node1_2024-09-12_04-26-23__eaa33327-9892-48b5-81a6-2568f1dd3e28__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 47608
|
||
[35mDEBUG [0m src.libs.common:common.py:35 Sleeping for 1 seconds
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:47608/health" -H "Content-Type: application/json" -d 'None'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"nodeHealth":"Ready","protocolsHealth":[]}'
|
||
[32mINFO [0m src.node.waku_node:waku_node.py:277 Node protocols are initialized !!
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:47608/debug/v1/info" -H "Content-Type: application/json" -d 'None'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.222.56/tcp/47609/p2p/16Uiu2HAm1f9AGfMiwPhv6zxy2rsT5QWo7h7Mow1dWoNGhTYhww4p","/ip4/172.18.222.56/tcp/47610/ws/p2p/16Uiu2HAm1f9AGfMiwPhv6zxy2rsT5QWo7h7Mow1dWoNGhTYhww4p"],"enrUri":"enr:-LO4QPzWcFL4zeNPibtqp1aQCZODGXNKnAELwrGyAI-_V_uFUtN1VmjpXDxeZ0GGAtPHfdo-PN6A055REkw0omSlsY0BgmlkgnY0gmlwhKwS3jiKbXVsdGlhZGRyc4wACgSsEt44Brn63QOCcnOFAAMBAACJc2VjcDI1NmsxoQJcmWfDjbts3r16Jn4h1NnyeAUlbSRw-Gtw5MO21zPLRYN0Y3CCufmDdWRwgrn7hXdha3UyAQ"}'
|
||
[32mINFO [0m src.node.waku_node:waku_node.py:282 REST service is ready !!
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:18 Docker client initialized with image wakuorg/nwaku:latest
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:85 WakuNode instance initialized with log path ./log/docker/node2_2024-09-12_04-26-23__eaa33327-9892-48b5-81a6-2568f1dd3e28__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:89 Starting Node...
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:21 Attempting to create or retrieve network waku
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:24 Network waku already exists
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:81 Generated random external IP 172.18.201.197
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['64751', '64752', '64753', '64754', '64755']
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:434 RLN credentials were not set
|
||
[32mINFO [0m src.node.waku_node:waku_node.py:163 RLN credentials not set or credential store not available, starting without RLN
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:165 Using volumes []
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:48 docker run -i -t -p 64751:64751 -p 64752:64752 -p 64753:64753 -p 64754:64754 -p 64755:64755 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=64753 --rest-port=64751 --tcp-port=64752 --discv5-udp-port=64754 --rest-address=0.0.0.0 --nat=extip:172.18.201.197 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=b1cc59882cb3f81aefd2cce808b9bbecdbcfd0775d3b74efbd1ff692a70acf2e --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=64755 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-LO4QPzWcFL4zeNPibtqp1aQCZODGXNKnAELwrGyAI-_V_uFUtN1VmjpXDxeZ0GGAtPHfdo-PN6A055REkw0omSlsY0BgmlkgnY0gmlwhKwS3jiKbXVsdGlhZGRyc4wACgSsEt44Brn63QOCcnOFAAMBAACJc2VjcDI1NmsxoQJcmWfDjbts3r16Jn4h1NnyeAUlbSRw-Gtw5MO21zPLRYN0Y3CCufmDdWRwgrn7hXdha3UyAQ
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.201.197 waku 00bd9dc00cdeaa7883ecbea20ea42fad85d929ec4b17ec76e0d58cb44dd67a4e
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID 00bd9dc00cde. Setting up logs at ./log/docker/node2_2024-09-12_04-26-23__eaa33327-9892-48b5-81a6-2568f1dd3e28__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 64751
|
||
[35mDEBUG [0m src.libs.common:common.py:35 Sleeping for 1 seconds
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:64751/health" -H "Content-Type: application/json" -d 'None'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"nodeHealth":"Ready","protocolsHealth":[]}'
|
||
[32mINFO [0m src.node.waku_node:waku_node.py:277 Node protocols are initialized !!
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:64751/debug/v1/info" -H "Content-Type: application/json" -d 'None'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.201.197/tcp/64752/p2p/16Uiu2HAmMkHT51gFCok3Q5e4pAWf1xwWYWZbdgze8iaGz2KkkfvK","/ip4/172.18.201.197/tcp/64753/ws/p2p/16Uiu2HAmMkHT51gFCok3Q5e4pAWf1xwWYWZbdgze8iaGz2KkkfvK"],"enrUri":"enr:-LO4QDZd58SZFV4cpTkDE4n0CSoTaTaD9oLNiZTpwQY05BCLY4UXlR5DqmlXweQQuf2smmWzy_bhiNTQLBK0An8DhQsBgmlkgnY0gmlwhKwSycWKbXVsdGlhZGRyc4wACgSsEsnFBvzx3QOCcnOFAAMBAACJc2VjcDI1NmsxoQOHFGvIYnRRpGcz6aaDfkuQY6tg9xRu3DsmCIyiQEUs1IN0Y3CC_PCDdWRwgvzyhXdha3UyAQ"}'
|
||
[32mINFO [0m src.node.waku_node:waku_node.py:282 REST service is ready !!
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:64751/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.222.56/tcp/47609/p2p/16Uiu2HAm1f9AGfMiwPhv6zxy2rsT5QWo7h7Mow1dWoNGhTYhww4p"]'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
|
||
[35mDEBUG [0m src.steps.relay:relay.py:59 Running fixture setup: subscribe_main_relay_nodes
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:47608/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:64751/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:47608/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)'}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
|
||
[35mDEBUG [0m src.libs.common:common.py:35 Sleeping for 0.1 seconds
|
||
[35mDEBUG [0m src.steps.relay:relay.py:123 Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:47608/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
|
||
[32mINFO [0m 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":1726115187247001088,"ephemeral":false}]'
|
||
[35mDEBUG [0m src.steps.relay:relay.py:123 Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:64751/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
|
||
[32mINFO [0m 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":1726115187247001088,"ephemeral":false}]'
|
||
[32mINFO [0m src.steps.relay:relay.py:71 WARM UP successful!!
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:47608/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)', "version": 2.1}'
|
||
[1m[31mERROR [0m 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:47608/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode. Unable to deserialize data'
|
||
[35mDEBUG [0m tests.conftest:conftest.py:59 Running fixture teardown: test_setup
|
||
[35mDEBUG [0m tests.conftest:conftest.py:83 Running fixture teardown: close_open_nodes
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:221 Stopping container with id 504eb2e3c6bb
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:228 Container stopped.
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:221 Stopping container with id 00bd9dc00cde
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:228 Container stopped.
|
||
[35mDEBUG [0m tests.conftest:conftest.py:98 Running fixture teardown: check_waku_log_errors
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:117 No errors found in the waku logs.
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:117 No errors found in the waku logs. |