1 line
13 KiB
JSON

{"uid":"b4ffb0029e9e2724","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":1765772594255,"stop":1765772594259,"duration":4},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1765772202199,"stop":1765772202199,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1765772591652,"stop":1765772591652,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1765772591652,"stop":1765772591652,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1765772591652,"stop":1765772591653,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1765772591652,"stop":1765772591652,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"setup_main_relay_nodes","time":{"start":1765772591653,"stop":1765772594130,"duration":2477},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1765772594127,"stop":1765772594130,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.relay.test_publish.TestRelayPublish object at 0x7f5169cea540>, <src.node.waku_node.WakuNode object at 0x7f5169aec770>, ['/ip4/172.18.36.8/tcp/33891/p2p/16Uiu2HAkw3j18CSMxsmf5tFzdvMoiQNqCTefPdiJ83pWRUGK8n8v'])"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"test_setup","time":{"start":1765772591653,"stop":1765772591653,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1765772591653,"stop":1765772591653,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1765772591653,"stop":1765772591653,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"subscribe_main_relay_nodes","time":{"start":1765772594130,"stop":1765772594140,"duration":10},"status":"passed","steps":[{"name":"ensure_relay_subscriptions_on_nodes","time":{"start":1765772594130,"stop":1765772594140,"duration":10},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node_list","value":"[<src.node.waku_node.WakuNode object at 0x7f51696fd040>, <src.node.waku_node.WakuNode object at 0x7f5169aec770>]"},{"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":1765772594140,"stop":1765772594255,"duration":115},"status":"passed","steps":[{"name":"wait_for_published_message_to_reach_relay_peer","time":{"start":1765772594140,"stop":1765772594255,"duration":115},"status":"passed","steps":[{"name":"check_published_message_reaches_relay_peer","time":{"start":1765772594140,"stop":1765772594255,"duration":115},"status":"passed","steps":[{"name":"assert_received_message","time":{"start":1765772594251,"stop":1765772594251,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"sent_message","value":"{'payload': 'UmVsYXkgd29ya3MhIQ==', 'contentTopic': '/test/1/waku-relay/proto', 'timestamp': 1765772594140295680}"},{"name":"index","value":"0"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"assert_received_message","time":{"start":1765772594254,"stop":1765772594255,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"sent_message","value":"{'payload': 'UmVsYXkgd29ya3MhIQ==', 'contentTopic': '/test/1/waku-relay/proto', 'timestamp': 1765772594140295680}"},{"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': 1765772594140295680}"},{"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":1765772594256,"stop":1765772594258,"duration":2},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:33890/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":1765772594256,"stop":1765772594256,"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":"5e37ced9ebe4c1ec","name":"log","source":"5e37ced9ebe4c1ec.txt","type":"text/plain","size":14260},{"uid":"70a250e1153873c8","name":"stderr","source":"70a250e1153873c8.txt","type":"text/plain","size":13920}],"parameters":[],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1765772594261,"stop":1765772594261,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1765772594262,"stop":1765772595357,"duration":1095},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1765772595358,"stop":1765772595374,"duration":16},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1765772595374,"stop":1765772595374,"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":1765773743940,"stop":1765773743941,"duration":1},"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":"runnervm6qbrg"},{"name":"thread","value":"2221-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":9,"unknown":0,"total":9},"items":[{"uid":"713d6df24bea6f0f","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1003/#testresult/713d6df24bea6f0f","status":"passed","time":{"start":1765686095015,"stop":1765686095019,"duration":4}},{"uid":"d25322754e8c63bd","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1002/#testresult/d25322754e8c63bd","status":"passed","time":{"start":1765599170759,"stop":1765599170763,"duration":4}},{"uid":"62f53775f8742d4a","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1001/#testresult/62f53775f8742d4a","status":"passed","time":{"start":1765513143218,"stop":1765513143221,"duration":3}},{"uid":"97804cdeb7914667","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1000/#testresult/97804cdeb7914667","status":"passed","time":{"start":1765426527392,"stop":1765426527395,"duration":3}},{"uid":"e65ce5fd9a42f43f","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/999/#testresult/e65ce5fd9a42f43f","status":"passed","time":{"start":1765340004730,"stop":1765340004734,"duration":4}},{"uid":"38d3b085ef3bbb55","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/998/#testresult/38d3b085ef3bbb55","status":"passed","time":{"start":1765253441951,"stop":1765253441955,"duration":4}},{"uid":"2ec0c4322b7ce097","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/997/#testresult/2ec0c4322b7ce097","status":"passed","time":{"start":1765195961106,"stop":1765195961110,"duration":4}},{"uid":"e27ec1905d1fa5a4","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/996/#testresult/e27ec1905d1fa5a4","status":"passed","time":{"start":1765184168806,"stop":1765184168810,"duration":4}}]},"tags":["@pytest.mark.usefixtures('setup_main_relay_nodes', 'subscribe_main_relay_nodes', 'relay_warm_up')"]},"source":"b4ffb0029e9e2724.json","parameterValues":[]}