1 line
19 KiB
JSON

{"uid":"7388e2fa72aeed69","name":"test_2_nodes_different_content_topic_different_shard","fullName":"tests.sharding.test_running_nodes_auto_sharding.TestRunningNodesAutosharding#test_2_nodes_different_content_topic_different_shard","historyId":"b71a77aa5a69aa012f2449a5ec6146bb","time":{"start":1776902367463,"stop":1776902369976,"duration":2513},"status":"broken","statusMessage":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:30272/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:30272/relay/v1/auto/subscriptions\n\nDuring handling of the above exception, another exception occurred:\ntests/sharding/test_running_nodes_auto_sharding.py:45: in test_2_nodes_different_content_topic_different_shard\n self.subscribe_first_relay_node(content_topics=[\"/myapp/1/latest/proto\"])\nsrc/steps/sharding.py:83: in subscribe_first_relay_node\n self.subscribe_relay_node(self.node1, 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:30272/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":1776902245909,"stop":1776902245909,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1776902367457,"stop":1776902367457,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"monkeypatch","time":{"start":1776902367457,"stop":1776902367457,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1776902367457,"stop":1776902367457,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"patch_waku_node_start","time":{"start":1776902367457,"stop":1776902367458,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1776902367457,"stop":1776902367457,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1776902367458,"stop":1776902367459,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1776902367459,"stop":1776902367460,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1776902367459,"stop":1776902367459,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1776902367460,"stop":1776902367460,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1776902367460,"stop":1776902367460,"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:30272/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:30272/relay/v1/auto/subscriptions\n\nDuring handling of the above exception, another exception occurred:\ntests/sharding/test_running_nodes_auto_sharding.py:45: in test_2_nodes_different_content_topic_different_shard\n self.subscribe_first_relay_node(content_topics=[\"/myapp/1/latest/proto\"])\nsrc/steps/sharding.py:83: in subscribe_first_relay_node\n self.subscribe_relay_node(self.node1, 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:30272/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_first_relay_node_with_filter","time":{"start":1776902367463,"stop":1776902368706,"duration":1243},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1776902367463,"stop":1776902368706,"duration":1243},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"filter","value":"'true'"},{"name":"cluster_id","value":"199"},{"name":"content_topic","value":"'/myapp/1/latest/proto'"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"cluster_id","value":"199"},{"name":"content_topic","value":"'/myapp/1/latest/proto'"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"setup_second_relay_node","time":{"start":1776902368706,"stop":1776902369968,"duration":1262},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1776902369963,"stop":1776902369968,"duration":5},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_running_nodes_auto_sharding.TestRunningNodesAutosharding object at 0x7f92b85ce5d0>, <src.node.waku_node.WakuNode object at 0x7f92b853f830>, ['/ip4/172.18.35.194/tcp/30273/p2p/16Uiu2HAmNg7U27Ex39vUX1bMv3Hb4Mnj6xGnd6ogB72CDumNtZdX'])"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"cluster_id","value":"199"},{"name":"content_topic","value":"'/waku/2/content/test.js'"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_first_relay_node","time":{"start":1776902369968,"stop":1776902369974,"duration":6},"status":"broken","statusMessage":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:30272/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 83, in subscribe_first_relay_node\n self.subscribe_relay_node(self.node1, 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":1776902369968,"stop":1776902369974,"duration":6},"status":"broken","statusMessage":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:30272/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 0x7f92b853e480>"},{"name":"content_topics","value":"['/myapp/1/latest/proto']"},{"name":"pubsub_topics","value":"None"}],"stepsCount":0,"shouldDisplayMessage":true,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"content_topics","value":"['/myapp/1/latest/proto']"},{"name":"pubsub_topics","value":"None"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[{"uid":"b71a9a0331ba7ae5","name":"log","source":"b71a9a0331ba7ae5.txt","type":"text/plain","size":37072},{"uid":"8db506340629303c","name":"stderr","source":"8db506340629303c.txt","type":"text/plain","size":36131}],"parameters":[],"stepsCount":6,"shouldDisplayMessage":true,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1776902370018,"stop":1776902370019,"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":1776902370019,"stop":1776902370019,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"monkeypatch::0","time":{"start":1776902370020,"stop":1776902370020,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1776902370020,"stop":1776902371032,"duration":1012},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1776902371032,"stop":1776902371051,"duration":19},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1776902371051,"stop":1776902371053,"duration":2},"status":"passed","steps":[],"attachments":[{"uid":"458720498b9114e","name":"node2_2026-04-22_23-59-27__ecbde20f-0c76-4312-b916-759c0759b580__wakuorg_nwaku:latest.log","source":"458720498b9114e.txt","type":"text/plain","size":168250},{"uid":"3698fab59c0cf7ba","name":"node1_2026-04-22_23-59-27__ecbde20f-0c76-4312-b916-759c0759b580__wakuorg_nwaku:latest.log","source":"3698fab59c0cf7ba.txt","type":"text/plain","size":336222}],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},{"name":"set_allure_env_variables::0","time":{"start":1776902540757,"stop":1776902540757,"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_running_nodes_auto_sharding"},{"name":"subSuite","value":"TestRunningNodesAutosharding"},{"name":"host","value":"runnervm04xxt"},{"name":"thread","value":"21578-MainThread"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"tests.sharding.test_running_nodes_auto_sharding"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":false,"retry":false,"extra":{"severity":"normal","retries":[{"uid":"c7b68909c41a6f9a","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:21633/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":1776902363996,"stop":1776902366492,"duration":2496}},{"uid":"6438ddcbf4421274","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:20994/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":1776902360527,"stop":1776902363029,"duration":2502}}],"categories":[{"name":"Test defects","matchedStatuses":[],"flaky":false}],"history":{"statistic":{"failed":0,"broken":4,"skipped":0,"passed":0,"unknown":0,"total":4},"items":[{"uid":"1298d821387b5e1","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1206/#testresult/1298d821387b5e1","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:30066/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":1776897937546,"stop":1776897939941,"duration":2395}},{"uid":"56975a654abfa171","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1199/#testresult/56975a654abfa171","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:43932/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":1776872878957,"stop":1776872881467,"duration":2510}},{"uid":"32e2e7631d74cf5e","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1198/#testresult/32e2e7631d74cf5e","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:56631/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":1776868853078,"stop":1776868855499,"duration":2421}}]},"tags":[]},"source":"7388e2fa72aeed69.json","parameterValues":[]}