mirror of
https://github.com/logos-messaging/logos-delivery-interop-tests.git
synced 2026-03-13 13:23:19 +00:00
1 line
19 KiB
JSON
1 line
19 KiB
JSON
{"uid":"96ef2bf4b0debb0d","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":1772771938483,"stop":1772771942863,"duration":4380},"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.12/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:7547/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:7547/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":1772771496484,"stop":1772771496484,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1772771938481,"stop":1772771938481,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1772771938481,"stop":1772771938481,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1772771938481,"stop":1772771938481,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1772771938481,"stop":1772771938481,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1772771938481,"stop":1772771938481,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1772771938482,"stop":1772771938482,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1772771938482,"stop":1772771938482,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1772771938482,"stop":1772771938482,"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.12/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:7547/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:7547/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":1772771938483,"stop":1772771942728,"duration":4245},"status":"passed","steps":[{"name":"setup_first_relay_node_with_filter","time":{"start":1772771938483,"stop":1772771940046,"duration":1563},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1772771938483,"stop":1772771940046,"duration":1563},"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":1772771940047,"stop":1772771942728,"duration":2681},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1772771942703,"stop":1772771942728,"duration":25},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_relay_static_sharding.TestRelayStaticSharding object at 0x7fd7f131ec90>, <src.node.waku_node.WakuNode object at 0x7fd7f132f8c0>, ['/ip4/172.18.149.0/tcp/7548/p2p/16Uiu2HAmALG67jx5siFXA5BswDsy4LnjXm8zXXc72NrEHKu6LEA7'])"}],"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":1772771942728,"stop":1772771942745,"duration":17},"status":"passed","steps":[{"name":"subscribe_relay_node","time":{"start":1772771942728,"stop":1772771942740,"duration":12},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fd7f09d5d30>"},{"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":1772771942740,"stop":1772771942745,"duration":5},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fd7f132f8c0>"},{"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":1772771942746,"stop":1772771942862,"duration":116},"status":"failed","statusMessage":"AssertionError: Expected Bad Request because the node is not subscribed\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/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":1772771942746,"stop":1772771942862,"duration":116},"status":"broken","statusMessage":"Exception: Error: 404 Client Error: Not Found for url: http://127.0.0.1:7547/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F1 with response: b''\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/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.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/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":1772771942746,"stop":1772771942746,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_message","time":{"start":1772771942746,"stop":1772771942758,"duration":12},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fd7f09d5d30>"},{"name":"message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/myapp/1/latest/proto', 'timestamp': 1772771942745812518}"},{"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":1772771942858,"stop":1772771942861,"duration":3},"status":"broken","statusMessage":"Exception: Error: 404 Client Error: Not Found for url: http://127.0.0.1:7547/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F1 with response: b''\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/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 0x7fd7f09d5d30>"},{"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":"7ac13f8c4ee5172b","name":"log","source":"7ac13f8c4ee5172b.txt","type":"text/plain","size":33184},{"uid":"7cd22587906ee30b","name":"stderr","source":"7cd22587906ee30b.txt","type":"text/plain","size":32323}],"parameters":[],"stepsCount":13,"shouldDisplayMessage":true,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1772771942906,"stop":1772771942907,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1772771942907,"stop":1772771944184,"duration":1277},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1772771944185,"stop":1772771944241,"duration":56},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1772771944242,"stop":1772771944245,"duration":3},"status":"passed","steps":[],"attachments":[{"uid":"25ea38d229a4a22f","name":"node2_2026-03-06_04-38-58__7f3cf4ba-672f-488e-bb32-e128c1d4cb96__wakuorg_nwaku:latest.log","source":"25ea38d229a4a22f.txt","type":"text/plain","size":819893},{"uid":"7dbb95806fa43f8b","name":"node1_2026-03-06_04-38-58__7f3cf4ba-672f-488e-bb32-e128c1d4cb96__wakuorg_nwaku:latest.log","source":"7dbb95806fa43f8b.txt","type":"text/plain","size":861255}],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},{"name":"set_allure_env_variables::0","time":{"start":1772772110765,"stop":1772772110765,"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":"runnervm0kj6c"},{"name":"thread","value":"2764-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":"96ef2bf4b0debb0d.json","parameterValues":[]} |