All of lore.kernel.org
 help / color / mirror / Atom feed
* Kselftest pstore test failure on riscv
@ 2020-05-26 13:21 vaibhav jadhav
  0 siblings, 0 replies; only message in thread
From: vaibhav jadhav @ 2020-05-26 13:21 UTC (permalink / raw)
  To: linux-riscv, linux-kselftest

Hi,

To run the Kselftest pstore test suite I use following:

Hardware: Freedom U540
Architecture: RISCV
Kernel: 5.4.3

Steps followed to run the test:
1.Cloning linux kernel sources from https://github.com/torvalds/linux.git
2.Extracting it.
3.From the cloned kernel source top directory running: # make -C
tools/testing/selftests/ TARGETS=pstore run_tests

Following is the log:
make: Entering directory '/mnt/linux-master/tools/testing/selftests'
make --no-builtin-rules ARCH=riscv -C ../../.. headers_install
make[1]: Entering directory '/mnt/linux-master'
  INSTALL ./usr/include
make[1]: Leaving directory '/mnt/linux-master'
make[1]: Entering directory '/mnt/linux-master/tools/testing/selftests/pstore'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/linux-master/tools/testing/selftests/pstore'
make[1]: Entering directory '/mnt/linux-master/tools/testing/selftests/pstore'
TAP version 13
1..2
# selftests: pstore: pstore_tests
# === Pstore unit tests (pstore_tests) ===
# UUID=a5947bf3-bc04-4175-ac85-4056024cbc4b
# Checking pstore backend is registered ... ok
#     backend=(null)
#     cmdline=earlycon=sbi earlycon=sbi root=/dev/mmcblk0p3 rootwait
console=ttySIF0 console=tty0
# Checking pstore console is registered ... FAIL
# Checking /dev/pmsg0 exists ... FAIL
# Writing unique string to /dev/pmsg0 ... FAIL
not ok 1 selftests: pstore: pstore_tests # exit=1
# selftests: pstore: pstore_post_reboot_tests
# === Pstore unit tests (pstore_post_reboot_tests) ===
# UUID=265706d3-ab26-4568-842c-2cf1756ad9db
# Checking pstore backend is registered ... ok
#     backend=(null)
#     cmdline=earlycon=sbi earlycon=sbi root=/dev/mmcblk0p3 rootwait
console=ttySIF0 console=tty0
# pstore_crash_test has not been executed yet. we skip further tests.
not ok 2 selftests: pstore: pstore_post_reboot_tests # SKIP
make[1]: Leaving directory '/mnt/linux-master/tools/testing/selftests/pstore'
make: Leaving directory '/mnt/linux-master/tools/testing/selftests'

Trying to find reasons for failue:
# Checking pstore console is registered ... FAIL
# Checking /dev/pmsg0 exists ... FAIL
# Writing unique string to /dev/pmsg0 ... FAIL

Thankyou

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-26 13:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-26 13:21 Kselftest pstore test failure on riscv vaibhav jadhav

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.