[SONiC] CPU Stall: Soft Lockup & Hard Lockup Issues observed with SONiC NOS builds (202305/202311/master)
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- linux
- Domain
- operating-systems
Research direction
Start by reviewing the linked sonic-buildimage issues 17358, 17361, and 17363 alongside the reported SONiC build versions, kernel versions, platform, and test conditions. Done would require identifying the cause of the random soft or hard lockups and providing a verified resolution, but this issue does not name source files or tests to run.
Written by the indexing model from the issue text.
Description
Hi Team,
We are trying to run/execute SONiC community defined T1-topology test-suite using '202305 Release build' on platform 'Accton-AS7716-32X'.
On every attempt of our test-run, we are facing 'CPU Stall Issue' randomly, wherein noticed that Kernel-threads are getting into Hung state (randomly) and NMI watch-dog timer is getting triggered, which results in board restart.
We are observing the same issue in 202311 & 'master' branch release builds (generated from Community Azure pipeline) i.e. CPU stall issue is seen with SONiC NOS builds having Bullseye/5.10-Kernel version (i.e. 202311) & Bookworm/6.1-kernel version (i.e. master), as well.
We consulted Accton team and shared our observations, they confirmed that it is not a hardware issue and need to be checked further from Community NOS. We have made some initial analysis based on the received logs and reported issue in Community GITHub link (currently unable to proceed further & conclude/resolve the issue).
Request your expert advice in this regard to solve this issue and provide any suggestions in this regard.
GITHub Issue Links for CPU Stall Issues:
1. CPU Stall: Soft Lockup issue observed in 202305 Release Branch [Kernel: 5.10.140-1] [Accton-AS7716-32X]
https://github.com/sonic-net/sonic-buildimage/issues/17358
2. CPU Stall: Hard Lockup issue observed in 202305 Release Branch [Kernel: 5.10.140-1] [Accton-AS7716-32X]
https://github.com/sonic-net/sonic-buildimage/issues/17361
https://github.com/sonic-net/sonic-buildimage/issues/17363
Some Observations:
- These CPU Stall issues are seen RANDOMLY, while executing community test-suite.
- These CPU Stall issues are predominantly seen while executing 'T1-topology cases' and not with T0-topology cases.
- These CPU Stall issues are seen only when test cases are executed in a batch. If the same test-case is executed individually, then such issues are not seen.
- Dominant language
- Shell
- Stars
- 72
- Forks
- 237
- Avg merge
- 7d 19h
- Merged PRs (30d)
- 8
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sonic-net/sonic-linux-kernel
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
sonic-net/sonic-linux-kernel#531 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
sonic-net/sonic-linux-kernel#348 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
sonic-net/sonic-linux-kernel#347 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
sonic-net/sonic-linux-kernel#346 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
sonic-net/sonic-linux-kernel#345 · 1 comment · 1 reaction ·
All issues in sonic-net/sonic-linux-kernel
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
community-scripts/ProxmoxVE#17425 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
conda-forge/python-feedstock#934 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100