All of lore.kernel.org
 help / color / mirror / Atom feed
* Device Tree runtime unit tests: Harmonisation
@ 2022-02-02 11:31 Naresh Kamboju
  2022-02-02 18:38 ` Frank Rowand
  0 siblings, 1 reply; 9+ messages in thread
From: Naresh Kamboju @ 2022-02-02 11:31 UTC (permalink / raw)
  To: Brendan Higgins, Frank Rowand, Rob Herring
  Cc: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Anders Roxell

Linaro started doing Linux kernel Functional Validation (LKFT).
As part of LKFT recently we have enabled CONFIG_OF_UNITTEST=y in our
daily test CI.

The output of the test looks as below. The current problem is that we
have a hard time to see (grep) pass/fail for each individual test. We
only see a summary at the end with x pass and y fails.
We would like to get your opinion of how hard it would be to include
that in the output per test. Maybe like TAP version 14?
Another question would be how hard do you think it would be to rewrite
this to a kunit test, if even applicable? I have provided the kunit
output links at the end of this email.


Test output:
------------
[    0.000000] Booting Linux on physical CPU 0x0000000100 [0x410fd033]
[    0.000000] Linux version 5.17.0-rc1-next-20220127
(tuxmake@tuxmake) (aarch64-linux-gnu-gcc (Debian 11.2.0-9) 11.2.0, GNU
ld (GNU Binutils for Debian) 2.37) #1 SMP PREEMPT @1643255563
[    0.000000] Machine model: ARM Juno development board (r2)

<trimmed output>

[    3.285226] ### dt-test ### start of unittest - you will see error messages
[    3.293269] ### dt-test ### EXPECT \ : Duplicate name in
testcase-data, renamed to \"duplicate-name#1\"
[    3.293456] Duplicate name in testcase-data, renamed to \"duplicate-name#1\"
[    3.313367] ### dt-test ### EXPECT / : Duplicate name in
testcase-data, renamed to \"duplicate-name#1\"
[    3.314709] ### dt-test ### EXPECT \ : OF:
/testcase-data/phandle-tests/consumer-a: could not get
#phandle-cells-missing for /testcase-data/phandle-tests/provider1
[    3.323968] OF: /testcase-data/phandle-tests/consumer-a: could not
get #phandle-cells-missing for /testcase-data/phandle-tests/provider1

<trimmed output>

[    5.118400] ### dt-test ### EXPECT / : OF: overlay: ERROR: multiple
fragments add and/or delete node
/testcase-data-2/substation@100/motor-1/electric
[    5.121358] atkbd serio1: keyboard reset failed on 1c070000.kmi
[    5.134160] ### dt-test ### end of unittest - 257 passed, 0 failed


Ref:
Full test output of of-unittest
https://lkft.validation.linaro.org/scheduler/job/4458582#L1019
https://lkft.validation.linaro.org/scheduler/job/4404330#L428

Kunit example test output that we are running in our daily CI loop.
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.10.y/build/v5.10.70/testrun/5965109/suite/kunit/tests/

Kunit Full test logs:
https://lkft.validation.linaro.org/scheduler/job/3643324

https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.10.y/build/v5.10.70/testrun/5965109/suite/kunit/test/kunit_log_test/log


--
Linaro LKFT
https://lkft.linaro.org

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-02-03  4:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-02 11:31 Device Tree runtime unit tests: Harmonisation Naresh Kamboju
2022-02-02 18:38 ` Frank Rowand
2022-02-02 20:29   ` Rob Herring
2022-02-02 21:14     ` Brendan Higgins
2022-02-02 22:01     ` Frank Rowand
2022-02-03  0:15       ` Rob Herring
2022-02-03  4:52         ` Frank Rowand
2022-02-02 20:54   ` Brendan Higgins
2022-02-02 22:04     ` Frank Rowand

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.