nareshkamboju

kselftest failed on 4.4 Kernel

Apr 13th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.06 KB | None | 0 0
  1. root@hikey:~# cd /usr/bin/kselftests/
  2. root@hikey:/usr/bin/kselftests# ./run_kselftest.sh
  3.  
  4. Running tests in bpf
  5. ========================================
  6. ./run_kselftest.sh: line 6: cd: bpf: No such file or directory
  7. ./run_kselftest.sh: line 7: ./test_verifier: No such file or directory
  8. selftests: test_verifier [FAIL]
  9. ./run_kselftest.sh: line 8: ./test_maps: No such file or directory
  10. selftests: test_maps [FAIL]
  11. ./run_kselftest.sh: line 9: ./test_lru_map: No such file or directory
  12. selftests: test_lru_map [FAIL]
  13. ./run_kselftest.sh: line 10: ./test_kmod.sh: No such file or directory
  14. selftests: test_kmod.sh [FAIL]
  15.  
  16. Running tests in breakpoints
  17. ========================================
  18. [ 421.304023] PM: suspend entry 2017-04-11 13:25:13.985673293 UTC
  19. [ 421.310108] PM: Syncing filesystems ... done.
  20. [ 421.336820] Freezing user space processes ... (elapsed 0.001 seconds) done.
  21. [ 421.345770] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
  22. [ 421.354988] Suspending console(s) (use no_console_suspend to debug)
  23. [ 421.363843] wlcore: down
  24. [ 421.364192] queueing ieee80211 work while going to suspend
  25. [ 421.390876] PM: suspend of devices complete after 28.468 msecs
  26. [ 421.394812] PM: late suspend of devices complete after 3.919 msecs
  27. [ 421.397463] PM: noirq suspend of devices complete after 2.640 msecs
  28. [ 421.397469] Disabling non-boot CPUs ...
  29. [ 421.411160] CPU1: shutdown
  30. [ 421.426660] psci: Retrying again to check for CPU kill
  31. [ 421.426667] psci: CPU1 killed.
  32. [ 421.454937] IRQ5 no longer affine to CPU2
  33. [ 421.455190] CPU2: shutdown
  34. [ 421.470655] psci: Retrying again to check for CPU kill
  35. [ 421.470663] psci: CPU2 killed.
  36. [ 421.499092] CPU3: shutdown
  37. [ 421.514656] psci: Retrying again to check for CPU kill
  38. [ 421.514663] psci: CPU3 killed.
  39. [ 421.543093] CPU4: shutdown
  40. [ 421.558655] psci: Retrying again to check for CPU kill
  41. [ 421.558662] psci: CPU4 killed.
  42. [ 421.586968] CPU5: shutdown
  43. [ 421.602657] psci: Retrying again to check for CPU kill
  44. [ 421.602664] psci: CPU5 killed.
  45. [ 421.630929] CPU6: shutdown
  46. [ 421.646642] psci: Retrying again to check for CPU kill
  47. [ 421.646649] psci: CPU6 killed.
  48. [ 421.670938] CPU7: shutdown
  49. [ 421.670950] psci: CPU7 killed.
  50. [ 421.684128] Enabling non-boot CPUs ...
  51. [ 421.703756] Detected VIPT I-cache on CPU1
  52. [ 421.703817] CPU1: update cpu_capacity 1024
  53. [ 421.703821] CPU1: Booted secondary processor [410fd033]
  54. [ 421.704218] cache: parent cpu1 should not be sleeping
  55. [ 421.704465] CPU1 is up
  56. [ 421.723880] Detected VIPT I-cache on CPU2
  57. [ 421.723921] CPU2: update cpu_capacity 1024
  58. [ 421.723924] CPU2: Booted secondary processor [410fd033]
  59. [ 421.724285] cache: parent cpu2 should not be sleeping
  60. [ 421.724523] CPU2 is up
  61. [ 421.744140] Detected VIPT I-cache on CPU3
  62. [ 421.744183] CPU3: update cpu_capacity 1024
  63. [ 421.744186] CPU3: Booted secondary processor [410fd033]
  64. [ 421.744584] cache: parent cpu3 should not be sleeping
  65. [ 421.744824] CPU3 is up
  66. [ 421.764462] Detected VIPT I-cache on CPU4
  67. [ 421.764533] CPU4: update cpu_capacity 1024
  68. [ 421.764536] CPU4: Booted secondary processor [410fd033]
  69. [ 421.764954] cache: parent cpu4 should not be sleeping
  70. [ 421.765196] CPU4 is up
  71. [ 421.784606] Detected VIPT I-cache on CPU5
  72. [ 421.784639] CPU5: update cpu_capacity 1024
  73. [ 421.784643] CPU5: Booted secondary processor [410fd033]
  74. [ 421.785081] cache: parent cpu5 should not be sleeping
  75. [ 421.785325] CPU5 is up
  76. [ 421.804859] Detected VIPT I-cache on CPU6
  77. [ 421.804893] CPU6: update cpu_capacity 1024
  78. [ 421.804896] CPU6: Booted secondary processor [410fd033]
  79. [ 421.805376] cache: parent cpu6 should not be sleeping
  80. [ 421.805619] CPU6 is up
  81. [ 421.825098] Detected VIPT I-cache on CPU7
  82. [ 421.825131] CPU7: update cpu_capacity 1024
  83. [ 421.825133] CPU7: Booted secondary processor [410fd033]
  84. [ 421.825669] cache: parent cpu7 should not be sleeping
  85. [ 421.825930] CPU7 is up
  86. [ 421.827489] PM: noirq resume of devices complete after 1.481 msecs
  87. [ 421.829353] PM: early resume of devices complete after 1.479 msecs
  88. [ 421.850780] mmc_host mmc0: Bus speed (slot 0) = 24800000Hz (slot req 400000Hz, actual 400000HZ div = 31)
  89. [ 421.926791] mmc_host mmc0: Bus speed (slot 0) = 51756522Hz (slot req 52000000Hz, actual 51756522HZ div = 0)
  90. [ 422.026777] mmc_host mmc2: Bus speed (slot 0) = 24800000Hz (slot req 400000Hz, actual 400000HZ div = 31)
  91. [ 422.061137] mmc_host mmc2: Bus speed (slot 0) = 24800000Hz (slot req 25000000Hz, actual 24800000HZ div = 0)
  92. [ 422.379776] wlcore: PHY firmware version: Rev 8.2.0.0.236
  93. [ 422.484494] wlcore: firmware booted (Rev 8.9.0.0.69)
  94. [ 422.511531] PM: resume of devices complete after 682.164 msecs
  95. [ 422.840703] Restarting tasks ... done.
  96. [ 422.857015] PM: suspend exit 2017-04-11 13:25:20.090992459 UTC
  97. CPU 0: [OK]
  98. CPU 1: [OK]
  99. CPU 2: [OK]
  100. CPU 3: [OK]
  101. CPU 4: [OK]
  102. CPU 5: [OK]
  103. CPU 6: [OK]
  104. CPU 7: [OK]
  105. Pass: 8 Fail: 0 Xfail: 0 Xpass: 0, Xskip: 0
  106. selftests: step_after_suspend_test [PASS]
  107.  
  108. Running tests in capabilities
  109. ========================================
  110. [RUN] +++ Tests with uid == 0 +++
  111. [NOTE] Using global UIDs for tests
  112. [RUN] Root => ep
  113. [OK] Capabilities after execve were correct
  114. [OK] Child succeeded
  115. [OK] Check cap_ambient manipulation rules
  116. [OK] PR_CAP_AMBIENT_RAISE failed on non-inheritable cap
  117. [OK] PR_CAP_AMBIENT_RAISE failed on non-permitted cap
  118. [OK] PR_CAP_AMBIENT_RAISE worked
  119. [OK] Basic manipulation appears to work
  120. [RUN] Root +i => eip
  121. [OK] Capabilities after execve were correct
  122. [OK] Child succeeded
  123. [RUN] UID 0 +ia => eipa
  124. [OK] Capabilities after execve were correct
  125. [OK] Child succeeded
  126. [RUN] Root +ia, suidroot => eipa
  127. [OK] Capabilities after execve were correct
  128. [OK] Child succeeded
  129. [RUN] Root +ia, suidnonroot => ip
  130. [OK] Capabilities after execve were correct
  131. [OK] Child succeeded
  132. [RUN] Root +ia, sgidroot => eipa
  133. [OK] Capabilities after execve were correct
  134. [OK] Child succeeded
  135. [RUN] Root, gid != 0, +ia, sgidroot => eip
  136. [OK] Capabilities after execve were correct
  137. [OK] Child succeeded
  138. [RUN] Root +ia, sgidnonroot => eip
  139. [OK] Capabilities after execve were correct
  140. [OK] Child succeeded
  141. [OK] Child succeeded
  142. [RUN] +++ Tests with uid != 0 +++
  143. [NOTE] Using global UIDs for tests
  144. [RUN] Non-root => no caps
  145. [OK] Capabilities after execve were correct
  146. [OK] Child succeeded
  147. [OK] Check cap_ambient manipulation rules
  148. [OK] PR_CAP_AMBIENT_RAISE failed on non-inheritable cap
  149. [OK] PR_CAP_AMBIENT_RAISE failed on non-permitted cap
  150. [OK] PR_CAP_AMBIENT_RAISE worked
  151. [OK] Basic manipulation appears to work
  152. [RUN] Non-root +i => i
  153. [OK] Capabilities after execve were correct
  154. [OK] Child succeeded
  155. [RUN] UID 1 +ia => eipa
  156. [OK] Capabilities after execve were correct
  157. [OK] Child succeeded
  158. [RUN] Non-root +ia, sgidnonroot => i
  159. [OK] Capabilities after execve were correct
  160. [OK] Child succeeded
  161. selftests: test_execve [PASS]
  162.  
  163. Running tests in cpu-hotplug
  164. ========================================
  165. pid 2611's current affinity mask: ff
  166. pid 2611's new affinity mask: 1
  167. CPU online/offline summary:
  168. Cpus in online state: 0-7
  169. Cpus in offline state: 0
  170. Limited scope test: one hotplug cpu
  171. (leaves cpu in the original state):
  172. online to offline to online: cpu 7
  173. [ 423.299933] CPU7: shutdown
  174. [ 423.302745] psci: CPU7 killed.
  175. [ 423.355103] Detected VIPT I-cache on CPU7
  176. [ 423.359273] CPU7: update cpu_capacity 1024
  177. [ 423.363415] CPU7: Booted secondary processor [410fd033]
  178. selftests: cpu-on-off-test.sh [PASS]
  179.  
  180. Running tests in efivarfs
  181. ========================================
  182. skip all tests: efivarfs is not mounted on /sys/firmware/efi/efivars
  183. selftests: efivarfs.sh [PASS]
  184.  
  185. Running tests in exec
  186. ========================================
  187. Check success of execveat(3, '../execveat', 0)... [OK]
  188. Check success of execveat(5, 'execveat', 0)... [OK]
  189. Check success of execveat(6, 'execveat', 0)... [OK]
  190. Check success of execveat(-100, '/usr/bin/kselftests/exec/execveat', 0)... [OK]
  191. Check success of execveat(99, '/usr/bin/kselftests/exec/execveat', 0)... [OK]
  192. Check success of execveat(8, '', 4096)... [OK]
  193. Check success of execveat(17, '', 4096)... [OK]
  194. Check success of execveat(9, '', 4096)... [OK]
  195. Check success of execveat(14, '', 4096)... [OK]
  196. Check success of execveat(14, '', 4096)... [OK]
  197. Check success of execveat(15, '', 4096)... [OK]
  198. Check failure of execveat(8, '', 0) with ENOENT... [OK]
  199. Check failure of execveat(8, '(null)', 4096) with EFAULT... [OK]
  200. Check success of execveat(5, 'execveat.symlink', 0)... [OK]
  201. Check success of execveat(6, 'execveat.symlink', 0)... [OK]
  202. Check success of execveat(-100, '/usr/bin/kselftests/...xec/execveat.symlink', 0)... [OK]
  203. Check success of execveat(10, '', 4096)... [OK]
  204. Check success of execveat(10, '', 4352)... [OK]
  205. Check failure of execveat(5, 'execveat.symlink', 256) with ELOOP... [OK]
  206. Check failure of execveat(6, 'execveat.symlink', 256) with ELOOP... [OK]
  207. Check failure of execveat(-100, '/usr/bin/kselftests/exec/execveat.symlink', 256) with ELOOP... [OK]
  208. Check success of execveat(3, '../script', 0)... [OK]
  209. Check success of execveat(5, 'script', 0)... [OK]
  210. Check success of execveat(6, 'script', 0)... [OK]
  211. Check success of execveat(-100, '/usr/bin/kselftests/exec/script', 0)... [OK]
  212. Check success of execveat(13, '', 4096)... [OK]
  213. Check success of execveat(13, '', 4352)... [OK]
  214. Check failure of execveat(18, '', 4096) with ENOENT... [OK]
  215. Check failure of execveat(7, 'script', 0) with ENOENT... [OK]
  216. Check success of execveat(16, '', 4096)... [OK]
  217. Check success of execveat(16, '', 4096)... [OK]
  218. Check success of execveat(4, '../script', 0)... [OK]
  219. Check success of execveat(4, 'script', 0)... [OK]
  220. Check success of execveat(4, '../script', 0)... [OK]
  221. Check failure of execveat(4, 'script', 0) with ENOENT... [OK]
  222. Check failure of execveat(5, 'execveat', 65535) with EINVAL... [OK]
  223. Check failure of execveat(5, 'no-such-file', 0) with ENOENT... [OK]
  224. Check failure of execveat(6, 'no-such-file', 0) with ENOENT... [OK]
  225. Check failure of execveat(-100, 'no-such-file', 0) with ENOENT... [OK]
  226. Check failure of execveat(5, '', 4096) with EACCES... [OK]
  227. Check failure of execveat(5, 'Makefile', 0) with EACCES... [OK]
  228. Check failure of execveat(11, '', 4096) with EACCES... [OK]
  229. Check failure of execveat(12, '', 4096) with EACCES... [OK]
  230. Check failure of execveat(99, '', 4096) with EBADF... [OK]
  231. Check failure of execveat(99, 'execveat', 0) with EBADF... [OK]
  232. Check failure of execveat(8, 'execveat', 0) with ENOTDIR... [OK]
  233. Invoke copy of 'execveat' via filename of length 4093:
  234. Check success of execveat(19, '', 4096)... [OK]
  235. Check success of execveat(5, 'xxxxxxxxxxxxxxxxxxxx...yyyyyyyyyyyyyyyyyyyy', 0)... [OK]
  236. Invoke copy of 'script' via filename of length 4093:
  237. Check success of execveat(20, '', 4096)... [OK]
  238. /bin/sh: /dev/fd/5/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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yyyyyyyyyyyyyyyyy', 0)... [OK]
  240. selftests: execveat [PASS]
  241.  
  242. Running tests in firmware
  243. ========================================
  244. modprobe: FATAL: Module test_firmware not found in directory /lib/modules/4.4.59-gaa29bf9
  245. selftests: fw_filesystem.sh [FAIL]
  246. modprobe: FATAL: Module test_firmware not found in directory /lib/modules/4.4.59-gaa29bf9
  247. selftests: fw_userhelper.sh [FAIL]
  248.  
  249. Running tests in ftrace
  250. ========================================
  251. === Ftrace unit tests ===
  252. [1] Basic trace file check [PASS]
  253. [2] Basic test for tracers [PASS]
  254. [3] Basic trace clock test [PASS]
  255. [4] Basic event tracing check [PASS]
  256. [5] event tracing - enable/disable with event level files [PASS]
  257. [6] event tracing - restricts events based on pid [FAIL]
  258. [7] event tracing - enable/disable with subsystem level files [PASS]
  259. [8] event tracing - enable/disable with top level files [PASS]
  260. [9] ftrace - function graph filters with stack tracer [UNSUPPORTED]
  261. [10] ftrace - function graph filters [PASS]
  262. [11] ftrace - function glob filters [FAIL]
  263. [12] ftrace - function profiler with function tracing [PASS]
  264. [13] Test creation and deletion of trace instances while setting an event [PASS]
  265. [14] Test creation and deletion of trace instances [PASS]
  266. [15] Kprobe dynamic event - adding and removing [UNSUPPORTED]
  267. [16] Kprobe dynamic event - busy event check [UNSUPPORTED]
  268. [17] Kprobe dynamic event with arguments [UNSUPPORTED]
  269. [18] Kprobes event arguments with types [UNSUPPORTED]
  270. [19] Kprobe dynamic event with function tracer [UNSUPPORTED]
  271. [20] Kretprobe dynamic event with arguments [UNSUPPORTED]
  272. [21] event trigger - test event enable/disable trigger [PASS]
  273. [22] event trigger - test trigger filter [PASS]
  274. [23] event trigger - test histogram modifiers [UNSUPPORTED]
  275. [24] event trigger - test histogram trigger [UNSUPPORTED]
  276. [25] event trigger - test multiple histogram triggers [UNSUPPORTED]
  277. [26] event trigger - test snapshot-trigger [PASS]
  278. [27] event trigger - test stacktrace-trigger [PASS]
  279. [28] event trigger - test traceon/off trigger [PASS]
  280.  
  281. # of passed: 16
  282. # of failed: 2
  283. # of unresolved: 0
  284. # of untested: 0
  285. # of unsupported: 10
  286. # of xfailed: 0
  287. # of undefined(test bug): 0
  288. selftests: ftracetest [FAIL]
  289.  
  290. Running tests in futex
  291. ========================================
  292.  
  293. futex_requeue_pi: Test requeue functionality
  294. Arguments: broadcast=0 locked=0 owner=0 timeout=0ns
  295. ERROR: Operation not permitted: pthread_create
  296. ERROR: Creating waiting thread failed
  297. Result: ERROR
  298. futex_requeue_pi: Test requeue functionality
  299. Arguments: broadcast=1 locked=0 owner=0 timeout=0ns
  300. ERROR: Operation not permitted: pthread_create
  301. ERROR: Creating waiting thread failed
  302. Result: ERROR
  303. futex_requeue_pi: Test requeue functionality
  304. Arguments: broadcast=1 locked=1 owner=0 timeout=0ns
  305. ERROR: Operation not permitted: pthread_create
  306. ERROR: Creating waiting thread failed
  307. Result: ERROR
  308. futex_requeue_pi: Test requeue functionality
  309. Arguments: broadcast=1 locked=0 owner=1 timeout=0ns
  310. ERROR: Operation not permitted: pthread_create
  311. ERROR: Creating third party blocker thread failed
  312. Result: ERROR
  313. futex_requeue_pi: Test requeue functionality
  314. Arguments: broadcast=0 locked=1 owner=0 timeout=0ns
  315. ERROR: Operation not permitted: pthread_create
  316. ERROR: Creating waiting thread failed
  317. Result: ERROR
  318. futex_requeue_pi: Test requeue functionality
  319. Arguments: broadcast=0 locked=0 owner=1 timeout=0ns
  320. ERROR: Operation not permitted: pthread_create
  321. ERROR: Creating third party blocker thread failed
  322. Result: ERROR
  323. futex_requeue_pi: Test requeue functionality
  324. Arguments: broadcast=1 locked=1 owner=0 timeout=5000ns
  325. ERROR: Operation not permitted: pthread_create
  326. ERROR: Creating waiting thread failed
  327. Result: ERROR
  328. futex_requeue_pi: Test requeue functionality
  329. Arguments: broadcast=0 locked=1 owner=0 timeout=5000ns
  330. ERROR: Operation not permitted: pthread_create
  331. ERROR: Creating waiting thread failed
  332. Result: ERROR
  333. futex_requeue_pi: Test requeue functionality
  334. Arguments: broadcast=1 locked=1 owner=0 timeout=500000ns
  335. ERROR: Operation not permitted: pthread_create
  336. ERROR: Creating waiting thread failed
  337. Result: ERROR
  338. futex_requeue_pi: Test requeue functionality
  339. Arguments: broadcast=0 locked=1 owner=0 timeout=500000ns
  340. ERROR: Operation not permitted: pthread_create
  341. ERROR: Creating waiting thread failed
  342. Result: ERROR
  343. futex_requeue_pi: Test requeue functionality
  344. Arguments: broadcast=1 locked=0 owner=0 timeout=5000ns
  345. ERROR: Operation not permitted: pthread_create
  346. ERROR: Creating waiting thread failed
  347. Result: ERROR
  348. futex_requeue_pi: Test requeue functionality
  349. Arguments: broadcast=0 locked=0 owner=0 timeout=5000ns
  350. ERROR: Operation not permitted: pthread_create
  351. ERROR: Creating waiting thread failed
  352. Result: ERROR
  353. futex_requeue_pi: Test requeue functionality
  354. Arguments: broadcast=1 locked=0 owner=0 timeout=500000ns
  355. ERROR: Operation not permitted: pthread_create
  356. ERROR: Creating waiting thread failed
  357. Result: ERROR
  358. futex_requeue_pi: Test requeue functionality
  359. Arguments: broadcast=0 locked=0 owner=0 timeout=500000ns
  360. ERROR: Operation not permitted: pthread_create
  361. ERROR: Creating waiting thread failed
  362. Result: ERROR
  363. futex_requeue_pi: Test requeue functionality
  364. Arguments: broadcast=1 locked=0 owner=1 timeout=5000ns
  365. ERROR: Operation not permitted: pthread_create
  366. ERROR: Creating third party blocker thread failed
  367. Result: ERROR
  368. futex_requeue_pi: Test requeue functionality
  369. Arguments: broadcast=0 locked=1 owner=0 timeout=5000ns
  370. ERROR: Operation not permitted: pthread_create
  371. ERROR: Creating waiting thread failed
  372. Result: ERROR
  373. futex_requeue_pi: Test requeue functionality
  374. Arguments: broadcast=1 locked=0 owner=1 timeout=500000ns
  375. ERROR: Operation not permitted: pthread_create
  376. ERROR: Creating third party blocker thread failed
  377. Result: ERROR
  378. futex_requeue_pi: Test requeue functionality
  379. Arguments: broadcast=0 locked=1 owner=0 timeout=500000ns
  380. ERROR: Operation not permitted: pthread_create
  381. ERROR: Creating waiting thread failed
  382. Result: ERROR
  383. futex_requeue_pi: Test requeue functionality
  384. Arguments: broadcast=1 locked=1 owner=0 timeout=2000000000ns
  385. ERROR: Operation not permitted: pthread_create
  386. ERROR: Creating waiting thread failed
  387. Result: ERROR
  388. futex_requeue_pi: Test requeue functionality
  389. Arguments: broadcast=0 locked=1 owner=0 timeout=2000000000ns
  390. ERROR: Operation not permitted: pthread_create
  391. ERROR: Creating waiting thread failed
  392. Result: ERROR
  393.  
  394. futex_requeue_pi_mismatched_ops: Detect mismatched requeue_pi operations
  395. Result: PASS
  396.  
  397. futex_requeue_pi_signal_restart: Test signal handling during requeue_pi
  398. Arguments: <none>
  399. ERROR: Operation not permitted: pthread_create
  400. ERROR: Unknown error -1: Creating waiting thread failedResult: ERROR
  401.  
  402. futex_wait_timeout: Block on a futex and wait for timeout
  403. Arguments: timeout=100000ns
  404. Result: PASS
  405.  
  406. futex_wait_wouldblock: Test the unexpected futex value in FUTEX_WAIT
  407. Result: PASS
  408.  
  409. futex_wait_uninitialized_heap: Test the uninitialized futex value in FUTEX_WAIT
  410. Result: PASS
  411. futex_wait_private_mapped_file: Test the futex value of private file mappings in FUTEX_WAIT
  412. Result: PASS
  413.  
  414. Running tests in gpio
  415. ========================================
  416. 1. Test dynamic allocation of gpio successful means insert gpiochip and
  417. manipulate gpio pin successful
  418. skip all tests: insmod gpio-mockup failed
  419. selftests: gpio-mockup.sh [FAIL]
  420.  
  421. Running tests in ipc
  422. ========================================
  423. Can't create queue: -38
  424. selftests: msgque_test [FAIL]
  425.  
  426. Running tests in kcmp
  427. ========================================
  428. pid1: 3767 pid2: 3768 FD: 2 FILES: 2 VM: 2 FS: 1 SIGHAND: 2 IO: 2 SYSVSEM: -1 INV: -1
  429. PASS: 0 returned as expected
  430. PASS: 0 returned as expected
  431. Pass: 2 Fail: 0 Xfail: 0 Xpass: 0, Xskip: 0
  432. selftests: kcmp_test [PASS]
  433.  
  434. Running tests in lib
  435. ========================================
  436. printf: [FAIL]
  437. selftests: printf.sh [FAIL]
  438. bitmap: [FAIL]
  439. selftests: bitmap.sh [FAIL]
  440.  
  441. Running tests in membarrier
  442. ========================================
  443. membarrier MEMBARRIER_CMD_QUERY syscall available.
  444. membarrier: MEMBARRIER_CMD_SHARED success.
  445. membarrier: tests done!
  446. selftests: membarrier_test [PASS]
  447.  
  448. Running tests in memfd
  449. ========================================
  450. memfd: CREATE
  451. memfd: BASIC
  452. memfd: SEAL-WRITE
  453. memfd: SEAL-SHRINK
  454. memfd: SEAL-GROW
  455. memfd: SEAL-RESIZE
  456. memfd: SHARE-DUP
  457. memfd: SHARE-MMAP
  458. memfd: SHARE-OPEN
  459. memfd: SHARE-FORK
  460. memfd: SHARE-DUP (shared file-table)
  461. memfd: SHARE-MMAP (shared file-table)
  462. memfd: SHARE-OPEN (shared file-table)
  463. memfd: SHARE-FORK (shared file-table)
  464. memfd: DONE
  465. selftests: memfd_test [PASS]
  466.  
  467. Running tests in memory-hotplug
  468. ========================================
  469. skip all tests: memory hotplug is not supported
  470.  
  471. Running tests in mount
  472. ========================================
  473.  
  474. Running tests in mqueue
  475. ========================================
  476.  
  477. Initial system state:
  478. Using queue path: /test1
  479. RLIMIT_MSGQUEUE(soft): 819200
  480. RLIMIT_MSGQUEUE(hard): 819200
  481. Maximum Message Size: 8192
  482. Maximum Queue Size: 10
  483. Default Message Size: 8192
  484. Default Queue Size: 10
  485.  
  486. Adjusted system state for testing:
  487. RLIMIT_MSGQUEUE(soft): 819200
  488. RLIMIT_MSGQUEUE(hard): 819200
  489. Maximum Message Size: 8192
  490. Maximum Queue Size: 10
  491. Default Message Size: 8192
  492. Default Queue Size: 10
  493.  
  494.  
  495. Test series 1, behavior when no attr struct passed to mq_open:
  496. Kernel supports setting defaults separately from maximums: PASS
  497. Given sane values, mq_open without an attr struct succeeds: PASS
  498. Kernel properly honors default setting knobs: PASS
  499. Kernel properly limits default values to lesser of default/max: PASS
  500. Kernel properly fails to create queue when defaults would
  501. exceed rlimit: PASS
  502.  
  503.  
  504. Test series 2, behavior when attr struct is passed to mq_open:
  505. Queue open in excess of rlimit max when euid = 0 failed: PASS
  506. Queue open with mq_maxmsg > limit when euid = 0 succeeded: PASS
  507. Queue open with mq_msgsize > limit when euid = 0 succeeded: PASS
  508. Queue open with total size > 2GB when euid = 0 failed: PASS
  509. Queue open in excess of rlimit max when euid = 99 failed: PASS
  510. Queue open with mq_maxmsg > limit when euid = 99 failed: PASS
  511. Queue open with mq_msgsize > limit when euid = 99 failed: PASS
  512. Queue open with total size > 2GB when euid = 99 failed: PASS
  513.  
  514. Initial system state:
  515. Using queue path: /mq_perf_tests
  516. RLIMIT_MSGQUEUE(soft): 819200
  517. RLIMIT_MSGQUEUE(hard): 819200
  518. Maximum Message Size: 8192
  519. Maximum Queue Size: 10
  520. Nice value: 0
  521.  
  522. Adjusted system state for testing:
  523. RLIMIT_MSGQUEUE(soft): (unlimited)
  524. RLIMIT_MSGQUEUE(hard): (unlimited)
  525. Maximum Message Size: 16777216
  526. Maximum Queue Size: 65530
  527. Nice value: -20
  528. Continuous mode: (disabled)
  529. CPUs to pin: 7
  530.  
  531. Queue /mq_perf_tests created:
  532. mq_flags: O_NONBLOCK
  533. mq_maxmsg: 65530
  534. mq_msgsize: 16
  535. mq_curmsgs: 0
  536.  
  537. Started mqueue performance test thread on CPU 7
  538. Max priorities: 32768
  539. Clock resolution: 1 nsec
  540.  
  541. Test #1: Time send/recv message, queue empty
  542. (10000000 iterations)
  543. Send msg: 88.141266737s total time
  544. 8814 nsec/msg
  545. Recv msg: 110.166409876s total time
  546. 11016 nsec/msg
  547.  
  548. Test #2a: Time send/recv message, queue full, constant prio
  549. :
  550. (100000 iterations)
  551. Filling queue...done. 0.350195939s
  552. Testing...done.
  553. Send msg: 0.881954431s total time
  554. 8819 nsec/msg
  555. Recv msg: 0.962902587s total time
  556. 9629 nsec/msg
  557. Draining queue...done. 0.390790209s
  558.  
  559. Test #2b: Time send/recv message, queue full, increasing prio
  560. :
  561. (100000 iterations)
  562. Filling queue...done. 0.411600469s
  563. Testing...done.
  564. Send msg: 0.913504991s total time
  565. 9135 nsec/msg
  566. Recv msg: 1.64105770s total time
  567. 10641 nsec/msg
  568. Draining queue...done. 0.413089220s
  569.  
  570. Test #2c: Time send/recv message, queue full, decreasing prio
  571. :
  572. (100000 iterations)
  573. Filling queue...done. 0.412941096s
  574. Testing...done.
  575. Send msg: 0.917865302s total time
  576. 9178 nsec/msg
  577. Recv msg: 1.38087925s total time
  578. 10380 nsec/msg
  579. Draining queue...done. 0.413311043s
  580.  
  581. Test #2d: Time send/recv message, queue full, random prio
  582. :
  583. (100000 iterations)
  584. Filling queue...done. 0.453097919s
  585. Testing...done.
  586. Send msg: 0.950948285s total time
  587. 9509 nsec/msg
  588. Recv msg: 1.61422533s total time
  589. 10614 nsec/msg
  590. Draining queue...done. 0.414656668s
  591.  
  592. Running tests in net
  593. ========================================
  594. --------------------
  595. running socket test
  596. --------------------
  597. [PASS]
  598. selftests: run_netsocktests [PASS]
  599. --------------------
  600. running psock_fanout test
  601. --------------------
  602. test: control single socket
  603. test: control multiple sockets
  604. test: datapath 0x0
  605. info: count=0,0, expect=0,0
  606. info: count=0,20, expect=15,5
  607. ERROR: incorrect queue lengths
  608. info: count=0,20, expect=20,5
  609. ERROR: incorrect queue lengths
  610. info: trying alternate ports (4)
  611. test: datapath 0x0
  612. info: count=0,0, expect=0,0
  613. info: count=5,15, expect=15,5
  614. info: count=5,20, expect=20,5
  615. test: datapath 0x1000
  616. info: count=0,0, expect=0,0
  617. info: count=5,15, expect=15,5
  618. info: count=15,20, expect=20,15
  619. test: datapath 0x1
  620. info: count=0,0, expect=0,0
  621. info: count=10,10, expect=10,10
  622. info: count=17,18, expect=18,17
  623. test: datapath 0x3
  624. info: count=0,0, expect=0,0
  625. info: count=15,5, expect=15,5
  626. info: count=20,15, expect=20,15
  627. test: datapath 0x6
  628. info: count=0,0, expect=0,0
  629. info: count=5,15, expect=15,5
  630. info: count=20,15, expect=15,20
  631. test: datapath 0x7
  632. bpf: Function not implemented
  633. bpf verifier:
  634.  
  635. [FAIL]
  636. --------------------
  637. running psock_tpacket test
  638. --------------------
  639. test: TPACKET_V1 with PACKET_RX_RING .................... 100 pkts (9600 bytes)
  640. test: TPACKET_V1 with PACKET_TX_RING .................... 100 pkts (9600 bytes)
  641. test: TPACKET_V2 with PACKET_RX_RING .................... 100 pkts (9600 bytes)
  642. test: TPACKET_V2 with PACKET_TX_RING .................... 100 pkts (9600 bytes)
  643. test: TPACKET_V3 with PACKET_RX_RING .................... 100 pkts (9600 bytes)
  644. OK. All tests passed
  645. [PASS]
  646. selftests: run_afpackettests [PASS]
  647. test_bpf: [FAIL]
  648. selftests: test_bpf.sh [FAIL]
  649.  
  650. Running tests in nsfs
  651. ========================================
  652. main:61:Unable to get an owning user namespace: Inappropriate ioctl for device
  653. selftests: owner [FAIL]
  654. main:61:Unable to get a parent pidns: Inappropriate ioctl for device
  655. selftests: pidns [FAIL]
  656.  
  657. Running tests in powerpc
  658. ========================================
  659. ./run_kselftest.sh: line 115: cd: powerpc: No such file or directory
  660.  
  661. Running tests in pstore
  662. ========================================
  663. === Pstore unit tests (pstore_tests) ===
  664. UUID=d7d83254-15c6-4cf4-8784-77543ab817b4
  665. Checking pstore backend is registered ... ok
  666. backend=ramoops
  667. cmdline=BOOT_IMAGE=/boot/Image console=tty0 console=ttyAMA3,115200n8 root=/dev/mmcblk0p9 rootwait rw efi=noruntime
  668. Checking pstore console is registered ... ok
  669. Checking /dev/pmsg0 exists ... ok
  670. Writing unique string to /dev/pmsg0 ... ./pstore_tests: line 22: echo: write error: Cannot allocate memory
  671. FAIL
  672. selftests: pstore_tests [FAIL]
  673. === Pstore unit tests (pstore_post_reboot_tests) ===
  674. UUID=cc543b52-1058-4cb0-b1c5-ae6c75e09883
  675. Checking pstore backend is registered ... ok
  676. backend=ramoops
  677. cmdline=BOOT_IMAGE=/boot/Image console=tty0 console=ttyAMA3,115200n8 root=/dev/mmcblk0p9 rootwait rw efi=noruntime
  678. pstore_crash_test has not been executed yet. we skip further tests.
  679. selftests: pstore_post_reboot_tests [PASS]
  680.  
  681. Running tests in ptrace
  682. ========================================
  683. PASS
  684. selftests: peeksiginfo [PASS]
  685.  
  686. Running tests in seccomp
  687. ========================================
  688. [==========] Running 52 tests from 1 test cases.
  689. [ RUN ] global.mode_strict_support
  690. [ OK ] global.mode_strict_support
  691. [ RUN ] global.mode_strict_cannot_call_prctl
  692. [ 746.115702] audit: type=1326 audit(1491917443.345:15): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=3918 comm="seccomp_bpf" exe="/usr/bin/kselftests/seccomp/seccomp_bpf" sig=9 arch=c00000b7 syscall=167 compat=0 ip=0x7f85ed01d4 code=0x0
  693. [ OK ] global.mode_strict_cannot_call_prctl
  694. [ RUN ] global.no_new_privs_support
  695. [ OK ] global.no_new_privs_support
  696. [ RUN ] global.mode_filter_support
  697. [ OK ] global.mode_filter_support
  698. [ RUN ] global.mode_filter_without_nnp
  699. [ OK ] global.mode_filter_without_nnp
  700. [ RUN ] global.filter_size_limits
  701. [ OK ] global.filter_size_limits
  702. [ RUN ] global.filter_chain_limits
  703. [ OK ] global.filter_chain_limits
  704. [ RUN ] global.mode_filter_cannot_move_to_strict
  705. [ OK ] global.mode_filter_cannot_move_to_strict
  706. [ RUN ] global.mode_filter_get_seccomp
  707. [ OK ] global.mode_filter_get_seccomp
  708. [ RUN ] global.ALLOW_all
  709. [ OK ] global.ALLOW_all
  710. [ RUN ] global.empty_prog
  711. [ OK ] global.empty_prog
  712. [ RUN ] global.unknown_ret_is_kill_inside
  713. [ 746.236089] audit: type=1326 audit(1491917443.465:16): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=3928 comm="seccomp_bpf" exe="/usr/bin/kselftests/seccomp/seccomp_bpf" sig=31 arch=c00000b7 syscall=172 compat=0 ip=0x7f85ed01d4 code=0x10000000
  714. [ OK ] global.unknown_ret_is_kill_inside
  715. [ RUN ] global.unknown_ret_is_kill_above_allow
  716. [ 746.272358] audit: type=1326 audit(1491917443.501:17): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=3929 comm="seccomp_bpf" exe="/usr/bin/kselftests/seccomp/seccomp_bpf" sig=31 arch=c00000b7 syscall=172 compat=0 ip=0x7f85ed01d4 code=0x10000000
  717. [ OK ] global.unknown_ret_is_kill_above_allow
  718. [ RUN ] global.KILL_all
  719. [ 746.305791] audit: type=1326 audit(1491917443.533:18): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=3930 comm="seccomp_bpf" exe="/usr/bin/kselftests/seccomp/seccomp_bpf" sig=31 arch=c00000b7 syscall=94 compat=0 ip=0x7f85ea8904 code=0x0
  720. [ OK ] global.KILL_all
  721. [ RUN ] global.KILL_one
  722. [ 746.337932] audit: type=1326 audit(1491917443.565:19): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=3931 comm="seccomp_bpf" exe="/usr/bin/kselftests/seccomp/seccomp_bpf" sig=31 arch=c00000b7 syscall=172 compat=0 ip=0x7f85ed01d4 code=0x0
  723. [ OK ] global.KILL_one
  724. [ RUN ] global.KILL_one_arg_one
  725. [ 746.368117] audit: type=1326 audit(1491917443.597:20): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=3932 comm="seccomp_bpf" exe="/usr/bin/kselftests/seccomp/seccomp_bpf" sig=31 arch=c00000b7 syscall=153 compat=0 ip=0x7f85ed01d4 code=0x0
  726. [ OK ] global.KILL_one_arg_one
  727. [ RUN ] global.KILL_one_arg_six
  728. [ 746.401497] audit: type=1326 audit(1491917443.629:21): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=3933 comm="seccomp_bpf" exe="/usr/bin/kselftests/seccomp/seccomp_bpf" sig=31 arch=c00000b7 syscall=222 compat=0 ip=0x7f85ed01d4 code=0x0
  729. [ OK ] global.KILL_one_arg_six
  730. [ RUN ] global.arg_out_of_range
  731. [ OK ] global.arg_out_of_range
  732. [ RUN ] global.ERRNO_valid
  733. [ OK ] global.ERRNO_valid
  734. [ RUN ] global.ERRNO_zero
  735. [ OK ] global.ERRNO_zero
  736. [ RUN ] global.ERRNO_capped
  737. [ OK ] global.ERRNO_capped
  738. [ RUN ] TRAP.dfl
  739. [ 746.461705] audit: type=1701 audit(1491917443.689:22): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=3938 comm="seccomp_bpf" exe="/usr/bin/kselftests/seccomp/seccomp_bpf" sig=31
  740. [ OK ] TRAP.dfl
  741. [ RUN ] TRAP.ign
  742. [ 746.490539] audit: type=1701 audit(1491917443.717:23): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=3940 comm="seccomp_bpf" exe="/usr/bin/kselftests/seccomp/seccomp_bpf" sig=31
  743. [ OK ] TRAP.ign
  744. [ RUN ] TRAP.handler
  745. [ OK ] TRAP.handler
  746. [ RUN ] precedence.allow_ok
  747. [ OK ] precedence.allow_ok
  748. [ RUN ] precedence.kill_is_highest
  749. [ OK ] precedence.kill_is_highest
  750. [ RUN ] precedence.kill_is_highest_in_any_order
  751. [ OK ] precedence.kill_is_highest_in_any_order
  752. [ RUN ] precedence.trap_is_second
  753. [ OK ] precedence.trap_is_second
  754. [ RUN ] precedence.trap_is_second_in_any_order
  755. [ OK ] precedence.trap_is_second_in_any_order
  756. [ RUN ] precedence.errno_is_third
  757. [ OK ] precedence.errno_is_third
  758. [ RUN ] precedence.errno_is_third_in_any_order
  759. [ OK ] precedence.errno_is_third_in_any_order
  760. [ RUN ] precedence.trace_is_fourth
  761. [ OK ] precedence.trace_is_fourth
  762. [ RUN ] precedence.trace_is_fourth_in_any_order
  763. [ OK ] precedence.trace_is_fourth_in_any_order
  764. [ RUN ] TRACE_poke.read_has_side_effects
  765. [ OK ] TRACE_poke.read_has_side_effects
  766. [ RUN ] TRACE_poke.getpid_runs_normally
  767. [ OK ] TRACE_poke.getpid_runs_normally
  768. [ RUN ] TRACE_syscall.syscall_allowed
  769. [ OK ] TRACE_syscall.syscall_allowed
  770. [ RUN ] TRACE_syscall.syscall_redirected
  771. [ OK ] TRACE_syscall.syscall_redirected
  772. [ RUN ] TRACE_syscall.syscall_dropped
  773. [ OK ] TRACE_syscall.syscall_dropped
  774. [ RUN ] TRACE_syscall.skip_after_RET_TRACE
  775. seccomp_bpf.c:1560:TRACE_syscall.skip_after_RET_TRACE:Expected -1 (18446744073709551615) == syscall(172) (3916)
  776. seccomp_bpf.c:1561:TRACE_syscall.skip_after_RET_TRACE:Expected 1 (1) == (*__errno_location ()) (22)
  777. [ FAIL ] TRACE_syscall.skip_after_RET_TRACE
  778. [ RUN ] TRACE_syscall.kill_after_RET_TRACE
  779. TRACE_syscall.kill_after_RET_TRACE: Test exited normally instead of by signal (code: 1)
  780. [ FAIL ] TRACE_syscall.kill_after_RET_TRACE
  781. [ RUN ] TRACE_syscall.skip_after_ptrace
  782. seccomp_bpf.c:1622:TRACE_syscall.skip_after_ptrace:Expected -1 (18446744073709551615) == syscall(172) (3916)
  783. seccomp_bpf.c:1623:TRACE_syscall.skip_after_ptrace:Expected 1 (1) == (*__errno_location ()) (22)
  784. [ FAIL ] TRACE_syscall.skip_after_ptrace
  785. [ RUN ] TRACE_syscall.kill_after_ptrace
  786. TRACE_syscall.kill_after_ptrace: Test exited normally instead of by signal (code: 1)
  787. [ FAIL ] TRACE_syscall.kill_after_ptrace
  788. [ RUN ] global.seccomp_syscall
  789. [ OK ] global.seccomp_syscall
  790. [ RUN ] global.seccomp_syscall_mode_lock
  791. [ OK ] global.seccomp_syscall_mode_lock
  792. [ RUN ] global.TSYNC_first
  793. [ OK ] global.TSYNC_first
  794. [ RUN ] TSYNC.siblings_fail_prctl
  795. [ OK ] TSYNC.siblings_fail_prctl
  796. [ RUN ] TSYNC.two_siblings_with_ancestor
  797. [ OK ] TSYNC.two_siblings_with_ancestor
  798. [ RUN ] TSYNC.two_sibling_want_nnp
  799. [ OK ] TSYNC.two_sibling_want_nnp
  800. [ RUN ] TSYNC.two_siblings_with_no_filter
  801. [ OK ] TSYNC.two_siblings_with_no_filter
  802. [ RUN ] TSYNC.two_siblings_with_one_divergence
  803. [ OK ] TSYNC.two_siblings_with_one_divergence
  804. [ RUN ] TSYNC.two_siblings_not_under_filter
  805. [ OK ] TSYNC.two_siblings_not_under_filter
  806. [ RUN ] global.syscall_restart
  807. [ OK ] global.syscall_restart
  808. [==========] 48 / 52 tests passed.
  809. [ FAILED ]
  810. selftests: seccomp_bpf [FAIL]
  811.  
  812. Running tests in sigaltstack
  813. ========================================
  814. [OK] Initial sigaltstack state was SS_DISABLE
  815. [NOTE] The running kernel doesn't support SS_AUTODISARM
  816. selftests: sas [PASS]
  817.  
  818. Running tests in size
  819. ========================================
  820. Testing system size.
  821. 1..1
  822. ok 1 get runtime memory use # size = 244680
  823. # System runtime memory report (units in Kilobytes):
  824. # Total: 1936944
  825. # Free: 1687100
  826. # Buffer: 5164
  827. # In use: 244680
  828. selftests: get_size [PASS]
  829.  
  830. Running tests in static_keys
  831. ========================================
  832. static_key: [FAIL]
  833. selftests: test_static_keys.sh [FAIL]
  834.  
  835. Running tests in sync
  836. ========================================
  837. [RUN] Testing sync framework
  838. [RUN] Executing test_alloc_timeline
  839. [ERROR] Failure allocating timeline
  840. [RUN] Executing test_alloc_fence
  841. [ERROR] Failure allocating timeline
  842. [RUN] Executing test_alloc_fence_negative
  843. [ERROR] Failure allocating timeline
  844. [RUN] Executing test_fence_one_timeline_wait
  845. [ERROR] Failure allocating timeline
  846. [RUN] Executing test_fence_one_timeline_merge
  847. [ERROR] Failure allocating fences
  848. [RUN] Executing test_fence_merge_same_fence
  849. [ERROR] Failure allocating timeline
  850. [RUN] Executing test_fence_multi_timeline_wait
  851. [ERROR] Failure merging fence from various timelines
  852. [RUN] Executing test_stress_two_threads_shared_timeline
  853. [ERROR] Failure allocating timeline
  854. [RUN] Executing test_consumer_stress_multi_producer_single_consumer
  855. [ERROR] Failure merging fences
  856. [ERROR] Failure creating fence
  857. [ERROR] Failure creating fence
  858. [ERROR] Failure creating fence
  859. [ERROR] Failure creating fence
  860. [ERROR] Failure creating fence
  861. [RUN] Executing test_merge_stress_random_merge
  862. [ERROR] Failure creating fence
  863. [FAIL] sync errors: 10
  864. selftests: sync_test [FAIL]
  865.  
  866. Running tests in sysctl
  867. ========================================
  868. == Testing sysctl behavior against /proc/sys/vm/swappiness ==
  869. Writing test file ... ok
  870. Checking sysctl is not set to test value ... ok
  871. Writing sysctl from shell ... ok
  872. Resetting sysctl to original value ... ok
  873. Writing entire sysctl in single write ... ok
  874. Writing middle of sysctl after synchronized seek ... [ 748.307630] dd wrote to swappiness when file position was not 0!
  875. [ 748.307630] This will not be supported in the future. To silence this
  876. [ 748.307630] warning, set kernel.sysctl_writes_strict = -1
  877. FAIL
  878. Writing beyond end of sysctl ... FAIL
  879. Writing sysctl with multiple long writes ... ok
  880. selftests: run_numerictests [FAIL]
  881. == Testing sysctl behavior against /proc/sys/kernel/domainname ==
  882. Writing test file ... ok
  883. Checking sysctl is not set to test value ... ok
  884. Writing sysctl from shell ... ok
  885. Resetting sysctl to original value ... ok
  886. Writing entire sysctl in single write ... ok
  887. Writing middle of sysctl after synchronized seek ... FAIL
  888. Writing beyond end of sysctl ... FAIL
  889. Writing sysctl with multiple long writes ... FAIL
  890. Writing entire sysctl in short writes ... FAIL
  891. Writing middle of sysctl after unsynchronized seek ... ok
  892. Checking sysctl maxlen is at least 65 ... ok
  893. Checking sysctl keeps original string on overflow append ... FAIL
  894. Checking sysctl stays NULL terminated on write ... ok
  895. Checking sysctl stays NULL terminated on overwrite ... ok
  896. selftests: run_stringtests [FAIL]
  897.  
  898. Running tests in timers
  899. ========================================
  900. Testing posix timers. False negative may happen on CPU execution
  901. based timers if other threads run on the CPU...
  902. Check itimer virtual... [OK]
  903. Check itimer prof... [OK]
  904. Check itimer real... [OK]
  905. Check timer_create() per thread... [OK]
  906. Check timer_create() per process... [OK]
  907. selftests: posix_timers [PASS]
  908. Nanosleep CLOCK_REALTIME [OK]
  909. Nanosleep CLOCK_MONOTONIC [OK]
  910. Nanosleep CLOCK_MONOTONIC_RAW [UNSUPPORTED]
  911. Nanosleep CLOCK_REALTIME_COARSE [UNSUPPORTED]
  912. Nanosleep CLOCK_MONOTONIC_COARSE [UNSUPPORTED]
  913. Nanosleep CLOCK_BOOTTIME [OK]
  914. Nanosleep CLOCK_REALTIME_ALARM [OK]
  915. Nanosleep CLOCK_BOOTTIME_ALARM [OK]
  916. Nanosleep CLOCK_TAI [OK]
  917. selftests: nanosleep [PASS]
  918. nsleep latency CLOCK_REALTIME [OK]
  919. nsleep latency CLOCK_MONOTONIC [OK]
  920. nsleep latency CLOCK_MONOTONIC_RAW [UNSUPPORTED]
  921. nsleep latency CLOCK_REALTIME_COARSE [UNSUPPORTED]
  922. nsleep latency CLOCK_MONOTONIC_COARSE [UNSUPPORTED]
  923. nsleep latency CLOCK_BOOTTIME [OK]
  924. nsleep latency CLOCK_REALTIME_ALARM [OK]
  925. nsleep latency CLOCK_BOOTTIME_ALARM [OK]
  926. nsleep latency CLOCK_TAI [OK]
  927. selftests: nsleep-lat [PASS]
  928. Setting timers for every 1 seconds
  929. CLOCK_REALTIME ABSTIME max latency: 1027500 ns : [OK]
  930. CLOCK_REALTIME RELTIME max latency: 1007499 ns : [OK]
  931. CLOCK_MONOTONIC ABSTIME max latency: 1918333 ns : [OK]
  932. CLOCK_MONOTONIC RELTIME max latency: 1740833 ns : [OK]
  933. CLOCK_BOOTTIME ABSTIME max latency: 968333 ns : [OK]
  934. CLOCK_BOOTTIME RELTIME max latency: 1070833 ns : [OK]
  935. CLOCK_REALTIME_ALARM ABSTIME max latency: 963333 ns : [OK]
  936. CLOCK_REALTIME_ALARM RELTIME max latency: 1007500 ns : [OK]
  937. CLOCK_BOOTTIME_ALARM ABSTIME max latency: 1052499 ns : [OK]
  938. CLOCK_BOOTTIME_ALARM RELTIME max latency: 1900833 ns : [OK]
  939. CLOCK_TAI ABSTIME max latency: 968333 ns : [OK]
  940. CLOCK_TAI RELTIME max latency: 1285833 ns : [OK]
  941. selftests: set-timer-lat [PASS]
  942. Mqueue latency : [OK]
  943. selftests: mqueue-lat [PASS]
  944. Consistent CLOCK_REALTIME [OK]
  945. Consistent CLOCK_MONOTONIC [OK]
  946. Consistent CLOCK_PROCESS_CPUTIME_ID [OK]
  947. Consistent CLOCK_THREAD_CPUTIME_ID [OK]
  948. Consistent CLOCK_MONOTONIC_RAW Tue Apr 11 13:35:05 2017
  949.  
  950. 1007:815747593
  951. 1007:815747593
  952. 1007:815747593
  953. 1007:815747593
  954. 1007:815747593
  955. 1007:815747593
  956. 1007:815747593
  957. 1007:815747593
  958. --------------------
  959. 1007:815765093
  960. 1007:815765092
  961. --------------------
  962. 1007:815765092
  963. 1007:815765925
  964. 1007:815765925
  965. 1007:815765925
  966. 1007:815765925
  967. 1007:815765925
  968. 1007:815765925
  969. 1007:815765925
  970. 1007:815765925
  971. 1007:815765925
  972. 1007:815765925
  973. 1007:815765925
  974. 1007:815766759
  975. 1007:815766759
  976. 1007:815766759
  977. 1007:815766759
  978. 1007:815766759
  979. 1007:815766759
  980. 1007:815766759
  981. 1007:815766759
  982. 1007:815766759
  983. 1007:815766759
  984. 1007:815766759
  985. 1007:815767592
  986. 1007:815767592
  987. 1007:815767592
  988. 1007:815767592
  989. 1007:815767592
  990. 1007:815767592
  991. 1007:815767592
  992. 1007:815767592
  993. 1007:815767592
  994. 1007:815767592
  995. 1007:815768425
  996. 1007:815768425
  997. 1007:815768425
  998. 1007:815768425
  999. 1007:815768425
  1000. 1007:815768425
  1001. 1007:815768425
  1002. 1007:815768425
  1003. 1007:815768425
  1004. 1007:815768425
  1005. 1007:815768425
  1006. 1007:815769259
  1007. 1007:815769259
  1008. 1007:815769259
  1009. 1007:815769259
  1010. 1007:815769259
  1011. 1007:815769259
  1012. 1007:815769259
  1013. 1007:815769259
  1014. 1007:815769259
  1015. 1007:815769259
  1016. Delta: 1 ns
  1017. Tue Apr 11 13:35:05 2017
  1018.  
  1019. [FAILED]
  1020. selftests: inconsistency-check [FAIL]
  1021. Estimating clock drift: 0.246(est) 0.0(act) [OK]
  1022. selftests: raw_skew [PASS]
  1023. Tue, 11 Apr 2017 13:37:05 +0000
  1024. Testing consistency with 8 threads for 30 seconds: [OK]
  1025. selftests: threadtest [PASS]
  1026.  
  1027. RTC Driver Test Example.
  1028.  
  1029. Counting 5 update (1/sec) interrupts from reading /dev/rtc0: 1 2 3 4 5
  1030. Again, from using select(2) on /dev/rtc: 1 2 3 4 5
  1031.  
  1032. Current RTC date/time is 1-1-1970, 00:19:38.
  1033. Alarm time now set to 00:19:43.
  1034. Waiting 5 seconds for alarm... okay. Alarm rang.
  1035.  
  1036. Periodic IRQ rate is 1Hz.
  1037. Counting 20 interrupts at:
  1038. 2Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15[ 1180.281271] net_ratelimit: 506 callbacks suppressed
  1039. [ 1180.286446] dm9601 1-1.1:1.0 eth0: kevent 4 may have been dropped
  1040. [ 1180.293280] dm9601 1-1.1:1.0 eth0: kevent 4 may have been dropped
  1041. [ 1180.300261] dm9601 1-1.1:1.0 eth0: kevent 4 may have been dropped
  1042. [ 1180.307255] dm9601 1-1.1:1.0 eth0: kevent 4 may have been dropped
  1043. [ 1180.314246] dm9601 1-1.1:1.0 eth0: kevent 4 may have been dropped
  1044. [ 1180.321253] dm9601 1-1.1:1.0 eth0: kevent 4 may have been dropped
  1045. [ 1180.328258] dm9601 1-1.1:1.0 eth0: kevent 4 may have been dropped
  1046. [ 1180.335225] dm9601 1-1.1:1.0 eth0: kevent 4 may have been dropped
  1047. [ 1180.342237] dm9601 1-1.1:1.0 eth0: kevent 4 may have been dropped
  1048. [ 1180.349248] dm9601 1-1.1:1.0 eth0: kevent 4 may have been dropped
  1049. [ 1180.371350] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1050. [ 1180.453329] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1051. [ 1180.500432] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1052. [ 1180.547432] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1053. [ 1180.595774] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1054. [ 1180.645631] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1055. [ 1180.693686] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1056. [ 1180.741631] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1057. 16[ 1180.789865] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1058. [ 1180.838771] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1059. [ 1180.887693] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1060. [ 1180.936702] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1061. [ 1181.008349] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1062. [ 1181.059309] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1063. [ 1181.106305] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1064. [ 1181.152371] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1065. [ 1181.200644] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1066. [ 1181.249639] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1067. 17[ 1181.297683] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1068. [ 1181.347023] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1069. [ 1181.416456] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1070. [ 1181.515460] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1071. [ 1181.566324] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1072. [ 1181.613463] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1073. [ 1181.660450] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1074. [ 1181.707703] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1075. [ 1181.757051] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1076. 18[ 1181.806847] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1077. [ 1181.877584] dm9601 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
  1078. 19 20
  1079. 4Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
  1080. 8Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
  1081. 16Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
  1082. 32Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
  1083. 64Hz: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
  1084.  
  1085. *** Test complete ***
  1086. selftests: rtctest [PASS]
  1087.  
  1088. Running tests in user
  1089. ========================================
  1090. user_copy: [FAIL]
  1091. selftests: test_user_copy.sh [FAIL]
  1092.  
  1093. Running tests in vm
  1094. ========================================
  1095. [ 1192.902316] run_vmtests (4169): drop_caches: 3
  1096. --------------------
  1097. running hugepage-mmap
  1098. --------------------
  1099. Returned address is 0x2000000000
  1100. First hex is 0
  1101. First hex is 3020100
  1102. [PASS]
  1103. cat: /proc/sys/kernel/shmmax: No such file or directory
  1104. cat: /proc/sys/kernel/shmall: No such file or directory
  1105. ./run_vmtests: line 65: /proc/sys/kernel/shmmax: No such file or directory
  1106. ./run_vmtests: line 66: /proc/sys/kernel/shmall: No such file or directory
  1107. --------------------
  1108. running hugepage-shm
  1109. --------------------
  1110. shmget: Function not implemented
  1111. [FAIL]
  1112. ./run_vmtests: line 77: /proc/sys/kernel/shmmax: No such file or directory
  1113. ./run_vmtests: line 78: /proc/sys/kernel/shmall: No such file or directory
  1114. --------------------
  1115. running map_hugetlb
  1116. --------------------
  1117. Returned address is 0x2000000000
  1118. First hex is 0
  1119. First hex is 3020100
  1120. [PASS]
  1121. NOTE: The above hugetlb tests provide minimal coverage. Use
  1122. https://github.com/libhugetlbfs/libhugetlbfs.git for
  1123. hugetlb regression testing.
  1124. --------------------
  1125. running userfaultfd
  1126. --------------------
  1127. nr_pages: 32768, nr_pages_per_cpu: 4096
  1128. userfaultfd syscall not available in this kernel
  1129. [FAIL]
  1130. -----------------------
  1131. running compaction_test
  1132. -----------------------
  1133. No of huge pages allocated = 473
  1134. [PASS]
  1135. --------------------
  1136. running on-fault-limit
  1137. --------------------
  1138. [PASS]
  1139. --------------------
  1140. running mlock2-tests
  1141. --------------------
  1142. [PASS]
  1143. selftests: run_vmtests [FAIL]
  1144.  
  1145. Running tests in x86
  1146. ========================================
  1147. ./run_kselftest.sh: line 184: cd: x86: No such file or directory
  1148.  
  1149. Running tests in zram
  1150. ========================================
  1151. zram.sh : No zram.ko module or /dev/zram0 device file not found
  1152. zram.sh : CONFIG_ZRAM is not set
  1153. selftests: zram.sh [FAIL]
  1154. root@hikey:/usr/bin/kselftests#
Add Comment
Please, Sign In to add comment