1 line
17 KiB
JSON

{"uid":"1b8431892495c9ec","name":"test_filter_unsubscribe_from_all_subscribed_content_topics","fullName":"tests.filter.test_unsubscribe.TestFilterUnSubscribe#test_filter_unsubscribe_from_all_subscribed_content_topics","historyId":"4f5589e0d9eb60b2f94c41184c044786","time":{"start":1769833953760,"stop":1769833954001,"duration":241},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1769833788553,"stop":1769833788554,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1769833951235,"stop":1769833951235,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1769833951235,"stop":1769833951236,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1769833951235,"stop":1769833951235,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1769833951235,"stop":1769833951235,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1769833951235,"stop":1769833951235,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"filter_setup","time":{"start":1769833951236,"stop":1769833951236,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"setup_main_relay_node","time":{"start":1769833951236,"stop":1769833952466,"duration":1230},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1769833951236,"stop":1769833951236,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"setup_main_filter_node","time":{"start":1769833952466,"stop":1769833953731,"duration":1265},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1769833953700,"stop":1769833953731,"duration":31},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.filter.test_unsubscribe.TestFilterUnSubscribe object at 0x7fa7a0aa5910>, <src.node.waku_node.WakuNode object at 0x7fa7a07f25a0>, ['/ip4/172.18.41.92/tcp/21029/p2p/16Uiu2HAkwdK6BvVaaBdmWmpPq1vovEwWw76byuTKybGpUkFGtRx1'])"}],"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":1769833953731,"stop":1769833953759,"duration":28},"status":"passed","steps":[{"name":"wait_for_subscriptions_on_main_nodes","time":{"start":1769833953732,"stop":1769833953759,"duration":27},"status":"passed","steps":[{"name":"create_filter_subscription_with_retry","time":{"start":1769833953747,"stop":1769833953759,"duration":12},"status":"passed","steps":[{"name":"create_filter_subscription","time":{"start":1769833953747,"stop":1769833953759,"duration":12},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"subscription","value":"{'requestId': '3ee5552d-9457-4914-a0bf-3067762b7fdc', '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': '3ee5552d-9457-4914-a0bf-3067762b7fdc', '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":"wait_for_subscriptions_on_main_nodes","time":{"start":1769833953760,"stop":1769833953771,"duration":11},"status":"passed","steps":[{"name":"create_filter_subscription_with_retry","time":{"start":1769833953763,"stop":1769833953771,"duration":8},"status":"passed","steps":[{"name":"create_filter_subscription","time":{"start":1769833953763,"stop":1769833953771,"duration":8},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"subscription","value":"{'requestId': '2ecde353-7eb6-468b-ad77-54735845fa5e', 'contentFilters': ['Hello World!', '1234567890'], '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': '2ecde353-7eb6-468b-ad77-54735845fa5e', 'contentFilters': ['Hello World!', '1234567890'], '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":"['Hello World!', '1234567890']"},{"name":"pubsub_topic","value":"None"}],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"create_message","time":{"start":1769833953771,"stop":1769833953771,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"contentTopic","value":"'1234567890'"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"check_published_message_reaches_filter_peer","time":{"start":1769833953772,"stop":1769833953884,"duration":112},"status":"passed","steps":[{"name":"get_filter_messages","time":{"start":1769833953880,"stop":1769833953883,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"content_topic","value":"'1234567890'"},{"name":"pubsub_topic","value":"'/waku/2/rs/3/1'"},{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fa7a07f25a0>"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"assert_received_message","time":{"start":1769833953884,"stop":1769833953884,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"sent_message","value":"{'payload': 'RmlsdGVyIHdvcmtzISE=', 'contentTopic': '1234567890', 'timestamp': 1769833953771473587}"},{"name":"index","value":"0"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"message","value":"{'payload': 'RmlsdGVyIHdvcmtzISE=', 'contentTopic': '1234567890', 'timestamp': 1769833953771473587}"},{"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},{"name":"delete_filter_subscription","time":{"start":1769833953884,"stop":1769833953893,"duration":9},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"subscription","value":"{'requestId': '1', 'contentFilters': ['Hello World!', '1234567890'], '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":"create_message","time":{"start":1769833953893,"stop":1769833953893,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"contentTopic","value":"'1234567890'"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"check_publish_without_filter_subscription","time":{"start":1769833953893,"stop":1769833954001,"duration":108},"status":"passed","steps":[{"name":"check_published_message_reaches_filter_peer","time":{"start":1769833953893,"stop":1769833954000,"duration":107},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:8018/filter/v2/messages/1234567890 with response: b'Not subscribed to topic: 1234567890'\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/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-messaging-interop-tests/logos-messaging-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-messaging-interop-tests/logos-messaging-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-messaging-interop-tests/logos-messaging-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-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":"get_filter_messages","time":{"start":1769833953997,"stop":1769833954000,"duration":3},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:8018/filter/v2/messages/1234567890 with response: b'Not subscribed to topic: 1234567890'\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/filter.py\", line 195, in get_filter_messages\n return node.get_filter_messages(content_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-messaging-interop-tests/logos-messaging-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-messaging-interop-tests/logos-messaging-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-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":[],"attachments":[],"parameters":[{"name":"content_topic","value":"'1234567890'"},{"name":"pubsub_topic","value":"'/waku/2/rs/3/1'"},{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fa7a07f25a0>"}],"stepsCount":0,"shouldDisplayMessage":true,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"message","value":"{'payload': 'RmlsdGVyIHdvcmtzISE=', 'contentTopic': '1234567890', 'timestamp': 1769833953892907891}"},{"name":"pubsub_topic","value":"None"},{"name":"message_propagation_delay","value":"0.1"},{"name":"sender","value":"None"},{"name":"peer_list","value":"None"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"message","value":"{'payload': 'RmlsdGVyIHdvcmtzISE=', 'contentTopic': '1234567890', 'timestamp': 1769833953892907891}"},{"name":"pubsub_topic","value":"None"},{"name":"peer_list","value":"None"}],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[{"uid":"b0238678de5499eb","name":"log","source":"b0238678de5499eb.txt","type":"text/plain","size":15673},{"uid":"62279839926aab75","name":"stderr","source":"62279839926aab75.txt","type":"text/plain","size":15301}],"parameters":[],"stepsCount":12,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1769833954002,"stop":1769833954003,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1769833954003,"stop":1769833955004,"duration":1001},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1769833955005,"stop":1769833955017,"duration":12},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1769833955017,"stop":1769833955017,"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":1769834207628,"stop":1769834207628,"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":"runnervmkj6or"},{"name":"thread","value":"3413-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":3,"unknown":0,"total":3},"items":[{"uid":"54cd386075cdbf03","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1062/#testresult/54cd386075cdbf03","status":"passed","time":{"start":1769747650237,"stop":1769747650481,"duration":244}},{"uid":"5d3c2bd2cd0b53ae","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1061/#testresult/5d3c2bd2cd0b53ae","status":"passed","time":{"start":1769661237821,"stop":1769661238064,"duration":243}}]},"tags":["@pytest.mark.usefixtures('setup_main_relay_node', 'setup_main_filter_node', 'subscribe_main_nodes')"]},"source":"1b8431892495c9ec.json","parameterValues":[]}