1 line
13 KiB
JSON

{"uid":"b41412eea38d91e2","name":"test_publish_on_non_subscribed_pubsub_topic","fullName":"tests.relay.test_publish.TestRelayPublish#test_publish_on_non_subscribed_pubsub_topic","historyId":"214b50a33c34cde6e6a22ba72a5e36c3","time":{"start":1777267102602,"stop":1777267102605,"duration":3},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1777266921684,"stop":1777266921684,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1777267099962,"stop":1777267099962,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1777267099962,"stop":1777267099962,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1777267099963,"stop":1777267099963,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1777267099963,"stop":1777267099963,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1777267099963,"stop":1777267099963,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1777267099963,"stop":1777267099963,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"setup_main_relay_nodes","time":{"start":1777267099964,"stop":1777267102474,"duration":2510},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1777267102470,"stop":1777267102474,"duration":4},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.relay.test_publish.TestRelayPublish object at 0x7f3fac58a0c0>, <src.node.waku_node.WakuNode object at 0x7f3fac0846e0>, ['/ip4/172.18.54.174/tcp/7340/p2p/16Uiu2HAmRV4Cv4HLXfvpo5K2nhjAtY7yiY4AunY9bhfno2XzqLx1'])"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"relay_setup","time":{"start":1777267099964,"stop":1777267099964,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"subscribe_main_relay_nodes","time":{"start":1777267102474,"stop":1777267102484,"duration":10},"status":"passed","steps":[{"name":"ensure_relay_subscriptions_on_nodes","time":{"start":1777267102475,"stop":1777267102484,"duration":9},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node_list","value":"[<src.node.waku_node.WakuNode object at 0x7f3fac494f50>, <src.node.waku_node.WakuNode object at 0x7f3fac0846e0>]"},{"name":"pubsub_topic_list","value":"['/waku/2/rs/198/1']"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"relay_warm_up","time":{"start":1777267102484,"stop":1777267102601,"duration":117},"status":"passed","steps":[{"name":"wait_for_published_message_to_reach_relay_peer","time":{"start":1777267102484,"stop":1777267102601,"duration":117},"status":"passed","steps":[{"name":"check_published_message_reaches_relay_peer","time":{"start":1777267102485,"stop":1777267102601,"duration":116},"status":"passed","steps":[{"name":"assert_received_message","time":{"start":1777267102597,"stop":1777267102597,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"sent_message","value":"{'payload': 'UmVsYXkgd29ya3MhIQ==', 'contentTopic': '/test/1/waku-relay/proto', 'timestamp': 1777267102484395520}"},{"name":"index","value":"0"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"assert_received_message","time":{"start":1777267102601,"stop":1777267102601,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"sent_message","value":"{'payload': 'UmVsYXkgd29ya3MhIQ==', 'contentTopic': '/test/1/waku-relay/proto', 'timestamp': 1777267102484395520}"},{"name":"index","value":"0"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"message","value":"{'payload': 'UmVsYXkgd29ya3MhIQ==', 'contentTopic': '/test/1/waku-relay/proto', 'timestamp': 1777267102484395520}"},{"name":"pubsub_topic","value":"None"},{"name":"message_propagation_delay","value":"0.1"},{"name":"sender","value":"None"},{"name":"peer_list","value":"None"}],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"timeout_duration","value":"120"},{"name":"time_between_retries","value":"1"},{"name":"pubsub_topic","value":"None"},{"name":"sender","value":"None"},{"name":"peer_list","value":"None"}],"stepsCount":3,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[],"stepsCount":4,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"testStage":{"status":"passed","steps":[{"name":"check_published_message_reaches_relay_peer","time":{"start":1777267102602,"stop":1777267102604,"duration":2},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:7339/relay/v1/messages/%2Fwaku%2F2%2Frs%2F198%2F1000 with response: b'Failed to publish: Node not subscribed to topic: /waku/2/rs/198/1000'\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/relay.py\", line 120, in check_published_message_reaches_relay_peer\n sender.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":1777267102602,"stop":1777267102602,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"message","value":"None"},{"name":"pubsub_topic","value":"'/waku/2/rs/198/1000'"},{"name":"message_propagation_delay","value":"0.1"},{"name":"sender","value":"None"},{"name":"peer_list","value":"None"}],"stepsCount":1,"shouldDisplayMessage":true,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[{"name":"log","type":"text/plain","size":0},{"name":"stderr","type":"text/plain","size":0}],"parameters":[],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1777267102607,"stop":1777267102607,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1777267102608,"stop":1777267103502,"duration":894},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1777267103502,"stop":1777267103519,"duration":17},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1777267103519,"stop":1777267103520,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"set_allure_env_variables::0","time":{"start":1777267993191,"stop":1777267993191,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"labels":[{"name":"tag","value":"@pytest.mark.usefixtures('setup_main_relay_nodes', 'subscribe_main_relay_nodes', 'relay_warm_up')"},{"name":"parentSuite","value":"tests.relay"},{"name":"suite","value":"test_publish"},{"name":"subSuite","value":"TestRelayPublish"},{"name":"host","value":"runnervmeorf1"},{"name":"thread","value":"21590-MainThread"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"tests.relay.test_publish"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":false,"retry":false,"extra":{"severity":"normal","retries":[],"categories":[],"history":{"statistic":{"failed":0,"broken":0,"skipped":0,"passed":10,"unknown":0,"total":10},"items":[{"uid":"2a9f80d66116804d","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1212/#testresult/2a9f80d66116804d","status":"passed","time":{"start":1777180532122,"stop":1777180532126,"duration":4}},{"uid":"47276487368b646f","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1211/#testresult/47276487368b646f","status":"passed","time":{"start":1777093283869,"stop":1777093283873,"duration":4}},{"uid":"7475e5a8f4041ed5","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1210/#testresult/7475e5a8f4041ed5","status":"passed","time":{"start":1777007632062,"stop":1777007632066,"duration":4}},{"uid":"1ae3f763219b67f7","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1209/#testresult/1ae3f763219b67f7","status":"passed","time":{"start":1776981655615,"stop":1776981655619,"duration":4}},{"uid":"f598ad66290e7e12","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1208/#testresult/f598ad66290e7e12","status":"passed","time":{"start":1776921287002,"stop":1776921287005,"duration":3}},{"uid":"9413bddc01f46784","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1207/#testresult/9413bddc01f46784","status":"passed","time":{"start":1776902268143,"stop":1776902268146,"duration":3}},{"uid":"dfa559daab191c07","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1206/#testresult/dfa559daab191c07","status":"passed","time":{"start":1776897998628,"stop":1776897998631,"duration":3}},{"uid":"9e41b4bcb56cea5e","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1199/#testresult/9e41b4bcb56cea5e","status":"passed","time":{"start":1776873009534,"stop":1776873009538,"duration":4}},{"uid":"702f802849f72d48","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1198/#testresult/702f802849f72d48","status":"passed","time":{"start":1776869013666,"stop":1776869013669,"duration":3}}]},"tags":["@pytest.mark.usefixtures('setup_main_relay_nodes', 'subscribe_main_relay_nodes', 'relay_warm_up')"]},"source":"b41412eea38d91e2.json","parameterValues":[]}