nareshkamboju

Hikey OE LKFT

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