1 line
19 KiB
JSON

{"uid":"7fd962cc0063387d","name":"test_light_push_and_retrieve_duplicate_message","fullName":"tests.light_push.test_publish.TestLightPushPublish#test_light_push_and_retrieve_duplicate_message","historyId":"6322dda1e9c94820a622825a21a24390","time":{"start":1777699388756,"stop":1777699388897,"duration":141},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"set_allure_env_variables","time":{"start":1777698831471,"stop":1777698831471,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail","time":{"start":1777699384875,"stop":1777699384875,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_id","time":{"start":1777699384875,"stop":1777699384876,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors","time":{"start":1777699384875,"stop":1777699384875,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes","time":{"start":1777699384875,"stop":1777699384875,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"test_setup","time":{"start":1777699384876,"stop":1777699384877,"duration":1},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"common_setup","time":{"start":1777699384877,"stop":1777699384877,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"light_push_setup","time":{"start":1777699384877,"stop":1777699384879,"duration":2},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"light_push_publish_setup","time":{"start":1777699384879,"stop":1777699388754,"duration":3875},"status":"passed","steps":[{"name":"setup_first_receiving_node","time":{"start":1777699384879,"stop":1777699386138,"duration":1259},"status":"passed","steps":[{"name":"start_receiving_node","time":{"start":1777699384879,"stop":1777699386138,"duration":1259},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1777699386138,"stop":1777699386138,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.light_push.test_publish.TestLightPushPublish object at 0x7f9570d94080>, <src.node.waku_node.WakuNode object at 0x7f9570482c60>, [])"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"image","value":"'wakuorg/nwaku:latest'"},{"name":"node_index","value":"1"},{"name":"lightpush","value":"'true'"},{"name":"relay","value":"'true'"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"lightpush","value":"'true'"},{"name":"relay","value":"'true'"}],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"setup_second_receiving_node","time":{"start":1777699386138,"stop":1777699387412,"duration":1274},"status":"passed","steps":[{"name":"start_receiving_node","time":{"start":1777699386138,"stop":1777699387412,"duration":1274},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1777699387382,"stop":1777699387412,"duration":30},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.light_push.test_publish.TestLightPushPublish object at 0x7f9570d94080>, <src.node.waku_node.WakuNode object at 0x7f9570401ca0>, ['/ip4/172.18.6.182/tcp/29913/p2p/16Uiu2HAkv1cEijBiYnNf21T1GHhtLks6vBq7f7WUbEzL9MsrMCE8'])"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"image","value":"'wakuorg/nwaku:latest'"},{"name":"node_index","value":"2"},{"name":"lightpush","value":"'false'"},{"name":"relay","value":"'true'"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"lightpush","value":"'false'"},{"name":"relay","value":"'true'"}],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"setup_first_lightpush_node","time":{"start":1777699387412,"stop":1777699388735,"duration":1323},"status":"passed","steps":[{"name":"setup_lightpush_node","time":{"start":1777699387412,"stop":1777699388735,"duration":1323},"status":"passed","steps":[{"name":"add_node_peer","time":{"start":1777699388667,"stop":1777699388735,"duration":68},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"args","value":"(<tests.light_push.test_publish.TestLightPushPublish object at 0x7f9570d94080>, <src.node.waku_node.WakuNode object at 0x7f9570483fe0>, ['/ip4/172.18.6.182/tcp/29913/p2p/16Uiu2HAkv1cEijBiYnNf21T1GHhtLks6vBq7f7WUbEzL9MsrMCE8', '/ip4/172.18.58.216/tcp/3700/p2p/16Uiu2HAm6J7YAiX6ZgSh2apbHF7ZVBv29KeajSgDKZUiP2Na5Mkk'])"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"image","value":"'wakuorg/nwaku:latest'"},{"name":"node_index","value":"1"},{"name":"lightpush","value":"'true'"},{"name":"relay","value":"'true'"}],"stepsCount":1,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"lightpush","value":"'true'"},{"name":"relay","value":"'true'"}],"stepsCount":2,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"subscribe_to_pubsub_topics_via_relay","time":{"start":1777699388735,"stop":1777699388754,"duration":19},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"node","value":"None"},{"name":"pubsub_topics","value":"None"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[],"stepsCount":10,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"testStage":{"status":"passed","steps":[{"name":"create_message","time":{"start":1777699388756,"stop":1777699388756,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_light_pushed_message_reaches_receiving_peer","time":{"start":1777699388756,"stop":1777699388886,"duration":130},"status":"passed","steps":[{"name":"create_payload","time":{"start":1777699388756,"stop":1777699388756,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"pubsub_topic","value":"'/waku/2/rs/198/0'"},{"name":"message","value":"{'payload': 'TGlnaHQgcHVzaCB3b3JrcyEh', 'contentTopic': '/myapp/1/latest/proto', 'timestamp': 1777699388755980029}"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"assert_received_message","time":{"start":1777699388878,"stop":1777699388878,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"sent_message","value":"{'payload': 'TGlnaHQgcHVzaCB3b3JrcyEh', 'contentTopic': '/myapp/1/latest/proto', 'timestamp': 1777699388755980029}"},{"name":"index","value":"0"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"assert_received_message","time":{"start":1777699388882,"stop":1777699388882,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"sent_message","value":"{'payload': 'TGlnaHQgcHVzaCB3b3JrcyEh', 'contentTopic': '/myapp/1/latest/proto', 'timestamp': 1777699388755980029}"},{"name":"index","value":"0"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"assert_received_message","time":{"start":1777699388886,"stop":1777699388886,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"sent_message","value":"{'payload': 'TGlnaHQgcHVzaCB3b3JrcyEh', 'contentTopic': '/myapp/1/latest/proto', 'timestamp': 1777699388755980029}"},{"name":"index","value":"0"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"pubsub_topic","value":"None"},{"name":"message","value":"{'payload': 'TGlnaHQgcHVzaCB3b3JrcyEh', 'contentTopic': '/myapp/1/latest/proto', 'timestamp': 1777699388755980029}"},{"name":"message_propagation_delay","value":"0.1"},{"name":"sender","value":"None"},{"name":"peer_list","value":"None"}],"stepsCount":4,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false},{"name":"check_light_pushed_message_reaches_receiving_peer","time":{"start":1777699388886,"stop":1777699388895,"duration":9},"status":"broken","statusMessage":"Exception: Error: 503 Server Error: Service Unavailable for url: http://127.0.0.1:10520/lightpush/v1/message with response: b'Failed to request a message push: not_published_to_any_peer'\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/light_push.py\", line 122, in check_light_pushed_message_reaches_receiving_peer\n sender.send_light_push_message(payload)\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/waku_node.py\", line 506, in send_light_push_message\n return self._api.send_light_push_message(payload)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/logos-delivery-interop-tests/logos-delivery-interop-tests/src/node/api_clients/rest.py\", line 57, in send_light_push_message\n return self.rest_call(\"post\", \"lightpush/v1/message\", json.dumps(payload))\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_payload","time":{"start":1777699388886,"stop":1777699388886,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[{"name":"pubsub_topic","value":"'/waku/2/rs/198/0'"},{"name":"message","value":"{'payload': 'TGlnaHQgcHVzaCB3b3JrcyEh', 'contentTopic': '/myapp/1/latest/proto', 'timestamp': 1777699388755980029}"}],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[],"parameters":[{"name":"pubsub_topic","value":"None"},{"name":"message","value":"{'payload': 'TGlnaHQgcHVzaCB3b3JrcyEh', 'contentTopic': '/myapp/1/latest/proto', 'timestamp': 1777699388755980029}"},{"name":"message_propagation_delay","value":"0.1"},{"name":"sender","value":"None"},{"name":"peer_list","value":"None"}],"stepsCount":1,"shouldDisplayMessage":true,"attachmentsCount":0,"hasContent":true,"attachmentStep":false}],"attachments":[{"name":"log","type":"text/plain","size":0},{"name":"stderr","type":"text/plain","size":0}],"parameters":[],"stepsCount":8,"shouldDisplayMessage":false,"attachmentsCount":2,"hasContent":true,"attachmentStep":false},"afterStages":[{"name":"test_setup::0","time":{"start":1777699388898,"stop":1777699388898,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"close_open_nodes::0","time":{"start":1777699388899,"stop":1777699390209,"duration":1310},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"check_waku_log_errors::0","time":{"start":1777699390210,"stop":1777699390262,"duration":52},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false},{"name":"attach_logs_on_fail::0","time":{"start":1777699390264,"stop":1777699390264,"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":1777699647696,"stop":1777699647696,"duration":0},"status":"passed","steps":[],"attachments":[],"parameters":[],"stepsCount":0,"shouldDisplayMessage":false,"attachmentsCount":0,"hasContent":false,"attachmentStep":false}],"labels":[{"name":"parentSuite","value":"tests.light_push"},{"name":"suite","value":"test_publish"},{"name":"subSuite","value":"TestLightPushPublish"},{"name":"host","value":"runnervmeorf1"},{"name":"thread","value":"21682-MainThread"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"tests.light_push.test_publish"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":false,"retry":false,"extra":{"severity":"normal","retries":[],"categories":[],"history":{"statistic":{"failed":0,"broken":0,"skipped":0,"passed":23,"unknown":0,"total":23},"items":[{"uid":"d534cd8a74b1572d","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1225/#testresult/d534cd8a74b1572d","status":"passed","time":{"start":1777660689959,"stop":1777660690101,"duration":142}},{"uid":"6677af531f37e6ec","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1224/#testresult/6677af531f37e6ec","status":"passed","time":{"start":1777658217266,"stop":1777658217407,"duration":141}},{"uid":"d80d387e541f12f6","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1223/#testresult/d80d387e541f12f6","status":"passed","time":{"start":1777655671699,"stop":1777655671835,"duration":136}},{"uid":"17af409ceb9441ab","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1222/#testresult/17af409ceb9441ab","status":"passed","time":{"start":1777641220275,"stop":1777641220411,"duration":136}},{"uid":"8cf6a6207fa436b","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1221/#testresult/8cf6a6207fa436b","status":"passed","time":{"start":1777636567579,"stop":1777636567742,"duration":163}},{"uid":"9173482298d3c24c","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1220/#testresult/9173482298d3c24c","status":"passed","time":{"start":1777613860798,"stop":1777613860935,"duration":137}},{"uid":"2184a9bbb4ddcc84","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1219/#testresult/2184a9bbb4ddcc84","status":"passed","time":{"start":1777590689811,"stop":1777590689948,"duration":137}},{"uid":"21e1166d95eb570","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1218/#testresult/21e1166d95eb570","status":"passed","time":{"start":1777570079099,"stop":1777570079258,"duration":159}},{"uid":"1ea389011db07568","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1217/#testresult/1ea389011db07568","status":"passed","time":{"start":1777526717321,"stop":1777526717457,"duration":136}},{"uid":"b83506d7ed12bc5","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1216/#testresult/b83506d7ed12bc5","status":"passed","time":{"start":1777440313540,"stop":1777440313681,"duration":141}},{"uid":"8021b9691340fd5e","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1215/#testresult/8021b9691340fd5e","status":"passed","time":{"start":1777372541313,"stop":1777372541452,"duration":139}},{"uid":"13dc8d1cd58b0184","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1214/#testresult/13dc8d1cd58b0184","status":"passed","time":{"start":1777353991784,"stop":1777353991926,"duration":142}},{"uid":"28f536cab45481b8","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1213/#testresult/28f536cab45481b8","status":"passed","time":{"start":1777267559854,"stop":1777267559993,"duration":139}},{"uid":"dc88fbeae12e495e","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1212/#testresult/dc88fbeae12e495e","status":"passed","time":{"start":1777180881572,"stop":1777180881710,"duration":138}},{"uid":"3a1ec378312ebcca","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1211/#testresult/3a1ec378312ebcca","status":"passed","time":{"start":1777093735357,"stop":1777093735503,"duration":146}},{"uid":"c5aaaa7ff3274dc8","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1210/#testresult/c5aaaa7ff3274dc8","status":"passed","time":{"start":1777008048034,"stop":1777008048174,"duration":140}},{"uid":"f951b6282e33087d","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1209/#testresult/f951b6282e33087d","status":"passed","time":{"start":1776981942486,"stop":1776981942631,"duration":145}},{"uid":"2886cf3ac3a967f0","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1208/#testresult/2886cf3ac3a967f0","status":"passed","time":{"start":1776921655502,"stop":1776921655644,"duration":142}},{"uid":"f0c635194a5c133c","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1207/#testresult/f0c635194a5c133c","status":"passed","time":{"start":1776902651074,"stop":1776902651212,"duration":138}},{"uid":"c9735b8718a8eaad","reportUrl":"https://logos-messaging.github.io/logos-delivery-interop-tests/nim/1206/#testresult/c9735b8718a8eaad","status":"passed","time":{"start":1776898431845,"stop":1776898431983,"duration":138}}]},"tags":[]},"source":"7fd962cc0063387d.json","parameterValues":[]}