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":"d5cc83abc93aefe4","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":1773825203343,"stop":1773825206029,"duration":2686},"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:37947/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:37947/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":1773824708775,"stop":1773824708775,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1773825203338,"stop":1773825203338,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1773825203338,"stop":1773825203338,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1773825203339,"stop":1773825203339,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1773825203339,"stop":1773825203340,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1773825203340,"stop":1773825203340,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1773825203341,"stop":1773825203341,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1773825203341,"stop":1773825203341,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1773825203341,"stop":1773825203342,"duration":1},"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:37947/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:37947/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":1773825203343,"stop":1773825205886,"duration":2543},"status":"passed","steps":[{"name":"setup_first_relay_node_with_filter","time":{"start":1773825203343,"stop":1773825204606,"duration":1263},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1773825203344,"stop":1773825204606,"duration":1262},"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":1773825204607,"stop":1773825205886,"duration":1279},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1773825205864,"stop":1773825205886,"duration":22},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_relay_static_sharding.TestRelayStaticSharding object at 0x7fb5c17cf5c0>, <src.node.waku_node.WakuNode object at 0x7fb5c1618620>, ['/ip4/172.18.155.222/tcp/37948/p2p/16Uiu2HAkxqv6gcq5j9zVRsnw1KLLXR89dGz4tckyW1GYFKkawfpD'])"}],"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":1773825205886,"stop":1773825205912,"duration":26},"status":"passed","steps":[{"name":"subscribe_relay_node","time":{"start":1773825205887,"stop":1773825205906,"duration":19},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fb5baf44560>"},{"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":1773825205907,"stop":1773825205912,"duration":5},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fb5c1618620>"},{"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":1773825205912,"stop":1773825206029,"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":1773825205912,"stop":1773825206028,"duration":116},"status":"broken","statusMessage":"Exception: Error: 404 Client Error: Not Found for url: http://127.0.0.1:37947/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":1773825205912,"stop":1773825205912,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_message","time":{"start":1773825205912,"stop":1773825205924,"duration":12},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fb5baf44560>"},{"name":"message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/myapp/1/latest/proto', 'timestamp': 1773825205912388692}"},{"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":1773825206026,"stop":1773825206028,"duration":2},"status":"broken","statusMessage":"Exception: Error: 404 Client Error: Not Found for url: http://127.0.0.1:37947/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 0x7fb5baf44560>"},{"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":"c15e723b8ff5dfa8","name":"log","source":"c15e723b8ff5dfa8.txt","type":"text/plain","size":27618},{"uid":"c57630de5e1c7633","name":"stderr","source":"c57630de5e1c7633.txt","type":"text/plain","size":26927}],"parameters":[],"stepsCount":13,"shouldDisplayMessage":true,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1773825206067,"stop":1773825206068,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1773825206068,"stop":1773825207270,"duration":1202},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1773825207270,"stop":1773825207340,"duration":70},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1773825207340,"stop":1773825207343,"duration":3},"status":"passed","steps":[],"attachments":[{"uid":"ae4779deefa6551b","name":"node2_2026-03-18_09-13-23__56a24cbe-8d3d-4280-bf38-2298e810575b__harbor.status.im_wakuorg_nwaku:v0.38.0-rc.0.log","source":"ae4779deefa6551b.txt","type":"text/plain","size":859341},{"uid":"ec572f660970d333","name":"node1_2026-03-18_09-13-23__56a24cbe-8d3d-4280-bf38-2298e810575b__harbor.status.im_wakuorg_nwaku:v0.38.0-rc.0.log","source":"ec572f660970d333.txt","type":"text/plain","size":873387}],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},{"name":"set_allure_env_variables::0","time":{"start":1773825346796,"stop":1773825346796,"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":"3537-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":"d5cc83abc93aefe4.json","parameterValues":[]} |