mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-05-24 19:29:33 +00:00
1 line
16 KiB
JSON
1 line
16 KiB
JSON
{"uid":"e7fd68f68f71e0bf","name":"test_cant_publish_on_not_subscribed_shard","fullName":"tests.sharding.test_relay_static_sharding.TestRelayStaticSharding#test_cant_publish_on_not_subscribed_shard","historyId":"ffca3b8c620bebd3c2fd29550d6e4bc2","time":{"start":1777353909225,"stop":1777353912014,"duration":2789},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1777353452633,"stop":1777353452633,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1777353909224,"stop":1777353909224,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1777353909224,"stop":1777353909224,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1777353909224,"stop":1777353909224,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1777353909224,"stop":1777353909224,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1777353909224,"stop":1777353909224,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1777353909224,"stop":1777353909225,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1777353909225,"stop":1777353909225,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1777353909225,"stop":1777353909225,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"testStage":{"status":"passed","steps":[{"name":"setup_main_relay_nodes","time":{"start":1777353909225,"stop":1777353912005,"duration":2780},"status":"passed","steps":[{"name":"setup_first_relay_node_with_filter","time":{"start":1777353909225,"stop":1777353910742,"duration":1517},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1777353909226,"stop":1777353910742,"duration":1516},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"filter","value":"'true'"},{"name":"pubsub_topic","value":"'/waku/2/rs/199/0'"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"pubsub_topic","value":"'/waku/2/rs/199/0'"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"setup_second_relay_node","time":{"start":1777353910743,"stop":1777353912005,"duration":1262},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1777353912001,"stop":1777353912005,"duration":4},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_relay_static_sharding.TestRelayStaticSharding object at 0x7f1b2d541490>, <src.node.waku_node.WakuNode object at 0x7f1b2d592b70>, ['/ip4/172.18.117.248/tcp/43920/p2p/16Uiu2HAmHKBJF4uvnSfrzXbW5emhEX1ifPbZAZxANjDM37bdA5P6'])"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"pubsub_topic","value":"'/waku/2/rs/199/0'"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"pubsub_topic","value":"'/waku/2/rs/199/0'"}],"stepsCount":4,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_main_relay_nodes","time":{"start":1777353912005,"stop":1777353912010,"duration":5},"status":"passed","steps":[{"name":"subscribe_relay_node","time":{"start":1777353912005,"stop":1777353912008,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f1b2d4695e0>"},{"name":"content_topics","value":"None"},{"name":"pubsub_topics","value":"['/waku/2/rs/199/0']"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_relay_node","time":{"start":1777353912008,"stop":1777353912010,"duration":2},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f1b2d592b70>"},{"name":"content_topics","value":"None"},{"name":"pubsub_topics","value":"['/waku/2/rs/199/0']"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"content_topics","value":"None"},{"name":"pubsub_topics","value":"['/waku/2/rs/199/0']"}],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"check_publish_fails_on_not_subscribed_pubsub_topic","time":{"start":1777353912010,"stop":1777353912014,"duration":4},"status":"passed","steps":[{"name":"check_published_message_reaches_relay_peer","time":{"start":1777353912010,"stop":1777353912014,"duration":4},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:43919/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F1 with response: b'Failed to publish: Node not subscribed to topic: /waku/2/rs/2/1'\n","statusTrace":" File \"/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/allure_commons/_allure.py\", line 192, in impl\n return func(*a, **kw)\n ^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/steps/sharding.py\", line 155, in check_published_message_reaches_relay_peer\n self.relay_message(sender, message, pubsub_topic)\n File \"/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/allure_commons/_allure.py\", line 192, in impl\n return func(*a, **kw)\n ^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/steps/sharding.py\", line 134, in relay_message\n node.send_relay_message(message, pubsub_topic)\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/waku_node.py\", line 500, in send_relay_message\n return self._api.send_relay_message(message, pubsub_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/api_clients/rest.py\", line 51, in send_relay_message\n return self.rest_call(\"post\", f\"relay/v1/messages/{quote(pubsub_topic, safe='')}\", json.dumps(message))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/api_clients/rest.py\", line 16, in rest_call\n return self.make_request(method, url, headers=headers, data=payload)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/api_clients/base_client.py\", line 17, in make_request\n raise Exception(f\"Error: {http_err} with response: {response.content}\")\n","steps":[{"name":"create_message","time":{"start":1777353912011,"stop":1777353912011,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_message","time":{"start":1777353912011,"stop":1777353912013,"duration":2},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:43919/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F1 with response: b'Failed to publish: Node not subscribed to topic: /waku/2/rs/2/1'\n","statusTrace":" File \"/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/allure_commons/_allure.py\", line 192, in impl\n return func(*a, **kw)\n ^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/steps/sharding.py\", line 134, in relay_message\n node.send_relay_message(message, pubsub_topic)\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/waku_node.py\", line 500, in send_relay_message\n return self._api.send_relay_message(message, pubsub_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/api_clients/rest.py\", line 51, in send_relay_message\n return self.rest_call(\"post\", f\"relay/v1/messages/{quote(pubsub_topic, safe='')}\", json.dumps(message))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/api_clients/rest.py\", line 16, in rest_call\n return self.make_request(method, url, headers=headers, data=payload)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/api_clients/base_client.py\", line 17, in make_request\n raise Exception(f\"Error: {http_err} with response: {response.content}\")\n","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f1b2d4695e0>"},{"name":"message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/myapp/1/latest/proto', 'timestamp': 1777353912010522118}"},{"name":"pubsub_topic","value":"'/waku/2/rs/2/1'"}],"stepsCount":0,"shouldDisplayMessage":true,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"content_topic","value":"None"},{"name":"pubsub_topic","value":"'/waku/2/rs/2/1'"},{"name":"sender","value":"None"},{"name":"peer_list","value":"None"}],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"pubsub_topic","value":"'/waku/2/rs/2/1'"}],"stepsCount":3,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[{"name":"log","type":"text/plain","size":0},{"name":"stderr","type":"text/plain","size":0}],"parameters":[],"stepsCount":12,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1777353912015,"stop":1777353912016,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1777353912017,"stop":1777353912984,"duration":967},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1777353912985,"stop":1777353913003,"duration":18},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1777353913004,"stop":1777353913004,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"set_allure_env_variables::0","time":{"start":1777354045215,"stop":1777354045215,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"labels":[{"name":"parentSuite","value":"tests.sharding"},{"name":"suite","value":"test_relay_static_sharding"},{"name":"subSuite","value":"TestRelayStaticSharding"},{"name":"host","value":"runnervmeorf1"},{"name":"thread","value":"21583-MainThread"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"tests.sharding.test_relay_static_sharding"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":false,"retry":false,"extra":{"severity":"normal","retries":[],"categories":[],"history":{"statistic":{"failed":0,"broken":0,"skipped":0,"passed":11,"unknown":0,"total":11},"items":[{"uid":"eb5f8eb64ac698c7","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1213/#testresult/eb5f8eb64ac698c7","status":"passed","time":{"start":1777267443759,"stop":1777267446306,"duration":2547}},{"uid":"4268ef135f380263","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1212/#testresult/4268ef135f380263","status":"passed","time":{"start":1777180885359,"stop":1777180887890,"duration":2531}},{"uid":"8db52f2e51631b79","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1211/#testresult/8db52f2e51631b79","status":"passed","time":{"start":1777093607927,"stop":1777093610454,"duration":2527}},{"uid":"c967edaa1cb42721","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1210/#testresult/c967edaa1cb42721","status":"passed","time":{"start":1777007923645,"stop":1777007926175,"duration":2530}},{"uid":"3484887fa0088afe","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1209/#testresult/3484887fa0088afe","status":"passed","time":{"start":1776981993681,"stop":1776981996217,"duration":2536}},{"uid":"945ca442f09b0b01","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1208/#testresult/945ca442f09b0b01","status":"passed","time":{"start":1776921500114,"stop":1776921502659,"duration":2545}},{"uid":"1b9b56013edcc91d","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1207/#testresult/1b9b56013edcc91d","status":"passed","time":{"start":1776902563979,"stop":1776902566515,"duration":2536}},{"uid":"cdd052c37fcc60e5","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1206/#testresult/cdd052c37fcc60e5","status":"passed","time":{"start":1776898262452,"stop":1776898264981,"duration":2529}},{"uid":"19ebcecd6095049a","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1199/#testresult/19ebcecd6095049a","status":"passed","time":{"start":1776873069583,"stop":1776873072090,"duration":2507}},{"uid":"8ac5c794423aac39","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1198/#testresult/8ac5c794423aac39","status":"passed","time":{"start":1776869316428,"stop":1776869318955,"duration":2527}}]},"tags":[]},"source":"e7fd68f68f71e0bf.json","parameterValues":[]} |