Skip to content

No errors during e2e tests #1577

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
guettli opened this issue Apr 3, 2025 · 0 comments
Open

No errors during e2e tests #1577

guettli opened this issue Apr 3, 2025 · 0 comments

Comments

@guettli
Copy link
Collaborator

guettli commented Apr 3, 2025

/kind feature

During successful e2e tests there should be no errors in caph logs. Otherwise debugging failing e2e tests is harder, because you need to check if an error is a common error or a real error.

For example this is common, and should not be an error:

level: ERROR
time: "2025-04-02T14:15:09.777Z"
file: controller/controller.go:324
message: Reconciler error
controller: hetznerbaremetalhost
controllerGroup: infrastructure.cluster.x-k8s.io
controllerKind: HetznerBareMetalHost
HetznerBareMetalHost:
  name: bm-e2e-1670788
  namespace: ci14221626200-6nzn0m
namespace: ci14221626200-6nzn0m
name: bm-e2e-1670788
reconcileID: 4bac613e-5303-40dd-b5c3-d8ebed6b708e
error: 'failed to reconcile HetznerBareMetalHost ci14221626200-6nzn0m/bm-e2e-1670788: action "ensure-provisioned" failed: failed to get cloud init output: failed to dial ssh. Error message: dial tcp 136.243.69.167:22: connect: connection refused. DialErr: failed to dial ssh, while handling: failed to get cloud init status: failed to dial ssh. Error message: dial tcp 136.243.69.167:22: connect: connection refused. DialErr: failed to dial ssh'
stacktrace: |-
  sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
  	sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:324
  sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
  	sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:261
  sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
  	sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:222
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant