mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-04-06 11:53:11 +00:00
1 line
19 KiB
JSON
1 line
19 KiB
JSON
{"uid":"4fb337f85db50b8e","name":"test_cant_publish_on_not_subscribed_shard","fullName":"tests.sharding.test_relay_static_sharding.TestRelayStaticSharding#test_cant_publish_on_not_subscribed_shard","historyId":"ffca3b8c620bebd3c2fd29550d6e4bc2","time":{"start":1774067968115,"stop":1774067971218,"duration":3103},"status":"failed","statusMessage":"AssertionError: Expected Bad Request because the node is not subscribed","statusTrace":"src/node/api_clients/base_client.py:14: in make_request\n response.raise_for_status()\n/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/requests/models.py:1021: in raise_for_status\n raise HTTPError(http_error_msg, response=self)\nE requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://127.0.0.1:2370/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F1\n\nDuring handling of the above exception, another exception occurred:\nsrc/steps/sharding.py:209: in check_publish_fails_on_not_subscribed_pubsub_topic\n self.check_published_message_reaches_relay_peer(pubsub_topic=pubsub_topic)\nsrc/steps/sharding.py:159: in check_published_message_reaches_relay_peer\n get_messages_response = self.retrieve_relay_message(peer, content_topic, pubsub_topic)\nsrc/steps/sharding.py:143: in retrieve_relay_message\n return node.get_relay_messages(pubsub_topic)\nsrc/node/waku_node.py:357: in get_relay_messages\n return self._api.get_relay_messages(pubsub_topic)\nsrc/node/api_clients/rest.py:60: in get_relay_messages\n get_messages_response = self.rest_call(\"get\", f\"relay/v1/messages/{quote(pubsub_topic, safe='')}\")\nsrc/node/api_clients/rest.py:16: in rest_call\n return self.make_request(method, url, headers=headers, data=payload)\nsrc/node/api_clients/base_client.py:17: in make_request\n raise Exception(f\"Error: {http_err} with response: {response.content}\")\nE Exception: Error: 404 Client Error: Not Found for url: http://127.0.0.1:2370/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F1 with response: b''\n\nDuring handling of the above exception, another exception occurred:\ntests/sharding/test_relay_static_sharding.py:39: in test_cant_publish_on_not_subscribed_shard\n self.check_publish_fails_on_not_subscribed_pubsub_topic(\"/waku/2/rs/2/1\")\nsrc/steps/sharding.py:212: in check_publish_fails_on_not_subscribed_pubsub_topic\n assert \"Failed to publish: Node not subscribed to topic\" in str(ex), \"Expected Bad Request because the node is not subscribed\"\nE AssertionError: Expected Bad Request because the node is not subscribed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1774067450503,"stop":1774067450503,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1774067968113,"stop":1774067968113,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1774067968113,"stop":1774067968113,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1774067968113,"stop":1774067968113,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1774067968113,"stop":1774067968114,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1774067968113,"stop":1774067968113,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1774067968114,"stop":1774067968114,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1774067968114,"stop":1774067968114,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1774067968114,"stop":1774067968114,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"testStage":{"status":"failed","statusMessage":"AssertionError: Expected Bad Request because the node is not subscribed","statusTrace":"src/node/api_clients/base_client.py:14: in make_request\n response.raise_for_status()\n/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/requests/models.py:1021: in raise_for_status\n raise HTTPError(http_error_msg, response=self)\nE requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://127.0.0.1:2370/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F1\n\nDuring handling of the above exception, another exception occurred:\nsrc/steps/sharding.py:209: in check_publish_fails_on_not_subscribed_pubsub_topic\n self.check_published_message_reaches_relay_peer(pubsub_topic=pubsub_topic)\nsrc/steps/sharding.py:159: in check_published_message_reaches_relay_peer\n get_messages_response = self.retrieve_relay_message(peer, content_topic, pubsub_topic)\nsrc/steps/sharding.py:143: in retrieve_relay_message\n return node.get_relay_messages(pubsub_topic)\nsrc/node/waku_node.py:357: in get_relay_messages\n return self._api.get_relay_messages(pubsub_topic)\nsrc/node/api_clients/rest.py:60: in get_relay_messages\n get_messages_response = self.rest_call(\"get\", f\"relay/v1/messages/{quote(pubsub_topic, safe='')}\")\nsrc/node/api_clients/rest.py:16: in rest_call\n return self.make_request(method, url, headers=headers, data=payload)\nsrc/node/api_clients/base_client.py:17: in make_request\n raise Exception(f\"Error: {http_err} with response: {response.content}\")\nE Exception: Error: 404 Client Error: Not Found for url: http://127.0.0.1:2370/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F1 with response: b''\n\nDuring handling of the above exception, another exception occurred:\ntests/sharding/test_relay_static_sharding.py:39: in test_cant_publish_on_not_subscribed_shard\n self.check_publish_fails_on_not_subscribed_pubsub_topic(\"/waku/2/rs/2/1\")\nsrc/steps/sharding.py:212: in check_publish_fails_on_not_subscribed_pubsub_topic\n assert \"Failed to publish: Node not subscribed to topic\" in str(ex), \"Expected Bad Request because the node is not subscribed\"\nE AssertionError: Expected Bad Request because the node is not subscribed","steps":[{"name":"setup_main_relay_nodes","time":{"start":1774067968115,"stop":1774067971079,"duration":2964},"status":"passed","steps":[{"name":"setup_first_relay_node_with_filter","time":{"start":1774067968115,"stop":1774067969693,"duration":1578},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1774067968115,"stop":1774067969693,"duration":1578},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"filter","value":"'true'"},{"name":"pubsub_topic","value":"'/waku/2/rs/2/0'"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"pubsub_topic","value":"'/waku/2/rs/2/0'"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"setup_second_relay_node","time":{"start":1774067969693,"stop":1774067971079,"duration":1386},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1774067971056,"stop":1774067971079,"duration":23},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_relay_static_sharding.TestRelayStaticSharding object at 0x7f9010b8f200>, <src.node.waku_node.WakuNode object at 0x7f9010e05430>, ['/ip4/172.18.149.75/tcp/2371/p2p/16Uiu2HAkwh2hy1cnPJXktKuE6HH8QjP3D4JPPsjkbsTpizrocdgC'])"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"pubsub_topic","value":"'/waku/2/rs/2/0'"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"pubsub_topic","value":"'/waku/2/rs/2/0'"}],"stepsCount":4,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_main_relay_nodes","time":{"start":1774067971079,"stop":1774067971100,"duration":21},"status":"passed","steps":[{"name":"subscribe_relay_node","time":{"start":1774067971079,"stop":1774067971092,"duration":13},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f9010ba7ec0>"},{"name":"content_topics","value":"None"},{"name":"pubsub_topics","value":"['/waku/2/rs/2/0']"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_relay_node","time":{"start":1774067971092,"stop":1774067971100,"duration":8},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f9010e05430>"},{"name":"content_topics","value":"None"},{"name":"pubsub_topics","value":"['/waku/2/rs/2/0']"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"content_topics","value":"None"},{"name":"pubsub_topics","value":"['/waku/2/rs/2/0']"}],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"check_publish_fails_on_not_subscribed_pubsub_topic","time":{"start":1774067971100,"stop":1774067971217,"duration":117},"status":"failed","statusMessage":"AssertionError: Expected Bad Request because the node is not subscribed\n","statusTrace":" File \"/opt/hostedtoolcache/Python/3.12.13/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/sharding.py\", line 212, in check_publish_fails_on_not_subscribed_pubsub_topic\n assert \"Failed to publish: Node not subscribed to topic\" in str(ex), \"Expected Bad Request because the node is not subscribed\"\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n","steps":[{"name":"check_published_message_reaches_relay_peer","time":{"start":1774067971100,"stop":1774067971217,"duration":117},"status":"broken","statusMessage":"Exception: Error: 404 Client Error: Not Found for url: http://127.0.0.1:2370/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F1 with response: b''\n","statusTrace":" File \"/opt/hostedtoolcache/Python/3.12.13/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/sharding.py\", line 159, in check_published_message_reaches_relay_peer\n get_messages_response = self.retrieve_relay_message(peer, content_topic, pubsub_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/opt/hostedtoolcache/Python/3.12.13/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/sharding.py\", line 143, in retrieve_relay_message\n return node.get_relay_messages(pubsub_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/waku_node.py\", line 357, in get_relay_messages\n return self._api.get_relay_messages(pubsub_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/api_clients/rest.py\", line 60, in get_relay_messages\n get_messages_response = self.rest_call(\"get\", f\"relay/v1/messages/{quote(pubsub_topic, safe='')}\")\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":1774067971100,"stop":1774067971100,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_message","time":{"start":1774067971100,"stop":1774067971112,"duration":12},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f9010ba7ec0>"},{"name":"message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/myapp/1/latest/proto', 'timestamp': 1774067971100089081}"},{"name":"pubsub_topic","value":"'/waku/2/rs/2/1'"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"retrieve_relay_message","time":{"start":1774067971213,"stop":1774067971216,"duration":3},"status":"broken","statusMessage":"Exception: Error: 404 Client Error: Not Found for url: http://127.0.0.1:2370/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F1 with response: b''\n","statusTrace":" File \"/opt/hostedtoolcache/Python/3.12.13/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/sharding.py\", line 143, in retrieve_relay_message\n return node.get_relay_messages(pubsub_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/waku_node.py\", line 357, in get_relay_messages\n return self._api.get_relay_messages(pubsub_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/api_clients/rest.py\", line 60, in get_relay_messages\n get_messages_response = self.rest_call(\"get\", f\"relay/v1/messages/{quote(pubsub_topic, safe='')}\")\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":"node","value":"<src.node.waku_node.WakuNode object at 0x7f9010ba7ec0>"},{"name":"content_topic","value":"None"},{"name":"pubsub_topic","value":"'/waku/2/rs/2/1'"}],"stepsCount":0,"shouldDisplayMessage":true,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"content_topic","value":"None"},{"name":"pubsub_topic","value":"'/waku/2/rs/2/1'"},{"name":"sender","value":"None"},{"name":"peer_list","value":"None"}],"stepsCount":3,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"pubsub_topic","value":"'/waku/2/rs/2/1'"}],"stepsCount":4,"shouldDisplayMessage":true,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[{"uid":"5f3e373bc15918c","name":"log","source":"5f3e373bc15918c.txt","type":"text/plain","size":14758},{"uid":"55062813610afcf8","name":"stderr","source":"55062813610afcf8.txt","type":"text/plain","size":14378}],"parameters":[],"stepsCount":13,"shouldDisplayMessage":true,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1774067971268,"stop":1774067971269,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1774067971269,"stop":1774067972418,"duration":1149},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1774067972419,"stop":1774067972487,"duration":68},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1774067972487,"stop":1774067972491,"duration":4},"status":"passed","steps":[],"attachments":[{"uid":"bb9c62ae1e1765f4","name":"node1_2026-03-21_04-39-28__59917461-5b0e-4c94-91f6-a9f5a8f725d1__wakuorg_nwaku:latest.log","source":"bb9c62ae1e1765f4.txt","type":"text/plain","size":908536},{"uid":"6628c6196d7f3dd3","name":"node2_2026-03-21_04-39-28__59917461-5b0e-4c94-91f6-a9f5a8f725d1__wakuorg_nwaku:latest.log","source":"6628c6196d7f3dd3.txt","type":"text/plain","size":783589}],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},{"name":"set_allure_env_variables::0","time":{"start":1774068119292,"stop":1774068119292,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"labels":[{"name":"parentSuite","value":"tests.sharding"},{"name":"suite","value":"test_relay_static_sharding"},{"name":"subSuite","value":"TestRelayStaticSharding"},{"name":"host","value":"runnervm46oaq"},{"name":"thread","value":"3531-MainThread"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"tests.sharding.test_relay_static_sharding"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":true,"retry":true,"extra":{"categories":[],"tags":[]},"source":"4fb337f85db50b8e.json","parameterValues":[]} |