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?