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

Helm release v13.0.2 #2382

Closed
45 tasks done
mdebarros opened this issue Aug 11, 2021 · 6 comments
Closed
45 tasks done

Helm release v13.0.2 #2382

mdebarros opened this issue Aug 11, 2021 · 6 comments
Assignees
Labels
oss-core This is an issue - story or epic related to a feature on a Mojaloop core service or related to it story
Milestone

Comments

@mdebarros
Copy link
Member

mdebarros commented Aug 11, 2021

Goal:

As a ML OSS Code base maintainer

I want to validate and make a patch release to v13 that is successfully validated by the Golden path tests

so that Community members can take and use a version of Mojaloop Switch services bundle that is tested and contains the latest features and enhancements such as CGS, etc and bug fixes added in PI-14/PI-15.

Acceptance Criteria:

  • Helm RC v13.0.2 is validated on Moja2 to achieve 100% result with TTK GoldenPath collection
  • QA (Golden path) on deployments done on AWS Moja2 environment is done
  • Bugs are logged based on observations, failures
  • Bugs logged are fixed if critical to make subsequent releases in individual services (or Helm)
  • All the changes needed for supporting v13.0.2 of Helm are done
  • Helm v13.0.2 is released and release notes published
  • Test cases v13.0.2 is published (TTK)
  • TTK tests run successfully as Post-Hook jobs and Tests

Complexity: Medium - Involves all core and supporting services

Uncertainty: Medium


Tasks:

  • Make releases on all core services to have latest images / versions [@elnyry-sam-k , @mdebarros]
    • Need latest ALS release after vulnerabilities (dependabot alerts are addressed)
  • Identify changes needed for helm (config / default.json)
  • Initial PR with changes for v13.0.2
    • Initial PR review
    • Deploy, validate, fix issues, redeploy
    • With stable deployment test Golden path
  • Identify issues with QA Scripts if any - fix them and retest
    • Update tests for accented characters and other unicode characters (Myanmar script and others)
  • Identify Bugs, log them
  • Fix bugs logged if critical
  • Deploy, validate on AWS Moja2
  • Validate with TTK GP collection
  • TTK test-cases repo v13.0.2 is published
  • Validate upgrade scenario (to v13.0.2) from v13.0.1
  • Release notes for helm v13.0.2 drafted
  • Helm v13.0.2 released
  • Review deployment guide documentation to ensure its up-to-date
  • Deployment of released Helm v13.0.2 on Moja2
    • Helm v13.0.2 is deployed on Moja2 successfully
    • Validation using Golden path regression tests etc on Moja2
      • Mojaloop Simulator postman collection
      • TTK Post-hook install job and Tests
    • Validation using CGS Golden path regression tests etc on Moja2
      • Mojaloop Simulator TTK collection
  • Deployment of released Helm v13.0.2 on Moja1
    • Helm v13.0.2 is deployed on Moja1 successfully
    • Validation using Golden path regression tests etc on Moja2
      • Mojaloop Simulator TTK collection
      • TTK Post-hook install and Tests
    • Validation using CGS Golden path regression tests etc on Moja2
      • Mojaloop Simulator TTK collection
      • TTK Post-hook install and Tests

Done

  • Acceptance Criteria pass
  • Designs are up-to date
  • TTK Tests pass
  • Code Style & Coverage meets standards

Pull Requests:

Issues:

Follow-up:

  • N/A

Dependencies:

  • N/A

Accountability:

@mdebarros mdebarros added the oss-core This is an issue - story or epic related to a feature on a Mojaloop core service or related to it label Aug 11, 2021
@mdebarros mdebarros self-assigned this Aug 11, 2021
@mdebarros
Copy link
Member Author

mdebarros commented Aug 12, 2021

Leaving this issue open for approximately 2 weeks to pick up issues/bugs that can be included before publishing v13.0.2release.

