1 line
16 KiB
JSON

{"uid":"a6855f8a6c1a43fe","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":1772426420353,"stop":1772426422778,"duration":2425},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1772426005185,"stop":1772426005185,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1772426420352,"stop":1772426420352,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1772426420352,"stop":1772426420352,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1772426420352,"stop":1772426420353,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1772426420352,"stop":1772426420352,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1772426420352,"stop":1772426420352,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1772426420352,"stop":1772426420352,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1772426420353,"stop":1772426420353,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1772426420353,"stop":1772426420353,"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":1772426420353,"stop":1772426422769,"duration":2416},"status":"passed","steps":[{"name":"setup_first_relay_node_with_filter","time":{"start":1772426420353,"stop":1772426421546,"duration":1193},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1772426420353,"stop":1772426421546,"duration":1193},"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":1772426421546,"stop":1772426422769,"duration":1223},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1772426422766,"stop":1772426422769,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_relay_static_sharding.TestRelayStaticSharding object at 0x7f399eefb050>, <src.node.waku_node.WakuNode object at 0x7f399ef63d40>, ['/ip4/172.18.133.130/tcp/22249/p2p/16Uiu2HAmFVJ33UKw8C5s6GoxgnQzAMVUjqStK67Yid6m3eb5cDum'])"}],"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":1772426422769,"stop":1772426422774,"duration":5},"status":"passed","steps":[{"name":"subscribe_relay_node","time":{"start":1772426422769,"stop":1772426422772,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f399efc6ea0>"},{"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":1772426422772,"stop":1772426422774,"duration":2},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f399ef63d40>"},{"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":1772426422774,"stop":1772426422778,"duration":4},"status":"passed","steps":[{"name":"check_published_message_reaches_relay_peer","time":{"start":1772426422774,"stop":1772426422777,"duration":3},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:22248/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-delivery-interop-tests/logos-delivery-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-delivery-interop-tests/logos-delivery-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-delivery-interop-tests/logos-delivery-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-delivery-interop-tests/logos-delivery-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-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":1772426422774,"stop":1772426422774,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_message","time":{"start":1772426422774,"stop":1772426422777,"duration":3},"status":"broken","statusMessage":"Exception: Error: 400 Client Error: Bad Request for url: http://127.0.0.1:22248/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-delivery-interop-tests/logos-delivery-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-delivery-interop-tests/logos-delivery-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-delivery-interop-tests/logos-delivery-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-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 0x7f399efc6ea0>"},{"name":"message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/myapp/1/latest/proto', 'timestamp': 1772426422774290944}"},{"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":"4957c04fc5cdda0e","name":"log","source":"4957c04fc5cdda0e.txt","type":"text/plain","size":12987},{"uid":"9b02931e741b883a","name":"stderr","source":"9b02931e741b883a.txt","type":"text/plain","size":12658}],"parameters":[],"stepsCount":12,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1772426422779,"stop":1772426422779,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1772426422780,"stop":1772426423707,"duration":927},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1772426423709,"stop":1772426423718,"duration":9},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1772426423718,"stop":1772426423718,"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":1772426551944,"stop":1772426551944,"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":"runnervmnay03"},{"name":"thread","value":"2852-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":10,"unknown":0,"total":10},"items":[{"uid":"77c43e80a7b4e124","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1100/#testresult/77c43e80a7b4e124","status":"passed","time":{"start":1772340421659,"stop":1772340424208,"duration":2549}},{"uid":"4318b60c54b904db","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1099/#testresult/4318b60c54b904db","status":"passed","time":{"start":1772310525841,"stop":1772310528380,"duration":2539}},{"uid":"11026d425d3ff924","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1098/#testresult/11026d425d3ff924","status":"passed","time":{"start":1772253155507,"stop":1772253158057,"duration":2550}},{"uid":"c775e04f0026e666","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1097/#testresult/c775e04f0026e666","status":"passed","time":{"start":1772167211970,"stop":1772167214512,"duration":2542}},{"uid":"135e09290e4be839","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1096/#testresult/135e09290e4be839","status":"passed","time":{"start":1772080948884,"stop":1772080951471,"duration":2587}},{"uid":"e5eb34f1430fb5bf","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1095/#testresult/e5eb34f1430fb5bf","status":"passed","time":{"start":1772050347014,"stop":1772050349553,"duration":2539}},{"uid":"7585cad2f961119a","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1094/#testresult/7585cad2f961119a","status":"passed","time":{"start":1772048122313,"stop":1772048124891,"duration":2578}},{"uid":"22be8438f632997f","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1093/#testresult/22be8438f632997f","status":"passed","time":{"start":1772033305790,"stop":1772033308273,"duration":2483}},{"uid":"1952cf1fe8258e2c","reportUrl":"https://logos-messaging.github.io/logos-messaging-interop-tests/nim/1092/#testresult/1952cf1fe8258e2c","status":"passed","time":{"start":1772004598260,"stop":1772004600693,"duration":2433}}]},"tags":[]},"source":"a6855f8a6c1a43fe.json","parameterValues":[]}