1 line
15 KiB
JSON

{"uid":"b781f3b26322bb79","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":1770871346654,"stop":1770871346658,"duration":4},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1770871163745,"stop":1770871163745,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1770871344038,"stop":1770871344038,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1770871344039,"stop":1770871344039,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1770871344039,"stop":1770871344039,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1770871344039,"stop":1770871344040,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1770871344039,"stop":1770871344039,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1770871344039,"stop":1770871344039,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1770871344039,"stop":1770871344039,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"setup_main_relay_nodes","time":{"start":1770871344040,"stop":1770871346529,"duration":2489},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1770871346526,"stop":1770871346529,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.relay.test_publish.TestRelayPublish object at 0x7fc6b7f0b590>, <src.node.waku_node.WakuNode object at 0x7fc6b7a50f50>, ['/ip4/172.18.51.14/tcp/33939/p2p/16Uiu2HAmUW7dmUcx7nz99WgxMBBGJZHUKy9TFMxWuWDWxcRzp66N'])"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_main_relay_nodes","time":{"start":1770871346530,"stop":1770871346539,"duration":9},"status":"passed","steps":[{"name":"ensure_relay_subscriptions_on_nodes","time":{"start":1770871346530,"stop":1770871346539,"duration":9},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node_list","value":"[<src.node.waku_node.WakuNode object at 0x7fc6b7afa450>, <src.node.waku_node.WakuNode object at 0x7fc6b7a50f50>]"},{"name":"pubsub_topic_list","value":"['/waku/2/rs/3/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":1770871346539,"stop":1770871346654,"duration":115},"status":"passed","steps":[{"name":"wait_for_published_message_to_reach_relay_peer","time":{"start":1770871346539,"stop":1770871346654,"duration":115},"status":"passed","steps":[{"name":"check_published_message_reaches_relay_peer","time":{"start":1770871346539,"stop":1770871346654,"duration":115},"status":"passed","steps":[{"name":"assert_received_message","time":{"start":1770871346650,"stop":1770871346650,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"sent_message","value":"{'payload': 'UmVsYXkgd29ya3MhIQ==', 'contentTopic': '/test/1/waku-relay/proto', 'timestamp': 1770871346538842112}"},{"name":"index","value":"0"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"assert_received_message","time":{"start":1770871346653,"stop":1770871346653,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"sent_message","value":"{'payload': 'UmVsYXkgd29ya3MhIQ==', 'contentTopic': '/test/1/waku-relay/proto', 'timestamp': 1770871346538842112}"},{"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': 1770871346538842112}"},{"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":1770871346654,"stop":1770871346657,"duration":3},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:33938/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1000 with response: b'Failed to publish: Node not subscribed to topic: /waku/2/rs/3/1000'\n","statusTrace":" File \"/opt/hostedtoolcache/Python/3.12.12/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-messaging-interop-tests/logos-messaging-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-messaging-interop-tests/logos-messaging-interop-tests/src/node/waku_node.py\", line 348, in send_relay_message\n return self._api.send_relay_message(message, pubsub_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-messaging-interop-tests/logos-messaging-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-messaging-interop-tests/logos-messaging-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-messaging-interop-tests/logos-messaging-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":1770871346655,"stop":1770871346655,"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/3/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":[{"uid":"527388aa12cff106","name":"log","source":"527388aa12cff106.txt","type":"text/plain","size":14331},{"uid":"fc4d1b461ae0a23f","name":"stderr","source":"fc4d1b461ae0a23f.txt","type":"text/plain","size":13991}],"parameters":[],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1770871346659,"stop":1770871346660,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1770871346660,"stop":1770871347799,"duration":1139},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1770871347799,"stop":1770871347812,"duration":13},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1770871347812,"stop":1770871347812,"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":1770872252710,"stop":1770872252710,"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":"runnervmwffz4"},{"name":"thread","value":"3446-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":17,"unknown":0,"total":17},"items":[{"uid":"dcf6fc84aa117234","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1076/#testresult/dcf6fc84aa117234","status":"passed","time":{"start":1770785144378,"stop":1770785144381,"duration":3}},{"uid":"f2533cd9413a9dcf","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1075/#testresult/f2533cd9413a9dcf","status":"passed","time":{"start":1770698806515,"stop":1770698806518,"duration":3}},{"uid":"1cfd620b0cde39cc","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1074/#testresult/1cfd620b0cde39cc","status":"passed","time":{"start":1770612271042,"stop":1770612271045,"duration":3}},{"uid":"4085bb829bfc6fac","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1073/#testresult/4085bb829bfc6fac","status":"passed","time":{"start":1770525990757,"stop":1770525990761,"duration":4}},{"uid":"a2d2fc9ef0df67dc","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1072/#testresult/a2d2fc9ef0df67dc","status":"passed","time":{"start":1770438789023,"stop":1770438789026,"duration":3}},{"uid":"82c046a274a5d9a7","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1071/#testresult/82c046a274a5d9a7","status":"passed","time":{"start":1770352573795,"stop":1770352573799,"duration":4}},{"uid":"de9bbce0ec5b0e9e","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1070/#testresult/de9bbce0ec5b0e9e","status":"passed","time":{"start":1770266114497,"stop":1770266114501,"duration":4}},{"uid":"cee0bfc01f7f7efb","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1069/#testresult/cee0bfc01f7f7efb","status":"passed","time":{"start":1770225170490,"stop":1770225170494,"duration":4}},{"uid":"c948da0fe96134b0","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1068/#testresult/c948da0fe96134b0","status":"passed","time":{"start":1770206196716,"stop":1770206196720,"duration":4}},{"uid":"51ddecfeb772b092","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1067/#testresult/51ddecfeb772b092","status":"passed","time":{"start":1770179714059,"stop":1770179714062,"duration":3}},{"uid":"911641527d05bae5","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1066/#testresult/911641527d05bae5","status":"passed","time":{"start":1770093332637,"stop":1770093332641,"duration":4}},{"uid":"4282c79936f982db","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1065/#testresult/4282c79936f982db","status":"passed","time":{"start":1770007359576,"stop":1770007359580,"duration":4}},{"uid":"c4b82b01e3bc8f8e","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1064/#testresult/c4b82b01e3bc8f8e","status":"passed","time":{"start":1769921115690,"stop":1769921115694,"duration":4}},{"uid":"8b95e3ab4c5ab975","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1063/#testresult/8b95e3ab4c5ab975","status":"passed","time":{"start":1769833972153,"stop":1769833972157,"duration":4}},{"uid":"ed4a5b04da47f1ff","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1062/#testresult/ed4a5b04da47f1ff","status":"passed","time":{"start":1769747649894,"stop":1769747649898,"duration":4}},{"uid":"679923aaa6d9cc5d","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1061/#testresult/679923aaa6d9cc5d","status":"passed","time":{"start":1769661665606,"stop":1769661665610,"duration":4}}]},"tags":["@pytest.mark.usefixtures('setup_main_relay_nodes', 'subscribe_main_relay_nodes', 'relay_warm_up')"]},"source":"b781f3b26322bb79.json","parameterValues":[]}