2026-04-22 23:09:31 +00:00

1 line
18 KiB
JSON

{"uid":"d4a287cea7529fc6","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":1776897926295,"stop":1776897926300,"duration":5},"status":"failed","statusMessage":"AssertionError: assert ('not_published_to_any_peer' in \"Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:48997/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:48997/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:48997/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:48997/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:48997/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:48997/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:48997/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:48997/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:48997/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:48997/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:48997/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:48997/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:48997/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:48997/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":1776897747477,"stop":1776897747477,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1776897922425,"stop":1776897922425,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1776897922425,"stop":1776897922425,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1776897922425,"stop":1776897922425,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1776897922425,"stop":1776897922425,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1776897922425,"stop":1776897922425,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"light_push_setup","time":{"start":1776897922426,"stop":1776897922426,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1776897922426,"stop":1776897922426,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"light_push_publish_setup","time":{"start":1776897922426,"stop":1776897926289,"duration":3863},"status":"passed","steps":[{"name":"setup_first_receiving_node","time":{"start":1776897922426,"stop":1776897923664,"duration":1238},"status":"passed","steps":[{"name":"start_receiving_node","time":{"start":1776897922426,"stop":1776897923664,"duration":1238},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1776897923664,"stop":1776897923664,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.light_push.test_publish.TestLightPushPublish object at 0x7fbf43bc69f0>, <src.node.waku_node.WakuNode object at 0x7fbf40018f20>, [])"}],"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":1776897923664,"stop":1776897924934,"duration":1270},"status":"passed","steps":[{"name":"start_receiving_node","time":{"start":1776897923664,"stop":1776897924934,"duration":1270},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1776897924903,"stop":1776897924934,"duration":31},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.light_push.test_publish.TestLightPushPublish object at 0x7fbf43bc69f0>, <src.node.waku_node.WakuNode object at 0x7fbf404b9a00>, ['/ip4/172.18.94.61/tcp/40489/p2p/16Uiu2HAmEXfGTUKDRJgLVvUoaXqH74PBk3jHHUb3uXeWsizt368M'])"}],"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":1776897924934,"stop":1776897926268,"duration":1334},"status":"passed","steps":[{"name":"setup_lightpush_node","time":{"start":1776897924934,"stop":1776897926268,"duration":1334},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1776897926171,"stop":1776897926268,"duration":97},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.light_push.test_publish.TestLightPushPublish object at 0x7fbf43bc69f0>, <src.node.waku_node.WakuNode object at 0x7fbf409e6c30>, ['/ip4/172.18.94.61/tcp/40489/p2p/16Uiu2HAmEXfGTUKDRJgLVvUoaXqH74PBk3jHHUb3uXeWsizt368M', '/ip4/172.18.25.94/tcp/8043/p2p/16Uiu2HAkvqBBkL4R3rvVQnkiW7adMCxWTtzajT2h2t618Y2V6AyS'])"}],"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":1776897926268,"stop":1776897926289,"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:48997/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:48997/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:48997/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:48997/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:48997/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:48997/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:48997/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:48997/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:48997/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:48997/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:48997/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:48997/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:48997/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:48997/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":1776897926295,"stop":1776897926295,"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":1776897926369,"stop":1776897926369,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1776897926370,"stop":1776897927715,"duration":1345},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1776897927717,"stop":1776897927753,"duration":36},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1776897927757,"stop":1776897927771,"duration":14},"status":"passed","steps":[],"attachments":[{"name":"receiving_node2_2026-04-22_22-45-22__c7d262c7-0867-411a-b54d-c8f637136610__wakuorg_nwaku:latest.log","type":"text/plain","size":0},{"name":"lightpush_node1_2026-04-22_22-45-22__c7d262c7-0867-411a-b54d-c8f637136610__wakuorg_nwaku:latest.log","type":"text/plain","size":0},{"name":"receiving_node1_2026-04-22_22-45-22__c7d262c7-0867-411a-b54d-c8f637136610__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":1776898310196,"stop":1776898310196,"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":"runnervm04xxt"},{"name":"thread","value":"21601-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":"d4a287cea7529fc6.json","parameterValues":[]}