nareshkamboju

Ksefltests output

Mar 20th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.58 KB | None | 0 0
  1. hikey:/home/linaro/kselftests# uname -a
  2. Linux hikey 4.9.12-gcb3d81d #1 SMP PREEMPT Fri Mar 17 14:44:10 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
  3.  
  4. hikey:/home/linaro/kselftests# ./run_kselftest.sh
  5.  
  6. Running tests in breakpoints
  7. ========================================
  8. ./run_kselftest.sh: line 6: cd: breakpoints: No such file or directory
  9.  
  10. Running tests in capabilities
  11. ========================================
  12. [RUN] +++ Tests with uid == 0 +++
  13. [NOTE] Using global UIDs for tests
  14. [RUN] Root => ep
  15. [OK] Capabilities after execve were correct
  16. [OK] Child succeeded
  17. [OK] Check cap_ambient manipulation rules
  18. [OK] PR_CAP_AMBIENT_RAISE failed on non-inheritable cap
  19. [OK] PR_CAP_AMBIENT_RAISE failed on non-permitted cap
  20. [OK] PR_CAP_AMBIENT_RAISE worked
  21. [OK] Basic manipulation appears to work
  22. [RUN] Root +i => eip
  23. [OK] Capabilities after execve were correct
  24. [OK] Child succeeded
  25. [RUN] UID 0 +ia => eipa
  26. [OK] Capabilities after execve were correct
  27. [OK] Child succeeded
  28. [RUN] Root +ia, suidroot => eipa
  29. [OK] Capabilities after execve were correct
  30. [OK] Child succeeded
  31. [RUN] Root +ia, suidnonroot => ip
  32. [FAIL] Wrong effective state (AT_SECURE is not set)
  33. [FAIL] Child failed
  34. [RUN] Root +ia, sgidroot => eipa
  35. [OK] Capabilities after execve were correct
  36. [OK] Child succeeded
  37. [RUN] Root, gid != 0, +ia, sgidroot => eip
  38. [FAIL] Wrong ambient state (AT_SECURE is not set)
  39. [FAIL] Child failed
  40. [RUN] Root +ia, sgidnonroot => eip
  41. [FAIL] Wrong ambient state (AT_SECURE is not set)
  42. [FAIL] Child failed
  43. [FAIL] Child failed
  44. [RUN] +++ Tests with uid != 0 +++
  45. [NOTE] Using global UIDs for tests
  46. [RUN] Non-root => no caps
  47. [OK] Capabilities after execve were correct
  48. [OK] Child succeeded
  49. [OK] Check cap_ambient manipulation rules
  50. [OK] PR_CAP_AMBIENT_RAISE failed on non-inheritable cap
  51. [OK] PR_CAP_AMBIENT_RAISE failed on non-permitted cap
  52. [OK] PR_CAP_AMBIENT_RAISE worked
  53. [OK] Basic manipulation appears to work
  54. [RUN] Non-root +i => i
  55. [OK] Capabilities after execve were correct
  56. [OK] Child succeeded
  57. [RUN] UID 1 +ia => eipa
  58. [OK] Capabilities after execve were correct
  59. [OK] Child succeeded
  60. [RUN] Non-root +ia, sgidnonroot => i
  61. [FAIL] Wrong effective state (AT_SECURE is not set)
  62. [FAIL] Child failed
  63. selftests: test_execve [FAIL]
  64.  
  65. Running tests in cpu-hotplug
  66. ========================================
  67. pid 2582's current affinity mask: ff
  68. pid 2582's new affinity mask: 1
  69. CPU online/offline summary:
  70. Cpus in online state: 0-7
  71. Cpus in offline state: 0
  72. Limited scope test: one hotplug cpu
  73. (leaves cpu in the original state):
  74. online to offline to online: cpu 7
  75. selftests: cpu-on-off-test.sh [PASS]
  76.  
  77. Running tests in efivarfs
  78. ========================================
  79. skip all tests: efivarfs is not mounted on /sys/firmware/efi/efivars
  80. selftests: efivarfs.sh [PASS]
  81.  
  82. Running tests in exec
  83. ========================================
  84. Check success of execveat(3, '../execveat', 0)... [OK]
  85. Check success of execveat(5, 'execveat', 0)... [OK]
  86. Check success of execveat(6, 'execveat', 0)... [OK]
  87. Check success of execveat(-100, '/home/linaro/kselftests/exec/execveat', 0)... [OK]
  88. Check success of execveat(99, '/home/linaro/kselftests/exec/execveat', 0)... [OK]
  89. Check success of execveat(8, '', 4096)... [OK]
  90. Check success of execveat(17, '', 4096)... [OK]
  91. Check success of execveat(9, '', 4096)... [OK]
  92. Check success of execveat(14, '', 4096)... [OK]
  93. Check success of execveat(14, '', 4096)... [OK]
  94. Check success of execveat(15, '', 4096)... [OK]
  95. Check failure of execveat(8, '', 0) with ENOENT... [OK]
  96. Check failure of execveat(8, '(null)', 4096) with EFAULT... [OK]
  97. Check success of execveat(5, 'execveat.symlink', 0)... [OK]
  98. Check success of execveat(6, 'execveat.symlink', 0)... [OK]
  99. Check success of execveat(-100, '/home/linaro/kselfte...xec/execveat.symlink', 0)... [OK]
  100. Check success of execveat(10, '', 4096)... [OK]
  101. Check success of execveat(10, '', 4352)... [OK]
  102. Check failure of execveat(5, 'execveat.symlink', 256) with ELOOP... [OK]
  103. Check failure of execveat(6, 'execveat.symlink', 256) with ELOOP... [OK]
  104. Check failure of execveat(-100, '/home/linaro/kselftests/exec/execveat.symlink', 256) with ELOOP... [OK]
  105. Check success of execveat(3, '../script', 0)... [OK]
  106. Check success of execveat(5, 'script', 0)... [OK]
  107. Check success of execveat(6, 'script', 0)... [OK]
  108. Check success of execveat(-100, '/home/linaro/kselftests/exec/script', 0)... [OK]
  109. Check success of execveat(13, '', 4096)... [OK]
  110. Check success of execveat(13, '', 4352)... [OK]
  111. Check failure of execveat(18, '', 4096) with ENOENT... [OK]
  112. Check failure of execveat(7, 'script', 0) with ENOENT... [OK]
  113. Check success of execveat(16, '', 4096)... [OK]
  114. Check success of execveat(16, '', 4096)... [OK]
  115. Check success of execveat(4, '../script', 0)... [OK]
  116. Check success of execveat(4, 'script', 0)... [OK]
  117. Check success of execveat(4, '../script', 0)... [OK]
  118. Check failure of execveat(4, 'script', 0) with ENOENT... [OK]
  119. Check failure of execveat(5, 'execveat', 65535) with EINVAL... [OK]
  120. Check failure of execveat(5, 'no-such-file', 0) with ENOENT... [OK]
  121. Check failure of execveat(6, 'no-such-file', 0) with ENOENT... [OK]
  122. Check failure of execveat(-100, 'no-such-file', 0) with ENOENT... [OK]
  123. Check failure of execveat(5, '', 4096) with EACCES... [OK]
  124. Check failure of execveat(5, 'Makefile', 0) with EACCES... [OK]
  125. Check failure of execveat(11, '', 4096) with EACCES... [OK]
  126. Check failure of execveat(12, '', 4096) with EACCES... [OK]
  127. Check failure of execveat(99, '', 4096) with EBADF... [OK]
  128. Check failure of execveat(99, 'execveat', 0) with EBADF... [OK]
  129. Check failure of execveat(8, 'execveat', 0) with ENOTDIR... [OK]
  130. Invoke copy of 'execveat' via filename of length 4093:
  131. Check success of execveat(19, '', 4096)... [OK]
  132. Check success of execveat(5, 'xxxxxxxxxxxxxxxxxxxx...yyyyyyyyyyyyyyyyyyyy', 0)... [OK]
  133. Invoke copy of 'script' via filename of length 4093:
  134. Check success of execveat(20, '', 4096)... [OK]
  135. /bin/sh: /dev/fd/5/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy: File name too long
  136. Check success of execveat(5, 'xxxxxxxxxxxxxxxxxxxx...yyyyyyyyyyyyyyyyyyyy', 0)... [OK]
  137. selftests: execveat [PASS]
  138.  
  139. Running tests in firmware
  140. ========================================
  141. ./fw_filesystem.sh: line 51: printf: write error: Invalid argument
  142. [ 388.462403] test_firmware: failed to async load firmware
  143. ./fw_filesystem.sh: line 56: printf: write error: No such device
  144. ./fw_filesystem.sh: line 62: echo: write error: Resource temporarily unavailable
  145. ./fw_filesystem.sh: timeout works
  146. ./fw_filesystem.sh: filesystem loading works
  147. ./fw_filesystem.sh: async filesystem loading works
  148. selftests: fw_filesystem.sh [PASS]
  149. ./fw_userhelper.sh: line 69: echo: write error: Resource temporarily unavailable
  150. selftests: fw_userhelper.sh [FAIL]
  151.  
  152. Running tests in ftrace
  153. ========================================
  154. === Ftrace unit tests ===
  155. [1] Basic trace file check [PASS]
  156. [2] Basic test for tracers [PASS]
  157. [3] Basic trace clock test [PASS]
  158. [4] Basic event tracing check [PASS]
  159. [5] event tracing - enable/disable with event level files [PASS]
  160. [6] event tracing - restricts events based on pid [PASS]
  161. [7] event tracing - enable/disable with subsystem level files [PASS]
  162. [8] event tracing - enable/disable with top level files [PASS]
  163. [9] ftrace - function graph filters with stack tracer [UNSUPPORTED]
  164. execute: /home/linaro/kselftests/ftrace/test.d/ftrace/fgraph-filter-stack.tc
  165. + . /home/linaro/kselftests/ftrace/test.d/ftrace/fgraph-filter-stack.tc
  166. ++ grep -q function_graph available_tracers
  167. ++ '[' '!' -f set_ftrace_filter ']'
  168. ++ disable_tracing
  169. ++ echo 0
  170. ++ clear_trace
  171. ++ echo
  172. ++ echo schedule
  173. ++ echo function_graph
  174. ++ '[' '!' -f stack_trace ']'
  175. ++ echo 'Stack tracer not configured'
  176. Stack tracer not configured
  177. ++ do_reset
  178. ++ reset_tracer
  179. ++ echo nop
  180. ++ '[' -e /proc/sys/kernel/stack_tracer_enabled ']'
  181. ++ enable_tracing
  182. ++ echo 1
  183. ++ clear_trace
  184. ++ echo
  185. ++ echo
  186. ++ exit_unsupported
  187. ++ kill -s 40 2662
  188. ++ exit 0
  189. [10] ftrace - function graph filters [PASS]
  190. [11] ftrace - function profiler with function tracing [PASS]
  191. [12] Test creation and deletion of trace instances while setting an event [PASS]
  192. [13] Test creation and deletion of trace instances [PASS]
  193. [14] Kprobe dynamic event - adding and removing [PASS]
  194. [15] Kprobe dynamic event - busy event check [PASS]
  195. [16] Kprobe dynamic event with arguments [PASS]
  196. [17] Kprobe dynamic event with function tracer [PASS]
  197. [18] Kretprobe dynamic event with arguments [PASS]
  198. [19] event trigger - test event enable/disable trigger [PASS]
  199. [20] event trigger - test trigger filter [PASS]
  200. [21] event trigger - test histogram modifiers [UNSUPPORTED]
  201. execute: /home/linaro/kselftests/ftrace/test.d/trigger/trigger-hist-mod.tc
  202. + . /home/linaro/kselftests/ftrace/test.d/trigger/trigger-hist-mod.tc
  203. ++ '[' '!' -f set_event -o '!' -d events/sched ']'
  204. ++ '[' '!' -f events/sched/sched_process_fork/trigger ']'
  205. ++ '[' '!' -f events/sched/sched_process_fork/hist ']'
  206. ++ echo 'hist trigger is not supported'
  207. hist trigger is not supported
  208. ++ exit_unsupported
  209. ++ kill -s 40 2662
  210. ++ exit 0
  211. [22] event trigger - test histogram trigger [UNSUPPORTED]
  212. execute: /home/linaro/kselftests/ftrace/test.d/trigger/trigger-hist.tc
  213. + . /home/linaro/kselftests/ftrace/test.d/trigger/trigger-hist.tc
  214. ++ '[' '!' -f set_event -o '!' -d events/sched ']'
  215. ++ '[' '!' -f events/sched/sched_process_fork/trigger ']'
  216. ++ '[' '!' -f events/sched/sched_process_fork/hist ']'
  217. ++ echo 'hist trigger is not supported'
  218. hist trigger is not supported
  219. ++ exit_unsupported
  220. ++ kill -s 40 2662
  221. ++ exit 0
  222. [23] event trigger - test multiple histogram triggers [UNSUPPORTED]
  223. execute: /home/linaro/kselftests/ftrace/test.d/trigger/trigger-multihist.tc
  224. + . /home/linaro/kselftests/ftrace/test.d/trigger/trigger-multihist.tc
  225. ++ '[' '!' -f set_event -o '!' -d events/sched ']'
  226. ++ '[' '!' -f events/sched/sched_process_fork/trigger ']'
  227. ++ '[' '!' -f events/sched/sched_process_fork/hist ']'
  228. ++ echo 'hist trigger is not supported'
  229. hist trigger is not supported
  230. ++ exit_unsupported
  231. ++ kill -s 40 2662
  232. ++ exit 0
  233. [24] event trigger - test snapshot-trigger [PASS]
  234. [25] event trigger - test stacktrace-trigger [PASS]
  235. [26] event trigger - test traceon/off trigger [PASS]
  236.  
  237. # of passed: 22
  238. # of failed: 0
  239. # of unresolved: 0
  240. # of untested: 0
  241. # of unsupported: 4
  242. # of xfailed: 0
  243. # of undefined(test bug): 0
  244. selftests: ftracetest [FAIL]
  245.  
  246. Running tests in futex
  247. ========================================
  248. ./run.sh: line 26: tput: command not found
  249.  
  250. futex_requeue_pi: Test requeue functionality
  251. Arguments: broadcast=0 locked=0 owner=0 timeout=0ns
  252. Result: PASS
  253. futex_requeue_pi: Test requeue functionality
  254. Arguments: broadcast=1 locked=0 owner=0 timeout=0ns
  255. Result: PASS
  256. futex_requeue_pi: Test requeue functionality
  257. Arguments: broadcast=1 locked=1 owner=0 timeout=0ns
  258. Result: PASS
  259. futex_requeue_pi: Test requeue functionality
  260. Arguments: broadcast=1 locked=0 owner=1 timeout=0ns
  261. Result: PASS
  262. futex_requeue_pi: Test requeue functionality
  263. Arguments: broadcast=0 locked=1 owner=0 timeout=0ns
  264. Result: PASS
  265. futex_requeue_pi: Test requeue functionality
  266. Arguments: broadcast=0 locked=0 owner=1 timeout=0ns
  267. Result: PASS
  268. futex_requeue_pi: Test requeue functionality
  269. Arguments: broadcast=1 locked=1 owner=0 timeout=5000ns
  270. Result: PASS
  271. futex_requeue_pi: Test requeue functionality
  272. Arguments: broadcast=0 locked=1 owner=0 timeout=5000ns
  273. Result: PASS
  274. futex_requeue_pi: Test requeue functionality
  275. Arguments: broadcast=1 locked=1 owner=0 timeout=500000ns
  276. Result: PASS
  277. futex_requeue_pi: Test requeue functionality
  278. Arguments: broadcast=0 locked=1 owner=0 timeout=500000ns
  279. Result: PASS
  280. futex_requeue_pi: Test requeue functionality
  281. Arguments: broadcast=1 locked=0 owner=0 timeout=5000ns
  282. Result: PASS
  283. futex_requeue_pi: Test requeue functionality
  284. Arguments: broadcast=0 locked=0 owner=0 timeout=5000ns
  285. Result: PASS
  286. futex_requeue_pi: Test requeue functionality
  287. Arguments: broadcast=1 locked=0 owner=0 timeout=500000ns
  288. Result: PASS
  289. futex_requeue_pi: Test requeue functionality
  290. Arguments: broadcast=0 locked=0 owner=0 timeout=500000ns
  291. Result: PASS
  292. futex_requeue_pi: Test requeue functionality
  293. Arguments: broadcast=1 locked=0 owner=1 timeout=5000ns
  294. Result: PASS
  295. futex_requeue_pi: Test requeue functionality
  296. Arguments: broadcast=0 locked=1 owner=0 timeout=5000ns
  297. Result: PASS
  298. futex_requeue_pi: Test requeue functionality
  299. Arguments: broadcast=1 locked=0 owner=1 timeout=500000ns
  300. Result: PASS
  301. futex_requeue_pi: Test requeue functionality
  302. Arguments: broadcast=0 locked=1 owner=0 timeout=500000ns
  303. Result: PASS
  304. futex_requeue_pi: Test requeue functionality
  305. Arguments: broadcast=1 locked=1 owner=0 timeout=2000000000ns
  306. Result: PASS
  307. futex_requeue_pi: Test requeue functionality
  308. Arguments: broadcast=0 locked=1 owner=0 timeout=2000000000ns
  309. Result: PASS
  310.  
  311. futex_requeue_pi_mismatched_ops: Detect mismatched requeue_pi operations
  312. Result: PASS
  313.  
  314. futex_requeue_pi_signal_restart: Test signal handling during requeue_pi
  315. Arguments: <none>
  316. Result: PASS
  317.  
  318. futex_wait_timeout: Block on a futex and wait for timeout
  319. Arguments: timeout=100000ns
  320. Result: PASS
  321.  
  322. futex_wait_wouldblock: Test the unexpected futex value in FUTEX_WAIT
  323. Result: PASS
  324.  
  325. futex_wait_uninitialized_heap: Test the uninitialized futex value in FUTEX_WAIT
  326. Result: PASS
  327. futex_wait_private_mapped_file: Test the futex value of private file mappings in FUTEX_WAIT
  328. Result: PASS
  329.  
  330. Running tests in ipc
  331. ========================================
  332. selftests: msgque_test [PASS]
  333.  
  334. Running tests in kcmp
  335. ========================================
  336. pid1: 3709 pid2: 3710 FD: 1 FILES: 1 VM: 2 FS: 1 SIGHAND: 2 IO: 0 SYSVSEM: 0 INV: -1
  337. PASS: 0 returned as expected
  338. PASS: 0 returned as expected
  339. Pass: 2 Fail: 0 Xfail: 0 Xpass: 0, Xskip: 0
  340. selftests: kcmp_test [PASS]
  341.  
  342. Running tests in lib
  343. ========================================
  344. printf: ok
  345. selftests: printf.sh [PASS]
  346. bitmap: ok
  347. selftests: bitmap.sh [PASS]
  348.  
  349. Running tests in membarrier
  350. ========================================
  351. membarrier MEMBARRIER_CMD_QUERY syscall available.
  352. membarrier: MEMBARRIER_CMD_SHARED success.
  353. membarrier: tests done!
  354. selftests: membarrier_test [PASS]
  355.  
  356. Running tests in memfd
  357. ========================================
  358. memfd: CREATE
  359. memfd: BASIC
  360. memfd: SEAL-WRITE
  361. memfd: SEAL-SHRINK
  362. memfd: SEAL-GROW
  363. memfd: SEAL-RESIZE
  364. memfd: SHARE-DUP
  365. memfd: SHARE-MMAP
  366. memfd: SHARE-OPEN
  367. memfd: SHARE-FORK
  368. memfd: SHARE-DUP (shared file-table)
  369. memfd: SHARE-MMAP (shared file-table)
  370. memfd: SHARE-OPEN (shared file-table)
  371. memfd: SHARE-FORK (shared file-table)
  372. memfd: DONE
  373. selftests: memfd_test [PASS]
  374.  
  375. Running tests in memory-hotplug
  376. ========================================
  377. skip all tests: memory hotplug is not supported
  378.  
  379. Running tests in mount
  380. ========================================
  381.  
  382. Running tests in mqueue
  383. ========================================
  384.  
  385. Initial system state:
  386. Using queue path: /test1
  387. RLIMIT_MSGQUEUE(soft): 819200
  388. RLIMIT_MSGQUEUE(hard): 819200
  389. Maximum Message Size: 8192
  390. Maximum Queue Size: 10
  391. Default Message Size: 8192
  392. Default Queue Size: 10
  393.  
  394. Adjusted system state for testing:
  395. RLIMIT_MSGQUEUE(soft): 819200
  396. RLIMIT_MSGQUEUE(hard): 819200
  397. Maximum Message Size: 8192
  398. Maximum Queue Size: 10
  399. Default Message Size: 8192
  400. Default Queue Size: 10
  401.  
  402.  
  403. Test series 1, behavior when no attr struct passed to mq_open:
  404. Kernel supports setting defaults separately from maximums: PASS
  405. Given sane values, mq_open without an attr struct succeeds: PASS
  406. Kernel properly honors default setting knobs: PASS
  407. Kernel properly limits default values to lesser of default/max: PASS
  408. Kernel properly fails to create queue when defaults would
  409. exceed rlimit: PASS
  410.  
  411.  
  412. Test series 2, behavior when attr struct is passed to mq_open:
  413. Queue open in excess of rlimit max when euid = 0 failed: PASS
  414. Queue open with mq_maxmsg > limit when euid = 0 succeeded: PASS
  415. Queue open with mq_msgsize > limit when euid = 0 succeeded: PASS
  416. Queue open with total size > 2GB when euid = 0 failed: PASS
  417. Queue open in excess of rlimit max when euid = 99 failed: PASS
  418. Queue open with mq_maxmsg > limit when euid = 99 failed: PASS
  419. Queue open with mq_msgsize > limit when euid = 99 failed: PASS
  420. Queue open with total size > 2GB when euid = 99 failed: PASS
  421.  
  422. Initial system state:
  423. Using queue path: /mq_perf_tests
  424. RLIMIT_MSGQUEUE(soft): 819200
  425. RLIMIT_MSGQUEUE(hard): 819200
  426. Maximum Message Size: 8192
  427. Maximum Queue Size: 10
  428. Nice value: 0
  429.  
  430. Adjusted system state for testing:
  431. RLIMIT_MSGQUEUE(soft): (unlimited)
  432. RLIMIT_MSGQUEUE(hard): (unlimited)
  433. Maximum Message Size: 16777216
  434. Maximum Queue Size: 65530
  435. Nice value: -20
  436. Continuous mode: (disabled)
  437. CPUs to pin: 7
  438.  
  439. Queue /mq_perf_tests created:
  440. mq_flags: O_NONBLOCK
  441. mq_maxmsg: 65530
  442. mq_msgsize: 16
  443. mq_curmsgs: 0
  444.  
  445. Started mqueue performance test thread on CPU 7
  446. Max priorities: 32768
  447. Clock resolution: 1 nsec
  448.  
  449. Test #1: Time send/recv message, queue empty
  450. (10000000 iterations)
  451. Send msg: 88.96422404s total time
  452. 8809 nsec/msg
  453. Recv msg: 101.149654827s total time
  454. 10114 nsec/msg
  455.  
  456. Test #2a: Time send/recv message, queue full, constant prio
  457. :
  458. (100000 iterations)
  459. Filling queue...done. 0.324937605s
  460. Testing...done.
  461. Send msg: 0.872638145s total time
  462. 8726 nsec/msg
  463. Recv msg: 0.855333460s total time
  464. 8553 nsec/msg
  465. Draining queue...done. 0.307772449s
  466.  
  467. Test #2b: Time send/recv message, queue full, increasing prio
  468. :
  469. (100000 iterations)
  470. Filling queue...done. 0.395709845s
  471. Testing...done.
  472. Send msg: 0.921170547s total time
  473. 9211 nsec/msg
  474. Recv msg: 0.985070329s total time
  475. 9850 nsec/msg
  476. Draining queue...done. 0.346293751s
  477.  
  478. Test #2c: Time send/recv message, queue full, decreasing prio
  479. :
  480. (100000 iterations)
  481. Filling queue...done. 0.396882970s
  482. Testing...done.
  483. Send msg: 0.924612749s total time
  484. 9246 nsec/msg
  485. Recv msg: 0.953707482s total time
  486. 9537 nsec/msg
  487. Draining queue...done. 0.349015052s
  488.  
  489. Test #2d: Time send/recv message, queue full, random prio
  490. :
  491. (100000 iterations)
  492. Filling queue...done. 0.424798543s
  493. Testing...done.
  494. Send msg: 0.946503963s total time
  495. 9465 nsec/msg
  496. Recv msg: 0.961346957s total time
  497. 9613 nsec/msg
  498. Draining queue...done. 0.344094115s
  499.  
  500. Running tests in net
  501. ========================================
  502. --------------------
  503. running socket test
  504. --------------------
  505. [PASS]
  506. selftests: run_netsocktests [PASS]
  507. --------------------
  508. running psock_fanout test
  509. --------------------
  510. test: control single socket
  511. test: control multiple sockets
  512. test: datapath 0x0
  513. info: count=0,0, expect=0,0
  514. info: count=15,5, expect=15,5
  515. info: count=20,5, expect=20,5
  516. test: datapath 0x1000
  517. info: count=0,0, expect=0,0
  518. info: count=15,5, expect=15,5
  519. info: count=20,15, expect=20,15
  520. test: datapath 0x1
  521. info: count=0,0, expect=0,0
  522. info: count=10,10, expect=10,10
  523. info: count=17,18, expect=18,17
  524. test: datapath 0x3
  525. info: count=0,0, expect=0,0
  526. info: count=15,5, expect=15,5
  527. info: count=20,15, expect=20,15
  528. test: datapath 0x6
  529. info: count=0,0, expect=0,0
  530. info: count=5,15, expect=15,5
  531. info: count=20,15, expect=15,20
  532. test: datapath 0x7
  533. info: count=0,0, expect=0,0
  534. info: count=5,15, expect=15,5
  535. info: count=20,15, expect=15,20
  536. test: datapath 0x2
  537. info: count=0,0, expect=0,0
  538. info: count=20,0, expect=20,0
  539. info: count=20,0, expect=20,0
  540. test: datapath 0x2
  541. info: count=0,0, expect=0,0
  542. info: count=0,20, expect=0,20
  543. info: count=0,20, expect=0,20
  544. OK. All tests passed
  545. [PASS]
  546. --------------------
  547. running psock_tpacket test
  548. --------------------
  549. test: TPACKET_V1 with PACKET_RX_RING .................... 100 pkts (9600 bytes)
  550. test: TPACKET_V1 with PACKET_TX_RING .................... 100 pkts (9600 bytes)
  551. test: TPACKET_V2 with PACKET_RX_RING .................... 100 pkts (9600 bytes)
  552. test: TPACKET_V2 with PACKET_TX_RING .................... 100 pkts (9600 bytes)
  553. test: TPACKET_V3 with PACKET_RX_RING .................... 100 pkts (9600 bytes)
  554. OK. All tests passed
  555. [PASS]
  556. selftests: run_afpackettests [PASS]
  557. test_bpf: ok
  558. selftests: test_bpf.sh [PASS]
  559.  
  560. Running tests in powerpc
  561. ========================================
  562. ./run_kselftest.sh: line 95: cd: powerpc: No such file or directory
  563.  
  564. Running tests in pstore
  565. ========================================
  566. === Pstore unit tests (pstore_tests) ===
  567. UUID=2e6531f7-3dd3-42f8-9e65-00cad51e3857
  568. Checking pstore backend is registered ... ok
  569. backend=ramoops
  570. cmdline=BOOT_IMAGE=/boot/Image console=tty0 console=ttyAMA3,115200n8 root=/dev/mmcblk0p9 rootwait ro quiet efi=noruntime
  571. Checking pstore console is registered ... ok
  572. Checking /dev/pmsg0 exists ... FAIL
  573. Writing unique string to /dev/pmsg0 ... FAIL
  574. selftests: pstore_tests [FAIL]
  575. === Pstore unit tests (pstore_post_reboot_tests) ===
  576. UUID=cf2d1be3-809f-4fe7-a45d-7a19e6109782
  577. Checking pstore backend is registered ... ok
  578. backend=ramoops
  579. cmdline=BOOT_IMAGE=/boot/Image console=tty0 console=ttyAMA3,115200n8 root=/dev/mmcblk0p9 rootwait ro quiet efi=noruntime
  580. pstore_crash_test has not been executed yet. we skip further tests.
  581. selftests: pstore_post_reboot_tests [PASS]
  582.  
  583. Running tests in ptrace
  584. ========================================
  585. PASS
  586. selftests: peeksiginfo [PASS]
  587.  
  588. Running tests in seccomp
  589. ========================================
  590. [==========] Running 52 tests from 1 test cases.
  591. [ RUN ] global.mode_strict_support
  592. [ OK ] global.mode_strict_support
  593. [ RUN ] global.mode_strict_cannot_call_prctl
  594. [ OK ] global.mode_strict_cannot_call_prctl
  595. [ RUN ] global.no_new_privs_support
  596. [ OK ] global.no_new_privs_support
  597. [ RUN ] global.mode_filter_support
  598. [ OK ] global.mode_filter_support
  599. [ RUN ] global.mode_filter_without_nnp
  600. [ OK ] global.mode_filter_without_nnp
  601. [ RUN ] global.filter_size_limits
  602. [ OK ] global.filter_size_limits
  603. [ RUN ] global.filter_chain_limits
  604. [ OK ] global.filter_chain_limits
  605. [ RUN ] global.mode_filter_cannot_move_to_strict
  606. [ OK ] global.mode_filter_cannot_move_to_strict
  607. [ RUN ] global.mode_filter_get_seccomp
  608. [ OK ] global.mode_filter_get_seccomp
  609. [ RUN ] global.ALLOW_all
  610. [ OK ] global.ALLOW_all
  611. [ RUN ] global.empty_prog
  612. [ OK ] global.empty_prog
  613. [ RUN ] global.unknown_ret_is_kill_inside
  614. [ OK ] global.unknown_ret_is_kill_inside
  615. [ RUN ] global.unknown_ret_is_kill_above_allow
  616. [ OK ] global.unknown_ret_is_kill_above_allow
  617. [ RUN ] global.KILL_all
  618. [ OK ] global.KILL_all
  619. [ RUN ] global.KILL_one
  620. [ OK ] global.KILL_one
  621. [ RUN ] global.KILL_one_arg_one
  622. [ OK ] global.KILL_one_arg_one
  623. [ RUN ] global.KILL_one_arg_six
  624. [ OK ] global.KILL_one_arg_six
  625. [ RUN ] global.arg_out_of_range
  626. [ OK ] global.arg_out_of_range
  627. [ RUN ] global.ERRNO_valid
  628. [ OK ] global.ERRNO_valid
  629. [ RUN ] global.ERRNO_zero
  630. [ OK ] global.ERRNO_zero
  631. [ RUN ] global.ERRNO_capped
  632. [ OK ] global.ERRNO_capped
  633. [ RUN ] TRAP.dfl
  634. [ OK ] TRAP.dfl
  635. [ RUN ] TRAP.ign
  636. [ OK ] TRAP.ign
  637. [ RUN ] TRAP.handler
  638. [ OK ] TRAP.handler
  639. [ RUN ] precedence.allow_ok
  640. [ OK ] precedence.allow_ok
  641. [ RUN ] precedence.kill_is_highest
  642. [ OK ] precedence.kill_is_highest
  643. [ RUN ] precedence.kill_is_highest_in_any_order
  644. [ OK ] precedence.kill_is_highest_in_any_order
  645. [ RUN ] precedence.trap_is_second
  646. [ OK ] precedence.trap_is_second
  647. [ RUN ] precedence.trap_is_second_in_any_order
  648. [ OK ] precedence.trap_is_second_in_any_order
  649. [ RUN ] precedence.errno_is_third
  650. [ OK ] precedence.errno_is_third
  651. [ RUN ] precedence.errno_is_third_in_any_order
  652. [ OK ] precedence.errno_is_third_in_any_order
  653. [ RUN ] precedence.trace_is_fourth
  654. [ OK ] precedence.trace_is_fourth
  655. [ RUN ] precedence.trace_is_fourth_in_any_order
  656. [ OK ] precedence.trace_is_fourth_in_any_order
  657. [ RUN ] TRACE_poke.read_has_side_effects
  658. [ OK ] TRACE_poke.read_has_side_effects
  659. [ RUN ] TRACE_poke.getpid_runs_normally
  660. [ OK ] TRACE_poke.getpid_runs_normally
  661. [ RUN ] TRACE_syscall.syscall_allowed
  662. [ OK ] TRACE_syscall.syscall_allowed
  663. [ RUN ] TRACE_syscall.syscall_redirected
  664. [ OK ] TRACE_syscall.syscall_redirected
  665. [ RUN ] TRACE_syscall.syscall_dropped
  666. [ OK ] TRACE_syscall.syscall_dropped
  667. [ RUN ] TRACE_syscall.skip_after_RET_TRACE
  668. [ OK ] TRACE_syscall.skip_after_RET_TRACE
  669. [ RUN ] TRACE_syscall.kill_after_RET_TRACE
  670. [ OK ] TRACE_syscall.kill_after_RET_TRACE
  671. [ RUN ] TRACE_syscall.skip_after_ptrace
  672. [ OK ] TRACE_syscall.skip_after_ptrace
  673. [ RUN ] TRACE_syscall.kill_after_ptrace
  674. [ OK ] TRACE_syscall.kill_after_ptrace
  675. [ RUN ] global.seccomp_syscall
  676. [ OK ] global.seccomp_syscall
  677. [ RUN ] global.seccomp_syscall_mode_lock
  678. [ OK ] global.seccomp_syscall_mode_lock
  679. [ RUN ] global.TSYNC_first
  680. [ OK ] global.TSYNC_first
  681. [ RUN ] TSYNC.siblings_fail_prctl
  682. [ OK ] TSYNC.siblings_fail_prctl
  683. [ RUN ] TSYNC.two_siblings_with_ancestor
  684. [ OK ] TSYNC.two_siblings_with_ancestor
  685. [ RUN ] TSYNC.two_sibling_want_nnp
  686. [ OK ] TSYNC.two_sibling_want_nnp
  687. [ RUN ] TSYNC.two_siblings_with_no_filter
  688. [ OK ] TSYNC.two_siblings_with_no_filter
  689. [ RUN ] TSYNC.two_siblings_with_one_divergence
  690. [ OK ] TSYNC.two_siblings_with_one_divergence
  691. [ RUN ] TSYNC.two_siblings_not_under_filter
  692. [ OK ] TSYNC.two_siblings_not_under_filter
  693. [ RUN ] global.syscall_restart
  694. [ OK ] global.syscall_restart
  695. [==========] 52 / 52 tests passed.
  696. [ PASSED ]
  697. selftests: seccomp_bpf [PASS]
  698.  
  699. Running tests in sigaltstack
  700. ========================================
  701. ./run_kselftest.sh: line 115: cd: sigaltstack: No such file or directory
  702.  
  703. Running tests in size
  704. ========================================
  705. Testing system size.
  706. 1..1
  707. ok 1 get runtime memory use # size = 249316
  708. # System runtime memory report (units in Kilobytes):
  709. # Total: 2002648
  710. # Free: 1748940
  711. # Buffer: 4392
  712. # In use: 249316
  713. selftests: get_size [PASS]
  714.  
  715. Running tests in static_keys
  716. ========================================
  717. static_key: ok
  718. selftests: test_static_keys.sh [PASS]
  719.  
  720. Running tests in sysctl
  721. ========================================
  722. == Testing sysctl behavior against /proc/sys/vm/swappiness ==
  723. Writing test file ... ok
  724. Checking sysctl is not set to test value ... ok
  725. Writing sysctl from shell ... ok
  726. Resetting sysctl to original value ... ok
  727. Writing entire sysctl in single write ... ok
  728. Writing middle of sysctl after synchronized seek ... ok
  729. Writing beyond end of sysctl ... ok
  730. Writing sysctl with multiple long writes ... ok
  731. selftests: run_numerictests [PASS]
  732. == Testing sysctl behavior against /proc/sys/kernel/domainname ==
  733. Writing test file ... ok
  734. Checking sysctl is not set to test value ... ok
  735. Writing sysctl from shell ... ok
  736. Resetting sysctl to original value ... ok
  737. Writing entire sysctl in single write ... ok
  738. Writing middle of sysctl after synchronized seek ... ok
  739. Writing beyond end of sysctl ... ok
  740. Writing sysctl with multiple long writes ... ok
  741. Writing entire sysctl in short writes ... ok
  742. Writing middle of sysctl after unsynchronized seek ... ok
  743. Checking sysctl maxlen is at least 65 ... ok
  744. Checking sysctl keeps original string on overflow append ... ok
  745. Checking sysctl stays NULL terminated on write ... ok
  746. Checking sysctl stays NULL terminated on overwrite ... ok
  747. selftests: run_stringtests [PASS]
  748.  
  749. Running tests in timers
  750. ========================================
  751. Testing posix timers. False negative may happen on CPU execution
  752. based timers if other threads run on the CPU...
  753. Check itimer virtual... [OK]
  754. Check itimer prof... [OK]
  755. Check itimer real... [OK]
  756. Check timer_create() per thread... [OK]
  757. Check timer_create() per process... [OK]
  758. selftests: posix_timers [PASS]
  759. Nanosleep CLOCK_REALTIME [OK]
  760. Nanosleep CLOCK_MONOTONIC [OK]
  761. Nanosleep CLOCK_MONOTONIC_RAW [UNSUPPORTED]
  762. Nanosleep CLOCK_REALTIME_COARSE [UNSUPPORTED]
  763. Nanosleep CLOCK_MONOTONIC_COARSE [UNSUPPORTED]
  764. Nanosleep CLOCK_BOOTTIME [OK]
  765. Nanosleep CLOCK_REALTIME_ALARM [OK]
  766. Nanosleep CLOCK_BOOTTIME_ALARM [OK]
  767. Nanosleep CLOCK_TAI [OK]
  768. selftests: nanosleep [PASS]
  769. nsleep latency CLOCK_REALTIME [OK]
  770. nsleep latency CLOCK_MONOTONIC [OK]
  771. nsleep latency CLOCK_MONOTONIC_RAW [UNSUPPORTED]
  772. nsleep latency CLOCK_REALTIME_COARSE [UNSUPPORTED]
  773. nsleep latency CLOCK_MONOTONIC_COARSE [UNSUPPORTED]
  774. nsleep latency CLOCK_BOOTTIME [OK]
  775. nsleep latency CLOCK_REALTIME_ALARM [OK]
  776. nsleep latency CLOCK_BOOTTIME_ALARM [OK]
  777. nsleep latency CLOCK_TAI [OK]
  778. selftests: nsleep-lat [PASS]
  779. Setting timers for every 1 seconds
  780. CLOCK_REALTIME ABSTIME max latency: 545833 ns : [OK]
  781. CLOCK_REALTIME RELTIME max latency: 620000 ns : [OK]
  782. CLOCK_MONOTONIC ABSTIME max latency: 421666 ns : [OK]
  783. CLOCK_MONOTONIC RELTIME max latency: 566666 ns : [OK]
  784. CLOCK_BOOTTIME ABSTIME max latency: 588333 ns : [OK]
  785. CLOCK_BOOTTIME RELTIME max latency: 583333 ns : [OK]
  786. CLOCK_REALTIME_ALARM ABSTIME max latency: 419999 ns : [OK]
  787. CLOCK_REALTIME_ALARM RELTIME max latency: 550834 ns : [OK]
  788. CLOCK_BOOTTIME_ALARM ABSTIME max latency: 395000 ns : [OK]
  789. CLOCK_BOOTTIME_ALARM RELTIME max latency: 1080833 ns : [OK]
  790. CLOCK_TAI ABSTIME max latency: 522499 ns : [OK]
  791. CLOCK_TAI RELTIME max latency: 501667 ns : [OK]
  792. selftests: set-timer-lat [PASS]
  793. Mqueue latency : [OK]
  794. selftests: mqueue-lat [PASS]
  795. Consistent CLOCK_REALTIME [OK]
  796. Consistent CLOCK_MONOTONIC [OK]
  797. Consistent CLOCK_PROCESS_CPUTIME_ID [OK]
  798. Consistent CLOCK_THREAD_CPUTIME_ID [OK]
  799. Consistent CLOCK_MONOTONIC_RAW Fri Mar 17 08:30:09 2017
  800.  
  801. 964:3754421
  802. 964:3754421
  803. 964:3754421
  804. 964:3754421
  805. 964:3754421
  806. 964:3754421
  807. 964:3754421
  808. 964:3754421
  809. 964:3754421
  810. 964:3755254
  811. 964:3755254
  812. 964:3755254
  813. 964:3755254
  814. 964:3755254
  815. 964:3755254
  816. 964:3755254
  817. 964:3755254
  818. 964:3755254
  819. 964:3755254
  820. 964:3756088
  821. 964:3756088
  822. 964:3756088
  823. 964:3756088
  824. 964:3756088
  825. 964:3756088
  826. 964:3756088
  827. 964:3756088
  828. 964:3756088
  829. 964:3756088
  830. 964:3756088
  831. 964:3756921
  832. 964:3756921
  833. 964:3756921
  834. 964:3756921
  835. 964:3756921
  836. 964:3756921
  837. 964:3756921
  838. 964:3756921
  839. 964:3756921
  840. 964:3756921
  841. 964:3757754
  842. 964:3757754
  843. 964:3757754
  844. 964:3757754
  845. 964:3757754
  846. 964:3757754
  847. 964:3757754
  848. 964:3757754
  849. 964:3757754
  850. 964:3757754
  851. 964:3757754
  852. 964:3758588
  853. 964:3758588
  854. 964:3758588
  855. 964:3758588
  856. 964:3758588
  857. 964:3758588
  858. 964:3758588
  859. 964:3758588
  860. 964:3758588
  861. 964:3758588
  862. --------------------
  863. 964:3781921
  864. 964:3781920
  865. --------------------
  866. 964:3781920
  867. Delta: 1 ns
  868. Fri Mar 17 08:30:09 2017
  869.  
  870. [FAILED]
  871. selftests: inconsistency-check [FAIL]
  872. Estimating clock drift: 0.246(est) 0.0(act) [OK]
  873. selftests: raw_skew [PASS]
  874. Fri, 17 Mar 2017 08:32:10 +0000
  875. Testing consistency with 8 threads for 30 seconds: [OK]
  876. selftests: threadtest [PASS]
  877.  
  878. Running tests in user
  879. ========================================
  880. user_copy: ok
  881. selftests: test_user_copy.sh [PASS]
  882.  
  883. Running tests in vm
  884. ========================================
  885. --------------------
  886. running hugepage-mmap
  887. --------------------
  888. Returned address is 0x2000000000
  889. First hex is 0
  890. First hex is 3020100
  891. [PASS]
  892. --------------------
  893. running hugepage-shm
  894. --------------------
  895. shmid: 0x0
  896. shmaddr: 0x2000000000
  897. Starting the writes:
  898. ................................................................................................................................................................................................................................................................
  899. Starting the Check...Done.
  900. [PASS]
  901. --------------------
  902. running map_hugetlb
  903. --------------------
  904. Returned address is 0x2000000000
  905. First hex is 0
  906. First hex is 3020100
  907. [PASS]
  908. NOTE: The above hugetlb tests provide minimal coverage. Use
  909. https://github.com/libhugetlbfs/libhugetlbfs.git for
  910. hugetlb regression testing.
  911. --------------------
  912. running userfaultfd
  913. --------------------
  914. nr_pages: 32768, nr_pages_per_cpu: 4096
  915. bounces: 31, mode: rnd racing ver poll, userfaults: 189 265 336 250 237 170 119 120
  916. bounces: 30, mode: racing ver poll, userfaults: 146 167 176 115 212 281 90 135
  917. bounces: 29, mode: rnd ver poll, userfaults: 959 877 1049 992 810 1001 998 488
  918. bounces: 28, mode: ver poll, userfaults: 403 421 459 419 443 500 410 364
  919. bounces: 27, mode: rnd racing poll, userfaults: 171 101 161 247 192 235 245 178
  920. bounces: 26, mode: racing poll, userfaults: 222 177 163 155 109 102 70 47
  921. bounces: 25, mode: rnd poll, userfaults: 771 896 885 813 697 799 808 673
  922. bounces: 24, mode: poll, userfaults: 329 269 254 444 183 206 252 297
  923. bounces: 23, mode: rnd racing ver, userfaults: 373 329 285 111 193 152 113 137
  924. bounces: 22, mode: racing ver, userfaults: 135 107 151 65 137 75 87 23
  925. bounces: 21, mode: rnd ver, userfaults: 927 809 1030 864 731 733 586 492
  926. bounces: 20, mode: ver, userfaults: 274 400 161 210 158 81 90 68
  927. bounces: 19, mode: rnd racing, userfaults: 312 322 327 177 166 213 126 136
  928. bounces: 18, mode: racing, userfaults: 166 84 189 166 120 104 95 109
  929. bounces: 17, mode: rnd, userfaults: 936 863 940 929 863 612 1022 685
  930. bounces: 16, mode:, userfaults: 367 445 405 373 404 354 262 336
  931. bounces: 15, mode: rnd racing ver poll, userfaults: 420 376 351 406 301 316 204 310
  932. bounces: 14, mode: racing ver poll, userfaults: 169 143 169 97 98 73 91 89
  933. bounces: 13, mode: rnd ver poll, userfaults: 601 775 824 725 626 750 732 562
  934. bounces: 12, mode: ver poll, userfaults: 508 575 439 431 551 467 523 369
  935. bounces: 11, mode: rnd racing poll, userfaults: 213 167 110 223 163 139 148 81
  936. bounces: 10, mode: racing poll, userfaults: 119 114 116 83 57 64 83 81
  937. bounces: 9, mode: rnd poll, userfaults: 850 1007 821 987 713 1073 942 589
  938. bounces: 8, mode: poll, userfaults: 652 793 779 619 556 665 649 620
  939. bounces: 7, mode: rnd racing ver, userfaults: 289 251 164 165 183 124 112 128
  940. bounces: 6, mode: racing ver, userfaults: 122 141 146 189 145 155 78 111
  941. bounces: 5, mode: rnd ver, userfaults: 1002 1021 861 926 786 874 737 881
  942. bounces: 4, mode: ver, userfaults: 332 336 318 272 376 255 324 274
  943. bounces: 3, mode: rnd racing, userfaults: 443 334 263 225 187 166 104 96
  944. bounces: 2, mode: racing, userfaults: 85 82 71 50 51 54 54 28
  945. bounces: 1, mode: rnd, userfaults: 981 838 745 922 779 845 569 671
  946. bounces: 0, mode:, userfaults: 796 737 701 731 678 674 721 650
  947. [PASS]
  948. -----------------------
  949. running compaction_test
  950. -----------------------
  951. No of huge pages allocated = 498
  952. [PASS]
  953. --------------------
  954. running on-fault-limit
  955. --------------------
  956. ./run_vmtests: line 125: sudo: command not found
  957. [FAIL]
  958. --------------------
  959. running mlock2-tests
  960. --------------------
  961. [PASS]
  962. selftests: run_vmtests [FAIL]
  963.  
  964. Running tests in x86
  965. ========================================
  966. ./run_kselftest.sh: line 157: cd: x86: No such file or directory
  967.  
  968. Running tests in zram
  969. ========================================
  970. --------------------
  971. running zram tests
  972. --------------------
  973. create '1' zram device(s)
  974. zram load module successful
  975. set max_comp_streams to zram device(s)
  976. FAIL can't set max_streams '2', get
  977. /sys/block/zram0/max_comp_streams = '8' (1/1)
  978. zram max streams: OK
  979. test that we can set compression algorithm
  980. supported algs: [lzo] deflate
  981. /sys/block/zram0/comp_algorithm = 'lzo' (1/1)
  982. zram set compression algorithm: OK
  983. set disk size to zram device(s)
  984. /sys/block/zram0/disksize = '2097152' (1/1)
  985. zram set disksizes: OK
  986. set memory limit to zram device(s)
  987. /sys/block/zram0/mem_limit = '2M' (1/1)
  988. zram set memory limit: OK
  989. make ext4 filesystem on /dev/zram0
  990. zram mkfs.ext4: OK
  991. mount /dev/zram0
  992. zram mount of zram device(s): OK
  993. fill zram0...
  994. zram0 can be filled with '1932' KB
  995. zram used 4M, zram disk sizes 2097152M
  996. ./zram01.sh: line 79: bc: command not found
  997. zram compression ratio: :1: OK
  998. zram cleanup
  999. zram rmmod zram
  1000. zram01 : [PASS]
  1001.  
  1002. create '1' zram device(s)
  1003. zram load module successful
  1004. set max_comp_streams to zram device(s)
  1005. FAIL can't set max_streams '2', get
  1006. /sys/block/zram0/max_comp_streams = '8' (1/1)
  1007. zram max streams: OK
  1008. set disk size to zram device(s)
  1009. /sys/block/zram0/disksize = '1048576' (1/1)
  1010. zram set disksizes: OK
  1011. set memory limit to zram device(s)
  1012. /sys/block/zram0/mem_limit = '1M' (1/1)
  1013. zram set memory limit: OK
  1014. make swap with zram device(s)
  1015. done with /dev/zram0
  1016. zram making zram mkswap and swapon: OK
  1017. zram swapoff: OK
  1018. zram cleanup
  1019. zram rmmod zram
  1020. zram02 : [PASS]
  1021. selftests: zram.sh [PASS]
  1022. hikey:/home/linaro/kselftests# uname -a
  1023. Linux hikey 4.9.12-gcb3d81d #1 SMP PREEMPT Fri Mar 17 14:44:10 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
Add Comment
Please, Sign In to add comment