2026-03-29 12:54:24 +00:00

1 line
16 KiB
JSON

{"uid":"67aaf757854f207","name":"test_subscribe_and_publish_on_another_shard","fullName":"tests.sharding.test_relay_static_sharding.TestRelayStaticSharding#test_subscribe_and_publish_on_another_shard","historyId":"7ce7bc5515f310447a5cd42ccee34363","time":{"start":1774784118226,"stop":1774784162905,"duration":44679},"status":"failed","statusMessage":"AssertionError: assert 'no subscription found for pubsubTopic' in 'Expected 1 message but got 2'\n + where 'Expected 1 message but got 2' = str(AssertionError('Expected 1 message but got 2'))","statusTrace":"tests/sharding/test_relay_static_sharding.py:28: in test_subscribe_and_publish_on_another_shard\n self.check_published_message_reaches_relay_peer(pubsub_topic=self.test_pubsub_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\n\nDuring handling of the above exception, another exception occurred:\ntests/sharding/test_relay_static_sharding.py:34: in test_subscribe_and_publish_on_another_shard\n assert \"no subscription found for pubsubTopic\" in str(ex)\nE AssertionError: assert 'no subscription found for pubsubTopic' in 'Expected 1 message but got 2'\nE + where 'Expected 1 message but got 2' = str(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":1774781336835,"stop":1774781336835,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1774784118224,"stop":1774784118224,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1774784118224,"stop":1774784118224,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1774784118224,"stop":1774784118225,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1774784118224,"stop":1774784118224,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1774784118225,"stop":1774784118225,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"sharding_setup","time":{"start":1774784118225,"stop":1774784118226,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1774784118225,"stop":1774784118225,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_setup","time":{"start":1774784118225,"stop":1774784118225,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"testStage":{"status":"failed","statusMessage":"AssertionError: assert 'no subscription found for pubsubTopic' in 'Expected 1 message but got 2'\n + where 'Expected 1 message but got 2' = str(AssertionError('Expected 1 message but got 2'))","statusTrace":"tests/sharding/test_relay_static_sharding.py:28: in test_subscribe_and_publish_on_another_shard\n self.check_published_message_reaches_relay_peer(pubsub_topic=self.test_pubsub_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\n\nDuring handling of the above exception, another exception occurred:\ntests/sharding/test_relay_static_sharding.py:34: in test_subscribe_and_publish_on_another_shard\n assert \"no subscription found for pubsubTopic\" in str(ex)\nE AssertionError: assert 'no subscription found for pubsubTopic' in 'Expected 1 message but got 2'\nE + where 'Expected 1 message but got 2' = str(AssertionError('Expected 1 message but got 2'))","steps":[{"name":"setup_main_relay_nodes","time":{"start":1774784118226,"stop":1774784162653,"duration":44427},"status":"passed","steps":[{"name":"setup_first_relay_node_with_filter","time":{"start":1774784118226,"stop":1774784152235,"duration":34009},"status":"passed","steps":[{"name":"setup_first_relay_node","time":{"start":1774784118226,"stop":1774784152235,"duration":34009},"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":1774784152235,"stop":1774784162653,"duration":10418},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1774784162615,"stop":1774784162653,"duration":38},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.sharding.test_relay_static_sharding.TestRelayStaticSharding object at 0x7fa8341e9cd0>, <src.node.waku_node.WakuNode object at 0x7fa82c84f530>, ['/ip4/172.18.77.23/tcp/17339/p2p/16Uiu2HAkvfbH3nvpiwd4hZn58jjqYFk4ktYTRuRR8vSFoATx9jLL'])"}],"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":1774784162653,"stop":1774784162672,"duration":19},"status":"passed","steps":[{"name":"subscribe_relay_node","time":{"start":1774784162653,"stop":1774784162665,"duration":12},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fa81cda7920>"},{"name":"content_topics","value":"None"},{"name":"pubsub_topics","value":"['/waku/2/rs/2/1']"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_relay_node","time":{"start":1774784162665,"stop":1774784162672,"duration":7},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fa82c84f530>"},{"name":"content_topics","value":"None"},{"name":"pubsub_topics","value":"['/waku/2/rs/2/1']"}],"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/1']"}],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"check_published_message_reaches_relay_peer","time":{"start":1774784162672,"stop":1774784162793,"duration":121},"status":"passed","steps":[{"name":"create_message","time":{"start":1774784162672,"stop":1774784162672,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_message","time":{"start":1774784162672,"stop":1774784162684,"duration":12},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fa81cda7920>"},{"name":"message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/myapp/1/latest/proto', 'timestamp': 1774784162672366017}"},{"name":"pubsub_topic","value":"'/waku/2/rs/2/1'"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"retrieve_relay_message","time":{"start":1774784162785,"stop":1774784162787,"duration":2},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fa81cda7920>"},{"name":"content_topic","value":"None"},{"name":"pubsub_topic","value":"'/waku/2/rs/2/1'"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"assert_received_message","time":{"start":1774784162788,"stop":1774784162789,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"sent_message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/myapp/1/latest/proto', 'timestamp': 1774784162672366017}"},{"name":"index","value":"0"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"retrieve_relay_message","time":{"start":1774784162789,"stop":1774784162791,"duration":2},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fa82c84f530>"},{"name":"content_topic","value":"None"},{"name":"pubsub_topic","value":"'/waku/2/rs/2/1'"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"assert_received_message","time":{"start":1774784162793,"stop":1774784162793,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"sent_message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/myapp/1/latest/proto', 'timestamp': 1774784162672366017}"},{"name":"index","value":"0"}],"stepsCount":0,"shouldDisplayMessage":false,"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":6,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"check_published_message_reaches_relay_peer","time":{"start":1774784162793,"stop":1774784162904,"duration":111},"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":1774784162793,"stop":1774784162793,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"relay_message","time":{"start":1774784162793,"stop":1774784162800,"duration":7},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fa81cda7920>"},{"name":"message","value":"{'payload': 'U2hhcmRpbmcgd29ya3MhIQ==', 'contentTopic': '/myapp/1/latest/proto', 'timestamp': 1774784162792850243}"},{"name":"pubsub_topic","value":"'/waku/2/rs/2/0'"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"retrieve_relay_message","time":{"start":1774784162901,"stop":1774784162904,"duration":3},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"<src.node.waku_node.WakuNode object at 0x7fa81cda7920>"},{"name":"content_topic","value":"None"},{"name":"pubsub_topic","value":"'/waku/2/rs/2/0'"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"content_topic","value":"None"},{"name":"pubsub_topic","value":"'/waku/2/rs/2/0'"},{"name":"sender","value":"None"},{"name":"peer_list","value":"None"}],"stepsCount":3,"shouldDisplayMessage":true,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[{"uid":"ec0bd5e3963d45f0","name":"log","source":"ec0bd5e3963d45f0.txt","type":"text/plain","size":258621},{"uid":"543f53df9f954e6d","name":"stderr","source":"543f53df9f954e6d.txt","type":"text/plain","size":254240}],"parameters":[],"stepsCount":19,"shouldDisplayMessage":true,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1774784162913,"stop":1774784162914,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1774784162914,"stop":1774784164346,"duration":1432},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1774784164346,"stop":1774784164409,"duration":63},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1774784164409,"stop":1774784164411,"duration":2},"status":"passed","steps":[],"attachments":[{"uid":"3a993c65ce0c76a2","name":"node1_2026-03-29_11-35-18__f096bf32-b66c-4ab5-a8a7-dcb6c6b00f9e__wakuorg_nwaku:latest.log","source":"3a993c65ce0c76a2.txt","type":"text/plain","size":623868},{"uid":"81226dd7f1503712","name":"node2_2026-03-29_11-35-18__f096bf32-b66c-4ab5-a8a7-dcb6c6b00f9e__wakuorg_nwaku:latest.log","source":"81226dd7f1503712.txt","type":"text/plain","size":440626}],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},{"name":"set_allure_env_variables::0","time":{"start":1774786333782,"stop":1774786333783,"duration":1},"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":"runnervmrg6be"},{"name":"thread","value":"3399-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":true,"retry":true,"extra":{"categories":[],"tags":[]},"source":"67aaf757854f207.json","parameterValues":[]}