Skip to content

Migrate from ClusterPolicy to NVIDIADriver owned driver daemonsets #491

Migrate from ClusterPolicy to NVIDIADriver owned driver daemonsets

Migrate from ClusterPolicy to NVIDIADriver owned driver daemonsets #491

Triggered via pull request September 9, 2024 21:07
Status Failure
Total duration 2m 48s
Artifacts

ci.yaml

on: pull_request
helm-lint
7s
helm-lint
validate-csv
33s
validate-csv
validate-helm-values
40s
validate-helm-values
Matrix: build-gpu-operator-validator
Matrix: build-gpu-operator
e2e-tests-containerd
0s
e2e-tests-containerd
e2e-tests-nvidiadriver
0s
e2e-tests-nvidiadriver
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
unit tests
Process completed with exit code 2.
go-check: controllers/nvidiadriver_controller.go#L210
`overriden` is a misspelling of `overridden` (misspell)
go-check: controllers/nvidiadriver_controller.go#L567
S1002: should omit comparison to bool constant, can be simplified to `*clusterpolicy.Spec.Operator.UseOpenShiftDriverToolkit` (gosimple)
go-check: controllers/nvidiadriver_controller.go#L471
S1009: should omit nil check; len() for []k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference is defined as zero (gosimple)
go-check: controllers/nvidiadriver_controller.go#L507
S1009: should omit nil check; len() for map[string]string is defined as zero (gosimple)
go-check: controllers/nvidiadriver_controller.go#L515
S1009: should omit nil check; len() for []k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference is defined as zero (gosimple)
go-check: internal/validator/validator.go#L55
S1009: should omit nil check; len() for map[string]string is defined as zero (gosimple)
go-check: internal/validator/validator.go#L72
S1009: should omit nil check; len() for map[string]string is defined as zero (gosimple)
go-check: controllers/nvidiadriver_controller.go#L516
S1039: unnecessary use of fmt.Sprintf (gosimple)
go-check
issues found
validate-csv
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
validate-helm-values
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
unit tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
go-check
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2