74 lines
12 KiB
Plaintext
74 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_publishing_node_is_stopped with id: 2024-09-12_04-39-05__9b1515f3-a716-471c-ac5d-8ca6bc0fd22e
|
||
[35mDEBUG [0m src.steps.common:common.py:17 Running fixture setup: common_setup
|
||
[35mDEBUG [0m src.steps.store:store.py:28 Running fixture setup: store_setup
|
||
[35mDEBUG [0m src.steps.store:store.py:36 Running fixture setup: node_setup
|
||
[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/publishing_node1_2024-09-12_04-39-05__9b1515f3-a716-471c-ac5d-8ca6bc0fd22e__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.26.30
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['2731', '2732', '2733', '2734', '2735']
|
||
[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 2731:2731 -p 2732:2732 -p 2733:2733 -p 2734:2734 -p 2735:2735 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=2733 --rest-port=2731 --tcp-port=2732 --discv5-udp-port=2734 --rest-address=0.0.0.0 --nat=extip:172.18.26.30 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=f8c0e8d0245cf164ea1dba0c4e62dfd3e632abded75deb07e42417f7fabcb7ed --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=2735 --metrics-logging=true --store=true --relay=true
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.26.30 waku f8c17e63d6e1b6c269c61e666e12469a8657b92c21f9952e704cf2f5c4a9e488
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID f8c17e63d6e1. Setting up logs at ./log/docker/publishing_node1_2024-09-12_04-39-05__9b1515f3-a716-471c-ac5d-8ca6bc0fd22e__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 2731
|
||
[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:2731/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:2731/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.26.30/tcp/2732/p2p/16Uiu2HAm83qD2j9crvnCRyF2U3HZAiRFhA8vz9cfnsJ7tssbq22g","/ip4/172.18.26.30/tcp/2733/ws/p2p/16Uiu2HAm83qD2j9crvnCRyF2U3HZAiRFhA8vz9cfnsJ7tssbq22g"],"enrUri":"enr:-LO4QPx7r2N05THCyFeikSw2tL45uXf30GR3dvytCZ7iU0wUXRy9RU_I-B0AZo5uoBlbSqsM2YDt5izxVgrRLkGj2_4BgmlkgnY0gmlwhKwSGh6KbXVsdGlhZGRyc4wACgSsEhoeBgqt3QOCcnOFAAMBAACJc2VjcDI1NmsxoQK7j5YtbC-vaCxJvzPx24yo1UHBGj4Wgi90agSyjjCKZYN0Y3CCCqyDdWRwggquhXdha3UyAw"}'
|
||
[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/store_node1_2024-09-12_04-39-05__9b1515f3-a716-471c-ac5d-8ca6bc0fd22e__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.250.87
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['48926', '48927', '48928', '48929', '48930']
|
||
[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 48926:48926 -p 48927:48927 -p 48928:48928 -p 48929:48929 -p 48930:48930 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=48928 --rest-port=48926 --tcp-port=48927 --discv5-udp-port=48929 --rest-address=0.0.0.0 --nat=extip:172.18.250.87 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=de0d379bccfc9a19a9aecbfa27ad2ada4202ed6ba565ddafddc3ee9ae86dd0cd --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=48930 --metrics-logging=true --discv5-bootstrap-node=enr:-LO4QPx7r2N05THCyFeikSw2tL45uXf30GR3dvytCZ7iU0wUXRy9RU_I-B0AZo5uoBlbSqsM2YDt5izxVgrRLkGj2_4BgmlkgnY0gmlwhKwSGh6KbXVsdGlhZGRyc4wACgSsEhoeBgqt3QOCcnOFAAMBAACJc2VjcDI1NmsxoQK7j5YtbC-vaCxJvzPx24yo1UHBGj4Wgi90agSyjjCKZYN0Y3CCCqyDdWRwggquhXdha3UyAw --storenode=/ip4/172.18.26.30/tcp/2732/p2p/16Uiu2HAm83qD2j9crvnCRyF2U3HZAiRFhA8vz9cfnsJ7tssbq22g --store=true --relay=true
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.250.87 waku d77a9a752646defba08575424a3fa1d834b7bf86939e94a4ff7dae271ac55ad0
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID d77a9a752646. Setting up logs at ./log/docker/store_node1_2024-09-12_04-39-05__9b1515f3-a716-471c-ac5d-8ca6bc0fd22e__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 48926
|
||
[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:48926/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:48926/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.250.87/tcp/48927/p2p/16Uiu2HAmFKsDGRB4oiwTjHQwvoCFJeYdvrXCAki6wdwGzo8dLNmX","/ip4/172.18.250.87/tcp/48928/ws/p2p/16Uiu2HAmFKsDGRB4oiwTjHQwvoCFJeYdvrXCAki6wdwGzo8dLNmX"],"enrUri":"enr:-LO4QB-fYwDhIZSL7nbTRhO6vUKblCCPKToTttLKxYPhPVgUeKv6NlilV5Fw3CrLzYBBoauX7I057yVWMc6PoyCkyZMBgmlkgnY0gmlwhKwS-leKbXVsdGlhZGRyc4wACgSsEvpXBr8g3QOCcnOFAAMBAACJc2VjcDI1NmsxoQMnrPQ93R1pGucQoViwjdxczUYZLBmSsWCCm7gDrNgtooN0Y3CCvx-DdWRwgr8hhXdha3UyAw"}'
|
||
[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:48926/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.26.30/tcp/2732/p2p/16Uiu2HAm83qD2j9crvnCRyF2U3HZAiRFhA8vz9cfnsJ7tssbq22g"]'
|
||
[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:2731/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
|
||
[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:48926/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
|
||
[35mDEBUG [0m src.steps.store:store.py:129 Relaying message
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:2731/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "U3RvcmUgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/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.2 seconds
|
||
[35mDEBUG [0m src.steps.store:store.py:215 Checking that peer wakuorg/nwaku:latest can find the stored messages
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:2731/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5" -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'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"cqb6ZS2XLxQsMbgqlKEv/KSlkaIuyLHkIrPUcKflNUk="}]}'
|
||
[35mDEBUG [0m src.steps.store:store.py:215 Checking that peer wakuorg/nwaku:latest can find the stored messages
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:48926/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5" -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'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"cqb6ZS2XLxQsMbgqlKEv/KSlkaIuyLHkIrPUcKflNUk="}]}'
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:221 Stopping container with id f8c17e63d6e1
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:228 Container stopped.
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:48926/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -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'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"cqb6ZS2XLxQsMbgqlKEv/KSlkaIuyLHkIrPUcKflNUk="}]}'
|
||
[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 d77a9a752646
|
||
[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. |