Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

ssh topology scanner initial implementation #2133

ssh topology scanner initial implementation

ssh topology scanner initial implementation #2133

Triggered via pull request August 16, 2023 09:18
Status Failure
Total duration 17m 9s
Artifacts

ci.yml

on: pull_request
API Verification
17s
API Verification
Build  /  timestamp
Build / timestamp
build  /  ...  /  build-and-push
build / vmclarity-apiserver / build-and-push
build  /  ...  /  build-and-push
build / vmclarity-cli / build-and-push
build  /  ...  /  build-and-push
build / vmclarity-orchestrator / build-and-push
build  /  ...  /  build-and-push
build / vmclarity-ui / build-and-push
build  /  ...  /  build-and-push
build / vmclarity-ui-backend / build-and-push
Fit to window
Zoom out
Zoom in

Annotations

9 errors
Verification: pkg/shared/families/infofinder/sshtopology/scanner.go#L56
cognitive complexity 39 of func `(*Scanner).Run` is high (> 30) (gocognit)
Verification: pkg/shared/families/infofinder/sshtopology/scanner.go#L310
Consider pre-allocating `infos` (prealloc)
Verification: pkg/cli/state/local.go#L40
missing cases in switch of type types.FamilyType: types.InfoFinder (exhaustive)
Verification: pkg/cli/state/vmclarity.go#L160
missing cases in switch of type types.FamilyType: types.InfoFinder (exhaustive)
Verification: pkg/cli/presenter/vmclarity.go#L49
missing cases in switch of type types.FamilyType: types.InfoFinder (exhaustive)
Verification: pkg/shared/families/infofinder/sshtopology/scanner.go#L83
mnd: Magic number: 3, in <operation> detected (gomnd)
Verification: pkg/shared/families/infofinder/sshtopology/scanner.go#L281
error returned from external package is unwrapped: sig: func path/filepath.Walk(root string, fn path/filepath.WalkFunc) error (wrapcheck)
Verification: pkg/shared/families/infofinder/sshtopology/scanner.go#L335
error returned from external package is unwrapped: sig: func github.com/openclarity/vmclarity/pkg/shared/utils.RunCommand(cmd *os/exec.Cmd) ([]byte, error) (wrapcheck)
Verification
Process completed with exit code 2.