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 v16 RC - ALS] Party lookup fails intermittently with ALS caching enabled #3759

Closed
oderayi opened this issue Feb 16, 2024 · 0 comments
Closed
Assignees
Labels
bug Something isn't working or it has wrong behavior on a Mojaloop Core service core-dev-squad oss-core This is an issue - story or epic related to a feature on a Mojaloop core service or related to it PI-23

Comments

@oderayi
Copy link

oderayi commented Feb 16, 2024

Summary:
There are intermittent party look up failures in Helm charts v16.0.0 RC Helm tests when ALS caching is enabled.
These failures happen mostly on a fresh install of the backend and mojaloop during the first run of the Helm tests. Subsequent runs may pass or fail too.

Examples of failing TTK tests:

  1. P2P_MONEY_TRANSFER - P2P_UNHAPPY_PATH WITH INVALID SUBID AT PAYEEFSP
  • Get party information

Error:

{
  "errorInformation": {
    "errorCode": "3200",
    "errorDescription": "Generic ID not found - Requester FSP not found"
  }
}
  1. RESERVE NOTIFICATION POSITIVE - TESTFSP1 TESTFSP2

Error:

{
  "scenario1": {
    "result": {
      "message": "Got an error response resolving party: {\n  errorInformation: { errorCode: '3204', errorDescription: 'Party not found' }\n}",
      "transferState": {
        "from": {
          "displayName": "PayerFirst PayerLast",
          "idType": "MSISDN",
          "idValue": "17039811904"
        },
        "to": {
          "idType": "MSISDN",
          "idValue": "17039811903"
        },
        ...
        },
        "getPartiesResponse": {
          "body": {
            "errorInformation": {
              "errorCode": "3204",
              "errorDescription": "Party not found"
            }
          },
          "headers": {
            "content-type": "application/vnd.interoperability.parties+json;version=1.1",
            "date": "Fri, 16 Feb 2024 09:38:58 GMT",
            "fspiop-source": "switch",
            "connection": "close",
            "traceid": "cf0d77ba-e7c1-45d6-a4e3-b0b37e6bc6ca",
            "fspiop-destination": "testfsp2",
            "fspiop-http-method": "PUT",
            "fspiop-uri": "/parties/MSISDN/17039811903/error",
            "user-agent": "axios/1.6.2",
            "content-length": 78,
            "accept-encoding": "gzip, compress, deflate, br",
            "host": "moja2-sim-testfsp2-scheme-adapter:4000"
          }
        },
        "lastError": {
          "httpStatusCode": 500,
          "mojaloopError": {
            "errorInformation": {
              "errorCode": "3204",
              "errorDescription": "Party not found"
            }
          }
        }
      },
      "statusCode": "3204"
    }
  }
}

Severity:
(Low, Medium, High)

Priority:
(Critical, Medium, Low)

Expected Behavior
All test runs should pass without any failure.

Steps to Reproduce

  1. Deploy v16.0.0 RC of the Helm charts
  2. Run helm tests
  3. GP and other tests should fail

Specifications

  • Component (if known): ALS
  • Version: v15.2.1
  • Platform: K8s
  • Subsystem:
  • Type of testing: Helm test
  • Bug found/raised by: @oderayi

Notes:

  • Severity when opened:
  • Priority when opened:
@oderayi oderayi added bug Something isn't working or it has wrong behavior on a Mojaloop Core service oss-core This is an issue - story or epic related to a feature on a Mojaloop core service or related to it core-dev-squad PI-23 labels Feb 16, 2024
@oderayi oderayi changed the title [Helm v16 RC - ALS] Party lookup fails intermittently in Helm tests with ALS caching enabled [Helm v16 RC - ALS] Party lookup fails intermittently in with ALS caching enabled Feb 16, 2024
@oderayi oderayi changed the title [Helm v16 RC - ALS] Party lookup fails intermittently in with ALS caching enabled [Helm v16 RC - ALS] Party lookup fails intermittently with ALS caching enabled Feb 16, 2024
@kleyow kleyow closed this as completed Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working or it has wrong behavior on a Mojaloop Core service core-dev-squad oss-core This is an issue - story or epic related to a feature on a Mojaloop core service or related to it PI-23
Projects
None yet
Development

No branches or pull requests

2 participants