efivarfs:efivarfs.sh from ubuntu_kernel_selftests failed with "Read-only file system" on M-starfive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
Bug Description
Issue found on M-starfive 6.5.0-1005.6 and 6.5.0-1007.8
Test log:
Running 'make run_tests -C efivarfs TEST_PROGS=
make: Entering directory '/home/
TAP version 13
1..1
# timeout set to 45
# selftests: efivarfs: efivarfs.sh
# -------
# running test_create
# -------
# ./efivarfs.sh: line 58: /sys/firmware/
# /sys/firmware/
# [FAIL]
# -------
# running test_create_empty
# -------
# ./efivarfs.sh: line 77: /sys/firmware/
# /sys/firmware/
# [FAIL]
# -------
# running test_create_read
# -------
# open(O_WRONLY): Read-only file system
# create and read /sys/firmware/
# chattr: No such file or directory while trying to stat /sys/firmware/
# [FAIL]
# -------
# running test_delete
# -------
# ./efivarfs.sh: line 103: /sys/firmware/
# /sys/firmware/
# [FAIL]
# -------
# running test_zero_
# -------
# ./efivarfs.sh: line 126: /sys/firmware/
# /sys/firmware/
# [FAIL]
# -------
# running test_open_unlink
# -------
# open(O_WRONLY): Read-only file system
# [FAIL]
# -------
# running test_valid_
# -------
# ./efivarfs.sh: line 158: /sys/firmware/
# /sys/firmware/
# ./efivarfs.sh: line 158: /sys/firmware/
# /sys/firmware/
# ./efivarfs.sh: line 158: /sys/firmware/
# /sys/firmware/
# ./efivarfs.sh: line 158: /sys/firmware/
# /sys/firmware/
# [FAIL]
# -------
# running test_invalid_
# -------
# [PASS]
not ok 1 selftests: efivarfs: efivarfs.sh # exit=1