1 line
18 KiB
JSON

{"uid":"5cc984b8239656d2","name":"test_cant_publish_on_not_subscribed_shard","fullName":"tests.sharding.test_relay_static_sharding.TestRelayStaticSharding#test_cant_publish_on_not_subscribed_shard","historyId":"ffca3b8c620bebd3c2fd29550d6e4bc2","time":{"start":1767069932463,"stop":1767069934958,"duration":2495},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1767068102698,"stop":1767068102698,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1767069932458,"stop":1767069932458,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1767069932458,"stop":1767069932459,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1767069932458,"stop":1767069932458,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1767069932458,"stop":1767069932458,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1767069932459,"stop":1767069932459,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1767069932460,"stop":1767069932460,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1767069932461,"stop":1767069932461,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1767069932461,"stop":1767069932461,"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":1767069932463,"stop":1767069934948,"duration":2485},"status":"passed","steps":[{"name":"setup_first_relay_node_with_filter","time":{"start":1767069932463,"stop":1767069933703,"duration":1240},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1767069932463,"stop":1767069933703,"duration":1240},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"filter","value":"'true'"},{"name":"pubsub_topic","value":"'/waku/2/rs/2/0'"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"pubsub_topic","value":"'/waku/2/rs/2/0'"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"setup_second_relay_node","time":{"start":1767069933703,"stop":1767069934948,"duration":1245},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1767069934943,"stop":1767069934948,"duration":5},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_relay_static_sharding.TestRelayStaticSharding object at 0x7f4fbe23a1b0>, <src.node.waku_node.WakuNode object at 0x7f4fbe340380>, ['/ip4/172.18.205.252/tcp/48727/p2p/16Uiu2HAm45eH8n96CZP5g91AN6bvNwXT3wA2aHAm5CXnTTD1PkCZ'])"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"pubsub_topic","value":"'/waku/2/rs/2/0'"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"pubsub_topic","value":"'/waku/2/rs/2/0'"}],"stepsCount":4,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_main_relay_nodes","time":{"start":1767069934948,"stop":1767069934953,"duration":5},"status":"passed","steps":[{"name":"subscribe_relay_node","time":{"start":1767069934948,"stop":1767069934951,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f4fbdca5ac0>"},{"name":"content_topics","value":"None"},{"name":"pubsub_topics","value":"['/waku/2/rs/2/0']"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_relay_node","time":{"start":1767069934951,"stop":1767069934953,"duration":2},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f4fbe340380>"},{"name":"content_topics","value":"None"},{"name":"pubsub_topics","value":"['/waku/2/rs/2/0']"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"content_topics","value":"None"},{"name":"pubsub_topics","value":"['/waku/2/rs/2/0']"}],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"check_publish_fails_on_not_subscribed_pubsub_topic","time":{"start":1767069934953,"stop":1767069934957,"duration":4},"status":"passed","steps":[{"name":"check_published_message_reaches_relay_peer","time":{"start":1767069934954,"stop":1767069934957,"duration":3},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:48726/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F1 with response: b'Failed to publish: Node not subscribed to topic: /waku/2/rs/2/1'\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 155, in check_published_message_reaches_relay_peer\n self.relay_message(sender, message, pubsub_topic)\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 134, in relay_message\n node.send_relay_message(message, pubsub_topic)\n File \"/home/runner/work/logos-messaging-interop-tests/logos-messaging-interop-tests/src/node/waku_node.py\", line 348, in send_relay_message\n return self._api.send_relay_message(message, pubsub_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-messaging-interop-tests/logos-messaging-interop-tests/src/node/api_clients/rest.py\", line 51, in send_relay_message\n return self.rest_call(\"post\", f\"relay/v1/messages/{quote(pubsub_topic, safe='')}\", json.dumps(message))\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":1767069934954,"stop":1767069934954,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_message","time":{"start":1767069934954,"stop":1767069934956,"duration":2},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:48726/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F1 with response: b'Failed to publish: Node not subscribed to topic: /waku/2/rs/2/1'\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 134, in relay_message\n node.send_relay_message(message, pubsub_topic)\n File \"/home/runner/work/logos-messaging-interop-tests/logos-messaging-interop-tests/src/node/waku_node.py\", line 348, in send_relay_message\n return self._api.send_relay_message(message, pubsub_topic)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-messaging-interop-tests/logos-messaging-interop-tests/src/node/api_clients/rest.py\", line 51, in send_relay_message\n return self.rest_call(\"post\", f\"relay/v1/messages/{quote(pubsub_topic, safe='')}\", json.dumps(message))\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 0x7f4fbdca5ac0>"},{"name":"message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/myapp/1/latest/proto', 'timestamp': 1767069934953613442}"},{"name":"pubsub_topic","value":"'/waku/2/rs/2/1'"}],"stepsCount":0,"shouldDisplayMessage":true,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"content_topic","value":"None"},{"name":"pubsub_topic","value":"'/waku/2/rs/2/1'"},{"name":"sender","value":"None"},{"name":"peer_list","value":"None"}],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"pubsub_topic","value":"'/waku/2/rs/2/1'"}],"stepsCount":3,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[{"uid":"7e0ff2b34b28004c","name":"log","source":"7e0ff2b34b28004c.txt","type":"text/plain","size":12842},{"uid":"32fa1b2e596aa9a5","name":"stderr","source":"32fa1b2e596aa9a5.txt","type":"text/plain","size":12513}],"parameters":[],"stepsCount":12,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1767069934959,"stop":1767069934959,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1767069934960,"stop":1767069935971,"duration":1011},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1767069935971,"stop":1767069935982,"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":1767069935982,"stop":1767069935982,"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":1767070066551,"stop":1767070066551,"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_static_sharding"},{"name":"subSuite","value":"TestRelayStaticSharding"},{"name":"host","value":"runnervmh13bl"},{"name":"thread","value":"2301-MainThread"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"tests.sharding.test_relay_static_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":24,"unknown":0,"total":24},"items":[{"uid":"c3eb6db719dcd7bb","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1018/#testresult/c3eb6db719dcd7bb","status":"passed","time":{"start":1766983916247,"stop":1766983918726,"duration":2479}},{"uid":"e7515a5532d6bde8","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1017/#testresult/e7515a5532d6bde8","status":"passed","time":{"start":1766897640443,"stop":1766897642938,"duration":2495}},{"uid":"3737d82bd59dcb5b","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1016/#testresult/3737d82bd59dcb5b","status":"passed","time":{"start":1766810499383,"stop":1766810501877,"duration":2494}},{"uid":"8a83cafe3c7f20f","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1015/#testresult/8a83cafe3c7f20f","status":"passed","time":{"start":1766724192758,"stop":1766724195242,"duration":2484}},{"uid":"710501c419026fdb","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1014/#testresult/710501c419026fdb","status":"passed","time":{"start":1766638234335,"stop":1766638236839,"duration":2504}},{"uid":"9ac4a1156ba4be83","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1013/#testresult/9ac4a1156ba4be83","status":"passed","time":{"start":1766551473922,"stop":1766551476435,"duration":2513}},{"uid":"2755758fb4370c11","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1012/#testresult/2755758fb4370c11","status":"passed","time":{"start":1766465149994,"stop":1766465152488,"duration":2494}},{"uid":"929bc2567c44b5d9","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1011/#testresult/929bc2567c44b5d9","status":"passed","time":{"start":1766378882521,"stop":1766378885030,"duration":2509}},{"uid":"9733bde31a7f666f","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1010/#testresult/9733bde31a7f666f","status":"passed","time":{"start":1766292306892,"stop":1766292309380,"duration":2488}},{"uid":"907c95eb70fa7b1a","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1009/#testresult/907c95eb70fa7b1a","status":"passed","time":{"start":1766205389551,"stop":1766205392037,"duration":2486}},{"uid":"aa494e02e437e4d1","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1008/#testresult/aa494e02e437e4d1","status":"passed","time":{"start":1766119344675,"stop":1766119347180,"duration":2505}},{"uid":"7e29d450ebeb1722","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1007/#testresult/7e29d450ebeb1722","status":"passed","time":{"start":1766032876729,"stop":1766032879208,"duration":2479}},{"uid":"c38ccf605fdd6707","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1006/#testresult/c38ccf605fdd6707","status":"passed","time":{"start":1765946681272,"stop":1765946683760,"duration":2488}},{"uid":"e3c8c61aa8f89ee6","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1005/#testresult/e3c8c61aa8f89ee6","status":"passed","time":{"start":1765860221580,"stop":1765860224100,"duration":2520}},{"uid":"cfae5387727abb0e","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1004/#testresult/cfae5387727abb0e","status":"passed","time":{"start":1765774072101,"stop":1765774074578,"duration":2477}},{"uid":"16d724893e14cc7e","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1003/#testresult/16d724893e14cc7e","status":"passed","time":{"start":1765687534989,"stop":1765687537481,"duration":2492}},{"uid":"953bd464ae2c591c","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1002/#testresult/953bd464ae2c591c","status":"passed","time":{"start":1765600625919,"stop":1765600628332,"duration":2413}},{"uid":"e29039e820e2b56e","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1001/#testresult/e29039e820e2b56e","status":"passed","time":{"start":1765514591942,"stop":1765514594428,"duration":2486}},{"uid":"b1368a5e9f8de397","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1000/#testresult/b1368a5e9f8de397","status":"passed","time":{"start":1765426723656,"stop":1765426726140,"duration":2484}},{"uid":"2889bdd25337c276","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/999/#testresult/2889bdd25337c276","status":"passed","time":{"start":1765340212861,"stop":1765340215369,"duration":2508}}]},"tags":[]},"source":"5cc984b8239656d2.json","parameterValues":[]}