project
project copied to clipboard
changes made to make TTK root file system as readonly causing failure to download response map files
Summary: With the changes made to TTK to make root file system readonly were causing failures in sdk bulk and request2pay tests
- Initially it was not able to download the spec files
- we added the spec files directly in ttk repo to make the sdk bulk tests work
- Now it is failing to download the response rules causing the request2pay tests to fail
the file /opt/app/spec_files/rules_response/default.json contains the URL instead of actual contents
https://raw.githubusercontent.com/mojaloop/sdk-scheme-adapter/v24.10.5/test/func_bulk/config/ttk-ttksim1/spec_files/rules_response/default.json
Error:
2025-08-20T16:33:16.763Z - info: Request: post /transactionrequests
2025-08-20T16:33:16.763Z - info: {
request: {
uniqueId: '175570759676397pxun',
headers: {
'content-type': 'application/json',
accept: 'application/json',
date: 'Wed, 20 Aug 2025 16:33:16 GMT',
'user-agent': 'axios/1.8.2',
'content-length': '406',
'accept-encoding': 'gzip, compress, deflate, br',
host: 'moja-ttksim2-ttk-backend:4040',
connection: 'keep-alive'
},
queryParams: [Object: null prototype] {},
body: {
transactionRequestId: '01K3457QQJ68JD53XF2YFRAY5Y',
to: [Object],
from: [Object],
amount: '123',
currency: 'XTS',
transactionType: 'DEPOSIT',
initiator: 'PAYEE',
initiatorType: 'CONSUMER'
}
}
}
2025-08-20T16:33:16.763Z - info: API matched: mojaloop_simulator_inbound
2025-08-20T16:33:16.764Z - error: Response info not found for method in response map file for post /transactionrequests
2025-08-20T16:33:16.764Z - info: Response: post /transactionrequests Status: undefined
Severity: High
Priority: Critical
Expected Behavior The sdk bulk, request2pay and thirdparty tests should pass
Steps to Reproduce
- deploy the mojaloop in sdk_bulk/request2pay configuration with ttk version v18.14.4
- run the tests
- observe the failure in request2pay tests
Specifications
- Component (if known): ml-testing-toolkit
- Version: v18.14.4
- Platform: mojaloop helm
- Subsystem: ttk backend
- Type of testing: release candidate testing
- Bug found/raised by: @shashi165 , @elnyry-sam-k
Notes:
- Severity when opened: High
- Priority when opened: Critical