If anybody requires the fixes for Account-lookup-service/Quoting-service for the extended Unicode character fixes (#2358), then please use the development build 13.0.2-12564.b083212:

$ helm show chart mojaloop/mojaloop --devel
apiVersion: v1
name: mojaloop
description: Mojaloop Helm chart for Kubernetes
home: http://mojaloop.io
sources:
- https://github.com/mojaloop/mojaloop
- https://github.com/mojaloop/helm
version: 13.0.2-12564.b083212
appVersion: 'ml-api-adapter: v11.1.6; central-ledger: v13.12.1; account-lookup-service:
  v11.7.2; quoting-service: v12.0.7; central-settlement: v13.4.1; central-event-processor:
  v11.0.2; bulk-api-adapter: v11.1.4; email-notifier: v11.0.2; als-oracle-pathfinder:
  v11.0.0; transaction-requests-service: v11.1.5; finance-portal-ui: v10.4.3; finance-portal-backend-service:
  v15.0.2; settlement-management: v11.0.0; operator-settlement: v11.0.0; simulator:
  v11.1.2; mojaloop-simulator: v11.4.3; sdk-scheme-adapter: v11.17.1; ml-testing-toolkit:
  v13.2.2; ml-testing-toolkit-ui: v13.2.2;'

@mdebarros
Copy link
Member Author

mdebarros commented Aug 17, 2021

GP Tests on moja2 which includes changes for the following fixes:

  1. Mojaloop Oracle Simulator is not correctly filtering results when SubId request param is provided #2373: Mojaloop Oracle Simulator is not correctly filtering results when SubId request param is provided (simulator/pull#230 closes mojaloop/#2373)
  2. ALS is sending out multiple requests to participants for both Oracle records that match non-subId and subId result set #2374: ALS (Account-lookup-service) is sending out multiple requests to participants for both Oracle records that match non-subId and subId result set (account-lookup-service/pull#424 closes mojaloop/#2374)
Test Suite:GP Tests
Environment:moja2.test.mojaloop.live
┌───────────────────────────────────────────────────┐
│                      SUMMARY                      │
├───────────────────┬───────────────────────────────┤
│ Total assertions  │ 2064                          │
├───────────────────┼───────────────────────────────┤
│ Passed assertions │ 2064                          │
├───────────────────┼───────────────────────────────┤
│ Failed assertions │ 0                             │
├───────────────────┼───────────────────────────────┤
│ Total requests    │ 446                           │
├───────────────────┼───────────────────────────────┤
│ Total test cases  │ 99                            │
├───────────────────┼───────────────────────────────┤
│ Passed percentage │ 100.00%                       │
├───────────────────┼───────────────────────────────┤
│ Started time      │ Tue, 17 Aug 2021 08:46:09 GMT │
├───────────────────┼───────────────────────────────┤
│ Completed time    │ Tue, 17 Aug 2021 08:48:32 GMT │
├───────────────────┼───────────────────────────────┤
│ Runtime duration  │ 142526 ms                     │
└───────────────────┴───────────────────────────────┘

View Report

@mdebarros
Copy link
Member Author

mdebarros commented Aug 18, 2021

GP Tests on moja2 which includes minor change (account-lookup-service/pull#425) for the following issue:

  1. ALS is sending out multiple requests to participants for both Oracle records that match non-subId and subId result set #2374: ALS is sending out multiple requests to participants for both Oracle records that match non-subId and subId result set (account-lookup-service/pull#424, account-lookup-service/pull#425 closes mojaloop/#2374)
--------------------FINAL REPORT--------------------

Test Suite:GP Tests
Environment:moja2.test.mojaloop.live
┌───────────────────────────────────────────────────┐
│                      SUMMARY                      │
├───────────────────┬───────────────────────────────┤
│ Total assertions  │ 2064                          │
├───────────────────┼───────────────────────────────┤
│ Passed assertions │ 2064                          │
├───────────────────┼───────────────────────────────┤
│ Failed assertions │ 0                             │
├───────────────────┼───────────────────────────────┤
│ Total requests    │ 446                           │
├───────────────────┼───────────────────────────────┤
│ Total test cases  │ 99                            │
├───────────────────┼───────────────────────────────┤
│ Passed percentage │ 100.00%                       │
├───────────────────┼───────────────────────────────┤
│ Started time      │ Tue, 17 Aug 2021 18:34:57 GMT │
├───────────────────┼───────────────────────────────┤
│ Completed time    │ Tue, 17 Aug 2021 18:37:16 GMT │
├───────────────────┼───────────────────────────────┤
│ Runtime duration  │ 139027 ms                     │
└───────────────────┴───────────────────────────────┘

View Report

@elnyry-sam-k elnyry-sam-k removed this from the Sprint 15.2 milestone Aug 20, 2021
@elnyry-sam-k
Copy link
Member

removing 15.2 for now to address pre-requisites for this in 15.2 - once these are done (regex related changes and other bug fixes), this will be prioritized

@elnyry-sam-k elnyry-sam-k added this to the Sprint 15.3 milestone Aug 23, 2021
@mdebarros
Copy link
Member Author

Default installation test results:

--------------------FINAL REPORT--------------------

Test Suite:GP Tests
Environment:Development
┌───────────────────────────────────────────────────┐
│                      SUMMARY                      │
├───────────────────┬───────────────────────────────┤
│ Total assertions  │ 2064                          │
├───────────────────┼───────────────────────────────┤
│ Passed assertions │ 2064                          │
├───────────────────┼───────────────────────────────┤
│ Failed assertions │ 0                             │
├───────────────────┼───────────────────────────────┤
│ Total requests    │ 446                           │
├───────────────────┼───────────────────────────────┤
│ Total test cases  │ 99                            │
├───────────────────┼───────────────────────────────┤
│ Passed percentage │ 100.00%                       │
├───────────────────┼───────────────────────────────┤
│ Started time      │ Fri, 27 Aug 2021 13:48:22 GMT │
├───────────────────┼───────────────────────────────┤
│ Completed time    │ Fri, 27 Aug 2021 13:50:53 GMT │
├───────────────────┼───────────────────────────────┤
│ Runtime duration  │ 150687 ms                     │
└───────────────────┴───────────────────────────────┘
TTK-Assertion-Report-multi-2021-08-27T13:50:53.451Z.html was generated
Terminate with exit code 0

Moja2 test results:

--------------------FINAL REPORT--------------------

Test Suite:GP Tests
Environment:moja2.test.mojaloop.live
┌───────────────────────────────────────────────────┐
│                      SUMMARY                      │
├───────────────────┬───────────────────────────────┤
│ Total assertions  │ 2064                          │
├───────────────────┼───────────────────────────────┤
│ Passed assertions │ 2064                          │
├───────────────────┼───────────────────────────────┤
│ Failed assertions │ 0                             │
├───────────────────┼───────────────────────────────┤
│ Total requests    │ 446                           │
├───────────────────┼───────────────────────────────┤
│ Total test cases  │ 99                            │
├───────────────────┼───────────────────────────────┤
│ Passed percentage │ 100.00%                       │
├───────────────────┼───────────────────────────────┤
│ Started time      │ Fri, 27 Aug 2021 14:23:24 GMT │
├───────────────────┼───────────────────────────────┤
│ Completed time    │ Fri, 27 Aug 2021 14:25:58 GMT │
├───────────────────┼───────────────────────────────┤
│ Runtime duration  │ 153626 ms                     │
└───────────────────┴───────────────────────────────┘
Successfully uploaded the file to S3. URL is s3://mojaloop-oss-qa-results/ttk-tests/reports/TTK-Assertion-Report-multi-2021-08-27T14:25:58.168Z.html
Slack notification sent.
Terminate with exit code 0
Done

View Report

@mdebarros
Copy link
Member Author

mdebarros commented Sep 17, 2021

Moja1

Scenario: Moja v13.0.1 installation upgraded to v13.0.2.

--------------------FINAL REPORT--------------------

Test Suite:GP Tests
Environment:moja1.test.mojaloop.live
┌───────────────────────────────────────────────────┐
│                      SUMMARY                      │
├───────────────────┬───────────────────────────────┤
│ Total assertions  │ 2140                          │
├───────────────────┼───────────────────────────────┤
│ Passed assertions │ 2140                          │
├───────────────────┼───────────────────────────────┤
│ Failed assertions │ 0                             │
├───────────────────┼───────────────────────────────┤
│ Total requests    │ 456                           │
├───────────────────┼───────────────────────────────┤
│ Total test cases  │ 101                           │
├───────────────────┼───────────────────────────────┤
│ Passed percentage │ 100.00%                       │
├───────────────────┼───────────────────────────────┤
│ Started time      │ Fri, 17 Sep 2021 15:29:59 GMT │
├───────────────────┼───────────────────────────────┤
│ Completed time    │ Fri, 17 Sep 2021 15:32:15 GMT │
├───────────────────┼───────────────────────────────┤
│ Runtime duration  │ 136585 ms                     │
└───────────────────┴───────────────────────────────┘
Successfully uploaded the file to S3. URL is s3://mojaloop-oss-qa-results/ttk-tests/reports/TTK-Assertion-Report-multi-2021-09-17T15:32:15.913Z.html
Slack notification sent.

View Report

History (time show as GMT+2):

❯ helm -n moja1 history moja1
REVISION	UPDATED                 	STATUS    	CHART          	APP VERSION                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	DESCRIPTION
1       	Fri Sep 17 17:08:19 2021	superseded	mojaloop-13.0.1	ml-api-adapter: v11.1.6; central-ledger: v13.12.1; account-lookup-service: v11.7.0; quoting-service: v12.0.6; central-settlement: v13.4.1; central-event-processor: v11.0.2; bulk-api-adapter: v11.1.4; email-notifier: v11.0.2; als-oracle-pathfinder: v11.0.0; transaction-requests-service: v11.1.5; finance-portal-ui: v10.4.3; finance-portal-backend-service: v15.0.2; settlement-management: v11.0.0; operator-settlement: v11.0.0; simulator: v11.1.2; mojaloop-simulator: v11.4.3; sdk-scheme-adapter: v11.17.1; ml-testing-toolkit: v13.2.2; ml-testing-toolkit-ui: v13.2.2; 	Install complete
2       	Fri Sep 17 17:21:30 2021	deployed  	mojaloop-13.0.2	ml-api-adapter: v11.1.6; central-ledger: v13.14.0; account-lookup-service: v11.7.7; quoting-service: v12.0.10; central-settlement: v13.4.1; central-event-processor: v11.0.2; bulk-api-adapter: v11.1.4; email-notifier: v11.0.2; als-oracle-pathfinder: v11.0.0; transaction-requests-service: v11.1.7; finance-portal-ui: v10.4.3; finance-portal-backend-service: v15.0.2; settlement-management: v11.0.0; operator-settlement: v11.0.0; simulator: v11.1.3; mojaloop-simulator: v11.4.3; sdk-scheme-adapter: v11.18.8; ml-testing-toolkit: v13.5.1; ml-testing-toolkit-ui: v13.5.2;	Upgrade complete

Migration script output showing an upgrade from a standard latin1 DB configuration for PARTY table:

> @mojaloop/central-ledger@13.14.0 migrate /opt/central-ledger
> run-s migrate:latest seed:run


> @mojaloop/central-ledger@13.14.0 migrate:latest /opt/central-ledger
> knex $npm_package_config_knex migrate:latest

Working directory changed to /opt/central-ledger/config
WARNING: Migration script 500601_party-2480.js is converting PARTY table to use the following character set utf8mb4 with utf8mb4_unicode_ci collation
WARNING: Migration script 500601_party-2480.js - take note of the current configuration if you wish to revert= [{"character_set_name":"latin1","collation_name":"latin1_swedish_ci"}]
Batch 2 run: 1 migrations

> @mojaloop/central-ledger@13.14.0 seed:run /opt/central-ledger
> knex seed:run $npm_package_config_knex

Working directory changed to /opt/central-ledger/config
Ran 23 seed files

Moja2

Scenario: Moja v13.0.2 installation with customized DFSP/Simulator names.

--------------------FINAL REPORT--------------------

Test Suite:GP Tests
Environment:moja2.test.mojaloop.live
┌───────────────────────────────────────────────────┐
│                      SUMMARY                      │
├───────────────────┬───────────────────────────────┤
│ Total assertions  │ 2140                          │
├───────────────────┼───────────────────────────────┤
│ Passed assertions │ 2140                          │
├───────────────────┼───────────────────────────────┤
│ Failed assertions │ 0                             │
├───────────────────┼───────────────────────────────┤
│ Total requests    │ 456                           │
├───────────────────┼───────────────────────────────┤
│ Total test cases  │ 101                           │
├───────────────────┼───────────────────────────────┤
│ Passed percentage │ 100.00%                       │
├───────────────────┼───────────────────────────────┤
│ Started time      │ Fri, 17 Sep 2021 15:16:58 GMT │
├───────────────────┼───────────────────────────────┤
│ Completed time    │ Fri, 17 Sep 2021 15:19:17 GMT │
├───────────────────┼───────────────────────────────┤
│ Runtime duration  │ 138109 ms                     │
└───────────────────┴───────────────────────────────┘
Successfully uploaded the file to S3. URL is s3://mojaloop-oss-qa-results/ttk-tests/reports/TTK-Assertion-Report-multi-2021-09-17T15:19:17.032Z.html
Slack notification sent.

View Report

Output showing custom named DFSP/Simulators:

❯ kubectl -n moja2 get deployment | grep sim-
moja2-sim-mojapayeefsp-backend                       1/1     1            1           20m
moja2-sim-mojapayeefsp-cache                         1/1     1            1           20m
moja2-sim-mojapayeefsp-scheme-adapter                1/1     1            1           20m
moja2-sim-mojapayerfsp-backend                       1/1     1            1           20m
moja2-sim-mojapayerfsp-cache                         1/1     1            1           20m
moja2-sim-mojapayerfsp-scheme-adapter                1/1     1            1           20m
moja2-sim-mojatestfsp1-backend                       1/1     1            1           20m
moja2-sim-mojatestfsp1-cache                         1/1     1            1           20m
moja2-sim-mojatestfsp1-scheme-adapter                1/1     1            1           20m
moja2-sim-mojatestfsp2-backend                       1/1     1            1           20m
moja2-sim-mojatestfsp2-cache                         1/1     1            1           20m
moja2-sim-mojatestfsp2-scheme-adapter                1/1     1            1           20m
moja2-sim-mojatestfsp3-backend                       1/1     1            1           20m
moja2-sim-mojatestfsp3-cache                         1/1     1            1           20m
moja2-sim-mojatestfsp3-scheme-adapter                1/1     1            1           20m
moja2-sim-mojatestfsp4-backend                       1/1     1            1           20m
moja2-sim-mojatestfsp4-cache                         1/1     1            1           20m
moja2-sim-mojatestfsp4-scheme-adapter                1/1     1            1           20m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
oss-core This is an issue - story or epic related to a feature on a Mojaloop core service or related to it story
Projects
None yet
Development

No branches or pull requests

3 participants