1 line
17 KiB
JSON

{"uid":"bcb0dffb76fcbfe8","name":"test_filter_unsubscribe_from_single_content_topic","fullName":"tests.filter.test_unsubscribe.TestFilterUnSubscribe#test_filter_unsubscribe_from_single_content_topic","historyId":"eca8acb0623134dcc92650d70a8eb76e","time":{"start":1772252870673,"stop":1772252870902,"duration":229},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1772252708339,"stop":1772252708339,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1772252868115,"stop":1772252868115,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1772252868116,"stop":1772252868116,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1772252868116,"stop":1772252868116,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1772252868116,"stop":1772252868116,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1772252868116,"stop":1772252868116,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1772252868116,"stop":1772252868117,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"filter_setup","time":{"start":1772252868117,"stop":1772252868117,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"setup_main_relay_node","time":{"start":1772252868117,"stop":1772252869362,"duration":1245},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"setup_main_filter_node","time":{"start":1772252869362,"stop":1772252870640,"duration":1278},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1772252870604,"stop":1772252870640,"duration":36},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.filter.test_unsubscribe.TestFilterUnSubscribe object at 0x7fef1b385a60>, <src.node.waku_node.WakuNode object at 0x7fef1af34890>, ['/ip4/172.18.35.236/tcp/18559/p2p/16Uiu2HAmCpoJ756WJwUtG5CB3xByFLRdeed4jZZdB3Wh186xEYiL'])"}],"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_nodes","time":{"start":1772252870640,"stop":1772252870671,"duration":31},"status":"passed","steps":[{"name":"wait_for_subscriptions_on_main_nodes","time":{"start":1772252870641,"stop":1772252870671,"duration":30},"status":"passed","steps":[{"name":"create_filter_subscription_with_retry","time":{"start":1772252870657,"stop":1772252870671,"duration":14},"status":"passed","steps":[{"name":"create_filter_subscription","time":{"start":1772252870657,"stop":1772252870671,"duration":14},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"subscription","value":"{'requestId': '401eb8f2-b0ba-420e-9e39-729574d84675', 'contentFilters': ['/test/1/waku-filter/proto'], 'pubsubTopic': '/waku/2/rs/3/1'}"},{"name":"node","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"subscription","value":"{'requestId': '401eb8f2-b0ba-420e-9e39-729574d84675', 'contentFilters': ['/test/1/waku-filter/proto'], 'pubsubTopic': '/waku/2/rs/3/1'}"},{"name":"node","value":"None"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"content_topic_list","value":"['/test/1/waku-filter/proto']"},{"name":"pubsub_topic","value":"None"}],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[],"stepsCount":3,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"testStage":{"status":"passed","steps":[{"name":"check_published_message_reaches_filter_peer","time":{"start":1772252870673,"stop":1772252870785,"duration":112},"status":"passed","steps":[{"name":"create_message","time":{"start":1772252870673,"stop":1772252870673,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"get_filter_messages","time":{"start":1772252870781,"stop":1772252870784,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"content_topic","value":"'/test/1/waku-filter/proto'"},{"name":"pubsub_topic","value":"'/waku/2/rs/3/1'"},{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fef1af34890>"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"assert_received_message","time":{"start":1772252870785,"stop":1772252870785,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"sent_message","value":"{'payload': 'RmlsdGVyIHdvcmtzISE=', 'contentTopic': '/test/1/waku-filter/proto', 'timestamp': 1772252870673108118}"},{"name":"index","value":"0"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"message","value":"None"},{"name":"pubsub_topic","value":"None"},{"name":"message_propagation_delay","value":"0.1"},{"name":"sender","value":"None"},{"name":"peer_list","value":"None"}],"stepsCount":3,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"delete_filter_subscription","time":{"start":1772252870786,"stop":1772252870794,"duration":8},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"subscription","value":"{'requestId': '1', 'contentFilters': ['/test/1/waku-filter/proto'], 'pubsubTopic': '/waku/2/rs/3/1'}"},{"name":"status","value":"None"},{"name":"node","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"check_publish_without_filter_subscription","time":{"start":1772252870794,"stop":1772252870902,"duration":108},"status":"passed","steps":[{"name":"check_published_message_reaches_filter_peer","time":{"start":1772252870795,"stop":1772252870902,"duration":107},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:45693/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto with response: b'Not subscribed to topic: /test/1/waku-filter/proto'\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-delivery-interop-tests/logos-delivery-interop-tests/src/steps/filter.py\", line 97, in check_published_message_reaches_filter_peer\n get_messages_response = self.get_filter_messages(message[\"contentTopic\"], pubsub_topic=pubsub_topic, node=peer)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n 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-delivery-interop-tests/logos-delivery-interop-tests/src/steps/filter.py\", line 195, in get_filter_messages\n return node.get_filter_messages(content_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/waku_node.py\", line 378, in get_filter_messages\n return self._api.get_filter_messages(content_topic, pubsub_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/api_clients/rest.py\", line 92, in get_filter_messages\n get_messages_response = self.rest_call(\"get\", endpoint)\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":1772252870795,"stop":1772252870795,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"get_filter_messages","time":{"start":1772252870898,"stop":1772252870901,"duration":3},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:45693/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto with response: b'Not subscribed to topic: /test/1/waku-filter/proto'\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-delivery-interop-tests/logos-delivery-interop-tests/src/steps/filter.py\", line 195, in get_filter_messages\n return node.get_filter_messages(content_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/waku_node.py\", line 378, in get_filter_messages\n return self._api.get_filter_messages(content_topic, pubsub_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/api_clients/rest.py\", line 92, in get_filter_messages\n get_messages_response = self.rest_call(\"get\", endpoint)\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":"content_topic","value":"'/test/1/waku-filter/proto'"},{"name":"pubsub_topic","value":"'/waku/2/rs/3/1'"},{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fef1af34890>"}],"stepsCount":0,"shouldDisplayMessage":true,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"message","value":"None"},{"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":"message","value":"None"},{"name":"pubsub_topic","value":"None"},{"name":"peer_list","value":"None"}],"stepsCount":3,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[{"uid":"2d8a5f6d4cdf4149","name":"log","source":"2d8a5f6d4cdf4149.txt","type":"text/plain","size":15136},{"uid":"26572eed53ad099b","name":"stderr","source":"26572eed53ad099b.txt","type":"text/plain","size":14784}],"parameters":[],"stepsCount":9,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"close_open_nodes::0","time":{"start":1772252870904,"stop":1772252872030,"duration":1126},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup::0","time":{"start":1772252870904,"stop":1772252870904,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1772252872030,"stop":1772252872043,"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":1772252872044,"stop":1772252872044,"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":1772253129721,"stop":1772253129721,"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_node', 'setup_main_filter_node', 'subscribe_main_nodes')"},{"name":"parentSuite","value":"tests.filter"},{"name":"suite","value":"test_unsubscribe"},{"name":"subSuite","value":"TestFilterUnSubscribe"},{"name":"host","value":"runnervmnay03"},{"name":"thread","value":"2846-MainThread"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"tests.filter.test_unsubscribe"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":false,"retry":false,"extra":{"severity":"normal","retries":[],"categories":[],"history":{"statistic":{"failed":0,"broken":0,"skipped":0,"passed":7,"unknown":0,"total":7},"items":[{"uid":"9dd2511976bd89b2","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1097/#testresult/9dd2511976bd89b2","status":"passed","time":{"start":1772166883578,"stop":1772166883807,"duration":229}},{"uid":"85c15b0798dfb7bc","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1096/#testresult/85c15b0798dfb7bc","status":"passed","time":{"start":1772080589694,"stop":1772080589923,"duration":229}},{"uid":"1739c83eeaf2231a","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1095/#testresult/1739c83eeaf2231a","status":"passed","time":{"start":1772049931030,"stop":1772049931262,"duration":232}},{"uid":"1b16632aa6b64550","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1094/#testresult/1b16632aa6b64550","status":"passed","time":{"start":1772047855463,"stop":1772047855695,"duration":232}},{"uid":"f20ddc64c7ed4711","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1093/#testresult/f20ddc64c7ed4711","status":"passed","time":{"start":1772032953679,"stop":1772032953907,"duration":228}},{"uid":"a447a862d735dae","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1092/#testresult/a447a862d735dae","status":"passed","time":{"start":1772004317445,"stop":1772004317673,"duration":228}}]},"tags":["@pytest.mark.usefixtures('setup_main_relay_node', 'setup_main_filter_node', 'subscribe_main_nodes')"]},"source":"bcb0dffb76fcbfe8.json","parameterValues":[]}