1 line
18 KiB
JSON

{"uid":"430e50f66f0959cd","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":1777180562717,"stop":1777180562720,"duration":3},"status":"failed","statusMessage":"AssertionError: assert ('not_published_to_any_peer' in \"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:44620/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:44620/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:44620/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:44620/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:44620/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:44620/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:44620/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:506: 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:44620/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:44620/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:44620/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:44620/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:44620/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:44620/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:44620/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":1777180352433,"stop":1777180352433,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1777180557796,"stop":1777180557796,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1777180557796,"stop":1777180557796,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1777180557796,"stop":1777180557796,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1777180557796,"stop":1777180557796,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1777180557797,"stop":1777180557797,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1777180557797,"stop":1777180557797,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"light_push_setup","time":{"start":1777180557797,"stop":1777180557797,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"light_push_publish_setup","time":{"start":1777180557797,"stop":1777180562716,"duration":4919},"status":"passed","steps":[{"name":"setup_first_receiving_node","time":{"start":1777180557797,"stop":1777180559514,"duration":1717},"status":"passed","steps":[{"name":"start_receiving_node","time":{"start":1777180557797,"stop":1777180559514,"duration":1717},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1777180559514,"stop":1777180559514,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.light_push.test_publish.TestLightPushPublish object at 0x7f039abbe960>, <src.node.waku_node.WakuNode object at 0x7f039a65e420>, [])"}],"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":1777180559514,"stop":1777180561292,"duration":1778},"status":"passed","steps":[{"name":"start_receiving_node","time":{"start":1777180559514,"stop":1777180561292,"duration":1778},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1777180561274,"stop":1777180561292,"duration":18},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.light_push.test_publish.TestLightPushPublish object at 0x7f039abbe960>, <src.node.waku_node.WakuNode object at 0x7f039aaf6330>, ['/ip4/172.18.179.55/tcp/9496/p2p/16Uiu2HAmT9t6cFtTaeEky8ipjAQ4cY2oFDj8DgnVeXbiEr1WXDQY'])"}],"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":1777180561293,"stop":1777180562710,"duration":1417},"status":"passed","steps":[{"name":"setup_lightpush_node","time":{"start":1777180561293,"stop":1777180562710,"duration":1417},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1777180562655,"stop":1777180562710,"duration":55},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.light_push.test_publish.TestLightPushPublish object at 0x7f039abbe960>, <src.node.waku_node.WakuNode object at 0x7f039aa04590>, ['/ip4/172.18.179.55/tcp/9496/p2p/16Uiu2HAmT9t6cFtTaeEky8ipjAQ4cY2oFDj8DgnVeXbiEr1WXDQY', '/ip4/172.18.79.54/tcp/27411/p2p/16Uiu2HAmQQYErJLV7TcX5hWRrYwCS2XtYvVmgX6yJm4fbsE2jySP'])"}],"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":1777180562710,"stop":1777180562716,"duration":6},"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}],"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:44620/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:44620/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:44620/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:44620/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:44620/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:44620/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:44620/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:506: 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:44620/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:44620/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:44620/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:44620/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:44620/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:44620/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:44620/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":1777180562717,"stop":1777180562717,"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":1777180562775,"stop":1777180562775,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1777180562776,"stop":1777180565086,"duration":2310},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1777180565087,"stop":1777180565119,"duration":32},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1777180565120,"stop":1777180565121,"duration":1},"status":"passed","steps":[],"attachments":[{"name":"lightpush_node1_2026-04-26_05-15-57__74b9ecfd-6af9-4dd9-8be3-b7e75c508a49__wakuorg_nwaku:latest.log","type":"text/plain","size":0},{"name":"receiving_node1_2026-04-26_05-15-57__74b9ecfd-6af9-4dd9-8be3-b7e75c508a49__wakuorg_nwaku:latest.log","type":"text/plain","size":0},{"name":"receiving_node2_2026-04-26_05-15-57__74b9ecfd-6af9-4dd9-8be3-b7e75c508a49__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":1777180831678,"stop":1777180831678,"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":"21354-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":"430e50f66f0959cd.json","parameterValues":[]}