2026-05-01 13:24:46 +00:00

1 line
18 KiB
JSON

{"uid":"4eac886b39c730b5","name":"test_light_push_with_missing_pubsub_topics","fullName":"tests.light_push.test_publish.TestLightPushPublish#test_light_push_with_missing_pubsub_topics","historyId":"1d468b59ab821dc43c1069444cc64cbf","time":{"start":1777640866516,"stop":1777640866520,"duration":4},"status":"failed","statusMessage":"AssertionError: assert ('not_published_to_any_peer' in \"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\" or 'timeout' in \"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\")\n + where \"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\" = str(Exception(\"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\"))\n + and \"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\" = str(Exception(\"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\"))","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: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message\n\nDuring handling of the above exception, another exception occurred:\ntests/light_push/test_publish.py:150: in test_light_push_with_missing_pubsub_topics\n self.light_push_node1.send_light_push_message({\"message\": self.create_message()})\nsrc/node/waku_node.py:418: in send_light_push_message\n return self._api.send_light_push_message(payload)\nsrc/node/api_clients/rest.py:57: in send_light_push_message\n return self.rest_call(\"post\", \"lightpush/v1/message\", json.dumps(payload))\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: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\n\nDuring handling of the above exception, another exception occurred:\ntests/light_push/test_publish.py:152: in test_light_push_with_missing_pubsub_topics\n assert \"not_published_to_any_peer\" in str(ex) or \"timeout\" in str(ex)\nE assert ('not_published_to_any_peer' in \"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\" or 'timeout' in \"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\")\nE + where \"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\" = str(Exception(\"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\"))\nE + and \"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\" = str(Exception(\"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\"))","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1777640676100,"stop":1777640676100,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1777640862581,"stop":1777640862581,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1777640862582,"stop":1777640862582,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1777640862582,"stop":1777640862582,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1777640862582,"stop":1777640862582,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1777640862582,"stop":1777640862582,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1777640862582,"stop":1777640862583,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"light_push_publish_setup","time":{"start":1777640862583,"stop":1777640866515,"duration":3932},"status":"passed","steps":[{"name":"setup_first_receiving_node","time":{"start":1777640862583,"stop":1777640863835,"duration":1252},"status":"passed","steps":[{"name":"start_receiving_node","time":{"start":1777640862583,"stop":1777640863835,"duration":1252},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1777640863835,"stop":1777640863835,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.light_push.test_publish.TestLightPushPublish object at 0x7f6511e5e060>, <src.node.waku_node.WakuNode object at 0x7f6511d47230>, [])"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"image","value":"'wakuorg/nwaku:latest'"},{"name":"node_index","value":"1"},{"name":"lightpush","value":"'true'"},{"name":"relay","value":"'true'"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"lightpush","value":"'true'"},{"name":"relay","value":"'true'"}],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"setup_second_receiving_node","time":{"start":1777640863835,"stop":1777640865119,"duration":1284},"status":"passed","steps":[{"name":"start_receiving_node","time":{"start":1777640863835,"stop":1777640865119,"duration":1284},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1777640865092,"stop":1777640865119,"duration":27},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.light_push.test_publish.TestLightPushPublish object at 0x7f6511e5e060>, <src.node.waku_node.WakuNode object at 0x7f6511c639e0>, ['/ip4/172.18.111.189/tcp/62486/p2p/16Uiu2HAm23m435fjadF3Z24C738bpT2nujQNHrV21BCiknqghZnZ'])"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"image","value":"'wakuorg/nwaku:latest'"},{"name":"node_index","value":"2"},{"name":"lightpush","value":"'false'"},{"name":"relay","value":"'true'"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"lightpush","value":"'false'"},{"name":"relay","value":"'true'"}],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"setup_first_lightpush_node","time":{"start":1777640865119,"stop":1777640866498,"duration":1379},"status":"passed","steps":[{"name":"setup_lightpush_node","time":{"start":1777640865119,"stop":1777640866498,"duration":1379},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1777640866398,"stop":1777640866497,"duration":99},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.light_push.test_publish.TestLightPushPublish object at 0x7f6511e5e060>, <src.node.waku_node.WakuNode object at 0x7f6511de9ca0>, ['/ip4/172.18.111.189/tcp/62486/p2p/16Uiu2HAm23m435fjadF3Z24C738bpT2nujQNHrV21BCiknqghZnZ', '/ip4/172.18.64.254/tcp/31633/p2p/16Uiu2HAm3LcwAXkuKS3Zd4jFATkT7C8uvcfyVJhxnuBmZoNHFBFw'])"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"image","value":"'wakuorg/nwaku:latest'"},{"name":"node_index","value":"1"},{"name":"lightpush","value":"'true'"},{"name":"relay","value":"'true'"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"lightpush","value":"'true'"},{"name":"relay","value":"'true'"}],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_to_pubsub_topics_via_relay","time":{"start":1777640866498,"stop":1777640866515,"duration":17},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"None"},{"name":"pubsub_topics","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[],"stepsCount":10,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"light_push_setup","time":{"start":1777640862583,"stop":1777640862583,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"testStage":{"status":"failed","statusMessage":"AssertionError: assert ('not_published_to_any_peer' in \"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\" or 'timeout' in \"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\")\n + where \"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\" = str(Exception(\"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\"))\n + and \"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\" = str(Exception(\"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\"))","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: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message\n\nDuring handling of the above exception, another exception occurred:\ntests/light_push/test_publish.py:150: in test_light_push_with_missing_pubsub_topics\n self.light_push_node1.send_light_push_message({\"message\": self.create_message()})\nsrc/node/waku_node.py:418: in send_light_push_message\n return self._api.send_light_push_message(payload)\nsrc/node/api_clients/rest.py:57: in send_light_push_message\n return self.rest_call(\"post\", \"lightpush/v1/message\", json.dumps(payload))\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: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\n\nDuring handling of the above exception, another exception occurred:\ntests/light_push/test_publish.py:152: in test_light_push_with_missing_pubsub_topics\n assert \"not_published_to_any_peer\" in str(ex) or \"timeout\" in str(ex)\nE assert ('not_published_to_any_peer' in \"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\" or 'timeout' in \"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\")\nE + where \"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\" = str(Exception(\"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\"))\nE + and \"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\" = str(Exception(\"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:49521/lightpush/v1/message with response: b'Failed to request a message push: Pubsub topic must be specified when static sharding is enabled'\"))","steps":[{"name":"create_message","time":{"start":1777640866516,"stop":1777640866516,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"attachments":[{"name":"log","type":"text/plain","size":0},{"name":"stderr","type":"text/plain","size":0}],"parameters":[],"stepsCount":1,"shouldDisplayMessage":true,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1777640866595,"stop":1777640866596,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1777640866596,"stop":1777640868305,"duration":1709},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1777640868306,"stop":1777640868352,"duration":46},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1777640868353,"stop":1777640868355,"duration":2},"status":"passed","steps":[],"attachments":[{"name":"receiving_node1_2026-05-01_13-07-42__45e95dae-fb76-42d6-bf2a-9932756e4233__wakuorg_nwaku:latest.log","type":"text/plain","size":0},{"name":"lightpush_node1_2026-05-01_13-07-42__45e95dae-fb76-42d6-bf2a-9932756e4233__wakuorg_nwaku:latest.log","type":"text/plain","size":0},{"name":"receiving_node2_2026-05-01_13-07-42__45e95dae-fb76-42d6-bf2a-9932756e4233__wakuorg_nwaku:latest.log","type":"text/plain","size":0}],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":3,"hasContent":true,"attachmentStep":false},{"name":"set_allure_env_variables::0","time":{"start":1777641128220,"stop":1777641128220,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"labels":[{"name":"parentSuite","value":"tests.light_push"},{"name":"suite","value":"test_publish"},{"name":"subSuite","value":"TestLightPushPublish"},{"name":"host","value":"runnervmeorf1"},{"name":"thread","value":"21636-MainThread"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"tests.light_push.test_publish"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":true,"retry":true,"extra":{"categories":[],"tags":[]},"source":"4eac886b39c730b5.json","parameterValues":[]}