1 line
20 KiB
JSON

{"uid":"16a02afda128dc5f","name":"test_sender_uses_regular_api_receiver_uses_auto_api","fullName":"tests.sharding.test_running_nodes_auto_sharding.TestRunningNodesAutosharding#test_sender_uses_regular_api_receiver_uses_auto_api","historyId":"671a39a4206caa1d8ea7d61ef62e6508","time":{"start":1776902227518,"stop":1776902230005,"duration":2487},"status":"broken","statusMessage":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:12697/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:12697/relay/v1/auto/subscriptions\n\nDuring handling of the above exception, another exception occurred:\ntests/sharding/test_running_nodes_auto_sharding.py:90: in test_sender_uses_regular_api_receiver_uses_auto_api\n self.subscribe_second_relay_node(content_topics=[self.test_content_topic])\nsrc/steps/sharding.py:87: in subscribe_second_relay_node\n self.subscribe_relay_node(self.node2, 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:12697/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":1776902123632,"stop":1776902123632,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1776902227514,"stop":1776902227514,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1776902227514,"stop":1776902227514,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"patch_waku_node_start","time":{"start":1776902227514,"stop":1776902227515,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"monkeypatch","time":{"start":1776902227514,"stop":1776902227514,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1776902227514,"stop":1776902227514,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1776902227515,"stop":1776902227516,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1776902227515,"stop":1776902227515,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1776902227515,"stop":1776902227515,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1776902227516,"stop":1776902227516,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1776902227516,"stop":1776902227516,"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:12697/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:12697/relay/v1/auto/subscriptions\n\nDuring handling of the above exception, another exception occurred:\ntests/sharding/test_running_nodes_auto_sharding.py:90: in test_sender_uses_regular_api_receiver_uses_auto_api\n self.subscribe_second_relay_node(content_topics=[self.test_content_topic])\nsrc/steps/sharding.py:87: in subscribe_second_relay_node\n self.subscribe_relay_node(self.node2, 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:12697/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":1776902227518,"stop":1776902229997,"duration":2479},"status":"passed","steps":[{"name":"setup_first_relay_node_with_filter","time":{"start":1776902227518,"stop":1776902228753,"duration":1235},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1776902227518,"stop":1776902228753,"duration":1235},"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":1776902228753,"stop":1776902229997,"duration":1244},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1776902229992,"stop":1776902229997,"duration":5},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_running_nodes_auto_sharding.TestRunningNodesAutosharding object at 0x7fbfb509fa10>, <src.node.waku_node.WakuNode object at 0x7fbfb4e42d50>, ['/ip4/172.18.61.40/tcp/48511/p2p/16Uiu2HAkupaipezhByq7Q2QhM4wMB6FUk3EXJztdCoQv1Fr7KhZ4'])"}],"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_first_relay_node","time":{"start":1776902229997,"stop":1776902230000,"duration":3},"status":"passed","steps":[{"name":"subscribe_relay_node","time":{"start":1776902229997,"stop":1776902230000,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fbfb51d7b90>"},{"name":"content_topics","value":"None"},{"name":"pubsub_topics","value":"['/waku/2/rs/199/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/199/0']"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_second_relay_node","time":{"start":1776902230001,"stop":1776902230004,"duration":3},"status":"broken","statusMessage":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:12697/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 87, in subscribe_second_relay_node\n self.subscribe_relay_node(self.node2, 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":1776902230001,"stop":1776902230004,"duration":3},"status":"broken","statusMessage":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:12697/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 0x7fbfb4e42d50>"},{"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":"a98d893c95af79a3","name":"log","source":"a98d893c95af79a3.txt","type":"text/plain","size":38331},{"uid":"46856d6b8b13750b","name":"stderr","source":"46856d6b8b13750b.txt","type":"text/plain","size":37342}],"parameters":[],"stepsCount":9,"shouldDisplayMessage":true,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1776902230041,"stop":1776902230042,"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":1776902230042,"stop":1776902230042,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"monkeypatch::0","time":{"start":1776902230042,"stop":1776902230042,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1776902230043,"stop":1776902230987,"duration":944},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1776902230988,"stop":1776902231002,"duration":14},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1776902231002,"stop":1776902231004,"duration":2},"status":"passed","steps":[],"attachments":[{"uid":"c0933dfcaf5d31f8","name":"node1_2026-04-22_23-57-07__1a88c53b-51f2-4635-927d-99eca7fb5ef1__wakuorg_nwaku:latest.log","source":"c0933dfcaf5d31f8.txt","type":"text/plain","size":167197},{"uid":"7c889346c9c201f","name":"node2_2026-04-22_23-57-07__1a88c53b-51f2-4635-927d-99eca7fb5ef1__wakuorg_nwaku:latest.log","source":"7c889346c9c201f.txt","type":"text/plain","size":170379}],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},{"name":"set_allure_env_variables::0","time":{"start":1776902436673,"stop":1776902436673,"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":"21528-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":"8c2dea6714f79eb9","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:11099/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":1776902223995,"stop":1776902226485,"duration":2490}},{"uid":"ba19cf6df932dd34","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:10837/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":1776902220420,"stop":1776902222916,"duration":2496}}],"categories":[{"name":"Test defects","matchedStatuses":[],"flaky":false}],"history":{"statistic":{"failed":0,"broken":4,"skipped":0,"passed":0,"unknown":0,"total":4},"items":[{"uid":"2b1f853146b5d86a","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1206/#testresult/2b1f853146b5d86a","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:42577/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":1776897858484,"stop":1776897860986,"duration":2502}},{"uid":"887c1a02da53110d","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1199/#testresult/887c1a02da53110d","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:28580/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":1776872861846,"stop":1776872864366,"duration":2520}},{"uid":"7944673bd8bfe97","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1198/#testresult/7944673bd8bfe97","status":"broken","statusDetails":"Exception: Error: 500 Server Error: Internal Server Error for url: http://127.0.0.1:7420/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":1776868794642,"stop":1776868797054,"duration":2412}}]},"tags":[]},"source":"16a02afda128dc5f.json","parameterValues":[]}