Skip to content

update trivy

update trivy #1111

Triggered via push September 19, 2023 18:03
Status Failure
Total duration 1m 37s
Artifacts

test.yaml

on: push
Generate build id for storage  /  Generate Build ID
11s
Generate build id for storage / Generate Build ID
Lint
1m 9s
Lint
Unit Tests
1m 27s
Unit Tests
Check codegen and manifest
45s
Check codegen and manifest
[Trivy] Scan for vulnerabilities
46s
[Trivy] Scan for vulnerabilities
Build images for e2e tests  /  Build remover image for e2e tests
47s
Build images for e2e tests / Build remover image for e2e tests
Build images for e2e tests  /  Build trivy-scanner image for e2e tests
57s
Build images for e2e tests / Build trivy-scanner image for e2e tests
Build images for e2e tests  /  Build manager image for e2e tests
1m 0s
Build images for e2e tests / Build manager image for e2e tests
Build images for e2e tests  /  Build collector image for e2e tests
51s
Build images for e2e tests / Build collector image for e2e tests
Run e2e tests  /  Build E2E Test List
Run e2e tests / Build E2E Test List
Matrix: Run e2e tests / E2E Tests
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

62 errors and 5 warnings
Check codegen and manifest
Process completed with exit code 1.
[Trivy] Scan for vulnerabilities
Process completed with exit code 2.
Lint: controllers/configmap/configmap.go#L122
r.List undefined (type *Reconciler has no field or method List) (typecheck)
Lint: controllers/configmap/configmap.go#L135
r.List undefined (type *Reconciler has no field or method List) (typecheck)
Lint: controllers/configmap/configmap.go#L172
r.Update undefined (type *Reconciler has no field or method Update) (typecheck)
Lint: pkg/logger/zap.go#L40
undefined: klog (typecheck)
Lint: pkg/logger/zap.go#L47
undefined: klog (typecheck)
Lint: controllers/imagecollector/imagecollector_controller.go#L218
r.List undefined (type *Reconciler has no field or method List) (typecheck)
Lint: controllers/imagecollector/imagecollector_controller.go#L225
r.Delete undefined (type *Reconciler has no field or method Delete) (typecheck)
Lint: controllers/imagecollector/imagecollector_controller.go#L254
r.Delete undefined (type *Reconciler has no field or method Delete) (typecheck)
Lint: controllers/imagecollector/imagecollector_controller.go#L260
r.Get undefined (type *Reconciler has no field or method Get) (typecheck)
Lint: controllers/imagecollector/imagecollector_controller.go#L271
r.Delete undefined (type *Reconciler has no field or method Delete) (typecheck)
Build images for e2e tests / Build remover image for e2e tests
missing go.sum entry for module providing package github.com/cenkalti/backoff/v4 (imported by go.opentelemetry.io/otel/exporters/otlp/internal/retry); to add:
Build images for e2e tests / Build remover image for e2e tests
missing go.sum entry for module providing package github.com/go-logr/logr (imported by github.com/eraser-dev/eraser/pkg/logger); to add:
Build images for e2e tests / Build remover image for e2e tests
missing go.sum entry for module providing package github.com/go-logr/logr/funcr (imported by github.com/go-logr/stdr); to add:
Build images for e2e tests / Build remover image for e2e tests
missing go.sum entry for module providing package github.com/imdario/mergo (imported by k8s.io/client-go/tools/clientcmd); to add:
Build images for e2e tests / Build remover image for e2e tests
missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus (imported by sigs.k8s.io/controller-runtime/pkg/metrics); to add:
Build images for e2e tests / Build remover image for e2e tests
missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/collectors (imported by sigs.k8s.io/controller-runtime/pkg/internal/controller/metrics); to add:
Build images for e2e tests / Build remover image for e2e tests
missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/promhttp (imported by sigs.k8s.io/controller-runtime/pkg/manager); to add:
Build images for e2e tests / Build remover image for e2e tests
missing go.sum entry for module providing package go.opentelemetry.io/otel/metric (imported by github.com/eraser-dev/eraser/pkg/metrics); to add:
Build images for e2e tests / Build remover image for e2e tests
missing go.sum entry for module providing package go.opentelemetry.io/otel/metric/global (imported by github.com/eraser-dev/eraser/pkg/remover); to add:
Build images for e2e tests / Build remover image for e2e tests
missing go.sum entry for module providing package go.opentelemetry.io/otel/metric/instrument (imported by github.com/eraser-dev/eraser/pkg/metrics); to add:
Build images for e2e tests / Build collector image for e2e tests
missing go.sum entry for module providing package github.com/go-logr/logr (imported by github.com/eraser-dev/eraser/pkg/logger); to add:
Build images for e2e tests / Build collector image for e2e tests
missing go.sum entry for module providing package github.com/imdario/mergo (imported by k8s.io/client-go/tools/clientcmd); to add:
Build images for e2e tests / Build collector image for e2e tests
missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus (imported by sigs.k8s.io/controller-runtime/pkg/metrics); to add:
Build images for e2e tests / Build collector image for e2e tests
missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/collectors (imported by sigs.k8s.io/controller-runtime/pkg/internal/controller/metrics); to add:
Build images for e2e tests / Build collector image for e2e tests
missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/promhttp (imported by sigs.k8s.io/controller-runtime/pkg/manager); to add:
Build images for e2e tests / Build collector image for e2e tests
missing go.sum entry for module providing package go.uber.org/multierr (imported by go.uber.org/zap); to add:
Build images for e2e tests / Build collector image for e2e tests
missing go.sum entry for module providing package golang.org/x/net/http2 (imported by k8s.io/apimachinery/pkg/util/net); to add:
Build images for e2e tests / Build collector image for e2e tests
missing go.sum entry for module providing package golang.org/x/oauth2 (imported by k8s.io/client-go/transport); to add:
Build images for e2e tests / Build collector image for e2e tests
missing go.sum entry for module providing package golang.org/x/sys/unix (imported by github.com/eraser-dev/eraser/pkg/collector); to add:
Build images for e2e tests / Build collector image for e2e tests
missing go.sum entry for module providing package google.golang.org/grpc (imported by github.com/eraser-dev/eraser/pkg/cri); to add:
Build images for e2e tests / Build trivy-scanner image for e2e tests
missing go.sum entry for module providing package github.com/aquasecurity/trivy-db/pkg/types (imported by github.com/aquasecurity/trivy/pkg/types); to add:
Build images for e2e tests / Build trivy-scanner image for e2e tests
missing go.sum entry for module providing package github.com/cenkalti/backoff/v4 (imported by go.opentelemetry.io/otel/exporters/otlp/internal/retry); to add:
Build images for e2e tests / Build trivy-scanner image for e2e tests
missing go.sum entry for module providing package github.com/go-logr/logr (imported by github.com/eraser-dev/eraser/pkg/logger); to add:
Build images for e2e tests / Build trivy-scanner image for e2e tests
missing go.sum entry for module providing package github.com/go-logr/logr/funcr (imported by github.com/go-logr/stdr); to add:
Build images for e2e tests / Build trivy-scanner image for e2e tests
missing go.sum entry for module providing package github.com/google/go-containerregistry/pkg/v1 (imported by github.com/aquasecurity/trivy/pkg/types); to add:
Build images for e2e tests / Build trivy-scanner image for e2e tests
missing go.sum entry for module providing package github.com/imdario/mergo (imported by k8s.io/client-go/tools/clientcmd); to add:
Build images for e2e tests / Build trivy-scanner image for e2e tests
missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus (imported by sigs.k8s.io/controller-runtime/pkg/metrics); to add:
Build images for e2e tests / Build trivy-scanner image for e2e tests
missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/collectors (imported by sigs.k8s.io/controller-runtime/pkg/internal/controller/metrics); to add:
Build images for e2e tests / Build trivy-scanner image for e2e tests
missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/promhttp (imported by sigs.k8s.io/controller-runtime/pkg/manager); to add:
Build images for e2e tests / Build trivy-scanner image for e2e tests
missing go.sum entry for module providing package github.com/samber/lo (imported by github.com/aquasecurity/trivy/pkg/fanal/types); to add:
Build images for e2e tests / Build manager image for e2e tests
missing go.sum entry for module providing package github.com/cenkalti/backoff/v4 (imported by go.opentelemetry.io/otel/exporters/otlp/internal/retry); to add:
Build images for e2e tests / Build manager image for e2e tests
missing go.sum entry for module providing package github.com/go-logr/logr (imported by github.com/eraser-dev/eraser/pkg/logger); to add:
Build images for e2e tests / Build manager image for e2e tests
missing go.sum entry for module providing package github.com/go-logr/logr/funcr (imported by github.com/go-logr/stdr); to add:
Build images for e2e tests / Build manager image for e2e tests
missing go.sum entry for module providing package github.com/imdario/mergo (imported by k8s.io/client-go/tools/clientcmd); to add:
Build images for e2e tests / Build manager image for e2e tests
missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus (imported by sigs.k8s.io/controller-runtime/pkg/metrics); to add:
Build images for e2e tests / Build manager image for e2e tests
missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/collectors (imported by sigs.k8s.io/controller-runtime/pkg/internal/controller/metrics); to add:
Build images for e2e tests / Build manager image for e2e tests
missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/promhttp (imported by sigs.k8s.io/controller-runtime/pkg/manager); to add:
Build images for e2e tests / Build manager image for e2e tests
missing go.sum entry for module providing package go.opentelemetry.io/otel/metric (imported by github.com/eraser-dev/eraser/pkg/metrics); to add:
Build images for e2e tests / Build manager image for e2e tests
missing go.sum entry for module providing package go.opentelemetry.io/otel/metric/global (imported by github.com/eraser-dev/eraser/controllers/configmap); to add:
Build images for e2e tests / Build manager image for e2e tests
missing go.sum entry for module providing package go.opentelemetry.io/otel/metric/instrument (imported by github.com/eraser-dev/eraser/pkg/metrics); to add:
Unit Tests
missing go.sum entry for module providing package k8s.io/utils/net (imported by k8s.io/apimachinery/pkg/util/validation); to add:
Unit Tests
missing go.sum entry for module providing package github.com/go-logr/logr (imported by github.com/eraser-dev/eraser/pkg/logger); to add:
Unit Tests
missing go.sum entry for module providing package k8s.io/utils/strings/slices (imported by k8s.io/apimachinery/pkg/labels); to add:
Unit Tests
missing go.sum entry for module providing package sigs.k8s.io/json (imported by k8s.io/apimachinery/pkg/util/json); to add:
Unit Tests
missing go.sum entry for module providing package golang.org/x/net/http2 (imported by k8s.io/client-go/rest); to add:
Unit Tests
missing go.sum entry for module providing package k8s.io/kube-openapi/pkg/util/proto (imported by k8s.io/apimachinery/pkg/util/strategicpatch); to add:
Unit Tests
missing go.sum entry for module providing package golang.org/x/sys/unix (imported by github.com/eraser-dev/eraser/pkg/collector); to add:
Unit Tests
missing go.sum entry for module providing package golang.org/x/oauth2 (imported by k8s.io/client-go/plugin/pkg/client/auth/oidc); to add:
Unit Tests
missing go.sum entry for module providing package k8s.io/utils/clock (imported by k8s.io/apimachinery/pkg/util/wait); to add:
Unit Tests
missing go.sum entry for module providing package k8s.io/utils/clock/testing (imported by k8s.io/client-go/util/flowcontrol); to add:
Build images for e2e tests / Build remover image for e2e tests
Restore cache failed: Dependencies file is not found in /home/runner/work/eraser/eraser. Supported file pattern: go.sum
Build images for e2e tests / Build collector image for e2e tests
Restore cache failed: Dependencies file is not found in /home/runner/work/eraser/eraser. Supported file pattern: go.sum
Build images for e2e tests / Build trivy-scanner image for e2e tests
Restore cache failed: Dependencies file is not found in /home/runner/work/eraser/eraser. Supported file pattern: go.sum
Build images for e2e tests / Build manager image for e2e tests
Restore cache failed: Dependencies file is not found in /home/runner/work/eraser/eraser. Supported file pattern: go.sum
Unit Tests
Restore cache failed: Dependencies file is not found in /home/runner/work/eraser/eraser. Supported file pattern: go.sum