1 line
19 KiB
JSON

{"uid":"821740192cbd3cd4","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":1776981649304,"stop":1776981649308,"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:40677/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:40677/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:40677/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:40677/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:40677/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:40677/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:40677/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:370: 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:40677/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:40677/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:40677/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:40677/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:40677/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:40677/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:40677/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":1776981468202,"stop":1776981468202,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1776981645415,"stop":1776981645415,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1776981645415,"stop":1776981645415,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1776981645415,"stop":1776981645416,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1776981645415,"stop":1776981645415,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"light_push_setup","time":{"start":1776981645416,"stop":1776981645417,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1776981645416,"stop":1776981645416,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1776981645416,"stop":1776981645416,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"light_push_publish_setup","time":{"start":1776981645417,"stop":1776981649303,"duration":3886},"status":"passed","steps":[{"name":"setup_first_receiving_node","time":{"start":1776981645417,"stop":1776981646668,"duration":1251},"status":"passed","steps":[{"name":"start_receiving_node","time":{"start":1776981645417,"stop":1776981646668,"duration":1251},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1776981646667,"stop":1776981646668,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.light_push.test_publish.TestLightPushPublish object at 0x7f4f48e8d7f0>, <src.node.waku_node.WakuNode object at 0x7f4f48db5730>, [])"}],"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":1776981646668,"stop":1776981647960,"duration":1292},"status":"passed","steps":[{"name":"start_receiving_node","time":{"start":1776981646668,"stop":1776981647960,"duration":1292},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1776981647921,"stop":1776981647960,"duration":39},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.light_push.test_publish.TestLightPushPublish object at 0x7f4f48e8d7f0>, <src.node.waku_node.WakuNode object at 0x7f4f48d98740>, ['/ip4/172.18.65.113/tcp/25855/p2p/16Uiu2HAmCJ4pfHPNGj15hCBhi4EckcSih7H1XD7x9YUJvMu4f5Cr'])"}],"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":1776981647960,"stop":1776981649282,"duration":1322},"status":"passed","steps":[{"name":"setup_lightpush_node","time":{"start":1776981647961,"stop":1776981649282,"duration":1321},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1776981649249,"stop":1776981649282,"duration":33},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.light_push.test_publish.TestLightPushPublish object at 0x7f4f48e8d7f0>, <src.node.waku_node.WakuNode object at 0x7f4f48935850>, ['/ip4/172.18.65.113/tcp/25855/p2p/16Uiu2HAmCJ4pfHPNGj15hCBhi4EckcSih7H1XD7x9YUJvMu4f5Cr', '/ip4/172.18.147.20/tcp/18821/p2p/16Uiu2HAm2ZmSGJW1wLwvZmaBMhpuRXB1ebogfFEHRSTRU7HDNWNq'])"}],"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":1776981649282,"stop":1776981649303,"duration":21},"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:40677/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:40677/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:40677/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:40677/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:40677/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:40677/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:40677/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:370: 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:40677/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:40677/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:40677/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:40677/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:40677/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:40677/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:40677/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":1776981649304,"stop":1776981649304,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"attachments":[{"uid":"848687f866f27ef9","name":"log","source":"848687f866f27ef9.txt","type":"text/plain","size":19180},{"uid":"e9ce07f38d6c8939","name":"stderr","source":"e9ce07f38d6c8939.txt","type":"text/plain","size":18691}],"parameters":[],"stepsCount":1,"shouldDisplayMessage":true,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1776981649377,"stop":1776981649378,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1776981649378,"stop":1776981650892,"duration":1514},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1776981650894,"stop":1776981650933,"duration":39},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1776981650933,"stop":1776981650936,"duration":3},"status":"passed","steps":[],"attachments":[{"uid":"61ea43124254d39c","name":"lightpush_node1_2026-04-23_22-00-45__d965df63-fd1a-4a0f-ad41-d6c66a0652b0__wakuorg_nwaku:latest.log","source":"61ea43124254d39c.txt","type":"text/plain","size":312816},{"uid":"893a69934ba32b4f","name":"receiving_node1_2026-04-23_22-00-45__d965df63-fd1a-4a0f-ad41-d6c66a0652b0__wakuorg_nwaku:latest.log","source":"893a69934ba32b4f.txt","type":"text/plain","size":293774},{"uid":"22cf1942c009cc81","name":"receiving_node2_2026-04-23_22-00-45__d965df63-fd1a-4a0f-ad41-d6c66a0652b0__wakuorg_nwaku:latest.log","source":"22cf1942c009cc81.txt","type":"text/plain","size":588538}],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":3,"hasContent":true,"attachmentStep":false},{"name":"set_allure_env_variables::0","time":{"start":1776982091950,"stop":1776982091950,"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":"21454-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":"821740192cbd3cd4.json","parameterValues":[]}