-
Notifications
You must be signed in to change notification settings - Fork 61
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
TTK errors in Helm v15.0.0 #566
Comments
as further investigation and verification of the issues I ran the following and still got 3 TTK test failures cat ./deploy-from-repo.sh script to test vanilla deploy of Mojaloop from package repoassumes correct version of kubernetes , helm, ingress etc already installed and configured.April 2023see install instructions in readme.md at https://github.com/mojaloop/helm and https://github.com/mojaloop/helm/blob/master/thirdparty/README.mdhelm repo add stable https://charts.helm.sh/stable helm repo update helm install be --wait --timeout 300s mojaloop/example-mojaloop-backend ubuntu@miniloop-vm:~/mini-loop/util/test$ ./deploy-from-repo.sh Your release is named: ml. Mojaloop Official Website: https://mojaloop.io To learn more about Mojaloop: https://docs.mojaloop.io This Helm chart lives @ http://github.com/mojaloop/helm To learn more about this deployment, try: $ helm status ml Use the following command to execute Test cases: $ helm -n default test ml Use the following command to execute Test cases and print logs to console: $ helm -n default test ml --logs Use the following command to execute a specific Test case: $ helm -n default test ml --filter "name=ml-<TEST_NAME_1>,name=ml-<TEST_NAME_2>" Use the following command to ignore a specific Test case: $ helm -n default test ml --filter "!name=ml-<TEST_NAME_1>" View Test logs with the following commands: Copyright © 2020 Mojaloop Foundation Your release is named: ml. Mojaloop Official Website: https://mojaloop.io To learn more about Mojaloop: https://docs.mojaloop.io This Helm chart lives @ http://github.com/mojaloop/helm To learn more about this deployment, try: $ helm status ml Use the following command to execute Test cases: $ helm -n default test ml Use the following command to execute Test cases and print logs to console: $ helm -n default test ml --logs Use the following command to execute a specific Test case: $ helm -n default test ml --filter "name=ml-<TEST_NAME_1>,name=ml-<TEST_NAME_2>" Use the following command to ignore a specific Test case: $ helm -n default test ml --filter "!name=ml-<TEST_NAME_1>" View Test logs with the following commands: Copyright © 2020 Mojaloop Foundation Error: unable to get pod logs for ml-ml-ttk-test-cleanup: pods "ml-ml-ttk-test-cleanup" not found |
When I clone Mojaloop v15.0.0 and deploy the vanilla charts and then run helm test I see 3 TTK failures.
this is using k3s version 1.24
Also at the time of filing this ticket the Mojaloop slack announcements channel is reporting TTK failures in the CI/CD pipleine for v15.0.0 yet a week or so ago this was running clean. Miguel suggests that the CI/CD pipeline deployment has exhausted some resource and this is likely as there are > 100 failures.
Along with the helm test error and the TTK test failures themselves what is not clear is why the current vanilla deployment fails yet a week or so ago the GP tests ran clean. I have searched for something I have inadvertently changed from default but running diff on helm/mojaloop/values.yaml from what I deploy and a fresh clone of v15.0.0 shows I made no changes to the default. It makes me wonder of there might be a difference between the v15.0/0 repo and the bundled helm charts as this could explain the difference (I will check this and update this ticket when I have).
To reproduce manually :
git clone --branch v15.0.0 https://github.com/mojaloop/helm.git
cd helm ; ./package.sh
helm install the example backend chart
helm install the mojaloop chart e.g. helm install ml --wait --timeout 2400s /home/ubuntu/helm/mojaloop
run the ttk tests : helm test ml --logs
(alternatively just use mini-loop v5.0 branch)
results :
ubuntu@miniloop-vm ~/mini-loop (v5.0) $ helm test ml --logs
NAME: ml
LAST DEPLOYED: Sat Apr 22 10:36:32 2023
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: ml-ml-ttk-test-setup
Last Started: Sat Apr 22 11:14:41 2023
Last Completed: Sat Apr 22 11:17:12 2023
Phase: Succeeded
TEST SUITE: ml-ml-ttk-test-val-gp
Last Started: Sat Apr 22 11:17:12 2023
Last Completed: Sat Apr 22 11:21:56 2023
Phase: Failed
NOTES:
Thank you for installing mojaloop.
Your release is named: ml.
Mojaloop Official Website: https://mojaloop.io
To learn more about Mojaloop: https://docs.mojaloop.io
To learn more about Mojaloop deployments: https://docs.mojaloop.io/legacy/deployment-guide
To learn more about this release: https://github.com/mojaloop/helm/releases/tag/v15.0.0
This Helm chart lives @ http://github.com/mojaloop/helm
To learn more about this deployment, try:
$ helm status ml
Use the following command to execute Test cases:
$ helm -n default test ml
Use the following command to execute Test cases and print logs to console:
$ helm -n default test ml --logs
Use the following command to execute a specific Test case:
$ helm -n default test ml --filter "name=ml-<TEST_NAME_1>,name=ml-<TEST_NAME_2>"
Use the following command to ignore a specific Test case:
$ helm -n default test ml --filter "!name=ml-<TEST_NAME_1>"
View Test logs with the following commands:
$ kubectl -n default logs pod/ml-ml-ttk-test-setup
$ kubectl -n default logs pod/ml-ml-ttk-test-val-gp
$ kubectl -n default logs pod/ml-ml-ttk-test-cleanup
Copyright © 2020 Mojaloop Foundation
Error: unable to get pod logs for ml-ml-ttk-test-cleanup: pods "ml-ml-ttk-test-cleanup" not found
The report is attached.
report.zip
The text was updated successfully, but these errors were encountered: