helm icon indicating copy to clipboard operation
helm copied to clipboard

TTK errors in Helm v15.0.0

Open tdaly61 opened this issue 1 year ago • 1 comments

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

tdaly61 avatar Apr 22 '23 12:04 tdaly61