From 846499b5e5569b9d076c0ca3110db867c72150d9 Mon Sep 17 00:00:00 2001 From: Maxim Deb Natkh Date: Wed, 31 Jan 2024 19:44:57 +0100 Subject: [PATCH] save dmesg -T on the tear_down of blockstore loadtest --- cloud/blockstore/tests/python/lib/loadtest_env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/blockstore/tests/python/lib/loadtest_env.py b/cloud/blockstore/tests/python/lib/loadtest_env.py index 49b16d0ffde..3ce6dd9f609 100644 --- a/cloud/blockstore/tests/python/lib/loadtest_env.py +++ b/cloud/blockstore/tests/python/lib/loadtest_env.py @@ -140,7 +140,7 @@ def tear_down(self): # It may be beneficial to save dmesg output for debugging purposes. try: - with open("dmesg.txt", "w") as dmesg_output: + with open(yatest_common.output_path() + "/dmesg.txt", "w") as dmesg_output: subprocess.run( ["sudo", "dmesg", "-T"], stdout=dmesg_output,