From 6eb7cf3a72c696967d8ad8cc4ccdbbfcc031bf0c 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 | 3 +++ 2 files changed, 7 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..2f8251446 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,8 @@ 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) + print("disk: %s" % disk) blivet.partitioning.do_partitioning(self.storage)