waku-interop-tests/nim/372/data/test-cases/8c8c0f375baeba4e.json

1 line
19 KiB
JSON

{"uid":"8c8c0f375baeba4e","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":1727324682815,"stop":1727324686464,"duration":3649},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1727323973809,"stop":1727323973809,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1727324682811,"stop":1727324682811,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1727324682811,"stop":1727324682811,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1727324682811,"stop":1727324682811,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1727324682811,"stop":1727324682811,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1727324682812,"stop":1727324682812,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1727324682812,"stop":1727324682812,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1727324682812,"stop":1727324682812,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1727324682812,"stop":1727324682814,"duration":2},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"testStage":{"status":"passed","steps":[{"name":"setup_main_relay_nodes","time":{"start":1727324682815,"stop":1727324686314,"duration":3499},"status":"passed","steps":[{"name":"setup_first_relay_node_with_filter","time":{"start":1727324682815,"stop":1727324684450,"duration":1635},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1727324682815,"stop":1727324684450,"duration":1635},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"filter","value":"'true'"},{"name":"cluster_id","value":"2"},{"name":"content_topic","value":"'/myapp/1/latest/proto'"}],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"cluster_id","value":"2"},{"name":"content_topic","value":"'/myapp/1/latest/proto'"}],"shouldDisplayMessage":false,"stepsCount":1,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"setup_second_relay_node","time":{"start":1727324684450,"stop":1727324686314,"duration":1864},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1727324686221,"stop":1727324686314,"duration":93},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_relay_auto_sharding.TestRelayAutosharding object at 0x7fdc8f286390>, <src.node.waku_node.WakuNode object at 0x7fdc8de8dd60>, ['/ip4/172.18.58.87/tcp/14982/p2p/16Uiu2HAkvbKGdKsKXeRhAdEqai83cwktpzkTkmSqHrKiMZeuAJ7M'])"}],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"cluster_id","value":"2"},{"name":"content_topic","value":"'/myapp/1/latest/proto'"}],"shouldDisplayMessage":false,"stepsCount":1,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"cluster_id","value":"2"},{"name":"content_topic","value":"'/myapp/1/latest/proto'"}],"shouldDisplayMessage":false,"stepsCount":4,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_main_relay_nodes","time":{"start":1727324686315,"stop":1727324686351,"duration":36},"status":"passed","steps":[{"name":"subscribe_relay_node","time":{"start":1727324686315,"stop":1727324686340,"duration":25},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fdc8e06f410>"},{"name":"content_topics","value":"['/myapp/1/latest/proto']"},{"name":"pubsub_topics","value":"None"}],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_relay_node","time":{"start":1727324686340,"stop":1727324686351,"duration":11},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fdc8de8dd60>"},{"name":"content_topics","value":"['/myapp/1/latest/proto']"},{"name":"pubsub_topics","value":"None"}],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"content_topics","value":"['/myapp/1/latest/proto']"},{"name":"pubsub_topics","value":"None"}],"shouldDisplayMessage":false,"stepsCount":2,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"check_published_message_doesnt_reach_relay_peer","time":{"start":1727324686351,"stop":1727324686464,"duration":113},"status":"passed","steps":[{"name":"check_published_message_reaches_relay_peer","time":{"start":1727324686351,"stop":1727324686463,"duration":112},"status":"broken","statusMessage":"Exception: Error: 404 Client Error: Not Found for url: http://127.0.0.1:14981/relay/v1/auto/messages/%2Ftoychat%2F2%2Fhuilong%2Fproto with response: b'/toychat/2/huilong/proto'\n","statusTrace":" File \"/opt/hostedtoolcache/Python/3.12.6/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/waku-interop-tests/waku-interop-tests/src/steps/sharding.py\", line 158, 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.6/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/waku-interop-tests/waku-interop-tests/src/steps/sharding.py\", line 140, in retrieve_relay_message\n return node.get_relay_auto_messages(content_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/waku-interop-tests/waku-interop-tests/src/node/waku_node.py\", line 350, in get_relay_auto_messages\n return self._api.get_relay_auto_messages(content_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/waku-interop-tests/waku-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/waku-interop-tests/waku-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/waku-interop-tests/waku-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":1727324686351,"stop":1727324686351,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"contentTopic","value":"'/toychat/2/huilong/proto'"}],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"relay_message","time":{"start":1727324686351,"stop":1727324686356,"duration":5},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fdc8e06f410>"},{"name":"message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/toychat/2/huilong/proto', 'timestamp': 1727324686351138048}"},{"name":"pubsub_topic","value":"None"}],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"retrieve_relay_message","time":{"start":1727324686457,"stop":1727324686462,"duration":5},"status":"broken","statusMessage":"Exception: Error: 404 Client Error: Not Found for url: http://127.0.0.1:14981/relay/v1/auto/messages/%2Ftoychat%2F2%2Fhuilong%2Fproto with response: b'/toychat/2/huilong/proto'\n","statusTrace":" File \"/opt/hostedtoolcache/Python/3.12.6/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/waku-interop-tests/waku-interop-tests/src/steps/sharding.py\", line 140, in retrieve_relay_message\n return node.get_relay_auto_messages(content_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/waku-interop-tests/waku-interop-tests/src/node/waku_node.py\", line 350, in get_relay_auto_messages\n return self._api.get_relay_auto_messages(content_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/waku-interop-tests/waku-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/waku-interop-tests/waku-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/waku-interop-tests/waku-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 0x7fdc8e06f410>"},{"name":"content_topic","value":"'/toychat/2/huilong/proto'"},{"name":"pubsub_topic","value":"None"}],"shouldDisplayMessage":true,"stepsCount":0,"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"}],"shouldDisplayMessage":false,"stepsCount":3,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"pubsub_topic","value":"None"},{"name":"content_topic","value":"'/toychat/2/huilong/proto'"}],"shouldDisplayMessage":false,"stepsCount":4,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[{"uid":"dd894d01b088b810","name":"log","source":"dd894d01b088b810.txt","type":"text/plain","size":11086}],"parameters":[],"shouldDisplayMessage":false,"stepsCount":13,"attachmentsCount":1,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1727324686466,"stop":1727324686473,"duration":7},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1727324686474,"stop":1727324689564,"duration":3090},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1727324689564,"stop":1727324689582,"duration":18},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1727324689583,"stop":1727324689583,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"set_allure_env_variables::0","time":{"start":1727325650120,"stop":1727325650120,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"labels":[{"name":"tag","value":"@pytest.mark.skipif(False, reason='Autosharding tests work only on nwaku because of https://github.com/waku-org/go-waku/issues/1061')"},{"name":"parentSuite","value":"tests.sharding"},{"name":"suite","value":"test_relay_auto_sharding"},{"name":"subSuite","value":"TestRelayAutosharding"},{"name":"host","value":"fv-az2026-376"},{"name":"thread","value":"2094-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":1,"broken":0,"skipped":0,"passed":64,"unknown":0,"total":65},"items":[{"uid":"fb5ea68ee4c479d5","reportUrl":"https://waku-org.github.io/waku-interop-tests/nim/371//#testresult/fb5ea68ee4c479d5","status":"passed","time":{"start":1727238288034,"stop":1727238292532,"duration":4498}},{"uid":"d41836d9a98279af","reportUrl":"https://waku-org.github.io/waku-interop-tests/nim/370//#testresult/d41836d9a98279af","status":"passed","time":{"start":1727151864883,"stop":1727151868460,"duration":3577}},{"uid":"654f45eef07cf07","reportUrl":"https://waku-org.github.io/waku-interop-tests/nim/369//#testresult/654f45eef07cf07","status":"passed","time":{"start":1727065464066,"stop":1727065468094,"duration":4028}},{"uid":"1156db1e563b89d7","reportUrl":"https://waku-org.github.io/waku-interop-tests/nim/368//#testresult/1156db1e563b89d7","status":"passed","time":{"start":1726979083356,"stop":1726979087134,"duration":3778}},{"uid":"9777d576474bed4e","reportUrl":"https://waku-org.github.io/waku-interop-tests/nim/367//#testresult/9777d576474bed4e","status":"passed","time":{"start":1726892628433,"stop":1726892631889,"duration":3456}},{"uid":"6d0d8ad5457a5424","reportUrl":"https://waku-org.github.io/waku-interop-tests/nim/366//#testresult/6d0d8ad5457a5424","status":"passed","time":{"start":1726806224154,"stop":1726806228093,"duration":3939}},{"uid":"dfb82c960e865328","reportUrl":"https://waku-org.github.io/waku-interop-tests/nim/365//#testresult/dfb82c960e865328","status":"passed","time":{"start":1726719842190,"stop":1726719846375,"duration":4185}},{"uid":"99a0781af922073f","reportUrl":"https://waku-org.github.io/waku-interop-tests/nim/364//#testresult/99a0781af922073f","status":"passed","time":{"start":1726633704277,"stop":1726633708260,"duration":3983}},{"uid":"7b59a29da060afc0","reportUrl":"https://waku-org.github.io/waku-interop-tests/nim/363//#testresult/7b59a29da060afc0","status":"passed","time":{"start":1726547186678,"stop":1726547190288,"duration":3610}},{"uid":"48e242932ebbd590","reportUrl":"https://waku-org.github.io/waku-interop-tests/nim/362//#testresult/48e242932ebbd590","status":"passed","time":{"start":1726460873313,"stop":1726460877352,"duration":4039}},{"uid":"82bcf6420ae80f6a","reportUrl":"https://waku-org.github.io/waku-interop-tests/nim/361//#testresult/82bcf6420ae80f6a","status":"passed","time":{"start":1726374439063,"stop":1726374442930,"duration":3867}},{"uid":"bb90266c55b01fbf","reportUrl":"https://waku-org.github.io/waku-interop-tests/nim/360//#testresult/bb90266c55b01fbf","status":"passed","time":{"start":1726288048664,"stop":1726288052758,"duration":4094}},{"uid":"a187e6b14d5d73cc","reportUrl":"https://waku-org.github.io/waku-interop-tests/nim/359//#testresult/a187e6b14d5d73cc","status":"passed","time":{"start":1726201648533,"stop":1726201652512,"duration":3979}},{"uid":"209bee275063935a","reportUrl":"https://waku-org.github.io/waku-interop-tests/nim/358//#testresult/209bee275063935a","status":"passed","time":{"start":1726121704314,"stop":1726121708026,"duration":3712}},{"uid":"26392da0d955f14b","reportUrl":"https://waku-org.github.io/waku-interop-tests/nim/357//#testresult/26392da0d955f14b","status":"passed","time":{"start":1726115351339,"stop":1726115354914,"duration":3575}},{"uid":"2743d0cf7bb094fe","reportUrl":"https://waku-org.github.io/waku-interop-tests/nim/356//#testresult/2743d0cf7bb094fe","status":"passed","time":{"start":1726047588007,"stop":1726047591730,"duration":3723}},{"uid":"5fb776a71715945","reportUrl":"https://waku-org.github.io/waku-interop-tests/nim/355//#testresult/5fb776a71715945","status":"passed","time":{"start":1726028979915,"stop":1726028983712,"duration":3797}},{"uid":"7a5860cbf4de1f6","reportUrl":"https://waku-org.github.io/waku-interop-tests/nim/354//#testresult/7a5860cbf4de1f6","status":"passed","time":{"start":1725981562091,"stop":1725981565970,"duration":3879}},{"uid":"7e707924dbb7ec22","reportUrl":"https://waku-org.github.io/waku-interop-tests/nim/353//#testresult/7e707924dbb7ec22","status":"passed","time":{"start":1725976219550,"stop":1725976223320,"duration":3770}},{"uid":"64e542655ba5e0d5","reportUrl":"https://waku-org.github.io/waku-interop-tests/nim/352//#testresult/64e542655ba5e0d5","status":"passed","time":{"start":1725942449715,"stop":1725942453716,"duration":4001}}]},"tags":["@pytest.mark.skipif(False, reason='Autosharding tests work only on nwaku because of https://github.com/waku-org/go-waku/issues/1061')"]},"source":"8c8c0f375baeba4e.json","parameterValues":[]}