1 line
18 KiB
JSON

{"uid":"be084cbc7d3f984d","name":"test_cant_retrieve_messages_on_not_subscribed_content_topic","fullName":"tests.sharding.test_relay_auto_sharding.TestRelayAutosharding#test_cant_retrieve_messages_on_not_subscribed_content_topic","historyId":"ad42fa8e84417a1c300ad227a5b48cd9","time":{"start":1766464566101,"stop":1766464568712,"duration":2611},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1766463261005,"stop":1766463261005,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1766464566099,"stop":1766464566099,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1766464566099,"stop":1766464566099,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1766464566099,"stop":1766464566099,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1766464566100,"stop":1766464566101,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1766464566100,"stop":1766464566100,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1766464566100,"stop":1766464566100,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1766464566100,"stop":1766464566100,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1766464566101,"stop":1766464566101,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"testStage":{"status":"passed","steps":[{"name":"setup_main_relay_nodes","time":{"start":1766464566102,"stop":1766464568597,"duration":2495},"status":"passed","steps":[{"name":"setup_first_relay_node_with_filter","time":{"start":1766464566102,"stop":1766464567335,"duration":1233},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1766464566102,"stop":1766464567335,"duration":1233},"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":1766464567336,"stop":1766464568597,"duration":1261},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1766464568594,"stop":1766464568597,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_relay_auto_sharding.TestRelayAutosharding object at 0x7f8be7e63da0>, <src.node.waku_node.WakuNode object at 0x7f8be7a50c20>, ['/ip4/172.18.185.35/tcp/30843/p2p/16Uiu2HAmA1cipWdgcqeTzpHJALuUR4wQ5cZpiDAyq13eoBHTPkjD'])"}],"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":1766464568597,"stop":1766464568603,"duration":6},"status":"passed","steps":[{"name":"subscribe_relay_node","time":{"start":1766464568597,"stop":1766464568600,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f8be7aafbf0>"},{"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":1766464568600,"stop":1766464568603,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f8be7a50c20>"},{"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":"check_published_message_doesnt_reach_relay_peer","time":{"start":1766464568603,"stop":1766464568711,"duration":108},"status":"passed","steps":[{"name":"check_published_message_reaches_relay_peer","time":{"start":1766464568603,"stop":1766464568711,"duration":108},"status":"broken","statusMessage":"Exception: Error: 404 Client Error: Not Found for url: http://127.0.0.1:30842/relay/v1/auto/messages/%2Ftoychat%2F2%2Fhuilong%2Fproto with response: b'/toychat/2/huilong/proto'\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-messaging-interop-tests/logos-messaging-interop-tests/src/steps/sharding.py\", line 159, in check_published_message_reaches_relay_peer\n get_messages_response = self.retrieve_relay_message(peer, content_topic, pubsub_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n 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-messaging-interop-tests/logos-messaging-interop-tests/src/steps/sharding.py\", line 141, in retrieve_relay_message\n return node.get_relay_auto_messages(content_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-messaging-interop-tests/logos-messaging-interop-tests/src/node/waku_node.py\", line 360, in get_relay_auto_messages\n return self._api.get_relay_auto_messages(content_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-messaging-interop-tests/logos-messaging-interop-tests/src/node/api_clients/rest.py\", line 64, in get_relay_auto_messages\n get_messages_response = self.rest_call(\"get\", f\"relay/v1/auto/messages/{quote(content_topic, safe='')}\")\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-messaging-interop-tests/logos-messaging-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-messaging-interop-tests/logos-messaging-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":[{"name":"create_message","time":{"start":1766464568603,"stop":1766464568603,"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":1766464568603,"stop":1766464568606,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f8be7aafbf0>"},{"name":"message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/toychat/2/huilong/proto', 'timestamp': 1766464568603025521}"},{"name":"pubsub_topic","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"retrieve_relay_message","time":{"start":1766464568707,"stop":1766464568710,"duration":3},"status":"broken","statusMessage":"Exception: Error: 404 Client Error: Not Found for url: http://127.0.0.1:30842/relay/v1/auto/messages/%2Ftoychat%2F2%2Fhuilong%2Fproto with response: b'/toychat/2/huilong/proto'\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-messaging-interop-tests/logos-messaging-interop-tests/src/steps/sharding.py\", line 141, in retrieve_relay_message\n return node.get_relay_auto_messages(content_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-messaging-interop-tests/logos-messaging-interop-tests/src/node/waku_node.py\", line 360, in get_relay_auto_messages\n return self._api.get_relay_auto_messages(content_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-messaging-interop-tests/logos-messaging-interop-tests/src/node/api_clients/rest.py\", line 64, in get_relay_auto_messages\n get_messages_response = self.rest_call(\"get\", f\"relay/v1/auto/messages/{quote(content_topic, safe='')}\")\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-messaging-interop-tests/logos-messaging-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-messaging-interop-tests/logos-messaging-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 0x7f8be7aafbf0>"},{"name":"content_topic","value":"'/toychat/2/huilong/proto'"},{"name":"pubsub_topic","value":"None"}],"stepsCount":0,"shouldDisplayMessage":true,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"content_topic","value":"'/toychat/2/huilong/proto'"},{"name":"pubsub_topic","value":"None"},{"name":"sender","value":"None"},{"name":"peer_list","value":"None"}],"stepsCount":3,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"pubsub_topic","value":"None"},{"name":"content_topic","value":"'/toychat/2/huilong/proto'"}],"stepsCount":4,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[{"uid":"7312ee08e6f98b47","name":"log","source":"7312ee08e6f98b47.txt","type":"text/plain","size":13008},{"uid":"354a44ebdc153256","name":"stderr","source":"354a44ebdc153256.txt","type":"text/plain","size":12690}],"parameters":[],"stepsCount":13,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1766464568713,"stop":1766464568713,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1766464568714,"stop":1766464569813,"duration":1099},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1766464569813,"stop":1766464569824,"duration":11},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1766464569824,"stop":1766464569824,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"set_allure_env_variables::0","time":{"start":1766464789337,"stop":1766464789337,"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":"runnervmh13bl"},{"name":"thread","value":"2194-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":[],"categories":[],"history":{"statistic":{"failed":0,"broken":0,"skipped":0,"passed":17,"unknown":0,"total":17},"items":[{"uid":"7a80cd80e3c62056","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1011/#testresult/7a80cd80e3c62056","status":"passed","time":{"start":1766378310372,"stop":1766378312991,"duration":2619}},{"uid":"37420d5f580fe4e9","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1010/#testresult/37420d5f580fe4e9","status":"passed","time":{"start":1766291793257,"stop":1766291795891,"duration":2634}},{"uid":"d40e71107b063e01","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1009/#testresult/d40e71107b063e01","status":"passed","time":{"start":1766204878705,"stop":1766204881222,"duration":2517}},{"uid":"b7a03284f47189fd","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1008/#testresult/b7a03284f47189fd","status":"passed","time":{"start":1766118863861,"stop":1766118866468,"duration":2607}},{"uid":"e45b8fe580412b3c","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1007/#testresult/e45b8fe580412b3c","status":"passed","time":{"start":1766032357272,"stop":1766032359897,"duration":2625}},{"uid":"29eccd5c489996ac","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1006/#testresult/29eccd5c489996ac","status":"passed","time":{"start":1765945885370,"stop":1765945887970,"duration":2600}},{"uid":"f131d14de9d1093","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1005/#testresult/f131d14de9d1093","status":"passed","time":{"start":1765859679019,"stop":1765859681604,"duration":2585}},{"uid":"2e47147fb08f6147","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1004/#testresult/2e47147fb08f6147","status":"passed","time":{"start":1765773531416,"stop":1765773534048,"duration":2632}},{"uid":"16b0e6c9f399a407","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1003/#testresult/16b0e6c9f399a407","status":"passed","time":{"start":1765687021863,"stop":1765687024461,"duration":2598}},{"uid":"314478738f844c63","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1002/#testresult/314478738f844c63","status":"passed","time":{"start":1765600064971,"stop":1765600067558,"duration":2587}},{"uid":"946af822e81ee977","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1001/#testresult/946af822e81ee977","status":"passed","time":{"start":1765514048210,"stop":1765514050806,"duration":2596}},{"uid":"6c142fc15f217e3","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1000/#testresult/6c142fc15f217e3","status":"passed","time":{"start":1765426715543,"stop":1765426718124,"duration":2581}},{"uid":"c1d3e69678adf12b","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/999/#testresult/c1d3e69678adf12b","status":"passed","time":{"start":1765340161006,"stop":1765340163548,"duration":2542}},{"uid":"16704c7a39928f3c","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/998/#testresult/16704c7a39928f3c","status":"passed","time":{"start":1765253621193,"stop":1765253623811,"duration":2618}},{"uid":"5a44cab9c39f8ca0","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/997/#testresult/5a44cab9c39f8ca0","status":"passed","time":{"start":1765196148976,"stop":1765196151532,"duration":2556}},{"uid":"73aad093f3c5509b","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/996/#testresult/73aad093f3c5509b","status":"passed","time":{"start":1765184418439,"stop":1765184421029,"duration":2590}}]},"tags":[]},"source":"be084cbc7d3f984d.json","parameterValues":[]}