Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hikey:/home/linaro/kselftests# uname -a
- Linux hikey 4.9.12-gcb3d81d #1 SMP PREEMPT Fri Mar 17 14:44:10 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
- hikey:/home/linaro/kselftests# ./run_kselftest.sh
- Running tests in breakpoints
- ========================================
- ./run_kselftest.sh: line 6: cd: breakpoints: No such file or directory
- Running tests in capabilities
- ========================================
- [RUN] +++ Tests with uid == 0 +++
- [NOTE] Using global UIDs for tests
- [RUN] Root => ep
- [OK] Capabilities after execve were correct
- [OK] Child succeeded
- [OK] Check cap_ambient manipulation rules
- [OK] PR_CAP_AMBIENT_RAISE failed on non-inheritable cap
- [OK] PR_CAP_AMBIENT_RAISE failed on non-permitted cap
- [OK] PR_CAP_AMBIENT_RAISE worked
- [OK] Basic manipulation appears to work
- [RUN] Root +i => eip
- [OK] Capabilities after execve were correct
- [OK] Child succeeded
- [RUN] UID 0 +ia => eipa
- [OK] Capabilities after execve were correct
- [OK] Child succeeded
- [RUN] Root +ia, suidroot => eipa
- [OK] Capabilities after execve were correct
- [OK] Child succeeded
- [RUN] Root +ia, suidnonroot => ip
- [FAIL] Wrong effective state (AT_SECURE is not set)
- [FAIL] Child failed
- [RUN] Root +ia, sgidroot => eipa
- [OK] Capabilities after execve were correct
- [OK] Child succeeded
- [RUN] Root, gid != 0, +ia, sgidroot => eip
- [FAIL] Wrong ambient state (AT_SECURE is not set)
- [FAIL] Child failed
- [RUN] Root +ia, sgidnonroot => eip
- [FAIL] Wrong ambient state (AT_SECURE is not set)
- [FAIL] Child failed
- [FAIL] Child failed
- [RUN] +++ Tests with uid != 0 +++
- [NOTE] Using global UIDs for tests
- [RUN] Non-root => no caps
- [OK] Capabilities after execve were correct
- [OK] Child succeeded
- [OK] Check cap_ambient manipulation rules
- [OK] PR_CAP_AMBIENT_RAISE failed on non-inheritable cap
- [OK] PR_CAP_AMBIENT_RAISE failed on non-permitted cap
- [OK] PR_CAP_AMBIENT_RAISE worked
- [OK] Basic manipulation appears to work
- [RUN] Non-root +i => i
- [OK] Capabilities after execve were correct
- [OK] Child succeeded
- [RUN] UID 1 +ia => eipa
- [OK] Capabilities after execve were correct
- [OK] Child succeeded
- [RUN] Non-root +ia, sgidnonroot => i
- [FAIL] Wrong effective state (AT_SECURE is not set)
- [FAIL] Child failed
- selftests: test_execve [FAIL]
- Running tests in cpu-hotplug
- ========================================
- pid 2582's current affinity mask: ff
- pid 2582's new affinity mask: 1
- CPU online/offline summary:
- Cpus in online state: 0-7
- Cpus in offline state: 0
- Limited scope test: one hotplug cpu
- (leaves cpu in the original state):
- online to offline to online: cpu 7
- selftests: cpu-on-off-test.sh [PASS]
- Running tests in efivarfs
- ========================================
- skip all tests: efivarfs is not mounted on /sys/firmware/efi/efivars
- selftests: efivarfs.sh [PASS]
- Running tests in exec
- ========================================
- Check success of execveat(3, '../execveat', 0)... [OK]
- Check success of execveat(5, 'execveat', 0)... [OK]
- Check success of execveat(6, 'execveat', 0)... [OK]
- Check success of execveat(-100, '/home/linaro/kselftests/exec/execveat', 0)... [OK]
- Check success of execveat(99, '/home/linaro/kselftests/exec/execveat', 0)... [OK]
- Check success of execveat(8, '', 4096)... [OK]
- Check success of execveat(17, '', 4096)... [OK]
- Check success of execveat(9, '', 4096)... [OK]
- Check success of execveat(14, '', 4096)... [OK]
- Check success of execveat(14, '', 4096)... [OK]
- Check success of execveat(15, '', 4096)... [OK]
- Check failure of execveat(8, '', 0) with ENOENT... [OK]
- Check failure of execveat(8, '(null)', 4096) with EFAULT... [OK]
- Check success of execveat(5, 'execveat.symlink', 0)... [OK]
- Check success of execveat(6, 'execveat.symlink', 0)... [OK]
- Check success of execveat(-100, '/home/linaro/kselfte...xec/execveat.symlink', 0)... [OK]
- Check success of execveat(10, '', 4096)... [OK]
- Check success of execveat(10, '', 4352)... [OK]
- Check failure of execveat(5, 'execveat.symlink', 256) with ELOOP... [OK]
- Check failure of execveat(6, 'execveat.symlink', 256) with ELOOP... [OK]
- Check failure of execveat(-100, '/home/linaro/kselftests/exec/execveat.symlink', 256) with ELOOP... [OK]
- Check success of execveat(3, '../script', 0)... [OK]
- Check success of execveat(5, 'script', 0)... [OK]
- Check success of execveat(6, 'script', 0)... [OK]
- Check success of execveat(-100, '/home/linaro/kselftests/exec/script', 0)... [OK]
- Check success of execveat(13, '', 4096)... [OK]
- Check success of execveat(13, '', 4352)... [OK]
- Check failure of execveat(18, '', 4096) with ENOENT... [OK]
- Check failure of execveat(7, 'script', 0) with ENOENT... [OK]
- Check success of execveat(16, '', 4096)... [OK]
- Check success of execveat(16, '', 4096)... [OK]
- Check success of execveat(4, '../script', 0)... [OK]
- Check success of execveat(4, 'script', 0)... [OK]
- Check success of execveat(4, '../script', 0)... [OK]
- Check failure of execveat(4, 'script', 0) with ENOENT... [OK]
- Check failure of execveat(5, 'execveat', 65535) with EINVAL... [OK]
- Check failure of execveat(5, 'no-such-file', 0) with ENOENT... [OK]
- Check failure of execveat(6, 'no-such-file', 0) with ENOENT... [OK]
- Check failure of execveat(-100, 'no-such-file', 0) with ENOENT... [OK]
- Check failure of execveat(5, '', 4096) with EACCES... [OK]
- Check failure of execveat(5, 'Makefile', 0) with EACCES... [OK]
- Check failure of execveat(11, '', 4096) with EACCES... [OK]
- Check failure of execveat(12, '', 4096) with EACCES... [OK]
- Check failure of execveat(99, '', 4096) with EBADF... [OK]
- Check failure of execveat(99, 'execveat', 0) with EBADF... [OK]
- Check failure of execveat(8, 'execveat', 0) with ENOTDIR... [OK]
- Invoke copy of 'execveat' via filename of length 4093:
- Check success of execveat(19, '', 4096)... [OK]
- Check success of execveat(5, 'xxxxxxxxxxxxxxxxxxxx...yyyyyyyyyyyyyyyyyyyy', 0)... [OK]
- Invoke copy of 'script' via filename of length 4093:
- Check success of execveat(20, '', 4096)... [OK]
- /bin/sh: /dev/fd/5/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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selftests: execveat [PASS]
- Running tests in firmware
- ========================================
- ./fw_filesystem.sh: line 51: printf: write error: Invalid argument
- [ 388.462403] test_firmware: failed to async load firmware
- ./fw_filesystem.sh: line 56: printf: write error: No such device
- ./fw_filesystem.sh: line 62: echo: write error: Resource temporarily unavailable
- ./fw_filesystem.sh: timeout works
- ./fw_filesystem.sh: filesystem loading works
- ./fw_filesystem.sh: async filesystem loading works
- selftests: fw_filesystem.sh [PASS]
- ./fw_userhelper.sh: line 69: echo: write error: Resource temporarily unavailable
- selftests: fw_userhelper.sh [FAIL]
- Running tests in ftrace
- ========================================
- === Ftrace unit tests ===
- [1] Basic trace file check [PASS]
- [2] Basic test for tracers [PASS]
- [3] Basic trace clock test [PASS]
- [4] Basic event tracing check [PASS]
- [5] event tracing - enable/disable with event level files [PASS]
- [6] event tracing - restricts events based on pid [PASS]
- [7] event tracing - enable/disable with subsystem level files [PASS]
- [8] event tracing - enable/disable with top level files [PASS]
- [9] ftrace - function graph filters with stack tracer [UNSUPPORTED]
- execute: /home/linaro/kselftests/ftrace/test.d/ftrace/fgraph-filter-stack.tc
- + . /home/linaro/kselftests/ftrace/test.d/ftrace/fgraph-filter-stack.tc
- ++ grep -q function_graph available_tracers
- ++ '[' '!' -f set_ftrace_filter ']'
- ++ disable_tracing
- ++ echo 0
- ++ clear_trace
- ++ echo
- ++ echo schedule
- ++ echo function_graph
- ++ '[' '!' -f stack_trace ']'
- ++ echo 'Stack tracer not configured'
- Stack tracer not configured
- ++ do_reset
- ++ reset_tracer
- ++ echo nop
- ++ '[' -e /proc/sys/kernel/stack_tracer_enabled ']'
- ++ enable_tracing
- ++ echo 1
- ++ clear_trace
- ++ echo
- ++ echo
- ++ exit_unsupported
- ++ kill -s 40 2662
- ++ exit 0
- [10] ftrace - function graph filters [PASS]
- [11] ftrace - function profiler with function tracing [PASS]
- [12] Test creation and deletion of trace instances while setting an event [PASS]
- [13] Test creation and deletion of trace instances [PASS]
- [14] Kprobe dynamic event - adding and removing [PASS]
- [15] Kprobe dynamic event - busy event check [PASS]
- [16] Kprobe dynamic event with arguments [PASS]
- [17] Kprobe dynamic event with function tracer [PASS]
- [18] Kretprobe dynamic event with arguments [PASS]
- [19] event trigger - test event enable/disable trigger [PASS]
- [20] event trigger - test trigger filter [PASS]
- [21] event trigger - test histogram modifiers [UNSUPPORTED]
- execute: /home/linaro/kselftests/ftrace/test.d/trigger/trigger-hist-mod.tc
- + . /home/linaro/kselftests/ftrace/test.d/trigger/trigger-hist-mod.tc
- ++ '[' '!' -f set_event -o '!' -d events/sched ']'
- ++ '[' '!' -f events/sched/sched_process_fork/trigger ']'
- ++ '[' '!' -f events/sched/sched_process_fork/hist ']'
- ++ echo 'hist trigger is not supported'
- hist trigger is not supported
- ++ exit_unsupported
- ++ kill -s 40 2662
- ++ exit 0
- [22] event trigger - test histogram trigger [UNSUPPORTED]
- execute: /home/linaro/kselftests/ftrace/test.d/trigger/trigger-hist.tc
- + . /home/linaro/kselftests/ftrace/test.d/trigger/trigger-hist.tc
- ++ '[' '!' -f set_event -o '!' -d events/sched ']'
- ++ '[' '!' -f events/sched/sched_process_fork/trigger ']'
- ++ '[' '!' -f events/sched/sched_process_fork/hist ']'
- ++ echo 'hist trigger is not supported'
- hist trigger is not supported
- ++ exit_unsupported
- ++ kill -s 40 2662
- ++ exit 0
- [23] event trigger - test multiple histogram triggers [UNSUPPORTED]
- execute: /home/linaro/kselftests/ftrace/test.d/trigger/trigger-multihist.tc
- + . /home/linaro/kselftests/ftrace/test.d/trigger/trigger-multihist.tc
- ++ '[' '!' -f set_event -o '!' -d events/sched ']'
- ++ '[' '!' -f events/sched/sched_process_fork/trigger ']'
- ++ '[' '!' -f events/sched/sched_process_fork/hist ']'
- ++ echo 'hist trigger is not supported'
- hist trigger is not supported
- ++ exit_unsupported
- ++ kill -s 40 2662
- ++ exit 0
- [24] event trigger - test snapshot-trigger [PASS]
- [25] event trigger - test stacktrace-trigger [PASS]
- [26] event trigger - test traceon/off trigger [PASS]
- # of passed: 22
- # of failed: 0
- # of unresolved: 0
- # of untested: 0
- # of unsupported: 4
- # of xfailed: 0
- # of undefined(test bug): 0
- selftests: ftracetest [FAIL]
- Running tests in futex
- ========================================
- ./run.sh: line 26: tput: command not found
- futex_requeue_pi: Test requeue functionality
- Arguments: broadcast=0 locked=0 owner=0 timeout=0ns
- Result: PASS
- futex_requeue_pi: Test requeue functionality
- Arguments: broadcast=1 locked=0 owner=0 timeout=0ns
- Result: PASS
- futex_requeue_pi: Test requeue functionality
- Arguments: broadcast=1 locked=1 owner=0 timeout=0ns
- Result: PASS
- futex_requeue_pi: Test requeue functionality
- Arguments: broadcast=1 locked=0 owner=1 timeout=0ns
- Result: PASS
- futex_requeue_pi: Test requeue functionality
- Arguments: broadcast=0 locked=1 owner=0 timeout=0ns
- Result: PASS
- futex_requeue_pi: Test requeue functionality
- Arguments: broadcast=0 locked=0 owner=1 timeout=0ns
- Result: PASS
- futex_requeue_pi: Test requeue functionality
- Arguments: broadcast=1 locked=1 owner=0 timeout=5000ns
- Result: PASS
- futex_requeue_pi: Test requeue functionality
- Arguments: broadcast=0 locked=1 owner=0 timeout=5000ns
- Result: PASS
- futex_requeue_pi: Test requeue functionality
- Arguments: broadcast=1 locked=1 owner=0 timeout=500000ns
- Result: PASS
- futex_requeue_pi: Test requeue functionality
- Arguments: broadcast=0 locked=1 owner=0 timeout=500000ns
- Result: PASS
- futex_requeue_pi: Test requeue functionality
- Arguments: broadcast=1 locked=0 owner=0 timeout=5000ns
- Result: PASS
- futex_requeue_pi: Test requeue functionality
- Arguments: broadcast=0 locked=0 owner=0 timeout=5000ns
- Result: PASS
- futex_requeue_pi: Test requeue functionality
- Arguments: broadcast=1 locked=0 owner=0 timeout=500000ns
- Result: PASS
- futex_requeue_pi: Test requeue functionality
- Arguments: broadcast=0 locked=0 owner=0 timeout=500000ns
- Result: PASS
- futex_requeue_pi: Test requeue functionality
- Arguments: broadcast=1 locked=0 owner=1 timeout=5000ns
- Result: PASS
- futex_requeue_pi: Test requeue functionality
- Arguments: broadcast=0 locked=1 owner=0 timeout=5000ns
- Result: PASS
- futex_requeue_pi: Test requeue functionality
- Arguments: broadcast=1 locked=0 owner=1 timeout=500000ns
- Result: PASS
- futex_requeue_pi: Test requeue functionality
- Arguments: broadcast=0 locked=1 owner=0 timeout=500000ns
- Result: PASS
- futex_requeue_pi: Test requeue functionality
- Arguments: broadcast=1 locked=1 owner=0 timeout=2000000000ns
- Result: PASS
- futex_requeue_pi: Test requeue functionality
- Arguments: broadcast=0 locked=1 owner=0 timeout=2000000000ns
- Result: PASS
- futex_requeue_pi_mismatched_ops: Detect mismatched requeue_pi operations
- Result: PASS
- futex_requeue_pi_signal_restart: Test signal handling during requeue_pi
- Arguments: <none>
- Result: PASS
- futex_wait_timeout: Block on a futex and wait for timeout
- Arguments: timeout=100000ns
- Result: PASS
- futex_wait_wouldblock: Test the unexpected futex value in FUTEX_WAIT
- Result: PASS
- futex_wait_uninitialized_heap: Test the uninitialized futex value in FUTEX_WAIT
- Result: PASS
- futex_wait_private_mapped_file: Test the futex value of private file mappings in FUTEX_WAIT
- Result: PASS
- Running tests in ipc
- ========================================
- selftests: msgque_test [PASS]
- Running tests in kcmp
- ========================================
- pid1: 3709 pid2: 3710 FD: 1 FILES: 1 VM: 2 FS: 1 SIGHAND: 2 IO: 0 SYSVSEM: 0 INV: -1
- PASS: 0 returned as expected
- PASS: 0 returned as expected
- Pass: 2 Fail: 0 Xfail: 0 Xpass: 0, Xskip: 0
- selftests: kcmp_test [PASS]
- Running tests in lib
- ========================================
- printf: ok
- selftests: printf.sh [PASS]
- bitmap: ok
- selftests: bitmap.sh [PASS]
- Running tests in membarrier
- ========================================
- membarrier MEMBARRIER_CMD_QUERY syscall available.
- membarrier: MEMBARRIER_CMD_SHARED success.
- membarrier: tests done!
- selftests: membarrier_test [PASS]
- Running tests in memfd
- ========================================
- memfd: CREATE
- memfd: BASIC
- memfd: SEAL-WRITE
- memfd: SEAL-SHRINK
- memfd: SEAL-GROW
- memfd: SEAL-RESIZE
- memfd: SHARE-DUP
- memfd: SHARE-MMAP
- memfd: SHARE-OPEN
- memfd: SHARE-FORK
- memfd: SHARE-DUP (shared file-table)
- memfd: SHARE-MMAP (shared file-table)
- memfd: SHARE-OPEN (shared file-table)
- memfd: SHARE-FORK (shared file-table)
- memfd: DONE
- selftests: memfd_test [PASS]
- Running tests in memory-hotplug
- ========================================
- skip all tests: memory hotplug is not supported
- Running tests in mount
- ========================================
- Running tests in mqueue
- ========================================
- Initial system state:
- Using queue path: /test1
- RLIMIT_MSGQUEUE(soft): 819200
- RLIMIT_MSGQUEUE(hard): 819200
- Maximum Message Size: 8192
- Maximum Queue Size: 10
- Default Message Size: 8192
- Default Queue Size: 10
- Adjusted system state for testing:
- RLIMIT_MSGQUEUE(soft): 819200
- RLIMIT_MSGQUEUE(hard): 819200
- Maximum Message Size: 8192
- Maximum Queue Size: 10
- Default Message Size: 8192
- Default Queue Size: 10
- Test series 1, behavior when no attr struct passed to mq_open:
- Kernel supports setting defaults separately from maximums: PASS
- Given sane values, mq_open without an attr struct succeeds: PASS
- Kernel properly honors default setting knobs: PASS
- Kernel properly limits default values to lesser of default/max: PASS
- Kernel properly fails to create queue when defaults would
- exceed rlimit: PASS
- Test series 2, behavior when attr struct is passed to mq_open:
- Queue open in excess of rlimit max when euid = 0 failed: PASS
- Queue open with mq_maxmsg > limit when euid = 0 succeeded: PASS
- Queue open with mq_msgsize > limit when euid = 0 succeeded: PASS
- Queue open with total size > 2GB when euid = 0 failed: PASS
- Queue open in excess of rlimit max when euid = 99 failed: PASS
- Queue open with mq_maxmsg > limit when euid = 99 failed: PASS
- Queue open with mq_msgsize > limit when euid = 99 failed: PASS
- Queue open with total size > 2GB when euid = 99 failed: PASS
- Initial system state:
- Using queue path: /mq_perf_tests
- RLIMIT_MSGQUEUE(soft): 819200
- RLIMIT_MSGQUEUE(hard): 819200
- Maximum Message Size: 8192
- Maximum Queue Size: 10
- Nice value: 0
- Adjusted system state for testing:
- RLIMIT_MSGQUEUE(soft): (unlimited)
- RLIMIT_MSGQUEUE(hard): (unlimited)
- Maximum Message Size: 16777216
- Maximum Queue Size: 65530
- Nice value: -20
- Continuous mode: (disabled)
- CPUs to pin: 7
- Queue /mq_perf_tests created:
- mq_flags: O_NONBLOCK
- mq_maxmsg: 65530
- mq_msgsize: 16
- mq_curmsgs: 0
- Started mqueue performance test thread on CPU 7
- Max priorities: 32768
- Clock resolution: 1 nsec
- Test #1: Time send/recv message, queue empty
- (10000000 iterations)
- Send msg: 88.96422404s total time
- 8809 nsec/msg
- Recv msg: 101.149654827s total time
- 10114 nsec/msg
- Test #2a: Time send/recv message, queue full, constant prio
- :
- (100000 iterations)
- Filling queue...done. 0.324937605s
- Testing...done.
- Send msg: 0.872638145s total time
- 8726 nsec/msg
- Recv msg: 0.855333460s total time
- 8553 nsec/msg
- Draining queue...done. 0.307772449s
- Test #2b: Time send/recv message, queue full, increasing prio
- :
- (100000 iterations)
- Filling queue...done. 0.395709845s
- Testing...done.
- Send msg: 0.921170547s total time
- 9211 nsec/msg
- Recv msg: 0.985070329s total time
- 9850 nsec/msg
- Draining queue...done. 0.346293751s
- Test #2c: Time send/recv message, queue full, decreasing prio
- :
- (100000 iterations)
- Filling queue...done. 0.396882970s
- Testing...done.
- Send msg: 0.924612749s total time
- 9246 nsec/msg
- Recv msg: 0.953707482s total time
- 9537 nsec/msg
- Draining queue...done. 0.349015052s
- Test #2d: Time send/recv message, queue full, random prio
- :
- (100000 iterations)
- Filling queue...done. 0.424798543s
- Testing...done.
- Send msg: 0.946503963s total time
- 9465 nsec/msg
- Recv msg: 0.961346957s total time
- 9613 nsec/msg
- Draining queue...done. 0.344094115s
- Running tests in net
- ========================================
- --------------------
- running socket test
- --------------------
- [PASS]
- selftests: run_netsocktests [PASS]
- --------------------
- running psock_fanout test
- --------------------
- test: control single socket
- test: control multiple sockets
- test: datapath 0x0
- info: count=0,0, expect=0,0
- info: count=15,5, expect=15,5
- info: count=20,5, expect=20,5
- test: datapath 0x1000
- info: count=0,0, expect=0,0
- info: count=15,5, expect=15,5
- info: count=20,15, expect=20,15
- test: datapath 0x1
- info: count=0,0, expect=0,0
- info: count=10,10, expect=10,10
- info: count=17,18, expect=18,17
- test: datapath 0x3
- info: count=0,0, expect=0,0
- info: count=15,5, expect=15,5
- info: count=20,15, expect=20,15
- test: datapath 0x6
- info: count=0,0, expect=0,0
- info: count=5,15, expect=15,5
- info: count=20,15, expect=15,20
- test: datapath 0x7
- info: count=0,0, expect=0,0
- info: count=5,15, expect=15,5
- info: count=20,15, expect=15,20
- test: datapath 0x2
- info: count=0,0, expect=0,0
- info: count=20,0, expect=20,0
- info: count=20,0, expect=20,0
- test: datapath 0x2
- info: count=0,0, expect=0,0
- info: count=0,20, expect=0,20
- info: count=0,20, expect=0,20
- OK. All tests passed
- [PASS]
- --------------------
- running psock_tpacket test
- --------------------
- test: TPACKET_V1 with PACKET_RX_RING .................... 100 pkts (9600 bytes)
- test: TPACKET_V1 with PACKET_TX_RING .................... 100 pkts (9600 bytes)
- test: TPACKET_V2 with PACKET_RX_RING .................... 100 pkts (9600 bytes)
- test: TPACKET_V2 with PACKET_TX_RING .................... 100 pkts (9600 bytes)
- test: TPACKET_V3 with PACKET_RX_RING .................... 100 pkts (9600 bytes)
- OK. All tests passed
- [PASS]
- selftests: run_afpackettests [PASS]
- test_bpf: ok
- selftests: test_bpf.sh [PASS]
- Running tests in powerpc
- ========================================
- ./run_kselftest.sh: line 95: cd: powerpc: No such file or directory
- Running tests in pstore
- ========================================
- === Pstore unit tests (pstore_tests) ===
- UUID=2e6531f7-3dd3-42f8-9e65-00cad51e3857
- Checking pstore backend is registered ... ok
- backend=ramoops
- cmdline=BOOT_IMAGE=/boot/Image console=tty0 console=ttyAMA3,115200n8 root=/dev/mmcblk0p9 rootwait ro quiet efi=noruntime
- Checking pstore console is registered ... ok
- Checking /dev/pmsg0 exists ... FAIL
- Writing unique string to /dev/pmsg0 ... FAIL
- selftests: pstore_tests [FAIL]
- === Pstore unit tests (pstore_post_reboot_tests) ===
- UUID=cf2d1be3-809f-4fe7-a45d-7a19e6109782
- Checking pstore backend is registered ... ok
- backend=ramoops
- cmdline=BOOT_IMAGE=/boot/Image console=tty0 console=ttyAMA3,115200n8 root=/dev/mmcblk0p9 rootwait ro quiet efi=noruntime
- pstore_crash_test has not been executed yet. we skip further tests.
- selftests: pstore_post_reboot_tests [PASS]
- Running tests in ptrace
- ========================================
- PASS
- selftests: peeksiginfo [PASS]
- Running tests in seccomp
- ========================================
- [==========] Running 52 tests from 1 test cases.
- [ RUN ] global.mode_strict_support
- [ OK ] global.mode_strict_support
- [ RUN ] global.mode_strict_cannot_call_prctl
- [ OK ] global.mode_strict_cannot_call_prctl
- [ RUN ] global.no_new_privs_support
- [ OK ] global.no_new_privs_support
- [ RUN ] global.mode_filter_support
- [ OK ] global.mode_filter_support
- [ RUN ] global.mode_filter_without_nnp
- [ OK ] global.mode_filter_without_nnp
- [ RUN ] global.filter_size_limits
- [ OK ] global.filter_size_limits
- [ RUN ] global.filter_chain_limits
- [ OK ] global.filter_chain_limits
- [ RUN ] global.mode_filter_cannot_move_to_strict
- [ OK ] global.mode_filter_cannot_move_to_strict
- [ RUN ] global.mode_filter_get_seccomp
- [ OK ] global.mode_filter_get_seccomp
- [ RUN ] global.ALLOW_all
- [ OK ] global.ALLOW_all
- [ RUN ] global.empty_prog
- [ OK ] global.empty_prog
- [ RUN ] global.unknown_ret_is_kill_inside
- [ OK ] global.unknown_ret_is_kill_inside
- [ RUN ] global.unknown_ret_is_kill_above_allow
- [ OK ] global.unknown_ret_is_kill_above_allow
- [ RUN ] global.KILL_all
- [ OK ] global.KILL_all
- [ RUN ] global.KILL_one
- [ OK ] global.KILL_one
- [ RUN ] global.KILL_one_arg_one
- [ OK ] global.KILL_one_arg_one
- [ RUN ] global.KILL_one_arg_six
- [ OK ] global.KILL_one_arg_six
- [ RUN ] global.arg_out_of_range
- [ OK ] global.arg_out_of_range
- [ RUN ] global.ERRNO_valid
- [ OK ] global.ERRNO_valid
- [ RUN ] global.ERRNO_zero
- [ OK ] global.ERRNO_zero
- [ RUN ] global.ERRNO_capped
- [ OK ] global.ERRNO_capped
- [ RUN ] TRAP.dfl
- [ OK ] TRAP.dfl
- [ RUN ] TRAP.ign
- [ OK ] TRAP.ign
- [ RUN ] TRAP.handler
- [ OK ] TRAP.handler
- [ RUN ] precedence.allow_ok
- [ OK ] precedence.allow_ok
- [ RUN ] precedence.kill_is_highest
- [ OK ] precedence.kill_is_highest
- [ RUN ] precedence.kill_is_highest_in_any_order
- [ OK ] precedence.kill_is_highest_in_any_order
- [ RUN ] precedence.trap_is_second
- [ OK ] precedence.trap_is_second
- [ RUN ] precedence.trap_is_second_in_any_order
- [ OK ] precedence.trap_is_second_in_any_order
- [ RUN ] precedence.errno_is_third
- [ OK ] precedence.errno_is_third
- [ RUN ] precedence.errno_is_third_in_any_order
- [ OK ] precedence.errno_is_third_in_any_order
- [ RUN ] precedence.trace_is_fourth
- [ OK ] precedence.trace_is_fourth
- [ RUN ] precedence.trace_is_fourth_in_any_order
- [ OK ] precedence.trace_is_fourth_in_any_order
- [ RUN ] TRACE_poke.read_has_side_effects
- [ OK ] TRACE_poke.read_has_side_effects
- [ RUN ] TRACE_poke.getpid_runs_normally
- [ OK ] TRACE_poke.getpid_runs_normally
- [ RUN ] TRACE_syscall.syscall_allowed
- [ OK ] TRACE_syscall.syscall_allowed
- [ RUN ] TRACE_syscall.syscall_redirected
- [ OK ] TRACE_syscall.syscall_redirected
- [ RUN ] TRACE_syscall.syscall_dropped
- [ OK ] TRACE_syscall.syscall_dropped
- [ RUN ] TRACE_syscall.skip_after_RET_TRACE
- [ OK ] TRACE_syscall.skip_after_RET_TRACE
- [ RUN ] TRACE_syscall.kill_after_RET_TRACE
- [ OK ] TRACE_syscall.kill_after_RET_TRACE
- [ RUN ] TRACE_syscall.skip_after_ptrace
- [ OK ] TRACE_syscall.skip_after_ptrace
- [ RUN ] TRACE_syscall.kill_after_ptrace
- [ OK ] TRACE_syscall.kill_after_ptrace
- [ RUN ] global.seccomp_syscall
- [ OK ] global.seccomp_syscall
- [ RUN ] global.seccomp_syscall_mode_lock
- [ OK ] global.seccomp_syscall_mode_lock
- [ RUN ] global.TSYNC_first
- [ OK ] global.TSYNC_first
- [ RUN ] TSYNC.siblings_fail_prctl
- [ OK ] TSYNC.siblings_fail_prctl
- [ RUN ] TSYNC.two_siblings_with_ancestor
- [ OK ] TSYNC.two_siblings_with_ancestor
- [ RUN ] TSYNC.two_sibling_want_nnp
- [ OK ] TSYNC.two_sibling_want_nnp
- [ RUN ] TSYNC.two_siblings_with_no_filter
- [ OK ] TSYNC.two_siblings_with_no_filter
- [ RUN ] TSYNC.two_siblings_with_one_divergence
- [ OK ] TSYNC.two_siblings_with_one_divergence
- [ RUN ] TSYNC.two_siblings_not_under_filter
- [ OK ] TSYNC.two_siblings_not_under_filter
- [ RUN ] global.syscall_restart
- [ OK ] global.syscall_restart
- [==========] 52 / 52 tests passed.
- [ PASSED ]
- selftests: seccomp_bpf [PASS]
- Running tests in sigaltstack
- ========================================
- ./run_kselftest.sh: line 115: cd: sigaltstack: No such file or directory
- Running tests in size
- ========================================
- Testing system size.
- 1..1
- ok 1 get runtime memory use # size = 249316
- # System runtime memory report (units in Kilobytes):
- # Total: 2002648
- # Free: 1748940
- # Buffer: 4392
- # In use: 249316
- selftests: get_size [PASS]
- Running tests in static_keys
- ========================================
- static_key: ok
- selftests: test_static_keys.sh [PASS]
- Running tests in sysctl
- ========================================
- == Testing sysctl behavior against /proc/sys/vm/swappiness ==
- Writing test file ... ok
- Checking sysctl is not set to test value ... ok
- Writing sysctl from shell ... ok
- Resetting sysctl to original value ... ok
- Writing entire sysctl in single write ... ok
- Writing middle of sysctl after synchronized seek ... ok
- Writing beyond end of sysctl ... ok
- Writing sysctl with multiple long writes ... ok
- selftests: run_numerictests [PASS]
- == Testing sysctl behavior against /proc/sys/kernel/domainname ==
- Writing test file ... ok
- Checking sysctl is not set to test value ... ok
- Writing sysctl from shell ... ok
- Resetting sysctl to original value ... ok
- Writing entire sysctl in single write ... ok
- Writing middle of sysctl after synchronized seek ... ok
- Writing beyond end of sysctl ... ok
- Writing sysctl with multiple long writes ... ok
- Writing entire sysctl in short writes ... ok
- Writing middle of sysctl after unsynchronized seek ... ok
- Checking sysctl maxlen is at least 65 ... ok
- Checking sysctl keeps original string on overflow append ... ok
- Checking sysctl stays NULL terminated on write ... ok
- Checking sysctl stays NULL terminated on overwrite ... ok
- selftests: run_stringtests [PASS]
- Running tests in timers
- ========================================
- Testing posix timers. False negative may happen on CPU execution
- based timers if other threads run on the CPU...
- Check itimer virtual... [OK]
- Check itimer prof... [OK]
- Check itimer real... [OK]
- Check timer_create() per thread... [OK]
- Check timer_create() per process... [OK]
- selftests: posix_timers [PASS]
- Nanosleep CLOCK_REALTIME [OK]
- Nanosleep CLOCK_MONOTONIC [OK]
- Nanosleep CLOCK_MONOTONIC_RAW [UNSUPPORTED]
- Nanosleep CLOCK_REALTIME_COARSE [UNSUPPORTED]
- Nanosleep CLOCK_MONOTONIC_COARSE [UNSUPPORTED]
- Nanosleep CLOCK_BOOTTIME [OK]
- Nanosleep CLOCK_REALTIME_ALARM [OK]
- Nanosleep CLOCK_BOOTTIME_ALARM [OK]
- Nanosleep CLOCK_TAI [OK]
- selftests: nanosleep [PASS]
- nsleep latency CLOCK_REALTIME [OK]
- nsleep latency CLOCK_MONOTONIC [OK]
- nsleep latency CLOCK_MONOTONIC_RAW [UNSUPPORTED]
- nsleep latency CLOCK_REALTIME_COARSE [UNSUPPORTED]
- nsleep latency CLOCK_MONOTONIC_COARSE [UNSUPPORTED]
- nsleep latency CLOCK_BOOTTIME [OK]
- nsleep latency CLOCK_REALTIME_ALARM [OK]
- nsleep latency CLOCK_BOOTTIME_ALARM [OK]
- nsleep latency CLOCK_TAI [OK]
- selftests: nsleep-lat [PASS]
- Setting timers for every 1 seconds
- CLOCK_REALTIME ABSTIME max latency: 545833 ns : [OK]
- CLOCK_REALTIME RELTIME max latency: 620000 ns : [OK]
- CLOCK_MONOTONIC ABSTIME max latency: 421666 ns : [OK]
- CLOCK_MONOTONIC RELTIME max latency: 566666 ns : [OK]
- CLOCK_BOOTTIME ABSTIME max latency: 588333 ns : [OK]
- CLOCK_BOOTTIME RELTIME max latency: 583333 ns : [OK]
- CLOCK_REALTIME_ALARM ABSTIME max latency: 419999 ns : [OK]
- CLOCK_REALTIME_ALARM RELTIME max latency: 550834 ns : [OK]
- CLOCK_BOOTTIME_ALARM ABSTIME max latency: 395000 ns : [OK]
- CLOCK_BOOTTIME_ALARM RELTIME max latency: 1080833 ns : [OK]
- CLOCK_TAI ABSTIME max latency: 522499 ns : [OK]
- CLOCK_TAI RELTIME max latency: 501667 ns : [OK]
- selftests: set-timer-lat [PASS]
- Mqueue latency : [OK]
- selftests: mqueue-lat [PASS]
- Consistent CLOCK_REALTIME [OK]
- Consistent CLOCK_MONOTONIC [OK]
- Consistent CLOCK_PROCESS_CPUTIME_ID [OK]
- Consistent CLOCK_THREAD_CPUTIME_ID [OK]
- Consistent CLOCK_MONOTONIC_RAW Fri Mar 17 08:30:09 2017
- 964:3754421
- 964:3754421
- 964:3754421
- 964:3754421
- 964:3754421
- 964:3754421
- 964:3754421
- 964:3754421
- 964:3754421
- 964:3755254
- 964:3755254
- 964:3755254
- 964:3755254
- 964:3755254
- 964:3755254
- 964:3755254
- 964:3755254
- 964:3755254
- 964:3755254
- 964:3756088
- 964:3756088
- 964:3756088
- 964:3756088
- 964:3756088
- 964:3756088
- 964:3756088
- 964:3756088
- 964:3756088
- 964:3756088
- 964:3756088
- 964:3756921
- 964:3756921
- 964:3756921
- 964:3756921
- 964:3756921
- 964:3756921
- 964:3756921
- 964:3756921
- 964:3756921
- 964:3756921
- 964:3757754
- 964:3757754
- 964:3757754
- 964:3757754
- 964:3757754
- 964:3757754
- 964:3757754
- 964:3757754
- 964:3757754
- 964:3757754
- 964:3757754
- 964:3758588
- 964:3758588
- 964:3758588
- 964:3758588
- 964:3758588
- 964:3758588
- 964:3758588
- 964:3758588
- 964:3758588
- 964:3758588
- --------------------
- 964:3781921
- 964:3781920
- --------------------
- 964:3781920
- Delta: 1 ns
- Fri Mar 17 08:30:09 2017
- [FAILED]
- selftests: inconsistency-check [FAIL]
- Estimating clock drift: 0.246(est) 0.0(act) [OK]
- selftests: raw_skew [PASS]
- Fri, 17 Mar 2017 08:32:10 +0000
- Testing consistency with 8 threads for 30 seconds: [OK]
- selftests: threadtest [PASS]
- Running tests in user
- ========================================
- user_copy: ok
- selftests: test_user_copy.sh [PASS]
- Running tests in vm
- ========================================
- --------------------
- running hugepage-mmap
- --------------------
- Returned address is 0x2000000000
- First hex is 0
- First hex is 3020100
- [PASS]
- --------------------
- running hugepage-shm
- --------------------
- shmid: 0x0
- shmaddr: 0x2000000000
- Starting the writes:
- ................................................................................................................................................................................................................................................................
- Starting the Check...Done.
- [PASS]
- --------------------
- running map_hugetlb
- --------------------
- Returned address is 0x2000000000
- First hex is 0
- First hex is 3020100
- [PASS]
- NOTE: The above hugetlb tests provide minimal coverage. Use
- https://github.com/libhugetlbfs/libhugetlbfs.git for
- hugetlb regression testing.
- --------------------
- running userfaultfd
- --------------------
- nr_pages: 32768, nr_pages_per_cpu: 4096
- bounces: 31, mode: rnd racing ver poll, userfaults: 189 265 336 250 237 170 119 120
- bounces: 30, mode: racing ver poll, userfaults: 146 167 176 115 212 281 90 135
- bounces: 29, mode: rnd ver poll, userfaults: 959 877 1049 992 810 1001 998 488
- bounces: 28, mode: ver poll, userfaults: 403 421 459 419 443 500 410 364
- bounces: 27, mode: rnd racing poll, userfaults: 171 101 161 247 192 235 245 178
- bounces: 26, mode: racing poll, userfaults: 222 177 163 155 109 102 70 47
- bounces: 25, mode: rnd poll, userfaults: 771 896 885 813 697 799 808 673
- bounces: 24, mode: poll, userfaults: 329 269 254 444 183 206 252 297
- bounces: 23, mode: rnd racing ver, userfaults: 373 329 285 111 193 152 113 137
- bounces: 22, mode: racing ver, userfaults: 135 107 151 65 137 75 87 23
- bounces: 21, mode: rnd ver, userfaults: 927 809 1030 864 731 733 586 492
- bounces: 20, mode: ver, userfaults: 274 400 161 210 158 81 90 68
- bounces: 19, mode: rnd racing, userfaults: 312 322 327 177 166 213 126 136
- bounces: 18, mode: racing, userfaults: 166 84 189 166 120 104 95 109
- bounces: 17, mode: rnd, userfaults: 936 863 940 929 863 612 1022 685
- bounces: 16, mode:, userfaults: 367 445 405 373 404 354 262 336
- bounces: 15, mode: rnd racing ver poll, userfaults: 420 376 351 406 301 316 204 310
- bounces: 14, mode: racing ver poll, userfaults: 169 143 169 97 98 73 91 89
- bounces: 13, mode: rnd ver poll, userfaults: 601 775 824 725 626 750 732 562
- bounces: 12, mode: ver poll, userfaults: 508 575 439 431 551 467 523 369
- bounces: 11, mode: rnd racing poll, userfaults: 213 167 110 223 163 139 148 81
- bounces: 10, mode: racing poll, userfaults: 119 114 116 83 57 64 83 81
- bounces: 9, mode: rnd poll, userfaults: 850 1007 821 987 713 1073 942 589
- bounces: 8, mode: poll, userfaults: 652 793 779 619 556 665 649 620
- bounces: 7, mode: rnd racing ver, userfaults: 289 251 164 165 183 124 112 128
- bounces: 6, mode: racing ver, userfaults: 122 141 146 189 145 155 78 111
- bounces: 5, mode: rnd ver, userfaults: 1002 1021 861 926 786 874 737 881
- bounces: 4, mode: ver, userfaults: 332 336 318 272 376 255 324 274
- bounces: 3, mode: rnd racing, userfaults: 443 334 263 225 187 166 104 96
- bounces: 2, mode: racing, userfaults: 85 82 71 50 51 54 54 28
- bounces: 1, mode: rnd, userfaults: 981 838 745 922 779 845 569 671
- bounces: 0, mode:, userfaults: 796 737 701 731 678 674 721 650
- [PASS]
- -----------------------
- running compaction_test
- -----------------------
- No of huge pages allocated = 498
- [PASS]
- --------------------
- running on-fault-limit
- --------------------
- ./run_vmtests: line 125: sudo: command not found
- [FAIL]
- --------------------
- running mlock2-tests
- --------------------
- [PASS]
- selftests: run_vmtests [FAIL]
- Running tests in x86
- ========================================
- ./run_kselftest.sh: line 157: cd: x86: No such file or directory
- Running tests in zram
- ========================================
- --------------------
- running zram tests
- --------------------
- create '1' zram device(s)
- zram load module successful
- set max_comp_streams to zram device(s)
- FAIL can't set max_streams '2', get
- /sys/block/zram0/max_comp_streams = '8' (1/1)
- zram max streams: OK
- test that we can set compression algorithm
- supported algs: [lzo] deflate
- /sys/block/zram0/comp_algorithm = 'lzo' (1/1)
- zram set compression algorithm: OK
- set disk size to zram device(s)
- /sys/block/zram0/disksize = '2097152' (1/1)
- zram set disksizes: OK
- set memory limit to zram device(s)
- /sys/block/zram0/mem_limit = '2M' (1/1)
- zram set memory limit: OK
- make ext4 filesystem on /dev/zram0
- zram mkfs.ext4: OK
- mount /dev/zram0
- zram mount of zram device(s): OK
- fill zram0...
- zram0 can be filled with '1932' KB
- zram used 4M, zram disk sizes 2097152M
- ./zram01.sh: line 79: bc: command not found
- zram compression ratio: :1: OK
- zram cleanup
- zram rmmod zram
- zram01 : [PASS]
- create '1' zram device(s)
- zram load module successful
- set max_comp_streams to zram device(s)
- FAIL can't set max_streams '2', get
- /sys/block/zram0/max_comp_streams = '8' (1/1)
- zram max streams: OK
- set disk size to zram device(s)
- /sys/block/zram0/disksize = '1048576' (1/1)
- zram set disksizes: OK
- set memory limit to zram device(s)
- /sys/block/zram0/mem_limit = '1M' (1/1)
- zram set memory limit: OK
- make swap with zram device(s)
- done with /dev/zram0
- zram making zram mkswap and swapon: OK
- zram swapoff: OK
- zram cleanup
- zram rmmod zram
- zram02 : [PASS]
- selftests: zram.sh [PASS]
- hikey:/home/linaro/kselftests# uname -a
- 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