1 line
18 KiB
JSON

{"uid":"a0b82be1ebdccb82","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":1777353680582,"stop":1777353680586,"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:61165/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:61165/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:61165/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:61165/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:61165/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:61165/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:61165/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:61165/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:61165/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:61165/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:61165/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:61165/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:61165/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:61165/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":1777353484181,"stop":1777353484181,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1777353676754,"stop":1777353676754,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1777353676754,"stop":1777353676754,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1777353676754,"stop":1777353676754,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1777353676754,"stop":1777353676754,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1777353676754,"stop":1777353676755,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"light_push_publish_setup","time":{"start":1777353676755,"stop":1777353680582,"duration":3827},"status":"passed","steps":[{"name":"setup_first_receiving_node","time":{"start":1777353676755,"stop":1777353677995,"duration":1240},"status":"passed","steps":[{"name":"start_receiving_node","time":{"start":1777353676755,"stop":1777353677994,"duration":1239},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1777353677994,"stop":1777353677994,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.light_push.test_publish.TestLightPushPublish object at 0x7ff514bba840>, <src.node.waku_node.WakuNode object at 0x7ff5145acc50>, [])"}],"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":1777353677995,"stop":1777353679254,"duration":1259},"status":"passed","steps":[{"name":"start_receiving_node","time":{"start":1777353677995,"stop":1777353679251,"duration":1256},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1777353679225,"stop":1777353679251,"duration":26},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.light_push.test_publish.TestLightPushPublish object at 0x7ff514bba840>, <src.node.waku_node.WakuNode object at 0x7ff5147affe0>, ['/ip4/172.18.0.127/tcp/3882/p2p/16Uiu2HAmUHG5GvTFEccX4ySoAgGq7BjC6G1v32stkRcm22DLoBT8'])"}],"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":1777353679254,"stop":1777353680569,"duration":1315},"status":"passed","steps":[{"name":"setup_lightpush_node","time":{"start":1777353679255,"stop":1777353680569,"duration":1314},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1777353680502,"stop":1777353680569,"duration":67},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.light_push.test_publish.TestLightPushPublish object at 0x7ff514bba840>, <src.node.waku_node.WakuNode object at 0x7ff514274890>, ['/ip4/172.18.0.127/tcp/3882/p2p/16Uiu2HAmUHG5GvTFEccX4ySoAgGq7BjC6G1v32stkRcm22DLoBT8', '/ip4/172.18.86.179/tcp/55869/p2p/16Uiu2HAmQPoPu7rzPZmpKS5hyhTzUXoTCrWBvf5Wa1cfmFa4JFqQ'])"}],"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":1777353680569,"stop":1777353680582,"duration":13},"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":1777353676755,"stop":1777353676755,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1777353676755,"stop":1777353676755,"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:61165/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:61165/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:61165/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:61165/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:61165/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:61165/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:61165/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:61165/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:61165/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:61165/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:61165/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:61165/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:61165/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:61165/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":1777353680583,"stop":1777353680583,"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":1777353680623,"stop":1777353680623,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1777353680624,"stop":1777353682077,"duration":1453},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1777353682078,"stop":1777353682113,"duration":35},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1777353682114,"stop":1777353682124,"duration":10},"status":"passed","steps":[],"attachments":[{"name":"receiving_node2_2026-04-28_05-21-16__3dd7fd9e-da6c-4aea-b292-8fbdf99cc35f__wakuorg_nwaku:latest.log","type":"text/plain","size":0},{"name":"lightpush_node1_2026-04-28_05-21-16__3dd7fd9e-da6c-4aea-b292-8fbdf99cc35f__wakuorg_nwaku:latest.log","type":"text/plain","size":0},{"name":"receiving_node1_2026-04-28_05-21-16__3dd7fd9e-da6c-4aea-b292-8fbdf99cc35f__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":1777353892471,"stop":1777353892471,"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":"21583-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":"a0b82be1ebdccb82.json","parameterValues":[]}