1 line
21 KiB
JSON

{"uid":"985ea6e45477dffa","name":"test_filter_resubscribe_to_unsubscribed_topics","fullName":"tests.filter.test_unsubscribe.TestFilterUnSubscribe#test_filter_resubscribe_to_unsubscribed_topics","historyId":"a17a1a5ac9ba8f39a63f5c8b72327a5c","time":{"start":1772685219623,"stop":1772685219976,"duration":353},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1772685156528,"stop":1772685156528,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1772685217066,"stop":1772685217066,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1772685217066,"stop":1772685217067,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1772685217066,"stop":1772685217066,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1772685217066,"stop":1772685217066,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1772685217066,"stop":1772685217066,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"setup_main_relay_node","time":{"start":1772685217067,"stop":1772685218315,"duration":1248},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1772685217067,"stop":1772685217067,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"filter_setup","time":{"start":1772685217067,"stop":1772685217067,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"setup_main_filter_node","time":{"start":1772685218315,"stop":1772685219588,"duration":1273},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1772685219552,"stop":1772685219588,"duration":36},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.filter.test_unsubscribe.TestFilterUnSubscribe object at 0x7fe4271ffd70>, <src.node.waku_node.WakuNode object at 0x7fe426d89460>, ['/ip4/172.18.219.99/tcp/14453/p2p/16Uiu2HAmJTggHk7WreVYvn2Wgi7rT3pHmrn959sFJSxFxwF9CQtr'])"}],"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":1772685219588,"stop":1772685219621,"duration":33},"status":"passed","steps":[{"name":"wait_for_subscriptions_on_main_nodes","time":{"start":1772685219589,"stop":1772685219621,"duration":32},"status":"passed","steps":[{"name":"create_filter_subscription_with_retry","time":{"start":1772685219607,"stop":1772685219621,"duration":14},"status":"passed","steps":[{"name":"create_filter_subscription","time":{"start":1772685219607,"stop":1772685219621,"duration":14},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"subscription","value":"{'requestId': 'd5482286-8506-4340-8d42-812a3c45dd46', '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': 'd5482286-8506-4340-8d42-812a3c45dd46', '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":1772685219623,"stop":1772685219736,"duration":113},"status":"passed","steps":[{"name":"create_message","time":{"start":1772685219623,"stop":1772685219623,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"get_filter_messages","time":{"start":1772685219732,"stop":1772685219735,"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 0x7fe426d89460>"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"assert_received_message","time":{"start":1772685219736,"stop":1772685219736,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"sent_message","value":"{'payload': 'RmlsdGVyIHdvcmtzISE=', 'contentTopic': '/test/1/waku-filter/proto', 'timestamp': 1772685219623297623}"},{"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":1772685219736,"stop":1772685219746,"duration":10},"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":1772685219746,"stop":1772685219855,"duration":109},"status":"passed","steps":[{"name":"check_published_message_reaches_filter_peer","time":{"start":1772685219746,"stop":1772685219854,"duration":108},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:60192/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":1772685219746,"stop":1772685219746,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"get_filter_messages","time":{"start":1772685219850,"stop":1772685219853,"duration":3},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:60192/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 0x7fe426d89460>"}],"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},{"name":"wait_for_subscriptions_on_main_nodes","time":{"start":1772685219855,"stop":1772685219867,"duration":12},"status":"passed","steps":[{"name":"create_filter_subscription_with_retry","time":{"start":1772685219857,"stop":1772685219867,"duration":10},"status":"passed","steps":[{"name":"create_filter_subscription","time":{"start":1772685219857,"stop":1772685219867,"duration":10},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"subscription","value":"{'requestId': '9226a8bd-85e4-4ad8-97b6-aad9dc44e6eb', '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': '9226a8bd-85e4-4ad8-97b6-aad9dc44e6eb', '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":"'/waku/2/rs/3/1'"}],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"check_published_message_reaches_filter_peer","time":{"start":1772685219867,"stop":1772685219976,"duration":109},"status":"passed","steps":[{"name":"create_message","time":{"start":1772685219867,"stop":1772685219867,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"get_filter_messages","time":{"start":1772685219972,"stop":1772685219975,"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 0x7fe426d89460>"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"assert_received_message","time":{"start":1772685219976,"stop":1772685219976,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"sent_message","value":"{'payload': 'RmlsdGVyIHdvcmtzISE=', 'contentTopic': '/test/1/waku-filter/proto', 'timestamp': 1772685219867031009}"},{"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}],"attachments":[{"uid":"603fc40541eb6b1f","name":"log","source":"603fc40541eb6b1f.txt","type":"text/plain","size":17040},{"uid":"87834728d68229b6","name":"stderr","source":"87834728d68229b6.txt","type":"text/plain","size":16650}],"parameters":[],"stepsCount":16,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1772685219978,"stop":1772685219978,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1772685219979,"stop":1772685221107,"duration":1128},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1772685221109,"stop":1772685221125,"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":1772685221125,"stop":1772685221125,"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":1772685350333,"stop":1772685350333,"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":"runnervm0kj6c"},{"name":"thread","value":"2793-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":13,"unknown":0,"total":13},"items":[{"uid":"ece9e76a199e3330","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1103/#testresult/ece9e76a199e3330","status":"passed","time":{"start":1772598774268,"stop":1772598774622,"duration":354}},{"uid":"ce244112e8ad7cf3","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1102/#testresult/ce244112e8ad7cf3","status":"passed","time":{"start":1772512447407,"stop":1772512447760,"duration":353}},{"uid":"5f107af548ad561b","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1101/#testresult/5f107af548ad561b","status":"passed","time":{"start":1772426052132,"stop":1772426052485,"duration":353}},{"uid":"3c2242a713f6ea28","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1100/#testresult/3c2242a713f6ea28","status":"passed","time":{"start":1772339930288,"stop":1772339930647,"duration":359}},{"uid":"39d21b068dc4a2d6","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1099/#testresult/39d21b068dc4a2d6","status":"passed","time":{"start":1772310144591,"stop":1772310144945,"duration":354}},{"uid":"634df68ab486716d","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1098/#testresult/634df68ab486716d","status":"passed","time":{"start":1772252738256,"stop":1772252738611,"duration":355}},{"uid":"4f6abcd3bf85fc9e","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1097/#testresult/4f6abcd3bf85fc9e","status":"passed","time":{"start":1772166813700,"stop":1772166814055,"duration":355}},{"uid":"8090e941ed7ddecd","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1096/#testresult/8090e941ed7ddecd","status":"passed","time":{"start":1772080491318,"stop":1772080491674,"duration":356}},{"uid":"2c566b7193fd3ad2","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1095/#testresult/2c566b7193fd3ad2","status":"passed","time":{"start":1772049871831,"stop":1772049872189,"duration":358}},{"uid":"69e04936baa13ff5","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1094/#testresult/69e04936baa13ff5","status":"passed","time":{"start":1772047649220,"stop":1772047649577,"duration":357}},{"uid":"e8efc46a45f5f181","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1093/#testresult/e8efc46a45f5f181","status":"passed","time":{"start":1772032835405,"stop":1772032835755,"duration":350}},{"uid":"723a1ace69453503","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1092/#testresult/723a1ace69453503","status":"passed","time":{"start":1772004187158,"stop":1772004187507,"duration":349}}]},"tags":["@pytest.mark.usefixtures('setup_main_relay_node', 'setup_main_filter_node', 'subscribe_main_nodes')"]},"source":"985ea6e45477dffa.json","parameterValues":[]}