1 line
20 KiB
JSON

{"uid":"7054d9d529d71e5a","name":"test_node_uses_both_auto_and_regular_apis","fullName":"tests.sharding.test_running_nodes_auto_sharding.TestRunningNodesAutosharding#test_node_uses_both_auto_and_regular_apis","historyId":"4e36e75de381aaa4100fd05dcfeeef37","time":{"start":1777093367561,"stop":1777093370080,"duration":2519},"status":"broken","statusMessage":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:12811/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:12811/relay/v1/auto/subscriptions\n\nDuring handling of the above exception, another exception occurred:\ntests/sharding/test_running_nodes_auto_sharding.py:72: in test_node_uses_both_auto_and_regular_apis\n self.subscribe_main_relay_nodes(content_topics=[\"/toychat/2/huilong/proto\"])\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:12811/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":1777093101432,"stop":1777093101432,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1777093367558,"stop":1777093367558,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1777093367558,"stop":1777093367559,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1777093367558,"stop":1777093367558,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1777093367558,"stop":1777093367558,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1777093367558,"stop":1777093367558,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1777093367559,"stop":1777093367559,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1777093367559,"stop":1777093367560,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1777093367559,"stop":1777093367559,"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:12811/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:12811/relay/v1/auto/subscriptions\n\nDuring handling of the above exception, another exception occurred:\ntests/sharding/test_running_nodes_auto_sharding.py:72: in test_node_uses_both_auto_and_regular_apis\n self.subscribe_main_relay_nodes(content_topics=[\"/toychat/2/huilong/proto\"])\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:12811/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":1777093367561,"stop":1777093370075,"duration":2514},"status":"passed","steps":[{"name":"setup_first_relay_node_with_filter","time":{"start":1777093367562,"stop":1777093368814,"duration":1252},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1777093367562,"stop":1777093368814,"duration":1252},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"filter","value":"'true'"},{"name":"cluster_id","value":"199"},{"name":"pubsub_topic","value":"'/waku/2/rs/199/0'"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"cluster_id","value":"199"},{"name":"pubsub_topic","value":"'/waku/2/rs/199/0'"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"setup_second_relay_node","time":{"start":1777093368815,"stop":1777093370075,"duration":1260},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1777093370071,"stop":1777093370075,"duration":4},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_running_nodes_auto_sharding.TestRunningNodesAutosharding object at 0x7fa7e17340b0>, <src.node.waku_node.WakuNode object at 0x7fa7dbf55be0>, ['/ip4/172.18.113.77/tcp/12812/p2p/16Uiu2HAm8XHCcAcvHmiYX8rmBbvRogrRmJbqdTvoJnWks1CGwRRA'])"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"cluster_id","value":"199"},{"name":"pubsub_topic","value":"'/waku/2/rs/199/0'"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"cluster_id","value":"199"},{"name":"pubsub_topic","value":"'/waku/2/rs/199/0'"}],"stepsCount":4,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_main_relay_nodes","time":{"start":1777093370075,"stop":1777093370079,"duration":4},"status":"broken","statusMessage":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:12811/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":1777093370075,"stop":1777093370079,"duration":4},"status":"broken","statusMessage":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:12811/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 0x7fa7dbf7faa0>"},{"name":"content_topics","value":"['/toychat/2/huilong/proto']"},{"name":"pubsub_topics","value":"None"}],"stepsCount":0,"shouldDisplayMessage":true,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"content_topics","value":"['/toychat/2/huilong/proto']"},{"name":"pubsub_topics","value":"None"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[{"name":"log","type":"text/plain","size":0},{"name":"stderr","type":"text/plain","size":0}],"parameters":[],"stepsCount":7,"shouldDisplayMessage":true,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1777093370115,"stop":1777093370116,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1777093370116,"stop":1777093371102,"duration":986},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1777093371103,"stop":1777093371122,"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":1777093371123,"stop":1777093371125,"duration":2},"status":"passed","steps":[],"attachments":[{"name":"node2_2026-04-25_05-02-47__bb76e770-d12c-4a6e-abaf-525a3ba284ee__wakuorg_nwaku:latest.log","type":"text/plain","size":0},{"name":"node1_2026-04-25_05-02-47__bb76e770-d12c-4a6e-abaf-525a3ba284ee__wakuorg_nwaku:latest.log","type":"text/plain","size":0}],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},{"name":"set_allure_env_variables::0","time":{"start":1777094626929,"stop":1777094626929,"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":"runnervmeorf1"},{"name":"thread","value":"22126-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":"f173840c2d057ce5","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:32675/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":1777093363973,"stop":1777093366499,"duration":2526}},{"uid":"82e0d48e7b584878","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:28285/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":1777093360364,"stop":1777093362881,"duration":2517}}],"categories":[{"name":"Test defects","matchedStatuses":[],"flaky":false}],"history":{"statistic":{"failed":0,"broken":8,"skipped":0,"passed":0,"unknown":0,"total":8},"items":[{"uid":"38d7b61a645f6d5b","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1210/#testresult/38d7b61a645f6d5b","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:6233/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":1777007716335,"stop":1777007718841,"duration":2506}},{"uid":"49135293c6a1ede7","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1209/#testresult/49135293c6a1ede7","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:12650/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":1776981748027,"stop":1776981750538,"duration":2511}},{"uid":"c22d0a8710f247f4","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1208/#testresult/c22d0a8710f247f4","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:43046/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":1776921384270,"stop":1776921388393,"duration":4123}},{"uid":"4d836198a8db9b04","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1207/#testresult/4d836198a8db9b04","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:34184/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":1776902341710,"stop":1776902344201,"duration":2491}},{"uid":"b6a30515da18632a","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1206/#testresult/b6a30515da18632a","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:29573/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":1776898069549,"stop":1776898071970,"duration":2421}},{"uid":"e05a44db15b2a724","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1199/#testresult/e05a44db15b2a724","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:19901/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":1776873083423,"stop":1776873085914,"duration":2491}},{"uid":"f6be5f9f4982d837","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1198/#testresult/f6be5f9f4982d837","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:12129/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":1776869110725,"stop":1776869113608,"duration":2883}}]},"tags":[]},"source":"7054d9d529d71e5a.json","parameterValues":[]}