Advertisement
nareshkamboju

kselftest output on hikey 4.9 kernel

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