-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
fwts klog reported 0 errors when running inside a checkbox shell but reported multiple errors when it's running as a regular debian package on the same device. One machine that can consistently reproduce this is 202411-35954
- From the logs it seems like it's having permission issues
Cert-blocker Test Case
- cert-blocker
To Reproduce
- Boot into OS
sudo apt install fwtsand runfwts klog. This should produce an errorsudo apt remove fwtsor just reinstall the OS- Install snap checkbox
sudo checkbox.shellorsudo snap run --shell checkbox.checkbox-cli- Run
fwts klogagain,this time there's no error
Expected Result
fwts klog should report the same result in both environments
Actual Result
fwts klog only produces errors in debian checkbox
Environment
- Ubuntu24.04
- Both snap and debian
Relevant log output
Results generated by fwts: Version V25.03.00 (2025-03-26 03:08:14).
Some of this work - Copyright (c) 1999 - 2025, Intel Corp. All rights reserved.
Some of this work - Copyright (c) 2010 - 2025, Canonical.
Some of this work - Copyright (c) 2016 - 2025, IBM.
Some of this work - Copyright (c) 2017 - 2025, ARM Ltd.
This test run on 04/07/25 at 06:55:37 on host Linux localhost 6.11.0-1023-oem
#23-Ubuntu SMP PREEMPT_DYNAMIC Mon May 19 08:39:00 UTC 2025 x86_64.
Command: "fwts -r snap-fwts.log klog".
Running tests: klog.
klog: Scan kernel log for errors and warnings.
--------------------------------------------------------------------------------
Test 1 of 1: Kernel log error check.
Cannot read file //share/fwts/klog.json, check the path and check that the file
exists, you may need to specify -j or -J.
Error parsing kernel log.
================================================================================
0 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
================================================================================
0 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
Test Failure Summary
================================================================================
Critical failures: NONE
High failures: NONE
Medium failures: NONE
Low failures: NONE
Other failures: NONE
Test |Pass |Fail |Abort|Warn |Skip |Info |
---------------+-----+-----+-----+-----+-----+-----+
klog | | | | | | |
---------------+-----+-----+-----+-----+-----+-----+
Total: | 0| 0| 0| 0| 0| 0|
---------------+-----+-----+-----+-----+-----+-----+Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working