[16:12:40] Configuring KUnit Kernel ...
[16:12:40] Building KUnit Kernel ...
Populating config with:
$ make ARCH=x86_64 O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=x86_64 O=.kunit --jobs=108
[16:13:01] Starting KUnit Kernel (1/1)...
[16:13:01] ============================================================
Running tests with:
$ qemu-system-x86_64 -nodefaults -m 1024 -kernel .kunit/arch/x86/boot/bzImage -append 'kunit.enable=1 console=ttyS0 kunit_shutdown=reboot' -no-reboot -nographic -accel kvm -accel hvf -accel tcg -serial stdio -bios qboot.rom
[16:13:02] ================= example_init (1 subtest) =================
[16:13:02] [PASSED] example_init_test
[16:13:02] ================== [PASSED] example_init ===================
[16:13:02] ================ miscdev_init (7 subtests) =================
[16:13:02] ================ miscdev_test_static_basic ================
[16:13:02] [PASSED] lower static range, top
[16:13:02] [PASSED] upper static range, bottom
[16:13:02] [PASSED] lower static range, bottom
[16:13:02] [PASSED] upper static range, top
[16:13:02] ============ [PASSED] miscdev_test_static_basic ============
[16:13:02] [PASSED] miscdev_test_dynamic_basic
[16:13:02] [PASSED] miscdev_test_dynamic_only_range
[16:13:02] [PASSED] miscdev_test_collision
[16:13:02] [PASSED] miscdev_test_collision_reverse
[16:13:02] [PASSED] miscdev_test_conflict
[16:13:02] [PASSED] miscdev_test_conflict_reverse
[16:13:02] ================== [PASSED] miscdev_init ===================
[16:13:02] ============== printk-ringbuffer (1 subtest) ===============
[16:13:12] [PASSED] test_readerwriter
[16:13:12] ================ [PASSED] printk-ringbuffer ================
[16:13:12] =============== time_test_cases (1 subtest) ================
[16:13:12] [PASSED] time64_to_tm_test_date_range
[16:13:12] ================= [PASSED] time_test_cases =================
[16:13:12] ================ hw_breakpoint (9 subtests) ================
[16:13:12] [SKIPPED] test_one_cpu
[16:13:12] [SKIPPED] test_many_cpus
[16:13:12] [SKIPPED] test_one_task_on_all_cpus
[16:13:12] [SKIPPED] test_two_tasks_on_all_cpus
[16:13:12] [SKIPPED] test_one_task_on_one_cpu
[16:13:12] [SKIPPED] test_one_task_mixed
[16:13:12] [SKIPPED] test_two_tasks_on_one_cpu
[16:13:12] [SKIPPED] test_two_tasks_on_one_all_cpus
[16:13:12] [SKIPPED] test_task_on_all_and_one_cpu
[16:13:12] ================= [SKIPPED] hw_breakpoint ==================
[16:13:12] ================== resource (3 subtests) ===================
[16:13:12] [PASSED] resource_test_union
[16:13:12] [PASSED] resource_test_intersection
[16:13:12] [PASSED] resource_test_region_intersects
[16:13:12] ==================== [PASSED] resource =====================
[16:13:12] ================ sysctl_test (10 subtests) =================
[16:13:12] [PASSED] sysctl_test_api_dointvec_null_tbl_data
[16:13:12] [PASSED] sysctl_test_api_dointvec_table_maxlen_unset
[16:13:12] [PASSED] sysctl_test_api_dointvec_table_len_is_zero
[16:13:12] [PASSED] sysctl_test_api_dointvec_table_read_but_position_set
[16:13:12] [PASSED] sysctl_test_dointvec_read_happy_single_positive
[16:13:12] [PASSED] sysctl_test_dointvec_read_happy_single_negative
[16:13:12] [PASSED] sysctl_test_dointvec_write_happy_single_positive
[16:13:12] [PASSED] sysctl_test_dointvec_write_happy_single_negative
[16:13:12] [PASSED] sysctl_test_api_dointvec_write_single_less_int_min
[16:13:12] [PASSED] sysctl_test_api_dointvec_write_single_greater_int_max
[16:13:12] =================== [PASSED] sysctl_test ===================
[16:13:12] ===================== exec (1 subtest) =====================
[16:13:12] [PASSED] exec_test_bprm_stack_limits
[16:13:12] ====================== [PASSED] exec =======================
[16:13:12] ================== binfmt_elf (1 subtest) ==================
[16:13:12] [PASSED] total_mapping_size_test
[16:13:12] =================== [PASSED] binfmt_elf ====================
[16:13:12] ============= kunit_executor_test (8 subtests) =============
[16:13:12] [PASSED] parse_filter_test
[16:13:12] [PASSED] filter_suites_test
[16:13:12] [PASSED] filter_suites_test_glob_test
[16:13:12] [PASSED] filter_suites_to_empty_test
[16:13:12] [PASSED] parse_filter_attr_test
[16:13:12] [PASSED] filter_attr_test
[16:13:12] [PASSED] filter_attr_empty_test
[16:13:12] [PASSED] filter_attr_skip_test
[16:13:12] =============== [PASSED] kunit_executor_test ===============
[16:13:12] ============ kunit-try-catch-test (2 subtests) =============
[16:13:12] [PASSED] kunit_test_try_catch_successful_try_no_catch
[16:13:12] [PASSED] kunit_test_try_catch_unsuccessful_try_does_catch
[16:13:12] ============== [PASSED] kunit-try-catch-test ===============
[16:13:12] ============ kunit-resource-test (12 subtests) =============
[16:13:12] [PASSED] kunit_resource_test_init_resources
[16:13:12] [PASSED] kunit_resource_test_alloc_resource
[16:13:12] [PASSED] kunit_resource_test_destroy_resource
[16:13:12] [PASSED] kunit_resource_test_remove_resource
[16:13:12] [PASSED] kunit_resource_test_cleanup_resources
[16:13:12] [PASSED] kunit_resource_test_proper_free_ordering
[16:13:12] [PASSED] kunit_resource_test_static
[16:13:12] [PASSED] kunit_resource_test_named
[16:13:12] [PASSED] kunit_resource_test_action
[16:13:12] [PASSED] kunit_resource_test_remove_action
[16:13:12] [PASSED] kunit_resource_test_release_action
[16:13:12] [PASSED] kunit_resource_test_action_ordering
[16:13:12] =============== [PASSED] kunit-resource-test ===============
[16:13:12] =============== kunit-log-test (2 subtests) ================
[16:13:12] [PASSED] kunit_log_test
[16:13:12] [PASSED] kunit_log_newline_test
[16:13:12] ================= [PASSED] kunit-log-test ==================
[16:13:12] ================ kunit_status (2 subtests) =================
[16:13:12] [PASSED] kunit_status_set_failure_test
[16:13:12] [PASSED] kunit_status_mark_skipped_test
[16:13:12] ================== [PASSED] kunit_status ===================
[16:13:12] ================ kunit_current (2 subtests) ================
[16:13:12] [PASSED] kunit_current_test
[16:13:12] [PASSED] kunit_current_fail_test
[16:13:12] ================== [PASSED] kunit_current ==================
[16:13:12] ================ kunit_device (3 subtests) =================
[16:13:12] [PASSED] kunit_device_test
[16:13:12] [PASSED] kunit_device_cleanup_test
[16:13:12] [PASSED] kunit_device_driver_test
[16:13:12] ================== [PASSED] kunit_device ===================
[16:13:13] ================= kunit_fault (1 subtest) ==================
[16:13:13] [PASSED] kunit_test_fault_null_dereference
[16:13:13] =================== [PASSED] kunit_fault ===================
[16:13:13] ================== kunit_stub (1 subtest) ==================
[16:13:13] [PASSED] kunit_stub_test
[16:13:13] =================== [PASSED] kunit_stub ====================
[16:13:13] ============ kunit_platform_device (4 subtests) ============
[16:13:13] [PASSED] kunit_platform_device_alloc_test
[16:13:13] [PASSED] kunit_platform_device_add_test
[16:13:13] [PASSED] kunit_platform_device_add_twice_fails_test
[16:13:13] [PASSED] kunit_platform_device_add_cleans_up
[16:13:13] ============== [PASSED] kunit_platform_device ==============
[16:13:13] ============ kunit_platform_driver (2 subtests) ============
[16:13:13] [PASSED] kunit_platform_driver_register_test
[16:13:13] [PASSED] kunit_platform_device_prepare_wait_for_probe_completes_when_already_probed
[16:13:13] ============== [PASSED] kunit_platform_driver ==============
[16:13:13] ============= string-stream-test (12 subtests) =============
[16:13:13] [PASSED] string_stream_managed_init_test
[16:13:13] [PASSED] string_stream_unmanaged_init_test
[16:13:13] [PASSED] string_stream_managed_free_test
Command '['qemu-system-x86_64', '-nodefaults', '-m', '1024', '-kernel', '.kunit/arch/x86/boot/bzImage', '-append', 'kunit.enable=1 console=ttyS0 kunit_shutdown=reboot', '-no-reboot', '-nographic', '-accel', 'kvm', '-accel', 'hvf', '-accel', 'tcg', '-serial', 'stdio', '-bios', 'qboot.rom']' timed out after 300 seconds
[16:18:01] [ERROR] Test: string-stream-test: missing expected subtest!
[16:18:01] BUG: unable to handle page fault for address: 0000000022266cb9
[16:18:01] #PF: supervisor instruction fetch in kernel mode
[16:18:01] #PF: error_code(0x0010) - not-present page
[16:18:01] PGD 0 P4D 0
[16:18:01] Oops: Oops: 0010 [#2] NOPTI
[16:18:01] CPU: 0 UID: 0 PID: 14 Comm: ksoftirqd/0 Tainted: G D N 6.19.0-g574198a61a24 #657 PREEMPT(full)
[16:18:01] Tainted: [D]=DIE, [N]=TEST
[16:18:01] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.1 11/11/2019
[16:18:01] RIP: 0010:0x22266cb9
[16:18:01] Code: Unable to access opcode bytes at 0x22266c8f.
[16:18:01] RSP: 0018:ffffb8128007bdf8 EFLAGS: 00010282
[16:18:01] RAX: ffff9664819358e0 RBX: 000000000000000a RCX: ffff9664814a9b60
[16:18:01] RDX: ffffffffbda567b0 RSI: 0000000000000018 RDI: ffff9664819358e0
[16:18:01] RBP: ffff9664810e1800 R08: fffffffffffffce8 R09: ffffffffbcd0f422
[16:18:01] R10: ffffe4f880052a00 R11: ffff9664810570c0 R12: ffffb8128007be20
[16:18:01] R13: 0000000000000009 R14: 000000000000000a R15: 0000000000000000
[16:18:01] FS: 0000000000000000(0000) GS:0000000000000000(0000) knlGS:0000000000000000
[16:18:01] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16:18:01] CR2: 0000000022266cb9 CR3: 0000000015446000 CR4: 00000000000006f0
[16:18:01] Call Trace:
[16:18:01]
[16:18:01] ? rcu_core+0x2c2/0x550
[16:18:01] ? dequeue_entities+0x41c/0x640
[16:18:01] ? handle_softirqs+0xba/0x1b0
[16:18:01] ? __pfx_smpboot_thread_fn+0x10/0x10
[16:18:01] ? run_ksoftirqd+0x1f/0x30
[16:18:01] ? smpboot_thread_fn+0xc0/0x1a0
[16:18:01] ? kthread+0xc3/0x100
[16:18:01] ? __pfx_kthread+0x10/0x10
[16:18:01] ? ret_from_fork+0x11e/0x230
[16:18:01] ? __pfx_kthread+0x10/0x10
[16:18:01] ? ret_from_fork_asm+0x19/0x30
[16:18:01]
[16:18:01] CR2: 0000000022266cb9
[16:18:01] ---[ end trace 0000000000000000 ]---
[16:18:01] RIP: 0010:kunit_test_null_dereference+0x2e/0x80
[16:18:01] Code: 48 83 ec 10 49 c7 c1 48 4c 82 bd 49 c7 c0 90 bb f5 bc ba 01 00 00 00 48 8b 05 66 bc ab 00 48 89 44 24 08 31 c0 48 8d 4c 24 07 04 25 00 00 00 00 00 00 00 00 48 c7 c6 00 d8 62 bd 48 c7 87 98
[16:18:01] RSP: 0018:ffffb81280113ed0 EFLAGS: 00010246
[16:18:01] RAX: 0000000000000000 RBX: ffff966481b5fe40 RCX: ffffb81280113ed7
[16:18:01] RDX: 0000000000000001 RSI: ffffb81280113ea8 RDI: ffffb81280013a80
[16:18:01] RBP: ffff966481805400 R08: ffffffffbcf5bb90 R09: ffffffffbd824c48
[16:18:01] R10: ffffb81280113ed0 R11: 0000000000000001 R12: ffffb8128010bd58
[16:18:01] R13: ffff966481935880 R14: ffffffffbcf5c250 R15: ffff966481b5fe40
[16:18:01] FS: 0000000000000000(0000) GS:0000000000000000(0000) knlGS:0000000000000000
[16:18:01] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16:18:01] CR2: 0000000022266cb9 CR3: 0000000015446000 CR4: 00000000000006f0
[16:18:01] Kernel panic - not syncing: Fatal exception in interrupt
[16:18:01] Kernel Offset: 0x3ba00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[16:18:01] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---
[16:18:01] qemu-system-x86_64: terminating on signal 15 from pid 2660074 (python3)
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: string-stream-test: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: string-stream-test: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: string-stream-test: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: string-stream-test: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: string-stream-test: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: string-stream-test: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: string-stream-test: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: string-stream-test: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: string-stream-test: missing subtest result line!
[16:18:01] # module: string_stream_test
[16:18:01] =============== [CRASHED] string-stream-test ===============
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] [ERROR] Test: main: missing expected subtest!
[16:18:01] [CRASHED]
[16:18:01] ============================================================
[16:18:01] Testing complete. Ran 168 tests: passed: 70, crashed: 89, skipped: 9, errors: 90
{
"name": "KUnit Test Group",
"sub_groups": [
{
"name": "example_init",
"sub_groups": [],
"test_cases": [
{
"name": "example_init_test",
"status": "PASS"
}
],
"misc": {
"tests": 1,
"passed": 1,
"failed": 0,
"crashed": 0,
"skipped": 0,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
},
{
"name": "miscdev_init",
"sub_groups": [
{
"name": "miscdev_test_static_basic",
"sub_groups": [],
"test_cases": [
{
"name": "lower static range, top",
"status": "PASS"
},
{
"name": "upper static range, bottom",
"status": "PASS"
},
{
"name": "lower static range, bottom",
"status": "PASS"
},
{
"name": "upper static range, top",
"status": "PASS"
}
],
"misc": {
"tests": 4,
"passed": 4,
"failed": 0,
"crashed": 0,
"skipped": 0,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
}
],
"test_cases": [
{
"name": "miscdev_test_dynamic_basic",
"status": "PASS"
},
{
"name": "miscdev_test_dynamic_only_range",
"status": "PASS"
},
{
"name": "miscdev_test_collision",
"status": "PASS"
},
{
"name": "miscdev_test_collision_reverse",
"status": "PASS"
},
{
"name": "miscdev_test_conflict",
"status": "PASS"
},
{
"name": "miscdev_test_conflict_reverse",
"status": "PASS"
}
],
"misc": {
"tests": 10,
"passed": 10,
"failed": 0,
"crashed": 0,
"skipped": 0,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
},
{
"name": "printk-ringbuffer",
"sub_groups": [],
"test_cases": [
{
"name": "test_readerwriter",
"status": "PASS"
}
],
"misc": {
"tests": 1,
"passed": 1,
"failed": 0,
"crashed": 0,
"skipped": 0,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
},
{
"name": "time_test_cases",
"sub_groups": [],
"test_cases": [
{
"name": "time64_to_tm_test_date_range",
"status": "PASS"
}
],
"misc": {
"tests": 1,
"passed": 1,
"failed": 0,
"crashed": 0,
"skipped": 0,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
},
{
"name": "hw_breakpoint",
"sub_groups": [],
"test_cases": [
{
"name": "test_one_cpu",
"status": "SKIP"
},
{
"name": "test_many_cpus",
"status": "SKIP"
},
{
"name": "test_one_task_on_all_cpus",
"status": "SKIP"
},
{
"name": "test_two_tasks_on_all_cpus",
"status": "SKIP"
},
{
"name": "test_one_task_on_one_cpu",
"status": "SKIP"
},
{
"name": "test_one_task_mixed",
"status": "SKIP"
},
{
"name": "test_two_tasks_on_one_cpu",
"status": "SKIP"
},
{
"name": "test_two_tasks_on_one_all_cpus",
"status": "SKIP"
},
{
"name": "test_task_on_all_and_one_cpu",
"status": "SKIP"
}
],
"misc": {
"tests": 9,
"passed": 0,
"failed": 0,
"crashed": 0,
"skipped": 9,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
},
{
"name": "resource",
"sub_groups": [],
"test_cases": [
{
"name": "resource_test_union",
"status": "PASS"
},
{
"name": "resource_test_intersection",
"status": "PASS"
},
{
"name": "resource_test_region_intersects",
"status": "PASS"
}
],
"misc": {
"tests": 3,
"passed": 3,
"failed": 0,
"crashed": 0,
"skipped": 0,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
},
{
"name": "sysctl_test",
"sub_groups": [],
"test_cases": [
{
"name": "sysctl_test_api_dointvec_null_tbl_data",
"status": "PASS"
},
{
"name": "sysctl_test_api_dointvec_table_maxlen_unset",
"status": "PASS"
},
{
"name": "sysctl_test_api_dointvec_table_len_is_zero",
"status": "PASS"
},
{
"name": "sysctl_test_api_dointvec_table_read_but_position_set",
"status": "PASS"
},
{
"name": "sysctl_test_dointvec_read_happy_single_positive",
"status": "PASS"
},
{
"name": "sysctl_test_dointvec_read_happy_single_negative",
"status": "PASS"
},
{
"name": "sysctl_test_dointvec_write_happy_single_positive",
"status": "PASS"
},
{
"name": "sysctl_test_dointvec_write_happy_single_negative",
"status": "PASS"
},
{
"name": "sysctl_test_api_dointvec_write_single_less_int_min",
"status": "PASS"
},
{
"name": "sysctl_test_api_dointvec_write_single_greater_int_max",
"status": "PASS"
}
],
"misc": {
"tests": 10,
"passed": 10,
"failed": 0,
"crashed": 0,
"skipped": 0,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
},
{
"name": "exec",
"sub_groups": [],
"test_cases": [
{
"name": "exec_test_bprm_stack_limits",
"status": "PASS"
}
],
"misc": {
"tests": 1,
"passed": 1,
"failed": 0,
"crashed": 0,
"skipped": 0,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
},
{
"name": "binfmt_elf",
"sub_groups": [],
"test_cases": [
{
"name": "total_mapping_size_test",
"status": "PASS"
}
],
"misc": {
"tests": 1,
"passed": 1,
"failed": 0,
"crashed": 0,
"skipped": 0,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
},
{
"name": "kunit_executor_test",
"sub_groups": [],
"test_cases": [
{
"name": "parse_filter_test",
"status": "PASS"
},
{
"name": "filter_suites_test",
"status": "PASS"
},
{
"name": "filter_suites_test_glob_test",
"status": "PASS"
},
{
"name": "filter_suites_to_empty_test",
"status": "PASS"
},
{
"name": "parse_filter_attr_test",
"status": "PASS"
},
{
"name": "filter_attr_test",
"status": "PASS"
},
{
"name": "filter_attr_empty_test",
"status": "PASS"
},
{
"name": "filter_attr_skip_test",
"status": "PASS"
}
],
"misc": {
"tests": 8,
"passed": 8,
"failed": 0,
"crashed": 0,
"skipped": 0,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
},
{
"name": "kunit-try-catch-test",
"sub_groups": [],
"test_cases": [
{
"name": "kunit_test_try_catch_successful_try_no_catch",
"status": "PASS"
},
{
"name": "kunit_test_try_catch_unsuccessful_try_does_catch",
"status": "PASS"
}
],
"misc": {
"tests": 2,
"passed": 2,
"failed": 0,
"crashed": 0,
"skipped": 0,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
},
{
"name": "kunit-resource-test",
"sub_groups": [],
"test_cases": [
{
"name": "kunit_resource_test_init_resources",
"status": "PASS"
},
{
"name": "kunit_resource_test_alloc_resource",
"status": "PASS"
},
{
"name": "kunit_resource_test_destroy_resource",
"status": "PASS"
},
{
"name": "kunit_resource_test_remove_resource",
"status": "PASS"
},
{
"name": "kunit_resource_test_cleanup_resources",
"status": "PASS"
},
{
"name": "kunit_resource_test_proper_free_ordering",
"status": "PASS"
},
{
"name": "kunit_resource_test_static",
"status": "PASS"
},
{
"name": "kunit_resource_test_named",
"status": "PASS"
},
{
"name": "kunit_resource_test_action",
"status": "PASS"
},
{
"name": "kunit_resource_test_remove_action",
"status": "PASS"
},
{
"name": "kunit_resource_test_release_action",
"status": "PASS"
},
{
"name": "kunit_resource_test_action_ordering",
"status": "PASS"
}
],
"misc": {
"tests": 12,
"passed": 12,
"failed": 0,
"crashed": 0,
"skipped": 0,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
},
{
"name": "kunit-log-test",
"sub_groups": [],
"test_cases": [
{
"name": "kunit_log_test",
"status": "PASS"
},
{
"name": "kunit_log_newline_test",
"status": "PASS"
}
],
"misc": {
"tests": 2,
"passed": 2,
"failed": 0,
"crashed": 0,
"skipped": 0,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
},
{
"name": "kunit_status",
"sub_groups": [],
"test_cases": [
{
"name": "kunit_status_set_failure_test",
"status": "PASS"
},
{
"name": "kunit_status_mark_skipped_test",
"status": "PASS"
}
],
"misc": {
"tests": 2,
"passed": 2,
"failed": 0,
"crashed": 0,
"skipped": 0,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
},
{
"name": "kunit_current",
"sub_groups": [],
"test_cases": [
{
"name": "kunit_current_test",
"status": "PASS"
},
{
"name": "kunit_current_fail_test",
"status": "PASS"
}
],
"misc": {
"tests": 2,
"passed": 2,
"failed": 0,
"crashed": 0,
"skipped": 0,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
},
{
"name": "kunit_device",
"sub_groups": [],
"test_cases": [
{
"name": "kunit_device_test",
"status": "PASS"
},
{
"name": "kunit_device_cleanup_test",
"status": "PASS"
},
{
"name": "kunit_device_driver_test",
"status": "PASS"
}
],
"misc": {
"tests": 3,
"passed": 3,
"failed": 0,
"crashed": 0,
"skipped": 0,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
},
{
"name": "kunit_fault",
"sub_groups": [],
"test_cases": [
{
"name": "kunit_test_fault_null_dereference",
"status": "PASS"
}
],
"misc": {
"tests": 1,
"passed": 1,
"failed": 0,
"crashed": 0,
"skipped": 0,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
},
{
"name": "kunit_stub",
"sub_groups": [],
"test_cases": [
{
"name": "kunit_stub_test",
"status": "PASS"
}
],
"misc": {
"tests": 1,
"passed": 1,
"failed": 0,
"crashed": 0,
"skipped": 0,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
},
{
"name": "kunit_platform_device",
"sub_groups": [],
"test_cases": [
{
"name": "kunit_platform_device_alloc_test",
"status": "PASS"
},
{
"name": "kunit_platform_device_add_test",
"status": "PASS"
},
{
"name": "kunit_platform_device_add_twice_fails_test",
"status": "PASS"
},
{
"name": "kunit_platform_device_add_cleans_up",
"status": "PASS"
}
],
"misc": {
"tests": 4,
"passed": 4,
"failed": 0,
"crashed": 0,
"skipped": 0,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
},
{
"name": "kunit_platform_driver",
"sub_groups": [],
"test_cases": [
{
"name": "kunit_platform_driver_register_test",
"status": "PASS"
},
{
"name": "kunit_platform_device_prepare_wait_for_probe_completes_when_already_probed",
"status": "PASS"
}
],
"misc": {
"tests": 2,
"passed": 2,
"failed": 0,
"crashed": 0,
"skipped": 0,
"errors": 0
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
},
{
"name": "string-stream-test",
"sub_groups": [],
"test_cases": [
{
"name": "string_stream_managed_init_test",
"status": "PASS"
},
{
"name": "string_stream_unmanaged_init_test",
"status": "PASS"
},
{
"name": "string_stream_managed_free_test",
"status": "PASS"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
}
],
"misc": {
"tests": 12,
"passed": 3,
"failed": 0,
"crashed": 9,
"skipped": 0,
"errors": 10
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
}
],
"test_cases": [
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
},
{
"name": "",
"status": "ERROR"
}
],
"misc": {
"tests": 168,
"passed": 70,
"failed": 0,
"crashed": 89,
"skipped": 9,
"errors": 90
},
"arch": "x86_64",
"defconfig": "kunit_defconfig",
"build_environment": ".kunit",
"lab_name": null,
"kernel": null,
"job": null,
"git_branch": "kselftest"
}
The kernel seems to have crashed; you can decode the stack traces with:
$ scripts/decode_stacktrace.sh .kunit/vmlinux .kunit < .kunit/test.log | tee .kunit/decoded.log | ./tools/testing/kunit/kunit.py parse
[16:18:01] Elapsed time: 321.109s total, 0.002s configuring, 21.073s building, 300.035s running