From: Alper Nebi Yasak Date: Thu, 20 May 2021 22:21:42 +0300 Subject: [PATCH 1/1] test: revert Don't unmount not (yet) mounted system In-Reply-To: References: <20210513114035.177293-1-xypron.glpk@gmx.de> <74b6cb77-2def-c579-adb7-2b30f0582e9a@gmx.de> <20210517132946.GW17669@bill-the-cat> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 17/05/2021 17:06, Andy Shevchenko wrote: > I would like to be helpful here and when I have time, I'll look at it > closer if nobody beats me up to it. Currently I checked the reason why > we skip them in my scenario: > ============================================ short test summary info > ============================================ > SKIPPED [13] test/py/tests/test_fs/conftest.py:274: Creating failed > for filesystem: fat16. Command 'mkfs.vfat -F > 16 /home/andy/prj/u-boot/build-sandbox/persistent-data/3GB.fat16.img' > returned non-zero exit status 127. > SKIPPED [13] test/py/tests/test_fs/conftest.py:274: Creating failed > for filesystem: fat32. Command 'mkfs.vfat -F > 32 /home/andy/prj/u-boot/build-sandbox/persistent-data/3GB.fat32.img' > returned non-zero exit status 127. > SKIPPED [13] test/py/tests/test_fs/conftest.py:274: Creating failed > for filesystem: ext4. Command 'mkfs.ext4 /ho > me/andy/prj/u-boot/build-sandbox/persistent-data/3GB.ext4.img' > returned non-zero exit status 127. > SKIPPED [11] test/py/tests/test_fs/conftest.py:390: Creating failed > for filesystem: fat16. Command 'mkfs.vfat -F > 16 /home/andy/prj/u-boot/build-sandbox/persistent-data/128MB.fat16.img' > returned non-zero exit status 127. > SKIPPED [11] test/py/tests/test_fs/conftest.py:390: Creating failed > for filesystem: fat32. Command 'mkfs.vfat -F > 32 /home/andy/prj/u-boot/build-sandbox/persistent-data/128MB.fat32.img' > returned non-zero exit status 127. > SKIPPED [6] test/py/tests/test_fs/conftest.py:479: Setup failed for > filesystem: fat16 > SKIPPED [6] test/py/tests/test_fs/conftest.py:479: Setup failed for > filesystem: fat32 > SKIPPED [4] test/py/tests/test_fs/conftest.py:590: Creating failed for > filesystem: ext4. Command 'mkfs.ext4 /hom > e/andy/prj/u-boot/build-sandbox/persistent-data/1GB.ext4.img' returned > non-zero exit status 127. > SKIPPED [7] test/py/tests/test_fs/conftest.py:513: Creating failed for > filesystem: fat16. Command 'mkfs.vfat -F 1 > 6 /home/andy/prj/u-boot/build-sandbox/persistent-data/128MB.fat16.img' > returned non-zero exit status 127. > SKIPPED [7] test/py/tests/test_fs/conftest.py:513: Creating failed for > filesystem: fat32. Command 'mkfs.vfat -F 3 > 2 /home/andy/prj/u-boot/build-sandbox/persistent-data/128MB.fat32.img' > returned non-zero exit status 127. > ======================================== 3 passed, 91 skipped in > 10.02s ========================================= I had similar errors as Debian has the mkfs.* executables in /usr/sbin but that wasn't in my PATH. Running 'export PATH="/usr/sbin:$PATH"' fixes these for me, maybe it's the same on your system?