1 line
15 KiB
JSON

{"uid":"2170a45458a8f69f","name":"test_subscribe_and_publish_on_another_content_topic_from_same_shard","fullName":"tests.sharding.test_relay_auto_sharding.TestRelayAutosharding#test_subscribe_and_publish_on_another_content_topic_from_same_shard","historyId":"22132942b07d562f554abc4e550c8324","time":{"start":1772685349906,"stop":1772685356137,"duration":6231},"status":"failed","statusMessage":"AssertionError: Expected 1 message but got 2","statusTrace":"tests/sharding/test_relay_auto_sharding.py:40: in test_subscribe_and_publish_on_another_content_topic_from_same_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":1772685141475,"stop":1772685141475,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1772685349905,"stop":1772685349905,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1772685349905,"stop":1772685349905,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1772685349905,"stop":1772685349905,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1772685349905,"stop":1772685349905,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1772685349905,"stop":1772685349906,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1772685349906,"stop":1772685349906,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1772685349906,"stop":1772685349906,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1772685349906,"stop":1772685349906,"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:40: in test_subscribe_and_publish_on_another_content_topic_from_same_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":1772685349907,"stop":1772685355897,"duration":5990},"status":"passed","steps":[{"name":"setup_first_relay_node_with_filter","time":{"start":1772685349907,"stop":1772685354205,"duration":4298},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1772685349907,"stop":1772685354205,"duration":4298},"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":1772685354206,"stop":1772685355897,"duration":1691},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1772685355867,"stop":1772685355897,"duration":30},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_relay_auto_sharding.TestRelayAutosharding object at 0x7fa3e33727e0>, <src.node.waku_node.WakuNode object at 0x7fa3e33884a0>, ['/ip4/172.18.24.37/tcp/7711/p2p/16Uiu2HAmNdSKYZ2Xs5yQwL7RN3vpj3CSxknJhndhP5ncs2e1CNqc'])"}],"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":1772685355897,"stop":1772685355905,"duration":8},"status":"passed","steps":[{"name":"subscribe_relay_node","time":{"start":1772685355897,"stop":1772685355902,"duration":5},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fa3e3506660>"},{"name":"content_topics","value":"['/newsService/1.0/weekly/protobuf']"},{"name":"pubsub_topics","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_relay_node","time":{"start":1772685355902,"stop":1772685355905,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fa3e33884a0>"},{"name":"content_topics","value":"['/newsService/1.0/weekly/protobuf']"},{"name":"pubsub_topics","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"content_topics","value":"['/newsService/1.0/weekly/protobuf']"},{"name":"pubsub_topics","value":"None"}],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"check_published_message_reaches_relay_peer","time":{"start":1772685355905,"stop":1772685356024,"duration":119},"status":"passed","steps":[{"name":"create_message","time":{"start":1772685355905,"stop":1772685355905,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"contentTopic","value":"'/newsService/1.0/weekly/protobuf'"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"relay_message","time":{"start":1772685355905,"stop":1772685355915,"duration":10},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fa3e3506660>"},{"name":"message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/newsService/1.0/weekly/protobuf', 'timestamp': 1772685355905154032}"},{"name":"pubsub_topic","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"retrieve_relay_message","time":{"start":1772685356016,"stop":1772685356019,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fa3e3506660>"},{"name":"content_topic","value":"'/newsService/1.0/weekly/protobuf'"},{"name":"pubsub_topic","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"assert_received_message","time":{"start":1772685356020,"stop":1772685356020,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"sent_message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/newsService/1.0/weekly/protobuf', 'timestamp': 1772685355905154032}"},{"name":"index","value":"0"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"retrieve_relay_message","time":{"start":1772685356020,"stop":1772685356023,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fa3e33884a0>"},{"name":"content_topic","value":"'/newsService/1.0/weekly/protobuf'"},{"name":"pubsub_topic","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"assert_received_message","time":{"start":1772685356024,"stop":1772685356024,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"sent_message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/newsService/1.0/weekly/protobuf', 'timestamp': 1772685355905154032}"},{"name":"index","value":"0"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"content_topic","value":"'/newsService/1.0/weekly/protobuf'"},{"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":1772685356024,"stop":1772685356136,"duration":112},"status":"failed","statusMessage":"AssertionError: Expected 1 message but got 2\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":1772685356024,"stop":1772685356024,"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":1772685356024,"stop":1772685356033,"duration":9},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fa3e3506660>"},{"name":"message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/myapp/1/latest/proto', 'timestamp': 1772685356023941926}"},{"name":"pubsub_topic","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"retrieve_relay_message","time":{"start":1772685356133,"stop":1772685356136,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fa3e3506660>"},{"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":"7b8e9460ce43534a","name":"log","source":"7b8e9460ce43534a.txt","type":"text/plain","size":27431},{"uid":"f752884d380c060","name":"stderr","source":"f752884d380c060.txt","type":"text/plain","size":26731}],"parameters":[],"stepsCount":19,"shouldDisplayMessage":true,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1772685356167,"stop":1772685356167,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1772685356169,"stop":1772685357187,"duration":1018},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1772685357188,"stop":1772685357269,"duration":81},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1772685357269,"stop":1772685357272,"duration":3},"status":"passed","steps":[],"attachments":[{"uid":"9892a31eb500d264","name":"node2_2026-03-05_04-35-49__bde9448f-81b9-4f12-a250-277cba671fcc__wakuorg_nwaku:latest.log","source":"9892a31eb500d264.txt","type":"text/plain","size":1309270},{"uid":"8e6d8a8f269ca16c","name":"node1_2026-03-05_04-35-49__bde9448f-81b9-4f12-a250-277cba671fcc__wakuorg_nwaku:latest.log","source":"8e6d8a8f269ca16c.txt","type":"text/plain","size":1323061}],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},{"name":"set_allure_env_variables::0","time":{"start":1772685573495,"stop":1772685573495,"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":"2747-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":"2170a45458a8f69f.json","parameterValues":[]}