From 00ef63811b39c255633f93df4fa39e79ab8e025e Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Thu, 19 Sep 2024 10:27:12 +0200 Subject: [PATCH] Remove before merging --- plans/tests.fmf | 5 ++++- tests/storage_tests/devices_test/stratis_test.py | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/plans/tests.fmf b/plans/tests.fmf index 6a6d59044..c20a35d0a 100644 --- a/plans/tests.fmf +++ b/plans/tests.fmf @@ -22,4 +22,7 @@ prepare: execute: how: tmt - script: sudo make test + # script: sudo make test + script: + - lsblk -f + - sudo python3 tests/run_tests.py storage_tests diff --git a/tests/storage_tests/devices_test/stratis_test.py b/tests/storage_tests/devices_test/stratis_test.py index 5aaa12d4f..2743334b4 100644 --- a/tests/storage_tests/devices_test/stratis_test.py +++ b/tests/storage_tests/devices_test/stratis_test.py @@ -46,6 +46,7 @@ def _clean_up(self): class StratisTestCase(StratisTestCaseBase): def test_stratis_basic(self): + print("self.vdevs: %s" % self.vdevs) disk = self.storage.devicetree.get_device_by_path(self.vdevs[0]) self.assertIsNotNone(disk) self.storage.initialize_disk(disk) @@ -53,6 +54,7 @@ def test_stratis_basic(self): bd = self.storage.new_partition(size=blivet.size.Size("1 GiB"), fmt_type="stratis", parents=[disk]) self.storage.create_device(bd) + print("bd: %s" % bd) blivet.partitioning.do_partitioning(self.storage)