1 line
19 KiB
JSON

{"uid":"a436f3e67d2a3aac","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":1774067772598,"stop":1774067775687,"duration":3089},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1774067442487,"stop":1774067442487,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1774067772597,"stop":1774067772597,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1774067772597,"stop":1774067772597,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1774067772597,"stop":1774067772597,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1774067772597,"stop":1774067772597,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1774067772597,"stop":1774067772597,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1774067772597,"stop":1774067772598,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1774067772598,"stop":1774067772598,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1774067772598,"stop":1774067772598,"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":1774067772598,"stop":1774067775560,"duration":2962},"status":"passed","steps":[{"name":"setup_first_relay_node_with_filter","time":{"start":1774067772598,"stop":1774067774006,"duration":1408},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1774067772598,"stop":1774067774006,"duration":1408},"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":1774067774006,"stop":1774067775560,"duration":1554},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1774067775535,"stop":1774067775560,"duration":25},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_relay_auto_sharding.TestRelayAutosharding object at 0x7ff8a886cef0>, <src.node.waku_node.WakuNode object at 0x7ff8a854d4f0>, ['/ip4/172.18.43.90/tcp/21544/p2p/16Uiu2HAkzfifH6ziBjMHxwaQajsS5GmkZRVgF61XZg2tLRhRfnJn'])"}],"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":1774067775560,"stop":1774067775573,"duration":13},"status":"passed","steps":[{"name":"subscribe_relay_node","time":{"start":1774067775560,"stop":1774067775568,"duration":8},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7ff8a84d6cc0>"},{"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":1774067775568,"stop":1774067775573,"duration":5},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7ff8a854d4f0>"},{"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":1774067775573,"stop":1774067775687,"duration":114},"status":"passed","steps":[{"name":"check_published_message_reaches_relay_peer","time":{"start":1774067775573,"stop":1774067775687,"duration":114},"status":"broken","statusMessage":"Exception: Error: 404 Client Error: Not Found for url: http://127.0.0.1:21543/relay/v1/auto/messages/%2Ftoychat%2F2%2Fhuilong%2Fproto with response: b'/toychat/2/huilong/proto'\n","statusTrace":" File \"/opt/hostedtoolcache/Python/3.12.13/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 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.13/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 141, in retrieve_relay_message\n return node.get_relay_auto_messages(content_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-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-delivery-interop-tests/logos-delivery-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-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":[{"name":"create_message","time":{"start":1774067775573,"stop":1774067775573,"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":1774067775573,"stop":1774067775582,"duration":9},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7ff8a84d6cc0>"},{"name":"message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/toychat/2/huilong/proto', 'timestamp': 1774067775573412601}"},{"name":"pubsub_topic","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"retrieve_relay_message","time":{"start":1774067775683,"stop":1774067775686,"duration":3},"status":"broken","statusMessage":"Exception: Error: 404 Client Error: Not Found for url: http://127.0.0.1:21543/relay/v1/auto/messages/%2Ftoychat%2F2%2Fhuilong%2Fproto with response: b'/toychat/2/huilong/proto'\n","statusTrace":" File \"/opt/hostedtoolcache/Python/3.12.13/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 141, in retrieve_relay_message\n return node.get_relay_auto_messages(content_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-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-delivery-interop-tests/logos-delivery-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-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 0x7ff8a84d6cc0>"},{"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":"faa25b811bdcfce8","name":"log","source":"faa25b811bdcfce8.txt","type":"text/plain","size":14341},{"uid":"53b715577eae1241","name":"stderr","source":"53b715577eae1241.txt","type":"text/plain","size":13973}],"parameters":[],"stepsCount":13,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1774067775688,"stop":1774067775689,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1774067775689,"stop":1774067776715,"duration":1026},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1774067776716,"stop":1774067776779,"duration":63},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1774067776779,"stop":1774067776779,"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":1774068017095,"stop":1774068017095,"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":"runnervm46oaq"},{"name":"thread","value":"3463-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":31,"unknown":0,"total":31},"items":[{"uid":"6cada0f5df1a17dd","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1121/#testresult/6cada0f5df1a17dd","status":"passed","time":{"start":1773981490594,"stop":1773981494152,"duration":3558}},{"uid":"e5667aa9f497369b","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1120/#testresult/e5667aa9f497369b","status":"passed","time":{"start":1773895405713,"stop":1773895408478,"duration":2765}},{"uid":"9cee0e6336860cc5","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1119/#testresult/9cee0e6336860cc5","status":"passed","time":{"start":1773809053988,"stop":1773809057221,"duration":3233}},{"uid":"2e9880cd7f5573d3","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1118/#testresult/2e9880cd7f5573d3","status":"passed","time":{"start":1773722428991,"stop":1773722431899,"duration":2908}},{"uid":"c76909099a12c818","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1117/#testresult/c76909099a12c818","status":"passed","time":{"start":1773664753849,"stop":1773664756646,"duration":2797}},{"uid":"b1718ade27109673","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1116/#testresult/b1718ade27109673","status":"passed","time":{"start":1773637012911,"stop":1773637015793,"duration":2882}},{"uid":"a29368189526c6cb","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1115/#testresult/a29368189526c6cb","status":"passed","time":{"start":1773550283933,"stop":1773550288492,"duration":4559}},{"uid":"550cc380d861fce8","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1114/#testresult/550cc380d861fce8","status":"passed","time":{"start":1773463012838,"stop":1773463015596,"duration":2758}},{"uid":"d5bbf02f160295b5","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1113/#testresult/d5bbf02f160295b5","status":"passed","time":{"start":1773376670643,"stop":1773376673519,"duration":2876}},{"uid":"8420e3f0ac2f162b","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1112/#testresult/8420e3f0ac2f162b","status":"passed","time":{"start":1773290320445,"stop":1773290323953,"duration":3508}},{"uid":"5b77ef2e48fc8f4c","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1111/#testresult/5b77ef2e48fc8f4c","status":"passed","time":{"start":1773203893835,"stop":1773203897339,"duration":3504}},{"uid":"c290755a24181441","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1110/#testresult/c290755a24181441","status":"passed","time":{"start":1773117433775,"stop":1773117436462,"duration":2687}},{"uid":"1bdbccd1c43946d7","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1109/#testresult/1bdbccd1c43946d7","status":"passed","time":{"start":1773031247908,"stop":1773031250609,"duration":2701}},{"uid":"61ae85facb0ee8bc","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1108/#testresult/61ae85facb0ee8bc","status":"passed","time":{"start":1772944614340,"stop":1772944617036,"duration":2696}},{"uid":"f3a1555082816654","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1107/#testresult/f3a1555082816654","status":"passed","time":{"start":1772858070779,"stop":1772858074195,"duration":3416}},{"uid":"b63737c171ed929c","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1106/#testresult/b63737c171ed929c","status":"passed","time":{"start":1772771824708,"stop":1772771828500,"duration":3792}},{"uid":"198daf6cca12df9a","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1105/#testresult/198daf6cca12df9a","status":"passed","time":{"start":1772723375293,"stop":1772723377830,"duration":2537}},{"uid":"e2c7d7ea0335e392","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1104/#testresult/e2c7d7ea0335e392","status":"passed","time":{"start":1772685478762,"stop":1772685481409,"duration":2647}},{"uid":"1a47fbce37e7fcfc","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1103/#testresult/1a47fbce37e7fcfc","status":"passed","time":{"start":1772599009275,"stop":1772599011926,"duration":2651}},{"uid":"7f3dac055f679ad4","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1102/#testresult/7f3dac055f679ad4","status":"passed","time":{"start":1772512701476,"stop":1772512704006,"duration":2530}}]},"tags":[]},"source":"a436f3e67d2a3aac.json","parameterValues":[]}