Closed tdrozdovsky closed 11 months ago
I suggest looking at the error in test-suite separately, since locally the tests work correctly, and catching this error will be quite difficult since it depends on the hardware where the github->action is running
ERRO[2023-12-12T16:40:55Z]cpu.go:63 readCPUUsage
ERRO[2023-12-12T16:40:55Z]cpu.go:63 readCPUUsage
ERRO[2023-12-12T16:40:55Z]cpu.go:189 getCPUFreqCPUInfo EOF
ERRO[2023-12-12T16:40:55Z]cpu.go:189 getCPUFreqCPUInfo EOF
ERRO[2023-12-12T16:40:55Z]cpu.go:189 getCPUFreqCPUInfo EOF
--- FAIL: TestInfo (0.04s)
--- FAIL: TestInfo/Success (0.04s)
cpu_test.go:389: unexpected fail
FAIL
coverage: 96.3% of statements
FAIL github.com/lf-edge/edge-home-orchestration-go/internal/common/resourceutil/cpu 1.045s
I suggest looking at the error in test-suite separately, since locally the tests work correctly, and catching this error will be quite difficult since it depends on the hardware where the github->action is running
ERRO[2023-12-12T16:40:55Z]cpu.go:63 readCPUUsage ERRO[2023-12-12T16:40:55Z]cpu.go:63 readCPUUsage ERRO[2023-12-12T16:40:55Z]cpu.go:189 getCPUFreqCPUInfo EOF ERRO[2023-12-12T16:40:55Z]cpu.go:189 getCPUFreqCPUInfo EOF ERRO[2023-12-12T16:40:55Z]cpu.go:189 getCPUFreqCPUInfo EOF --- FAIL: TestInfo (0.04s) --- FAIL: TestInfo/Success (0.04s) cpu_test.go:389: unexpected fail FAIL coverage: 96.3% of statements FAIL github.com/lf-edge/edge-home-orchestration-go/internal/common/resourceutil/cpu 1.045s
What about excluding resourceutil/cpu
test from the workflow?
I suggest looking at the error in test-suite separately, since locally the tests work correctly, and catching this error will be quite difficult since it depends on the hardware where the github->action is running
ERRO[2023-12-12T16:40:55Z]cpu.go:63 readCPUUsage ERRO[2023-12-12T16:40:55Z]cpu.go:63 readCPUUsage ERRO[2023-12-12T16:40:55Z]cpu.go:189 getCPUFreqCPUInfo EOF ERRO[2023-12-12T16:40:55Z]cpu.go:189 getCPUFreqCPUInfo EOF ERRO[2023-12-12T16:40:55Z]cpu.go:189 getCPUFreqCPUInfo EOF --- FAIL: TestInfo (0.04s) --- FAIL: TestInfo/Success (0.04s) cpu_test.go:389: unexpected fail FAIL coverage: 96.3% of statements FAIL github.com/lf-edge/edge-home-orchestration-go/internal/common/resourceutil/cpu 1.045s
What about excluding
resourceutil/cpu
test from the workflow?
I'll try to fix this later. If it doesn’t work out then we’ll exclude it.
Kudos, no new issues were introduced!
0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Description
Fix fossology error:
Type of change
Test Configuration:
Checklist: