跳至内容

L3 Workshop - Automation - Execute - Unloading of Bluesam KSDS file for compare is failing.

1

Hi, I am executing the automation after all the configurations done. The automation run finishes as expected but when it comes to results for Bluesam - some files fail to unload to Outputs folder. This unloading folder is happening randomly for multiple KSDS files. In one test case a particular KSDS is successfully unloaded but the same KSDS is failing in another test case. The error is related to deserialization.

Bluesam Unload Error

 [exec] 2024-11-28 15:11:27.860  ERROR --- [             main] Unexpected error while exporint datasets to file system
 [exec] com.netfective.bluage.gapwalk.bluesam.core.metadata.DeserializationException: Expected token: }, read token: persistenceId 
 [exec] 	at com.netfective.bluage.gapwalk.bluesam.core.metadata.Deserializer$a.parse(Unknown Source)

This is common across all unload failures. Note that this does not happen to all the KSDS files. Majority of them have successfully unloaded and processed for comparision.

Bluesam Unload Successful

aws-bluage-bluesam-export executable is used for the purpose of unloading and not sure if this executable has something to do it unstable unload of KSDS files.

Any help/directions in resolving this issue will be greatly appreciated.

Thanks.

已提问 1 年前328 查看次数
2 回答
0

The issue you're experiencing with the unloading of Bluesam KSDS files during the L3 Workshop automation step appears to be related to a deserialization error. This error is occurring inconsistently across different test cases, which suggests it might be a timing or caching issue rather than a problem with specific files.

To address this problem, you could try the following steps:

  1. Ensure that you're using the correct version of the workshop tools and executables. The L3 Workshop is designed to work with specific versions, and using an incompatible version could lead to unexpected errors.

  2. Clear any cached data or temporary files that might be interfering with the unloading process. Sometimes, residual data from previous runs can cause issues in subsequent executions.

  3. If you're using a local option for loading datasets, try switching to the server option instead. This change in approach has been known to resolve similar issues in the workshop.

  4. Double-check that all necessary configurations and ad-hoc modifications have been correctly applied. Sometimes, missing or incorrect configurations can lead to unexpected behavior during the automation process.

  5. If the issue persists, you may need to reach out to the AWS BluAge support team or the workshop facilitators for more specific guidance. They might be able to provide a targeted solution based on the exact version and configuration of your workshop environment.

Remember that while these steps may help resolve the issue, the inconsistent nature of the error suggests that it might be related to the workshop environment or tool versions rather than your specific actions.
Sources
AWS BluAge L3 Workshop : bac.war causing issues in loading KSDS files to postgres | AWS re:Post
L3 Workshop. CSD does not get properly transformed. | AWS re:Post

已回答 1 年前
-3

Hi,

From your error message Expected token: }, read token: persistenceld, it seems that you have a syntax error in the definition of the file. Please, fix it to move forward.

Best,

Didier

专家
已回答 1 年前
  • Hi,

    I looked in various files but was not sure where to make changes as I did not find erred out syntax in the all of those files. Please find the list of files that I looked into:

    1. D:\PhotonUser\Workshop\workspace\carddemo-automation\tests-cases\01-batches\comapre.xml --> place where filesnames are defined.
    2. D:\PhotonUser\Workshop\workspace\carddemo-automation\tests-cases\compare-masks\bluesam\AWS_M2_CARDDEMO_ACCTDATA_VSAM_KSDS.fileformat --> File format which I think is not related to the error
    3. D:\PhotonUser\Workshop\workspace\carddemo-automation\utils\bluesam.xml - link to the executable - "utils/aws-bluage-bluesam-export.jar"
    4. D:\PhotonUser\Workshop\workspace\carddemo-automation\properties.xml
    5. D:\PhotonUser\Workshop\workspace\carddemo-automation\execute.xml

    In all these files, I did not find any reference/relation to the error. Kindly note that this error - unloading of bluesam files is not happening to just one file. There are instances where the file has been successfully unloaded in batch testing but the same file failed in unloading in online testing. For ex:- AWS_M2_CARDDEMO_CARDDATA_VSAM_KSDS unloaded successfully in batch but failed in online testing (02-Credit card.)

    If you provide me the directions as to where changes have to be made, it will be helpful.

    Thanks.

  • I also encounter the same Deserialization exception when running the CompareTool in the Automation Batch step: Unexpected error while exporint datasets to file system [exec] com.netfective.bluage.gapwalk.bluesam.core.metadata.DeserializationException: Expected token: }, read token: persistenceId . This error prevent the creation of 4 files. AWS_M2_CARDDEMO_TRANSACT_VSAM_KSDS AWS_M2_CARDDEMO_ACCTDATA_VSAM_KSDS AWS_M2_CARDDEMO_TCATBALF_VSAM_KSDS AWS_M2_CARDDEMO_TRXFL_VSAM_KSDS in the folder of D:\PhotonUser\Workshop\workspace\carddemo-automation\tests-cases\01-batches\functional-equivalence\bluesam\outputs. Other files were created in the same folders without problems: AWS_M2_CARDDEMO_CARDDATA_VSAM_KSDS AWS_M2_CARDDEMO_CARDXREF_VSAM_KSDS AWS_M2_CARDDEMO_CUSTDATA_VSAM_KSDS AWS_M2_CARDDEMO_DISCGRP_VSAM_KSDS AWS_M2_CARDDEMO_TRANCATG_VSAM_KSDS AWS_M2_CARDDEMO_TRANTYPE_VSAM_KSDS AWS_M2_CARDDEMO_USRSEC_VSAM_KSDS. I don't think I have added } accidentially.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。