1 line
21 KiB
JSON

{"uid":"3fb3dcb0d9ff35c9","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":1771735001652,"stop":1771735004186,"duration":2534},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:58716/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:58716/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:58716/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":2,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1771734869313,"stop":1771734869313,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1771735001650,"stop":1771735001650,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1771735001650,"stop":1771735001650,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1771735001650,"stop":1771735001650,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1771735001650,"stop":1771735001650,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1771735001651,"stop":1771735001651,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1771735001651,"stop":1771735001651,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1771735001651,"stop":1771735001651,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1771735001651,"stop":1771735001651,"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:58716/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:58716/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:58716/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","steps":[{"name":"setup_main_relay_nodes","time":{"start":1771735001652,"stop":1771735004176,"duration":2524},"status":"passed","steps":[{"name":"setup_first_relay_node_with_filter","time":{"start":1771735001652,"stop":1771735002905,"duration":1253},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1771735001652,"stop":1771735002905,"duration":1253},"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":1771735002905,"stop":1771735004176,"duration":1271},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1771735004171,"stop":1771735004176,"duration":5},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_relay_auto_sharding.TestRelayAutosharding object at 0x7f9cba2c4470>, <src.node.waku_node.WakuNode object at 0x7f9cba1b3230>, ['/ip4/172.18.252.254/tcp/58717/p2p/16Uiu2HAmUSN6CaDyhttB2k4Wd6mncVEqBaijeF5CQLuJpN6R6RAB'])"}],"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":1771735004176,"stop":1771735004182,"duration":6},"status":"passed","steps":[{"name":"subscribe_relay_node","time":{"start":1771735004176,"stop":1771735004179,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f9cb9dce180>"},{"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":1771735004179,"stop":1771735004182,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f9cba1b3230>"},{"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":1771735004182,"stop":1771735004182,"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":1771735004182,"stop":1771735004186,"duration":4},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:58716/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 0x7f9cb9dce180>"},{"name":"message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/toychat/2/huilong/proto', 'timestamp': 1771735004182395265}"},{"name":"pubsub_topic","value":"None"}],"stepsCount":0,"shouldDisplayMessage":true,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[{"uid":"29c49d45cb075d0c","name":"log","source":"29c49d45cb075d0c.txt","type":"text/plain","size":39834},{"uid":"d9503fca522cc60f","name":"stderr","source":"d9503fca522cc60f.txt","type":"text/plain","size":38875}],"parameters":[],"stepsCount":10,"shouldDisplayMessage":true,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1771735004223,"stop":1771735004223,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1771735004224,"stop":1771735005374,"duration":1150},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1771735005374,"stop":1771735005386,"duration":12},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1771735005387,"stop":1771735005389,"duration":2},"status":"passed","steps":[],"attachments":[{"uid":"9d315022898b632a","name":"node2_2026-02-22_04-36-41__f5bd0f25-e186-4ea8-bcfd-eb93d78fcade__wakuorg_nwaku:latest.log","source":"9d315022898b632a.txt","type":"text/plain","size":112009},{"uid":"34bdf471ca4a3a2b","name":"node1_2026-02-22_04-36-41__f5bd0f25-e186-4ea8-bcfd-eb93d78fcade__wakuorg_nwaku:latest.log","source":"34bdf471ca4a3a2b.txt","type":"text/plain","size":112809}],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},{"name":"set_allure_env_variables::0","time":{"start":1771735056742,"stop":1771735056742,"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":"runnervmwffz4"},{"name":"thread","value":"3405-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":false,"retry":false,"extra":{"severity":"normal","retries":[{"uid":"7453440e3ee4a994","status":"broken","statusDetails":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:38023/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","time":{"start":1771734997878,"stop":1771735000423,"duration":2545}},{"uid":"c166e337823d0b32","status":"broken","statusDetails":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:9973/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","time":{"start":1771734994157,"stop":1771734996712,"duration":2555}}],"categories":[{"name":"Test defects","matchedStatuses":[],"flaky":false}],"history":{"statistic":{"failed":0,"broken":9,"skipped":0,"passed":18,"unknown":0,"total":27},"items":[{"uid":"8c2a5664d0b30ef","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1086/#testresult/8c2a5664d0b30ef","status":"broken","statusDetails":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:13227/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","time":{"start":1771648361267,"stop":1771648363776,"duration":2509}},{"uid":"923d93f5633e3b8c","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1085/#testresult/923d93f5633e3b8c","status":"broken","statusDetails":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:62243/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","time":{"start":1771562118293,"stop":1771562120850,"duration":2557}},{"uid":"86a001ebe5259ec1","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1084/#testresult/86a001ebe5259ec1","status":"broken","statusDetails":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:14300/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","time":{"start":1771475863483,"stop":1771475866068,"duration":2585}},{"uid":"753c137b92bd627b","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1083/#testresult/753c137b92bd627b","status":"broken","statusDetails":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:45683/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","time":{"start":1771389525669,"stop":1771389528273,"duration":2604}},{"uid":"6dfe30b1c9b00310","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1082/#testresult/6dfe30b1c9b00310","status":"broken","statusDetails":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:54444/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","time":{"start":1771303006136,"stop":1771303008706,"duration":2570}},{"uid":"6578309f05f2b25d","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1081/#testresult/6578309f05f2b25d","status":"broken","statusDetails":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:59589/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","time":{"start":1771216970955,"stop":1771216973512,"duration":2557}},{"uid":"c5f37fd5504ff791","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1080/#testresult/c5f37fd5504ff791","status":"broken","statusDetails":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:59025/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","time":{"start":1771130385011,"stop":1771130387583,"duration":2572}},{"uid":"70660cf28f40c101","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1079/#testresult/70660cf28f40c101","status":"broken","statusDetails":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:8013/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","time":{"start":1771043593988,"stop":1771043596571,"duration":2583}},{"uid":"f6ade2796e41a04f","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1078/#testresult/f6ade2796e41a04f","status":"passed","time":{"start":1770957579908,"stop":1770957582464,"duration":2556}},{"uid":"96baf4537dc5eb87","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1077/#testresult/96baf4537dc5eb87","status":"passed","time":{"start":1770871258984,"stop":1770871261486,"duration":2502}},{"uid":"9a30d343113ace41","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1076/#testresult/9a30d343113ace41","status":"passed","time":{"start":1770785090270,"stop":1770785092764,"duration":2494}},{"uid":"90c0390f7e996c2c","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1075/#testresult/90c0390f7e996c2c","status":"passed","time":{"start":1770698872736,"stop":1770698875244,"duration":2508}},{"uid":"fb0a331cbce1fb44","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1074/#testresult/fb0a331cbce1fb44","status":"passed","time":{"start":1770612186100,"stop":1770612188521,"duration":2421}},{"uid":"3f7754e4e15e122b","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1073/#testresult/3f7754e4e15e122b","status":"passed","time":{"start":1770525956028,"stop":1770525958514,"duration":2486}},{"uid":"f296c8d31c5d736d","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1072/#testresult/f296c8d31c5d736d","status":"passed","time":{"start":1770438758274,"stop":1770438760767,"duration":2493}},{"uid":"59a5996826e2e111","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1071/#testresult/59a5996826e2e111","status":"passed","time":{"start":1770352466455,"stop":1770352468956,"duration":2501}},{"uid":"38d0d8c2ef085115","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1070/#testresult/38d0d8c2ef085115","status":"passed","time":{"start":1770266092887,"stop":1770266095382,"duration":2495}},{"uid":"af07e2283bdbba01","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1069/#testresult/af07e2283bdbba01","status":"passed","time":{"start":1770225159566,"stop":1770225162056,"duration":2490}},{"uid":"75cc8d4edf903346","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1068/#testresult/75cc8d4edf903346","status":"passed","time":{"start":1770206085338,"stop":1770206087856,"duration":2518}},{"uid":"291c2e42a8f45b85","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1067/#testresult/291c2e42a8f45b85","status":"passed","time":{"start":1770179583816,"stop":1770179586319,"duration":2503}}]},"tags":[]},"source":"3fb3dcb0d9ff35c9.json","parameterValues":[]}