2026-02-28 20:41:24 +00:00

1 line
14 KiB
JSON

{"uid":"54ed07e2cceea283","name":"test_publish_on_not_subscribed_content_topic_works","fullName":"tests.sharding.test_relay_auto_sharding.TestRelayAutosharding#test_publish_on_not_subscribed_content_topic_works","historyId":"20157f7d69d3e9cde9486319c6d28803","time":{"start":1772310213790,"stop":1772310216339,"duration":2549},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:37872/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","statusTrace":"src/node/api_clients/base_client.py:14: in make_request\n response.raise_for_status()\n/opt/hostedtoolcache/Python/3.12.12/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: 400 Client Error: Bad Request for url: http://127.0.0.1:37872/relay/v1/auto/messages\n\nDuring handling of the above exception, another exception occurred:\ntests/sharding/test_relay_auto_sharding.py:56: in test_publish_on_not_subscribed_content_topic_works\n self.relay_message(node, self.create_message(contentTopic=\"/toychat/2/huilong/proto\"))\nsrc/steps/sharding.py:136: in relay_message\n node.send_relay_auto_message(message)\nsrc/node/waku_node.py:351: in send_relay_auto_message\n return self._api.send_relay_auto_message(message)\nsrc/node/api_clients/rest.py:54: in send_relay_auto_message\n return self.rest_call(\"post\", \"relay/v1/auto/messages\", json.dumps(message))\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: 400 Client Error: Bad Request for url: http://127.0.0.1:37872/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1772310080723,"stop":1772310080723,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1772310213788,"stop":1772310213788,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1772310213788,"stop":1772310213788,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1772310213788,"stop":1772310213788,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1772310213788,"stop":1772310213788,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1772310213788,"stop":1772310213788,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1772310213789,"stop":1772310213789,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1772310213789,"stop":1772310213789,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1772310213789,"stop":1772310213789,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"testStage":{"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:37872/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","statusTrace":"src/node/api_clients/base_client.py:14: in make_request\n response.raise_for_status()\n/opt/hostedtoolcache/Python/3.12.12/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: 400 Client Error: Bad Request for url: http://127.0.0.1:37872/relay/v1/auto/messages\n\nDuring handling of the above exception, another exception occurred:\ntests/sharding/test_relay_auto_sharding.py:56: in test_publish_on_not_subscribed_content_topic_works\n self.relay_message(node, self.create_message(contentTopic=\"/toychat/2/huilong/proto\"))\nsrc/steps/sharding.py:136: in relay_message\n node.send_relay_auto_message(message)\nsrc/node/waku_node.py:351: in send_relay_auto_message\n return self._api.send_relay_auto_message(message)\nsrc/node/api_clients/rest.py:54: in send_relay_auto_message\n return self.rest_call(\"post\", \"relay/v1/auto/messages\", json.dumps(message))\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: 400 Client Error: Bad Request for url: http://127.0.0.1:37872/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","steps":[{"name":"setup_main_relay_nodes","time":{"start":1772310213790,"stop":1772310216329,"duration":2539},"status":"passed","steps":[{"name":"setup_first_relay_node_with_filter","time":{"start":1772310213790,"stop":1772310215049,"duration":1259},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1772310213790,"stop":1772310215049,"duration":1259},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"filter","value":"'true'"},{"name":"cluster_id","value":"2"},{"name":"content_topic","value":"'/myapp/1/latest/proto'"},{"name":"num_shards_in_network","value":"8"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"cluster_id","value":"2"},{"name":"content_topic","value":"'/myapp/1/latest/proto'"},{"name":"num_shards_in_network","value":"8"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"setup_second_relay_node","time":{"start":1772310215049,"stop":1772310216329,"duration":1280},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1772310216322,"stop":1772310216329,"duration":7},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_relay_auto_sharding.TestRelayAutosharding object at 0x7ff05a478500>, <src.node.waku_node.WakuNode object at 0x7ff059d17950>, ['/ip4/172.18.148.96/tcp/37873/p2p/16Uiu2HAm9jrJGsSaJrMLw9yM8nnUqfK16HtWAupYqNtLJQkMiPWU'])"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"cluster_id","value":"2"},{"name":"content_topic","value":"'/myapp/1/latest/proto'"},{"name":"num_shards_in_network","value":"8"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"cluster_id","value":"2"},{"name":"content_topic","value":"'/myapp/1/latest/proto'"},{"name":"num_shards_in_network","value":"8"}],"stepsCount":4,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_main_relay_nodes","time":{"start":1772310216329,"stop":1772310216335,"duration":6},"status":"passed","steps":[{"name":"subscribe_relay_node","time":{"start":1772310216329,"stop":1772310216332,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7ff059d140b0>"},{"name":"content_topics","value":"['/myapp/1/latest/proto']"},{"name":"pubsub_topics","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_relay_node","time":{"start":1772310216332,"stop":1772310216335,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7ff059d17950>"},{"name":"content_topics","value":"['/myapp/1/latest/proto']"},{"name":"pubsub_topics","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"content_topics","value":"['/myapp/1/latest/proto']"},{"name":"pubsub_topics","value":"None"}],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"create_message","time":{"start":1772310216335,"stop":1772310216335,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"contentTopic","value":"'/toychat/2/huilong/proto'"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"relay_message","time":{"start":1772310216335,"stop":1772310216338,"duration":3},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:37872/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'\n","statusTrace":" File \"/opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/site-packages/allure_commons/_allure.py\", line 192, in impl\n return func(*a, **kw)\n ^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/steps/sharding.py\", line 136, in relay_message\n node.send_relay_auto_message(message)\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/waku_node.py\", line 351, in send_relay_auto_message\n return self._api.send_relay_auto_message(message)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/api_clients/rest.py\", line 54, in send_relay_auto_message\n return self.rest_call(\"post\", \"relay/v1/auto/messages\", json.dumps(message))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/api_clients/rest.py\", line 16, in rest_call\n return self.make_request(method, url, headers=headers, data=payload)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/api_clients/base_client.py\", line 17, in make_request\n raise Exception(f\"Error: {http_err} with response: {response.content}\")\n","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7ff059d140b0>"},{"name":"message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/toychat/2/huilong/proto', 'timestamp': 1772310216335045191}"},{"name":"pubsub_topic","value":"None"}],"stepsCount":0,"shouldDisplayMessage":true,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[{"uid":"162c6444779a902d","name":"log","source":"162c6444779a902d.txt","type":"text/plain","size":26576},{"uid":"d8464bc152f2ab35","name":"stderr","source":"d8464bc152f2ab35.txt","type":"text/plain","size":25937}],"parameters":[],"stepsCount":10,"shouldDisplayMessage":true,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1772310216371,"stop":1772310216372,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1772310216372,"stop":1772310217513,"duration":1141},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1772310217513,"stop":1772310217528,"duration":15},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1772310217529,"stop":1772310217531,"duration":2},"status":"passed","steps":[],"attachments":[{"uid":"1d7ed8f41b169818","name":"node1_2026-02-28_20-23-33__31d93792-71cf-4a4b-b782-7b18c475d522__wakuorg_nwaku:latest.log","source":"1d7ed8f41b169818.txt","type":"text/plain","size":225566},{"uid":"f5e02f8f7f6a0f63","name":"node2_2026-02-28_20-23-33__31d93792-71cf-4a4b-b782-7b18c475d522__wakuorg_nwaku:latest.log","source":"f5e02f8f7f6a0f63.txt","type":"text/plain","size":111992}],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},{"name":"set_allure_env_variables::0","time":{"start":1772310271758,"stop":1772310271758,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"labels":[{"name":"parentSuite","value":"tests.sharding"},{"name":"suite","value":"test_relay_auto_sharding"},{"name":"subSuite","value":"TestRelayAutosharding"},{"name":"host","value":"runnervmnay03"},{"name":"thread","value":"2830-MainThread"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"tests.sharding.test_relay_auto_sharding"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":true,"retry":true,"extra":{"categories":[],"tags":[]},"source":"54ed07e2cceea283.json","parameterValues":[]}