1 line
20 KiB
JSON

{"uid":"5ef89f0cf858af6b","name":"test_subscribe_via_api_to_new_content_topics[content_topic_list0]","fullName":"tests.sharding.test_relay_auto_sharding.TestRelayAutosharding#test_subscribe_via_api_to_new_content_topics","historyId":"31de9d55d2b16cf43aa56d500bb3497a","time":{"start":1776902554747,"stop":1776902557158,"duration":2411},"status":"broken","statusMessage":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:35400/relay/v1/auto/subscriptions with response: b'Subscribe failed:Failed to decode subscription event: Static sharding is used, relay subscriptions must specify a pubsub topic'","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: 500 Server Error: Internal Server Error for url: http://127.0.0.1:35400/relay/v1/auto/subscriptions\n\nDuring handling of the above exception, another exception occurred:\ntests/sharding/test_relay_auto_sharding.py:68: in test_subscribe_via_api_to_new_content_topics\n self.subscribe_main_relay_nodes(content_topics=content_topic_list[1:])\nsrc/steps/sharding.py:92: in subscribe_main_relay_nodes\n self.subscribe_relay_node(node, content_topics, pubsub_topics)\nsrc/steps/sharding.py:75: in subscribe_relay_node\n node.set_relay_auto_subscriptions(content_topics)\nsrc/node/waku_node.py:491: in set_relay_auto_subscriptions\n return self._api.set_relay_auto_subscriptions(content_topics)\nsrc/node/api_clients/rest.py:42: in set_relay_auto_subscriptions\n return self.rest_call(\"post\", \"relay/v1/auto/subscriptions\", json.dumps(content_topics))\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: 500 Server Error: Internal Server Error for url: http://127.0.0.1:35400/relay/v1/auto/subscriptions with response: b'Subscribe failed:Failed to decode subscription event: Static sharding is used, relay subscriptions must specify a pubsub topic'","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":2,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1776902216357,"stop":1776902216357,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1776902554745,"stop":1776902554745,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1776902554745,"stop":1776902554745,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"patch_waku_node_start","time":{"start":1776902554745,"stop":1776902554746,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"monkeypatch","time":{"start":1776902554745,"stop":1776902554745,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1776902554745,"stop":1776902554745,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1776902554746,"stop":1776902554746,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1776902554746,"stop":1776902554746,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1776902554746,"stop":1776902554746,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1776902554747,"stop":1776902554747,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1776902554747,"stop":1776902554747,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"testStage":{"status":"broken","statusMessage":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:35400/relay/v1/auto/subscriptions with response: b'Subscribe failed:Failed to decode subscription event: Static sharding is used, relay subscriptions must specify a pubsub topic'","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: 500 Server Error: Internal Server Error for url: http://127.0.0.1:35400/relay/v1/auto/subscriptions\n\nDuring handling of the above exception, another exception occurred:\ntests/sharding/test_relay_auto_sharding.py:68: in test_subscribe_via_api_to_new_content_topics\n self.subscribe_main_relay_nodes(content_topics=content_topic_list[1:])\nsrc/steps/sharding.py:92: in subscribe_main_relay_nodes\n self.subscribe_relay_node(node, content_topics, pubsub_topics)\nsrc/steps/sharding.py:75: in subscribe_relay_node\n node.set_relay_auto_subscriptions(content_topics)\nsrc/node/waku_node.py:491: in set_relay_auto_subscriptions\n return self._api.set_relay_auto_subscriptions(content_topics)\nsrc/node/api_clients/rest.py:42: in set_relay_auto_subscriptions\n return self.rest_call(\"post\", \"relay/v1/auto/subscriptions\", json.dumps(content_topics))\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: 500 Server Error: Internal Server Error for url: http://127.0.0.1:35400/relay/v1/auto/subscriptions with response: b'Subscribe failed:Failed to decode subscription event: Static sharding is used, relay subscriptions must specify a pubsub topic'","steps":[{"name":"setup_main_relay_nodes","time":{"start":1776902554748,"stop":1776902557154,"duration":2406},"status":"passed","steps":[{"name":"setup_first_relay_node_with_filter","time":{"start":1776902554748,"stop":1776902555939,"duration":1191},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1776902554748,"stop":1776902555938,"duration":1190},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"filter","value":"'true'"},{"name":"cluster_id","value":"199"},{"name":"content_topic","value":"['/newsService/1.0/weekly/protobuf']"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"cluster_id","value":"199"},{"name":"content_topic","value":"['/newsService/1.0/weekly/protobuf']"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"setup_second_relay_node","time":{"start":1776902555939,"stop":1776902557154,"duration":1215},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1776902557151,"stop":1776902557154,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_relay_auto_sharding.TestRelayAutosharding object at 0x7fa94130a3c0>, <src.node.waku_node.WakuNode object at 0x7fa941312f00>, ['/ip4/172.18.72.212/tcp/35401/p2p/16Uiu2HAmQrzF6yhbJfMPUzup4hCLtm45cANPYB8Nkd1KF8AiX8Q9'])"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"cluster_id","value":"199"},{"name":"content_topic","value":"['/newsService/1.0/weekly/protobuf']"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"cluster_id","value":"199"},{"name":"content_topic","value":"['/newsService/1.0/weekly/protobuf']"}],"stepsCount":4,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_main_relay_nodes","time":{"start":1776902557155,"stop":1776902557157,"duration":2},"status":"broken","statusMessage":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:35400/relay/v1/auto/subscriptions with response: b'Subscribe failed:Failed to decode subscription event: Static sharding is used, relay subscriptions must specify a pubsub topic'\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 92, in subscribe_main_relay_nodes\n self.subscribe_relay_node(node, content_topics, pubsub_topics)\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 75, in subscribe_relay_node\n node.set_relay_auto_subscriptions(content_topics)\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/waku_node.py\", line 491, in set_relay_auto_subscriptions\n return self._api.set_relay_auto_subscriptions(content_topics)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/api_clients/rest.py\", line 42, in set_relay_auto_subscriptions\n return self.rest_call(\"post\", \"relay/v1/auto/subscriptions\", json.dumps(content_topics))\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":"subscribe_relay_node","time":{"start":1776902557155,"stop":1776902557157,"duration":2},"status":"broken","statusMessage":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:35400/relay/v1/auto/subscriptions with response: b'Subscribe failed:Failed to decode subscription event: Static sharding is used, relay subscriptions must specify a pubsub topic'\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 75, in subscribe_relay_node\n node.set_relay_auto_subscriptions(content_topics)\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/waku_node.py\", line 491, in set_relay_auto_subscriptions\n return self._api.set_relay_auto_subscriptions(content_topics)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/api_clients/rest.py\", line 42, in set_relay_auto_subscriptions\n return self.rest_call(\"post\", \"relay/v1/auto/subscriptions\", json.dumps(content_topics))\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 0x7fa9413170b0>"},{"name":"content_topics","value":"['/newsService/1.0/alerts/xml', '/newsService/1.0/updates/json', '/newsService/2.0/alerts/json', '/newsService/2.0/summaries/xml', '/newsService/2.0/highlights/yaml', '/newsService/3.0/weekly/json', '/newsService/3.0/summaries/xml']"},{"name":"pubsub_topics","value":"None"}],"stepsCount":0,"shouldDisplayMessage":true,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"content_topics","value":"['/newsService/1.0/alerts/xml', '/newsService/1.0/updates/json', '/newsService/2.0/alerts/json', '/newsService/2.0/summaries/xml', '/newsService/2.0/highlights/yaml', '/newsService/3.0/weekly/json', '/newsService/3.0/summaries/xml']"},{"name":"pubsub_topics","value":"None"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[{"uid":"c2f8b635ebb50f98","name":"log","source":"c2f8b635ebb50f98.txt","type":"text/plain","size":37788},{"uid":"466983c117f14223","name":"stderr","source":"466983c117f14223.txt","type":"text/plain","size":36847}],"parameters":[],"stepsCount":7,"shouldDisplayMessage":true,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1776902557191,"stop":1776902557192,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"patch_waku_node_start::0","time":{"start":1776902557192,"stop":1776902557192,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"monkeypatch::0","time":{"start":1776902557193,"stop":1776902557193,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1776902557193,"stop":1776902557952,"duration":759},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1776902557952,"stop":1776902557963,"duration":11},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1776902557964,"stop":1776902557965,"duration":1},"status":"passed","steps":[],"attachments":[{"uid":"7f38b5b96022b94d","name":"node2_2026-04-23_00-02-34__00a1c0c9-fa14-4350-b4c1-a5855898340b__wakuorg_nwaku:latest.log","source":"7f38b5b96022b94d.txt","type":"text/plain","size":168259},{"uid":"dc84144ce9d6a203","name":"node1_2026-04-23_00-02-34__00a1c0c9-fa14-4350-b4c1-a5855898340b__wakuorg_nwaku:latest.log","source":"dc84144ce9d6a203.txt","type":"text/plain","size":168123}],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},{"name":"set_allure_env_variables::0","time":{"start":1776902777189,"stop":1776902777189,"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_auto_sharding"},{"name":"subSuite","value":"TestRelayAutosharding"},{"name":"host","value":"runnervmeorf1"},{"name":"thread","value":"21458-MainThread"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"tests.sharding.test_relay_auto_sharding"},{"name":"resultFormat","value":"allure2"}],"parameters":[{"name":"content_topic_list","value":"['/newsService/1.0/weekly/protobuf', '/newsService/1.0/alerts/xml', '/newsService/1.0/updates/json', '/newsService/2.0/alerts/json', '/newsService/2.0/summaries/xml', '/newsService/2.0/highlights/yaml', '/newsService/3.0/weekly/json', '/newsService/3.0/summaries/xml']"}],"links":[],"hidden":false,"retry":false,"extra":{"severity":"normal","retries":[{"uid":"9d9d91d86926705c","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:21562/relay/v1/auto/subscriptions with response: b'Subscribe failed:Failed to decode subscription event: Static sharding is used, relay subscriptions must specify a pubsub topic'","time":{"start":1776902551505,"stop":1776902553905,"duration":2400}},{"uid":"370fe4b62d2c7a07","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:26124/relay/v1/auto/subscriptions with response: b'Subscribe failed:Failed to decode subscription event: Static sharding is used, relay subscriptions must specify a pubsub topic'","time":{"start":1776902548256,"stop":1776902550663,"duration":2407}}],"categories":[{"name":"Test defects","matchedStatuses":[],"flaky":false}],"history":{"statistic":{"failed":0,"broken":4,"skipped":0,"passed":0,"unknown":0,"total":4},"items":[{"uid":"bbb4f17a721fa572","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1206/#testresult/bbb4f17a721fa572","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:7976/relay/v1/auto/subscriptions with response: b'Subscribe failed:Failed to decode subscription event: Static sharding is used, relay subscriptions must specify a pubsub topic'","time":{"start":1776898159039,"stop":1776898161551,"duration":2512}},{"uid":"3506856ef15dcb0f","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1199/#testresult/3506856ef15dcb0f","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:36568/relay/v1/auto/subscriptions with response: b'Subscribe failed:Failed to decode subscription event: Static sharding is used, relay subscriptions must specify a pubsub topic'","time":{"start":1776872944337,"stop":1776872946816,"duration":2479}},{"uid":"f2d1fa6ea87c73cc","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1198/#testresult/f2d1fa6ea87c73cc","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:7703/relay/v1/auto/subscriptions with response: b'Subscribe failed:Failed to decode subscription event: Static sharding is used, relay subscriptions must specify a pubsub topic'","time":{"start":1776869072568,"stop":1776869075039,"duration":2471}}]},"tags":[]},"source":"5ef89f0cf858af6b.json","parameterValues":["['/newsService/1.0/weekly/protobuf', '/newsService/1.0/alerts/xml', '/newsService/1.0/updates/json', '/newsService/2.0/alerts/json', '/newsService/2.0/summaries/xml', '/newsService/2.0/highlights/yaml', '/newsService/3.0/weekly/json', '/newsService/3.0/summaries/xml']"]}