Skip to content

chore: improve log for node-collector error #1058

chore: improve log for node-collector error

chore: improve log for node-collector error #1058

Triggered via pull request January 20, 2025 05:46
Status Failure
Total duration 1m 41s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 5 warnings
Verify code: pkg/trivyk8s/trivyk8s_test.go#L80
undefined: k8s.NewMockNamespaceableResourceInterface
Verify code: pkg/trivyk8s/trivyk8s_test.go#L85
undefined: k8s.NewMockCluster
Verify code: pkg/trivyk8s/trivyk8s_test.go#L85
undefined: k8s.NewMockClusterDynamicClient (typecheck)
Verify code
issues found
Run unit tests: pkg/trivyk8s/trivyk8s_test.go#L80
undefined: k8s.NewMockNamespaceableResourceInterface
Run unit tests: pkg/trivyk8s/trivyk8s_test.go#L85
undefined: k8s.NewMockCluster
Run unit tests: pkg/trivyk8s/trivyk8s_test.go#L85
undefined: k8s.NewMockClusterDynamicClient
Run unit tests
Process completed with exit code 2.
Verify code
Restore cache failed: Dependencies file is not found in /home/runner/work/trivy-kubernetes/trivy-kubernetes. Supported file pattern: go.sum
Verify code
Unexpected input(s) 'skip-pkg-cache', 'skip-build-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
Verify code
Unexpected input(s) 'skip-pkg-cache', 'skip-build-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
Run end to end testing
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run unit tests
Restore cache failed: Dependencies file is not found in /home/runner/work/trivy-kubernetes/trivy-kubernetes. Supported file pattern: go.sum