Skip to content
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

Tests failing after updating Keptn version to 1.0.0 in master branch's integration tests #140

Open
6 tasks
vadasambar opened this issue Dec 26, 2022 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@vadasambar
Copy link
Collaborator

vadasambar commented Dec 26, 2022

Summary
Integration tests have started failing after

  1. Keptn distributor version was updated to 1.0.0 in master branch's helm chart here
  2. 1.0.0 version was added in the integration tests here

Environment

  • Keptn Version (keptn version): 1.0.0
  • Kubernetes Cloud Provider (e.g., GKE, AKS): minikube
  • Kubernetes version (kubectl version): N/A
  • Client OS (e.g., Linux, macOS, Windows): N/A
  • Client Browser: N/A

Affected Component

  • Web UI / Bridge
  • CLI
  • REST API or webhooks
  • User experience
  • Developer experience
  • Deployment/manegement with Helm

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://github.com/keptn-sandbox/datadog-service/actions/workflows/integration-tests.yaml

  2. Trigger Integration Tests from master
    image

  3. Wait until the Integration tests finish running

  4. See the error (check Screenshots below)

Expected behavior

Integration tests should pass for 1.0.0 Keptn version

Current behavior

Integration tests are failing for 1.0.0 Keptn version

Screenshots

image

Additional context

@vadasambar vadasambar added the bug Something isn't working label Dec 26, 2022
@vadasambar
Copy link
Collaborator Author

^ needs more info

@vadasambar vadasambar self-assigned this Dec 26, 2022
@vadasambar vadasambar changed the title Tests failing after updating Keptn version to 1.20 in master branch's integration tests Tests failing after updating Keptn version to 1.0.0 in master branch's integration tests Dec 27, 2022
@vadasambar
Copy link
Collaborator Author

Keptn installation fails locally when I try to create a Keptn cluster

✘ Istiod encountered an error: failed to update resource with server-side apply for obj PodDisruptionBudget/istio-system/istiod: no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"

@vadasambar
Copy link
Collaborator Author

I am installing 1.25 version of Keptn using minikube

🐳  Preparing Kubernetes v1.25.3 on Docker 20.10.20 ...

@vadasambar
Copy link
Collaborator Author

The policy/v1beta1 API version of PodDisruptionBudget is no longer served as of v1.25.

https://kubernetes.io/docs/reference/using-api/deprecation-guide/#poddisruptionbudget-v125

@vadasambar
Copy link
Collaborator Author

Fixed the above issue. Got the cluster up and running

Every 2.0s: kubectl get po -nkeptn              suraj: Thu Jan  5 11:53:29 2023

NAME                                    READY   STATUS    RESTARTS   AGE
api-gateway-nginx-bfdb67d97-v9prv       1/1     Running   0          78m
api-service-64c786645b-mkl7p            1/1     Running   0          78m
bridge-56c4f96b58-kp6ff                 1/1     Running   0          78m
datadog-cluster-agent-75947b4d8-268dd   1/1     Running   0          13m
datadog-cluster-agent-75947b4d8-j2jgh   1/1     Running   0          11m
datadog-service-759f5f4dc4-jn664        2/2     Running   0          13m
datadog-tjgmj                           3/3     Running   0          13m
keptn-mongo-56b74c5f8c-6qb2q            1/1     Running   0          78m
keptn-nats-0                            1/1     Running   0          78m
lighthouse-service-69f4b9cdc-tpknw      1/1     Running   0          78m
mongodb-datastore-9f4554fc8-kgpdv       1/1     Running   0          78m
remediation-service-686b9c4ffd-rwmg4    1/1     Running   0          78m
resource-service-6c767fdd98-q7rg6       1/1     Running   0          78m
secret-service-6d57b65b55-d6gwb         1/1     Running   0          78m
shipyard-controller-7687d84dfc-g5tbs    1/1     Running   0          78m

$ kubectl version --short

...

Server Version: v1.22.0

$ keptn version

Keptn CLI version: 1.0.0
Keptn CLI is already on the latest version ( 1.0.0 )! 
Keptn cluster version: 1.0.0

@vadasambar
Copy link
Collaborator Author

datadog cluster-agent is not able to send metrics to datadog

2023-01-05 06:24:35 UTC | CLUSTER | ERROR | (pkg/forwarder/worker.go:180 in process) | Too many errors for endpoint 'https://7-41-1-app.agent.datadoghq.com/api/v1/check_run?api_key=***************************b2120': retrying later

@vadasambar
Copy link
Collaborator Author

Re-createding the minikube cluster with virtualbox driver fixed the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant