1 line
12 KiB
JSON

{"uid":"320be16dacb0676e","name":"test_retrieve_messages_without_subscribing_via_api","fullName":"tests.sharding.test_relay_auto_sharding.TestRelayAutosharding#test_retrieve_messages_without_subscribing_via_api","historyId":"809a728dfbbb592268b840ebcec984a2","time":{"start":1773290322105,"stop":1773290325491,"duration":3386},"status":"failed","statusMessage":"AssertionError: assert 'Failed to publish: Node not subscribed to topic' in 'Expected 1 message but got 3'\n + where 'Expected 1 message but got 3' = str(AssertionError('Expected 1 message but got 3'))","statusTrace":"tests/sharding/test_relay_auto_sharding.py:26: in test_retrieve_messages_without_subscribing_via_api\n self.check_published_message_reaches_relay_peer(content_topic=self.test_content_topic)\nsrc/steps/sharding.py:161: in check_published_message_reaches_relay_peer\n assert len(get_messages_response) == 1, f\"Expected 1 message but got {len(get_messages_response)}\"\nE AssertionError: Expected 1 message but got 3\n\nDuring handling of the above exception, another exception occurred:\ntests/sharding/test_relay_auto_sharding.py:32: in test_retrieve_messages_without_subscribing_via_api\n assert \"Failed to publish: Node not subscribed to topic\" in str(ex)\nE AssertionError: assert 'Failed to publish: Node not subscribed to topic' in 'Expected 1 message but got 3'\nE + where 'Expected 1 message but got 3' = str(AssertionError('Expected 1 message but got 3'))","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1773289966961,"stop":1773289966961,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1773290322103,"stop":1773290322103,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1773290322103,"stop":1773290322104,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1773290322104,"stop":1773290322104,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1773290322104,"stop":1773290322104,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1773290322104,"stop":1773290322105,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1773290322104,"stop":1773290322104,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1773290322104,"stop":1773290322104,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1773290322105,"stop":1773290322105,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"testStage":{"status":"failed","statusMessage":"AssertionError: assert 'Failed to publish: Node not subscribed to topic' in 'Expected 1 message but got 3'\n + where 'Expected 1 message but got 3' = str(AssertionError('Expected 1 message but got 3'))","statusTrace":"tests/sharding/test_relay_auto_sharding.py:26: in test_retrieve_messages_without_subscribing_via_api\n self.check_published_message_reaches_relay_peer(content_topic=self.test_content_topic)\nsrc/steps/sharding.py:161: in check_published_message_reaches_relay_peer\n assert len(get_messages_response) == 1, f\"Expected 1 message but got {len(get_messages_response)}\"\nE AssertionError: Expected 1 message but got 3\n\nDuring handling of the above exception, another exception occurred:\ntests/sharding/test_relay_auto_sharding.py:32: in test_retrieve_messages_without_subscribing_via_api\n assert \"Failed to publish: Node not subscribed to topic\" in str(ex)\nE AssertionError: assert 'Failed to publish: Node not subscribed to topic' in 'Expected 1 message but got 3'\nE + where 'Expected 1 message but got 3' = str(AssertionError('Expected 1 message but got 3'))","steps":[{"name":"setup_main_relay_nodes","time":{"start":1773290322105,"stop":1773290325374,"duration":3269},"status":"passed","steps":[{"name":"setup_first_relay_node_with_filter","time":{"start":1773290322105,"stop":1773290323673,"duration":1568},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1773290322106,"stop":1773290323673,"duration":1567},"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":1773290323673,"stop":1773290325374,"duration":1701},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1773290325346,"stop":1773290325374,"duration":28},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_relay_auto_sharding.TestRelayAutosharding object at 0x7f7968b0d1f0>, <src.node.waku_node.WakuNode object at 0x7f7968b4f3e0>, ['/ip4/172.18.149.255/tcp/10015/p2p/16Uiu2HAmBwjjUv63s9bMuV1tvyCBtmfcBYxFeUJcjf7BqJwSFMWz'])"}],"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":"check_published_message_reaches_relay_peer","time":{"start":1773290325374,"stop":1773290325490,"duration":116},"status":"failed","statusMessage":"AssertionError: Expected 1 message but got 3\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 161, in check_published_message_reaches_relay_peer\n assert len(get_messages_response) == 1, f\"Expected 1 message but got {len(get_messages_response)}\"\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n","steps":[{"name":"create_message","time":{"start":1773290325374,"stop":1773290325374,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"contentTopic","value":"'/myapp/1/latest/proto'"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"relay_message","time":{"start":1773290325374,"stop":1773290325387,"duration":13},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f7968b4cdd0>"},{"name":"message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/myapp/1/latest/proto', 'timestamp': 1773290325374083312}"},{"name":"pubsub_topic","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"retrieve_relay_message","time":{"start":1773290325487,"stop":1773290325490,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f7968b4cdd0>"},{"name":"content_topic","value":"'/myapp/1/latest/proto'"},{"name":"pubsub_topic","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"content_topic","value":"'/myapp/1/latest/proto'"},{"name":"pubsub_topic","value":"None"},{"name":"sender","value":"None"},{"name":"peer_list","value":"None"}],"stepsCount":3,"shouldDisplayMessage":true,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[{"uid":"c416dc6d97639f89","name":"log","source":"c416dc6d97639f89.txt","type":"text/plain","size":15246},{"uid":"8665de2cfba88303","name":"stderr","source":"8665de2cfba88303.txt","type":"text/plain","size":14881}],"parameters":[],"stepsCount":9,"shouldDisplayMessage":true,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1773290325547,"stop":1773290325548,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1773290325548,"stop":1773290326775,"duration":1227},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1773290326776,"stop":1773290326885,"duration":109},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1773290326886,"stop":1773290326890,"duration":4},"status":"passed","steps":[],"attachments":[{"uid":"25449da025892a57","name":"node1_2026-03-12_04-38-42__1de0797e-22ed-4c57-91a1-38050c681b13__wakuorg_nwaku:latest.log","source":"25449da025892a57.txt","type":"text/plain","size":2148914},{"uid":"90f4c9d4f7da80e0","name":"node2_2026-03-12_04-38-42__1de0797e-22ed-4c57-91a1-38050c681b13__wakuorg_nwaku:latest.log","source":"90f4c9d4f7da80e0.txt","type":"text/plain","size":1027175}],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},{"name":"set_allure_env_variables::0","time":{"start":1773290593393,"stop":1773290593393,"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":"runnervm0kj6c"},{"name":"thread","value":"2933-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":true,"retry":true,"extra":{"categories":[],"tags":[]},"source":"320be16dacb0676e.json","parameterValues":[]}