Skip to content

Bump sigs.k8s.io/controller-runtime from 0.18.4 to 0.19.0 #141

Bump sigs.k8s.io/controller-runtime from 0.18.4 to 0.19.0

Bump sigs.k8s.io/controller-runtime from 0.18.4 to 0.19.0 #141

Triggered via pull request August 16, 2024 10:42
Status Failure
Total duration 2m 32s
Artifacts

test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 3 warnings
Test
Error: Command failed with exit code 1: go test -covermode count -coverprofile /home/runner/work/_temp/go.cov -coverpkg ./... ./... go: downloading github.com/brianvoe/gofakeit/v6 v6.28.0 github.com/NCCloud/mayfly/cmd/benchmark coverage: 0.0% of statements github.com/NCCloud/mayfly/mocks/github.com/NCCloud/mayfly/pkg/common coverage: 0.0% of statements github.com/NCCloud/mayfly/cmd/manager coverage: 0.0% of statements github.com/NCCloud/mayfly/mocks/sigs.k8s.io/controller-runtime/pkg/cache coverage: 0.0% of statements github.com/NCCloud/mayfly/mocks/sigs.k8s.io/controller-runtime/pkg/client coverage: 0.0% of statements github.com/NCCloud/mayfly/pkg/apis/v1alpha2 coverage: 0.0% of statements github.com/NCCloud/mayfly/mocks/sigs.k8s.io/controller-runtime/pkg/manager coverage: 0.0% of statements ok github.com/NCCloud/mayfly/pkg/common 0.022s coverage: 2.8% of statements in ./... {"level":"info","ts":"2024-08-16T10:44:49Z","msg":"Starting EventSource","controller":"secret","controllerGroup":"","controllerKind":"Secret","source":"kind source: *unstructured.Unstructured"} {"level":"info","ts":"2024-08-16T10:44:49Z","msg":"Starting Controller","controller":"secret","controllerGroup":"","controllerKind":"Secret"} {"level":"info","ts":"2024-08-16T10:44:49Z","msg":"Starting workers","controller":"secret","controllerGroup":"","controllerKind":"Secret","worker count":1} {"level":"info","ts":"2024-08-16T10:44:49Z","msg":"Scheduled","controller":"secret","controllerGroup":"","controllerKind":"Secret","Secret":{"name":"jacinthecollins","namespace":"default"},"namespace":"default","name":"jacinthecollins","reconcileID":"73f3ac63-e90e-4220-a049-a01997d33a28"} {"level":"info","ts":"2024-08-16T10:44:54Z","msg":"Deleted","controller":"secret","controllerGroup":"","controllerKind":"Secret","Secret":{"name":"jacinthecollins","namespace":"default"},"namespace":"default","name":"jacinthecollins","reconcileID":"73f3ac63-e90e-4220-a049-a01997d33a28"} --- FAIL: TestController_SetupWithManager (0.00s) controller_test.go:408: Error Trace: /home/runner/work/mayfly/mayfly/pkg/controllers/expiration/controller_test.go:408 Error: Expected nil, but got: &errors.errorString{s:"controller with name secret already exists. Controller names must be unique to avoid multiple controllers reporting to the same metric"} Test: TestController_SetupWithManager FAIL coverage: 11.4% of statements in ./... FAIL github.com/NCCloud/mayfly/pkg/controllers/expiration 8.653s {"level":"info","ts":"2024-08-16T10:44:49Z","msg":"Starting EventSource","controller":"scheduledresource","controllerGroup":"cloud.namecheap.com","controllerKind":"ScheduledResource","source":"kind source: *v1alpha2.ScheduledResource"} {"level":"info","ts":"2024-08-16T10:44:49Z","msg":"Starting Controller","controller":"scheduledresource","controllerGroup":"cloud.namecheap.com","controllerKind":"ScheduledResource"} {"level":"info","ts":"2024-08-16T10:44:49Z","msg":"Starting workers","controller":"scheduledresource","controllerGroup":"cloud.namecheap.com","controllerKind":"ScheduledResource","worker count":1} {"level":"info","ts":"2024-08-16T10:44:51Z","msg":"Reconciliation started.","controller":"scheduledresource","controllerGroup":"cloud.namecheap.com","controllerKind":"ScheduledResource","ScheduledResource":{"name":"adalinedoyle","namespace":"default"},"namespace":"default","name":"adalinedoyle","reconcileID":"108c8b20-c94a-4382-ba65-3354473d0cbe"} {"level":"info","ts":"2024-08-16T10:44:51Z","msg":"Reconciliation finished.","controller":"scheduledresource","controllerGroup":"cloud.namecheap.com","controllerKind":"ScheduledResource","ScheduledResource":{"name":"adalinedoyle","namespace":"default"},"namespace":"default","name":"adalinedoyle","reconcileID":"108c8b20-c94a-4382-ba65-3354473d0cbe"} {"level":"info","ts":"2024-08-16T10:44:51Z","msg":"Reconciliation started.","controller":"scheduledresource","controllerGroup":"cloud.namecheap.com","controllerKind":"ScheduledResource","ScheduledResource":{"name":"adalinedoyle","namespace":"default"},"
Test
The following actions use a deprecated Node.js version and will be forced to run on node20: gwatts/go-coverage-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test
Failed to run go test -covermode count -coverprofile /home/runner/work/_temp/go.cov -coverpkg ./... ./...
Test
Restore cache failed: Dependencies file is not found in /home/runner/work/mayfly/mayfly. Supported file pattern: go.sum