Skip to content

feat: Add cachedimage pulling progress status #550

feat: Add cachedimage pulling progress status

feat: Add cachedimage pulling progress status #550

Re-run triggered August 29, 2024 13:45
Status Failure
Total duration 51s
Artifacts

pr-code.yml

on: pull_request
Static Analysis
38s
Static Analysis
Matrix: Unit Testing
Fit to window
Zoom out
Zoom in

Annotations

90 errors and 6 warnings
Unit Testing (1.26): internal/controller/kuik/cachedimage_controller.go#L350
needUpdate declared and not used
Unit Testing (1.26)
needUpdate declared and not used
Unit Testing (1.26)
Process completed with exit code 2.
Unit Testing (1.26)
Cannot open: File exists
Unit Testing (1.26)
Cannot open: File exists
Unit Testing (1.26)
Cannot open: File exists
Unit Testing (1.26)
Cannot open: File exists
Unit Testing (1.26)
Cannot open: File exists
Unit Testing (1.26)
Cannot open: File exists
Unit Testing (1.26)
Cannot open: File exists
Unit Testing (1.26)
Cannot open: File exists
Unit Testing (1.26)
Cannot open: File exists
Unit Testing (1.26)
Cannot open: File exists
Unit Testing (1.27)
The job was canceled because "_1_26" failed.
Unit Testing (1.27): internal/controller/kuik/cachedimage_controller.go#L350
needUpdate declared and not used
Unit Testing (1.27)
needUpdate declared and not used
Unit Testing (1.27)
Process completed with exit code 2.
Unit Testing (1.27)
Cannot open: File exists
Unit Testing (1.27)
Cannot open: File exists
Unit Testing (1.27)
Cannot open: File exists
Unit Testing (1.27)
Cannot open: File exists
Unit Testing (1.27)
Cannot open: File exists
Unit Testing (1.27)
Cannot open: File exists
Unit Testing (1.27)
Cannot open: File exists
Unit Testing (1.27)
Cannot open: File exists
Unit Testing (1.27)
Cannot open: File exists
Unit Testing (1.27)
Cannot open: File exists
Unit Testing (1.25)
The job was canceled because "_1_26" failed.
Unit Testing (1.25)
Cannot open: File exists
Unit Testing (1.25)
Cannot open: File exists
Unit Testing (1.25)
Cannot open: File exists
Unit Testing (1.25)
Cannot open: File exists
Unit Testing (1.25)
Cannot open: File exists
Unit Testing (1.25)
Cannot open: File exists
Unit Testing (1.25)
Cannot open: File exists
Unit Testing (1.25)
Cannot open: File exists
Unit Testing (1.25)
Cannot open: File exists
Unit Testing (1.25)
Cannot open: File exists
Unit Testing (1.25): internal/controller/kuik/cachedimage_controller.go#L350
needUpdate declared and not used
Unit Testing (1.25)
needUpdate declared and not used
Unit Testing (1.25)
Process completed with exit code 2.
Unit Testing (1.24)
The job was canceled because "_1_26" failed.
Unit Testing (1.24)
Cannot open: File exists
Unit Testing (1.24)
Cannot open: File exists
Unit Testing (1.24)
Cannot open: File exists
Unit Testing (1.24)
Cannot open: File exists
Unit Testing (1.24)
Cannot open: File exists
Unit Testing (1.24)
Cannot open: File exists
Unit Testing (1.24)
Cannot open: File exists
Unit Testing (1.24)
Cannot open: File exists
Unit Testing (1.24)
Cannot open: File exists
Unit Testing (1.24)
Cannot open: File exists
Unit Testing (1.24): internal/controller/kuik/cachedimage_controller.go#L350
needUpdate declared and not used
Unit Testing (1.24)
needUpdate declared and not used
Unit Testing (1.24)
The operation was canceled.
Unit Testing (1.28)
The job was canceled because "_1_26" failed.
Unit Testing (1.28): internal/controller/kuik/cachedimage_controller.go#L350
needUpdate declared and not used
Unit Testing (1.28)
needUpdate declared and not used
Unit Testing (1.28)
The operation was canceled.
Unit Testing (1.28)
Cannot open: File exists
Unit Testing (1.28)
Cannot open: File exists
Unit Testing (1.28)
Cannot open: File exists
Unit Testing (1.28)
Cannot open: File exists
Unit Testing (1.28)
Cannot open: File exists
Unit Testing (1.28)
Cannot open: File exists
Unit Testing (1.28)
Cannot open: File exists
Unit Testing (1.28)
Cannot open: File exists
Unit Testing (1.28)
Cannot open: File exists
Unit Testing (1.28)
Cannot open: File exists
Unit Testing (1.29)
The job was canceled because "_1_26" failed.
Unit Testing (1.29)
Cannot open: File exists
Unit Testing (1.29)
Cannot open: File exists
Unit Testing (1.29)
Cannot open: File exists
Unit Testing (1.29)
Cannot open: File exists
Unit Testing (1.29)
Cannot open: File exists
Unit Testing (1.29)
Cannot open: File exists
Unit Testing (1.29)
Cannot open: File exists
Unit Testing (1.29)
Cannot open: File exists
Unit Testing (1.29)
Cannot open: File exists
Unit Testing (1.29)
Cannot open: File exists
Static Analysis: internal/controller/collector.go#L7
could not import github.com/enix/kube-image-keeper/api/kuik/v1alpha1 (-: # github.com/enix/kube-image-keeper/api/kuik/v1alpha1
Static Analysis: api/kuik/v1alpha1/cachedimage_types.go#L81
cannot use &CachedImage{} (value of type *CachedImage) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to SchemeBuilder.Register: *CachedImage does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)
Static Analysis: api/kuik/v1alpha1/cachedimage_types.go#L81
cannot use &CachedImageList{} (value of type *CachedImageList) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to SchemeBuilder.Register: *CachedImageList does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)
Static Analysis: api/kuik/v1alpha1/cachedimage_utils.go#L30
cannot use &repository (value of type *Repository) as "sigs.k8s.io/controller-runtime/pkg/client".Object value in argument to apiReader.Get: *Repository does not implement "sigs.k8s.io/controller-runtime/pkg/client".Object (missing method DeepCopyObject)
Static Analysis: api/kuik/v1alpha1/cachedimage_webhook.go#L16
cannot use r (variable of type *CachedImage) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to ctrl.NewWebhookManagedBy(mgr).WithDefaulter(r).For: *CachedImage does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)
Static Analysis: api/kuik/v1alpha1/cachedimage_webhook.go#L23
impossible type assertion: obj.(*CachedImage)
Static Analysis: api/kuik/v1alpha1/repository_types.go#L55
cannot use &Repository{} (value of type *Repository) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to SchemeBuilder.Register: *Repository does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)
Static Analysis: api/kuik/v1alpha1/repository_types.go#L55
cannot use &RepositoryList{} (value of type *RepositoryList) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to SchemeBuilder.Register: *RepositoryList does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)) (typecheck)
Static Analysis: internal/scheme/scheme.go#L13
could not import github.com/enix/kube-image-keeper/api/kuik/v1alpha1 (-: # github.com/enix/kube-image-keeper/api/kuik/v1alpha1
Static Analysis: api/kuik/v1alpha1/cachedimage_types.go#L81
cannot use &CachedImage{} (value of type *CachedImage) as "k8s.io/apimachinery/pkg/runtime".Object value in argument to SchemeBuilder.Register: *CachedImage does not implement "k8s.io/apimachinery/pkg/runtime".Object (missing method DeepCopyObject)
Unit Testing (1.26)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Unit Testing (1.27)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Unit Testing (1.25)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Unit Testing (1.24)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Unit Testing (1.28)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Unit Testing (1.29)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2