1 line
19 KiB
JSON

{"uid":"feb97010c780f16a","name":"test_auto_shard_relay","fullName":"tests.sharding.test_multiple_nodes.TestMultipleNodes#test_auto_shard_relay","historyId":"79d6eca92fb6068ffe37ef13751bd2f8","time":{"start":1776902536833,"stop":1776902543200,"duration":6367},"status":"broken","statusMessage":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:47924/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:47924/relay/v1/auto/subscriptions\n\nDuring handling of the above exception, another exception occurred:\ntests/sharding/test_multiple_nodes.py:28: in test_auto_shard_relay\n self.subscribe_main_relay_nodes(content_topics=[self.test_content_topic])\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:47924/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":0,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1776902096477,"stop":1776902096477,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"patch_waku_node_start","time":{"start":1776902536831,"stop":1776902536831,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1776902536831,"stop":1776902536831,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1776902536831,"stop":1776902536831,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1776902536831,"stop":1776902536831,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"monkeypatch","time":{"start":1776902536831,"stop":1776902536831,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1776902536831,"stop":1776902536831,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1776902536832,"stop":1776902536832,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1776902536832,"stop":1776902536832,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1776902536832,"stop":1776902536832,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1776902536832,"stop":1776902536832,"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:47924/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:47924/relay/v1/auto/subscriptions\n\nDuring handling of the above exception, another exception occurred:\ntests/sharding/test_multiple_nodes.py:28: in test_auto_shard_relay\n self.subscribe_main_relay_nodes(content_topics=[self.test_content_topic])\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:47924/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":1776902536833,"stop":1776902539357,"duration":2524},"status":"passed","steps":[{"name":"setup_first_relay_node_with_filter","time":{"start":1776902536833,"stop":1776902538085,"duration":1252},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1776902536833,"stop":1776902538085,"duration":1252},"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":1776902538085,"stop":1776902539357,"duration":1272},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1776902539353,"stop":1776902539356,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_multiple_nodes.TestMultipleNodes object at 0x7f3d44d5fc80>, <src.node.waku_node.WakuNode object at 0x7f3d44d084a0>, ['/ip4/172.18.47.255/tcp/47925/p2p/16Uiu2HAkzaBGd6h42sYL4yBcfjc6ErSwBVJyBP7YevEVp63tdYZe'])"}],"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}],"attachments":[],"parameters":[{"name":"cluster_id","value":"199"},{"name":"content_topic","value":"'/myapp/1/latest/proto'"}],"stepsCount":4,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"setup_optional_relay_nodes","time":{"start":1776902539357,"stop":1776902543196,"duration":3839},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1776902540634,"stop":1776902540638,"duration":4},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_multiple_nodes.TestMultipleNodes object at 0x7f3d44d5fc80>, <src.node.waku_node.WakuNode object at 0x7f3d444fbc50>, ['/ip4/172.18.47.255/tcp/47925/p2p/16Uiu2HAkzaBGd6h42sYL4yBcfjc6ErSwBVJyBP7YevEVp63tdYZe'])"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"add_node_peer","time":{"start":1776902541928,"stop":1776902541931,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_multiple_nodes.TestMultipleNodes object at 0x7f3d44d5fc80>, <src.node.waku_node.WakuNode object at 0x7f3d442c3110>, ['/ip4/172.18.47.255/tcp/47925/p2p/16Uiu2HAkzaBGd6h42sYL4yBcfjc6ErSwBVJyBP7YevEVp63tdYZe'])"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"add_node_peer","time":{"start":1776902543192,"stop":1776902543195,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_multiple_nodes.TestMultipleNodes object at 0x7f3d44d5fc80>, <src.node.waku_node.WakuNode object at 0x7f3d44d8b530>, ['/ip4/172.18.47.255/tcp/47925/p2p/16Uiu2HAkzaBGd6h42sYL4yBcfjc6ErSwBVJyBP7YevEVp63tdYZe'])"}],"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":3,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_main_relay_nodes","time":{"start":1776902543196,"stop":1776902543199,"duration":3},"status":"broken","statusMessage":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:47924/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":1776902543196,"stop":1776902543199,"duration":3},"status":"broken","statusMessage":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:47924/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 0x7f3d44d329f0>"},{"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":"12a070e2aed36e85","name":"log","source":"12a070e2aed36e85.txt","type":"text/plain","size":29052},{"uid":"4c3e31fd2ede89a9","name":"stderr","source":"4c3e31fd2ede89a9.txt","type":"text/plain","size":28295}],"parameters":[],"stepsCount":11,"shouldDisplayMessage":true,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1776902543241,"stop":1776902543242,"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":1776902543243,"stop":1776902543243,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1776902543243,"stop":1776902545828,"duration":2585},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"monkeypatch::0","time":{"start":1776902543243,"stop":1776902543243,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1776902545829,"stop":1776902545884,"duration":55},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1776902545885,"stop":1776902545888,"duration":3},"status":"passed","steps":[],"attachments":[{"uid":"6562c3d0b889c5bf","name":"node2_2026-04-23_00-02-16__7f0944db-cb08-4861-a1fa-3a0bb8b2f2ba__wakuorg_nwaku:latest.log","source":"6562c3d0b889c5bf.txt","type":"text/plain","size":182101},{"uid":"c4a907e5ba78b670","name":"node5_2026-04-23_00-02-16__7f0944db-cb08-4861-a1fa-3a0bb8b2f2ba__wakuorg_nwaku:latest.log","source":"c4a907e5ba78b670.txt","type":"text/plain","size":174028},{"uid":"64f666d8e6dc12b9","name":"node4_2026-04-23_00-02-16__7f0944db-cb08-4861-a1fa-3a0bb8b2f2ba__wakuorg_nwaku:latest.log","source":"64f666d8e6dc12b9.txt","type":"text/plain","size":349068},{"uid":"47325a794a1bc1d5","name":"node3_2026-04-23_00-02-16__7f0944db-cb08-4861-a1fa-3a0bb8b2f2ba__wakuorg_nwaku:latest.log","source":"47325a794a1bc1d5.txt","type":"text/plain","size":358954},{"uid":"51d68ef40d7b63b0","name":"node1_2026-04-23_00-02-16__7f0944db-cb08-4861-a1fa-3a0bb8b2f2ba__wakuorg_nwaku:latest.log","source":"51d68ef40d7b63b0.txt","type":"text/plain","size":547484}],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":5,"hasContent":true,"attachmentStep":false},{"name":"set_allure_env_variables::0","time":{"start":1776902703846,"stop":1776902703847,"duration":1},"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_multiple_nodes"},{"name":"subSuite","value":"TestMultipleNodes"},{"name":"host","value":"runnervm04xxt"},{"name":"thread","value":"21596-MainThread"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"tests.sharding.test_multiple_nodes"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":true,"retry":true,"extra":{"categories":[],"tags":[]},"source":"feb97010c780f16a.json","parameterValues":[]}