mirror of
https://github.com/logos-messaging/logos-delivery-interop-tests.git
synced 2026-03-13 21:33:10 +00:00
1 line
16 KiB
JSON
1 line
16 KiB
JSON
{"uid":"e25856d67bb04bf2","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":1772049957900,"stop":1772049960436,"duration":2536},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:34521/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:34521/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:34521/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":1772049808126,"stop":1772049808126,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1772049957898,"stop":1772049957898,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1772049957898,"stop":1772049957898,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1772049957898,"stop":1772049957898,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1772049957898,"stop":1772049957898,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1772049957898,"stop":1772049957899,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1772049957899,"stop":1772049957899,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1772049957899,"stop":1772049957899,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1772049957899,"stop":1772049957899,"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:34521/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:34521/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:34521/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","steps":[{"name":"setup_main_relay_nodes","time":{"start":1772049957900,"stop":1772049960427,"duration":2527},"status":"passed","steps":[{"name":"setup_first_relay_node_with_filter","time":{"start":1772049957900,"stop":1772049959149,"duration":1249},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1772049957900,"stop":1772049959149,"duration":1249},"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":1772049959149,"stop":1772049960427,"duration":1278},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1772049960421,"stop":1772049960427,"duration":6},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_relay_auto_sharding.TestRelayAutosharding object at 0x7f3b5eecc590>, <src.node.waku_node.WakuNode object at 0x7f3b5eecf410>, ['/ip4/172.18.244.119/tcp/34522/p2p/16Uiu2HAm5k4pUwHmePwj6aH8TqVKt5oc9XsJVTrJ1iEW852D9bjD'])"}],"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":1772049960427,"stop":1772049960432,"duration":5},"status":"passed","steps":[{"name":"subscribe_relay_node","time":{"start":1772049960427,"stop":1772049960430,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f3b5ea8c950>"},{"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":1772049960430,"stop":1772049960432,"duration":2},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f3b5eecf410>"},{"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":1772049960432,"stop":1772049960432,"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":1772049960433,"stop":1772049960435,"duration":2},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:34521/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 0x7f3b5ea8c950>"},{"name":"message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/toychat/2/huilong/proto', 'timestamp': 1772049960432453255}"},{"name":"pubsub_topic","value":"None"}],"stepsCount":0,"shouldDisplayMessage":true,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[{"uid":"c902cd909b66e928","name":"log","source":"c902cd909b66e928.txt","type":"text/plain","size":39845},{"uid":"12358115d117e28b","name":"stderr","source":"12358115d117e28b.txt","type":"text/plain","size":38886}],"parameters":[],"stepsCount":10,"shouldDisplayMessage":true,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1772049960469,"stop":1772049960469,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1772049960470,"stop":1772049961632,"duration":1162},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1772049961633,"stop":1772049961643,"duration":10},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1772049961643,"stop":1772049961645,"duration":2},"status":"passed","steps":[],"attachments":[{"uid":"dbf7727d7a9361dc","name":"node2_2026-02-25_20-05-57__832ffe9e-7968-4cde-b1a1-b43174ff99d7__wakuorg_nwaku:latest.log","source":"dbf7727d7a9361dc.txt","type":"text/plain","size":112009},{"uid":"5884158bd96bef3a","name":"node1_2026-02-25_20-05-57__832ffe9e-7968-4cde-b1a1-b43174ff99d7__wakuorg_nwaku:latest.log","source":"5884158bd96bef3a.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":1772050013081,"stop":1772050013081,"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":"2882-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":"a7b516f5fb3d6fd9","status":"broken","statusDetails":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:42686/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","time":{"start":1772049954178,"stop":1772049956716,"duration":2538}},{"uid":"ab11ca341e60138f","status":"broken","statusDetails":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:2005/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","time":{"start":1772049950428,"stop":1772049952965,"duration":2537}}],"categories":[{"name":"Test defects","matchedStatuses":[],"flaky":false}],"history":{"statistic":{"failed":0,"broken":4,"skipped":0,"passed":0,"unknown":0,"total":4},"items":[{"uid":"b70a7adb5419484","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1094/#testresult/b70a7adb5419484","status":"broken","statusDetails":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:41093/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","time":{"start":1772047710717,"stop":1772047713243,"duration":2526}},{"uid":"b2e61159f0f730c7","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1093/#testresult/b2e61159f0f730c7","status":"broken","statusDetails":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:9112/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","time":{"start":1772032895738,"stop":1772032898257,"duration":2519}},{"uid":"9300192b1f95c9bf","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1092/#testresult/9300192b1f95c9bf","status":"broken","statusDetails":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:10110/relay/v1/auto/messages with response: b'Failed to publish: publish failed in relay: NoPeersToPublish'","time":{"start":1772004255497,"stop":1772004258000,"duration":2503}}]},"tags":[]},"source":"e25856d67bb04bf2.json","parameterValues":[]} |