Skip to contentSkip to conversation

πŸ’₯ PANICKED: Test report for kernel 5.10.0-rc1 (arm-next)

DISCUSSION CKI Project 3 participants 4 messages Oct 26, 2020 – Oct 27, 2020

lore
Share & tools
lore
#0 lore raw

Hello,

We ran automated tests on a recent commit from this kernel tree:

Kernel repo: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git
Commit: 3650b228f83a - Linux 5.10-rc1

The results of these automated tests are provided below.

Overall result: FAILED (see details below)
Merge: OK
Compile: OK
Tests: PANICKED

All kernel binaries, config files, and logs are available for download here:

https://arr-cki-prod-datawarehouse-public.s3.amazonaws.com/index.html?prefix=datawarehouse-public/2020/10/26/615908

One or more kernel tests failed:

aarch64:
πŸ’₯ stress: stress-ng

We hope that these logs can help you find the problem quickly. For the full detail on our testing procedures, please scroll to the bottom of this message.

Please reply to this email if you have any questions about the tests that we ran or if you have any suggestions on how to make future tests more effective.

        ,-.   ,-.
       ( C ) ( K )  Continuous
        `-',-.`-'   Kernel
          ( I )     Integration
           `-'

______________________________________________________________________________

Compile testing
---------------

We compiled the kernel for 1 architecture:

aarch64:
make options: make -j30 INSTALL_MOD_STRIP=1 targz-pkg

Hardware testing
----------------
We booted each kernel and ran the following tests:

aarch64:
Host 1:
βœ… Boot test
βœ… ACPI table test
βœ… ACPI enabled test
βœ… Podman system integration test - as root βœ… Podman system integration test - as user βœ… LTP
βœ… Loopdev Sanity
βœ… Memory: fork_mem
βœ… Memory function: memfd_create
βœ… AMTU (Abstract Machine Test Utility) βœ… Networking bridge: sanity
βœ… Networking socket: fuzz
βœ… Networking: igmp conformance test
βœ… Networking route: pmtu
βœ… Networking route_func - local
βœ… Networking route_func - forward
βœ… Networking TCP: keepalive test
βœ… Networking UDP: socket
βœ… Networking tunnel: geneve basic test βœ… Networking tunnel: gre basic
βœ… L2TP basic test
βœ… Networking tunnel: vxlan basic
βœ… Networking ipsec: basic netns - transport βœ… Networking ipsec: basic netns - tunnel βœ… Libkcapi AF_ALG test
βœ… pciutils: update pci ids test
βœ… ALSA PCM loopback test
βœ… ALSA Control (mixer) Userspace Element test βœ… storage: SCSI VPD
🚧 βœ… CIFS Connectathon
🚧 βœ… POSIX pjd-fstest suites
🚧 βœ… Firmware test suite
🚧 βœ… jvm - jcstress tests
🚧 βœ… Memory function: kaslr
🚧 βœ… Ethernet drivers sanity
🚧 βœ… Networking firewall: basic netfilter test 🚧 βœ… audit: audit testsuite test
🚧 βœ… trace: ftrace/tracer
🚧 βœ… kdump - kexec_boot

Host 2:
βœ… Boot test
βœ… xfstests - ext4
βœ… xfstests - xfs
βœ… selinux-policy: serge-testsuite
βœ… storage: software RAID testing
πŸ’₯ stress: stress-ng
🚧 ⚑⚑⚑ xfstests - btrfs
🚧 ⚑⚑⚑ IPMI driver test
🚧 ⚑⚑⚑ IPMItool loop stress test
🚧 ⚑⚑⚑ Storage blktests
🚧 ⚑⚑⚑ Storage nvme - tcp

Test sources: https://gitlab.com/cki-project/kernel-tests
πŸ’š Pull requests are welcome for new tests or improvements to existing tests!

Aborted tests
-------------
Tests that didn't complete running successfully are marked with ⚑⚑⚑. If this was caused by an infrastructure issue, we try to mark that explicitly in the report.

Waived tests
------------
If the test run included waived tests, they are marked with 🚧. Such tests are executed but their results are not taken into account. Tests are waived when their results are not reliable enough, e.g. when they're just introduced or are being fixed.

Testing timeout
---------------
We aim to provide a report within reasonable timeframe. Tests that haven't finished running yet are marked with ⏱.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#1 lore raw

Hi CKI folks,

Quoted 12 lines Β· CKI Project

We ran automated tests on a recent commit from this kernel tree:

Kernel repo: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git
Commit: 3650b228f83a - Linux 5.10-rc1

The results of these automated tests are provided below.

Overall result: FAILED (see details below)
Merge: OK
Compile: OK
Tests: PANICKED

Quoted 8 lines

All kernel binaries, config files, and logs are available for download here:

https://arr-cki-prod-datawarehouse-public.s3.amazonaws.com/index.html?prefix=datawarehouse-public/2020/10/26/615908

One or more kernel tests failed:

aarch64:
πŸ’₯ stress: stress-ng

Hmm, I can't see a kernel panic in any of the logs, but I might be looking in the wrong place. Please can you point me to the panic message?

Thanks,

Will

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#2 lore raw
Quoted 19 lines Β· Will Deacon

Hi CKI folks,

Quoted 16 lines Β· CKI Project

We ran automated tests on a recent commit from this kernel tree:

Kernel repo: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git
Commit: 3650b228f83a - Linux 5.10-rc1

The results of these automated tests are provided below.

Overall result: FAILED (see details below)
Merge: OK
Compile: OK
Tests: PANICKED

All kernel binaries, config files, and logs are available for download here:

   https://arr-cki-prod-datawarehouse-public.s3.amazonaws.com/index.html?prefix=datawarehouse-public/2020/10/26/615908
Quoted 7 lines
Quoted 4 lines

One or more kernel tests failed:

aarch64:
πŸ’₯ stress: stress-ng

Hmm, I can't see a kernel panic in any of the logs, but I might be looking in the wrong place. Please can you point me to the panic message?

You can find it in the console.log. It was triggered by stress-ng, it's also present on mainline and other upstream trees for both aarch64/x86_64 arches, we are working on reporting and masking the stressor.

https://arr-cki-prod-datawarehouse-public.s3.amazonaws.com/datawarehouse-public/2020/10/26/615908/build_aarch64_redhat%3A1003829/tests/8971427_aarch64_2_console.log

[ 9602.788234] Call trace:
[ 9602.788243]  percpu_ref_get_many.constprop.0+0x10/0x78
[ 9602.788246]  refill_obj_stock+0x64/0xd8
[ 9602.788250]  obj_cgroup_uncharge+0x18/0x28
[ 9602.788257]  memcg_slab_free_hook+0xf4/0x240
[ 9602.788263]  kfree+0xe8/0x298
[ 9602.788267]  proc_sys_call_handler+0x180/0x220
[ 9602.788271]  proc_sys_read+0x1c/0x28
[ 9602.788274]  new_sync_read+0xdc/0x158
[ 9602.789461]  vfs_read+0x150/0x1e0
[ 9602.789466]  ksys_read+0x60/0xe8
[ 9602.789469]  __arm64_sys_read+0x24/0x30
[ 9602.789472]  el0_svc_common.constprop.0+0x84/0x1b8
[ 9602.790666]  do_el0_svc+0x2c/0x98
[ 9602.790673]  el0_sync_handler+0xb0/0xb8
[ 9602.790681]  el0_sync+0x178/0x180
[ 9602.790688] Code: d503233f a9be7bfd aa0003e1 910003fd (f9400000)
[ 9602.790691] ---[ end trace b214fef13c27568f ]---
[ 9602.797750] usercopy: Kernel memory exposure attempt detected from SLUB object 'kmalloc-128' (offset 49, size 108)!
[ 9603.823095] ------------[ cut here ]------------
[ 9603.823100] kernel BUG at mm/usercopy.c:99!
[ 9603.823111] Internal error: Oops - BUG: 0 [#4] SMP

Thanks,
Rachel

Quoted 6 lines

Thanks,

Will

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#3 lore raw
Quoted 45 lines Β· Rachel Sibley
Quoted 17 lines Β· Will Deacon
Quoted 16 lines Β· CKI Project

We ran automated tests on a recent commit from this kernel tree:

Kernel repo: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git
Commit: 3650b228f83a - Linux 5.10-rc1

The results of these automated tests are provided below.

Overall result: FAILED (see details below)
Merge: OK
Compile: OK
Tests: PANICKED

All kernel binaries, config files, and logs are available for download here:

   https://arr-cki-prod-datawarehouse-public.s3.amazonaws.com/index.html?prefix=datawarehouse-public/2020/10/26/615908
Quoted 7 lines
Quoted 4 lines

One or more kernel tests failed:

aarch64:
πŸ’₯ stress: stress-ng

Hmm, I can't see a kernel panic in any of the logs, but I might be looking in the wrong place. Please can you point me to the panic message?

You can find it in the console.log. It was triggered by stress-ng, it's also present on mainline and other upstream trees for both aarch64/x86_64 arches, we are working on reporting and masking the stressor.

https://arr-cki-prod-datawarehouse-public.s3.amazonaws.com/datawarehouse-public/2020/10/26/615908/build_aarch64_redhat%3A1003829/tests/8971427_aarch64_2_console.log

[ 9602.788234] Call trace:
[ 9602.788243]  percpu_ref_get_many.constprop.0+0x10/0x78
[ 9602.788246]  refill_obj_stock+0x64/0xd8
[ 9602.788250]  obj_cgroup_uncharge+0x18/0x28
[ 9602.788257]  memcg_slab_free_hook+0xf4/0x240
[ 9602.788263]  kfree+0xe8/0x298
[ 9602.788267]  proc_sys_call_handler+0x180/0x220
[ 9602.788271]  proc_sys_read+0x1c/0x28
[ 9602.788274]  new_sync_read+0xdc/0x158
[ 9602.789461]  vfs_read+0x150/0x1e0
[ 9602.789466]  ksys_read+0x60/0xe8
[ 9602.789469]  __arm64_sys_read+0x24/0x30
[ 9602.789472]  el0_svc_common.constprop.0+0x84/0x1b8
[ 9602.790666]  do_el0_svc+0x2c/0x98
Quoted 8 lines
[ 9602.790673]  el0_sync_handler+0xb0/0xb8
[ 9602.790681]  el0_sync+0x178/0x180
[ 9602.790688] Code: d503233f a9be7bfd aa0003e1 910003fd (f9400000)
[ 9602.790691] ---[ end trace b214fef13c27568f ]---
[ 9602.797750] usercopy: Kernel memory exposure attempt detected from SLUB object 'kmalloc-128' (offset 49, size 108)!
[ 9603.823095] ------------[ cut here ]------------
[ 9603.823100] kernel BUG at mm/usercopy.c:99!
[ 9603.823111] Internal error: Oops - BUG: 0 [#4] SMP

Aha, thanks. I was grepping for "panic"!

Will

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel