mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-04-08 12:53:18 +00:00
1 line
15 KiB
JSON
1 line
15 KiB
JSON
{"uid":"3cab239b0f9d9dc3","name":"test_subscribe_and_publish_on_another_content_topic_from_another_shard","fullName":"tests.sharding.test_relay_auto_sharding.TestRelayAutosharding#test_subscribe_and_publish_on_another_content_topic_from_another_shard","historyId":"cf5ad41fc85d392be8f5d8d7f1ca1965","time":{"start":1774413607121,"stop":1774413610338,"duration":3217},"status":"failed","statusMessage":"AssertionError: Expected 1 message but got 2","statusTrace":"tests/sharding/test_relay_auto_sharding.py:48: in test_subscribe_and_publish_on_another_content_topic_from_another_shard\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 2","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1774413474272,"stop":1774413474273,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1774413607119,"stop":1774413607119,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1774413607119,"stop":1774413607119,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1774413607119,"stop":1774413607119,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1774413607119,"stop":1774413607119,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1774413607119,"stop":1774413607120,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1774413607120,"stop":1774413607120,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1774413607120,"stop":1774413607120,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1774413607120,"stop":1774413607120,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"testStage":{"status":"failed","statusMessage":"AssertionError: Expected 1 message but got 2","statusTrace":"tests/sharding/test_relay_auto_sharding.py:48: in test_subscribe_and_publish_on_another_content_topic_from_another_shard\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 2","steps":[{"name":"setup_main_relay_nodes","time":{"start":1774413607121,"stop":1774413610077,"duration":2956},"status":"passed","steps":[{"name":"setup_first_relay_node_with_filter","time":{"start":1774413607121,"stop":1774413608795,"duration":1674},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1774413607121,"stop":1774413608795,"duration":1674},"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":1774413608796,"stop":1774413610077,"duration":1281},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1774413610053,"stop":1774413610077,"duration":24},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_relay_auto_sharding.TestRelayAutosharding object at 0x7f47222886e0>, <src.node.waku_node.WakuNode object at 0x7f472227a0f0>, ['/ip4/172.18.174.87/tcp/56581/p2p/16Uiu2HAmPvAamZD6p9NJz5K8keZFa9ejY9TmM8zfeQMX6Aae3YcQ'])"}],"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":1774413610079,"stop":1774413610098,"duration":19},"status":"passed","steps":[{"name":"subscribe_relay_node","time":{"start":1774413610081,"stop":1774413610091,"duration":10},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f4721e25130>"},{"name":"content_topics","value":"['/toychat/2/huilong/proto']"},{"name":"pubsub_topics","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_relay_node","time":{"start":1774413610092,"stop":1774413610098,"duration":6},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f472227a0f0>"},{"name":"content_topics","value":"['/toychat/2/huilong/proto']"},{"name":"pubsub_topics","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"content_topics","value":"['/toychat/2/huilong/proto']"},{"name":"pubsub_topics","value":"None"}],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"check_published_message_reaches_relay_peer","time":{"start":1774413610098,"stop":1774413610225,"duration":127},"status":"passed","steps":[{"name":"create_message","time":{"start":1774413610098,"stop":1774413610098,"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":1774413610098,"stop":1774413610110,"duration":12},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f4721e25130>"},{"name":"message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/toychat/2/huilong/proto', 'timestamp': 1774413610098061117}"},{"name":"pubsub_topic","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"retrieve_relay_message","time":{"start":1774413610211,"stop":1774413610216,"duration":5},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f4721e25130>"},{"name":"content_topic","value":"'/toychat/2/huilong/proto'"},{"name":"pubsub_topic","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"assert_received_message","time":{"start":1774413610217,"stop":1774413610217,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"sent_message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/toychat/2/huilong/proto', 'timestamp': 1774413610098061117}"},{"name":"index","value":"0"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"retrieve_relay_message","time":{"start":1774413610217,"stop":1774413610224,"duration":7},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f472227a0f0>"},{"name":"content_topic","value":"'/toychat/2/huilong/proto'"},{"name":"pubsub_topic","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"assert_received_message","time":{"start":1774413610225,"stop":1774413610225,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"sent_message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/toychat/2/huilong/proto', 'timestamp': 1774413610098061117}"},{"name":"index","value":"0"}],"stepsCount":0,"shouldDisplayMessage":false,"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":6,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"check_published_message_reaches_relay_peer","time":{"start":1774413610225,"stop":1774413610338,"duration":113},"status":"failed","statusMessage":"AssertionError: Expected 1 message but got 2\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 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":1774413610225,"stop":1774413610225,"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":1774413610225,"stop":1774413610234,"duration":9},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f4721e25130>"},{"name":"message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/myapp/1/latest/proto', 'timestamp': 1774413610224812803}"},{"name":"pubsub_topic","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"retrieve_relay_message","time":{"start":1774413610334,"stop":1774413610338,"duration":4},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7f4721e25130>"},{"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":"f65f61fbced80a3d","name":"log","source":"f65f61fbced80a3d.txt","type":"text/plain","size":31477},{"uid":"68bec4d40aaacae7","name":"stderr","source":"68bec4d40aaacae7.txt","type":"text/plain","size":30728}],"parameters":[],"stepsCount":19,"shouldDisplayMessage":true,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1774413610351,"stop":1774413610352,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1774413610352,"stop":1774413611546,"duration":1194},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1774413611547,"stop":1774413611601,"duration":54},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1774413611602,"stop":1774413611605,"duration":3},"status":"passed","steps":[],"attachments":[{"uid":"8ce52cac25667e86","name":"node2_2026-03-25_04-40-07__190e55fd-a82f-4088-8767-3d9374e00992__wakuorg_nwaku:latest.log","source":"8ce52cac25667e86.txt","type":"text/plain","size":716141},{"uid":"52063b578dfe9f58","name":"node1_2026-03-25_04-40-07__190e55fd-a82f-4088-8767-3d9374e00992__wakuorg_nwaku:latest.log","source":"52063b578dfe9f58.txt","type":"text/plain","size":829566}],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},{"name":"set_allure_env_variables::0","time":{"start":1774413673700,"stop":1774413673700,"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":"3513-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":"3cab239b0f9d9dc3.json","parameterValues":[]} |