search cancel

TDM - Javelin Logging problem

book

Article ID: 189093

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

Javelin version 2.0.715.0 

We have discovered an issue with the CallJavelin activity in Javelin, the property LogToCurrentFlowLogs is not working when set to True. 

The log from the called subflow is not present in the calling flow log:

 

2020-03-26 14:16:08 - Executing Step: CallExecuteSQLFile

2020-03-26 14:16:08 - Calling JavelinExecutor.exe with arguments: "D:\TDMProjects\Disys\Flows\ExecuteSQLFile2.vwf" "C:\Users\beh_xxxxx.xxxx\AppData\Local\Temp\2\tmpCC06.tmp" "D:\TDMProjects\Disys\Flows\" "D:\TDMProjects\Disys\Log\Disys-SubsetSelection.log"

 

2020-03-26 14:16:48 - Executing Step: LogActivity

 

The called subflow does create its log file in %appdata% as usual, it looks like JavelinExecutor.exe is ignoring the last parameter.

Attached is the complete log file and a screenshot of the flow.

 

2020-03-26 14:14:54 - Run flow: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 14:14:54 - Creating WorkflowDesigner: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 14:14:54 - Before loading WorkflowDesigner wd.load call: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 14:14:55 - After loading WorkflowDesigner wd.load call: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 14:14:55 - Before EncryptDecryptPasswordInAllAcitvities: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 14:15:30 - After EncryptDecryptPasswordInAllAcitvities: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 14:15:30 - Before UpdateVariables: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 14:15:30 - After UpdateVariables: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 14:15:30 - Before UpdateSourceLocationMappingInDebuggerService: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 14:15:31 - After UpdateSourceLocationMappingInDebuggerService: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 14:15:31 - Before BuildActivityIdToWfElementMap: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

 

2020-03-26 14:15:31 - After BuildActivityIdToWfElementMap: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 14:15:31 - Running Test Case: Flowchart

2020-03-26 14:15:31 - Running Test Case: ReadSQLConfig

2020-03-26 14:15:31 - Running Test Case: ReadSQLConfig

2020-03-26 14:15:31 - Test Case: ReadSQLConfig Execution Complete

2020-03-26 14:15:31 - Executing Step: SetServer

2020-03-26 14:15:31 - Executing Step: SetUser

2020-03-26 14:15:31 - Executing Step: SetPassword

2020-03-26 14:15:31 - Executing Step: SetProjectID

2020-03-26 14:15:31 - Executing Step: CheckRunningJobs

2020-03-26 14:15:31 - Calling JavelinExecutor.exe with arguments: "D:\TDMProjects\Disys\Flows\CheckRunningJob.vwf" "C:\Users\xxxx.xxxxxx\AppData\Local\Temp\2\tmp38FC.tmp" "D:\TDMProjects\Disys\Flows\" "D:\TDMProjects\Disys\Log\Disys-SubsetSelection.log"



2020-03-26 14:16:08 - Executing Step: SqlClearSubsetSelection

2020-03-26 14:16:08 - Connecting to Sql Server database...

2020-03-26 14:16:08 - Executing query: delete from [scramble].[dbo].[subset_selectie] where systeem ='disys'

2020-03-26 14:16:08 - Executing Step: LogSubsetSelectionCleared

2020-03-26 14:16:08 - Previous subset selection cleared.

2020-03-26 14:16:08 - Executing Step: SetConfigFile

2020-03-26 14:16:08 - Executing Step: SetEnvironment

2020-03-26 14:16:08 - Executing Step: SetSQLFile

2020-03-26 14:16:08 - Executing Step: CallExecuteSQLFile

2020-03-26 14:16:08 - Calling JavelinExecutor.exe with arguments: "D:\TDMProjects\Disys\Flows\ExecuteSQLFile2.vwf" "C:\Users\xxxx.xxxxxx\AppData\Local\Temp\2\tmpCC06.tmp" "D:\TDMProjects\Disys\Flows\" "D:\TDMProjects\Disys\Log\Disys-SubsetSelection.log"

 

2020-03-26 14:16:48 - Executing Step: LogActivity

2020-03-26 14:16:48 - Finished inserting subset selection.

2020-03-26 14:16:48 - Running Test Case: Flowchart

2020-03-26 14:16:48 - Test Case: Flowchart Execution Complete

 

2020-03-26 14:16:48 - Executing Step: LogActivity

2020-03-26 14:16:48 - Finished inserting subset selection.

2020-03-26 14:16:48 - Running Test Case: Flowchart

2020-03-26 14:16:48 - Test Case: Flowchart Execution Complete

 

2020-03-26 15:35:52 - Run flow: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 15:35:52 - Creating WorkflowDesigner: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 15:35:53 - Before loading WorkflowDesigner wd.load call: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 15:35:53 - After loading WorkflowDesigner wd.load call: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 15:35:53 - Before EncryptDecryptPasswordInAllAcitvities: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 15:36:28 - After EncryptDecryptPasswordInAllAcitvities: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 15:36:28 - Before UpdateVariables: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 15:36:28 - After UpdateVariables: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 15:36:28 - Before UpdateSourceLocationMappingInDebuggerService: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 15:36:29 - After UpdateSourceLocationMappingInDebuggerService: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 15:36:29 - Before BuildActivityIdToWfElementMap: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

 

2020-03-26 15:36:29 - After BuildActivityIdToWfElementMap: D:\TDMProjects\Disys\Flows\SubsetSelection.vwf

2020-03-26 15:36:29 - Running Test Case: Flowchart

2020-03-26 15:36:29 - Running Test Case: ReadSQLConfig

2020-03-26 15:36:29 - Running Test Case: ReadSQLConfig

2020-03-26 15:36:29 - Test Case: ReadSQLConfig Execution Complete

2020-03-26 15:36:29 - Executing Step: SetServer

2020-03-26 15:36:29 - Executing Step: SetUser

2020-03-26 15:36:29 - Executing Step: SetPassword

2020-03-26 15:36:29 - Executing Step: SetProjectID

2020-03-26 15:36:29 - Executing Step: CheckRunningJobs

2020-03-26 15:36:29 - Calling JavelinExecutor.exe with arguments: "D:\TDMProjects\Disys\Flows\CheckRunningJob.vwf" "C:\Users\xxxx.xxxxxx\AppData\Local\Temp\2\tmp599C.tmp" "D:\TDMProjects\Disys\Flows\" "D:\TDMProjects\Disys\Log\Disys-SubsetSelection.log"



2020-03-26 15:37:06 - Executing Step: SqlClearSubsetSelection

2020-03-26 15:37:06 - Connecting to Sql Server database...

2020-03-26 15:37:06 - Executing query: delete from [scramble].[dbo].[subset_selectie] where systeem ='disys'

2020-03-26 15:37:06 - Executing Step: LogSubsetSelectionCleared

2020-03-26 15:37:06 - Previous subset selection cleared.

2020-03-26 15:37:06 - Executing Step: SetConfigFile

2020-03-26 15:37:06 - Executing Step: SetEnvironment

2020-03-26 15:37:06 - Executing Step: SetSQLFile

2020-03-26 15:37:06 - Executing Step: CallExecuteSQLFile

2020-03-26 15:37:06 - Calling JavelinExecutor.exe with arguments: "D:\TDMProjects\Disys\Flows\ExecuteSQLFile2.vwf" "C:\Users\xxxx.xxxxxx\AppData\Local\Temp\2\tmpECD5.tmp" "D:\TDMProjects\Disys\Flows\" "D:\TDMProjects\Disys\Log\Disys-SubsetSelection.log"

 

2020-03-26 15:37:47 - Executing Step: LogActivity

2020-03-26 15:37:47 - Finished inserting subset selection.

2020-03-26 15:37:47 - Running Test Case: Flowchart

2020-03-26 15:37:47 - Test Case: Flowchart Execution Complete

 

2020-03-26 15:37:47 - Executing Step: LogActivity

2020-03-26 15:37:47 - Finished inserting subset selection.

2020-03-26 15:37:47 - Running Test Case: Flowchart

2020-03-26 15:37:47 - Test Case: Flowchart Execution Complete

 

Cause

Case 31832956
Defect DE453965

Environment

Release : 2.0

Component : CA Test Data Manager

Resolution

Engineering recreated the issue and found the root cause. This is addressed in Javelin-4.8.121.0. If you are experiencing this type of issue, please contact Support and request Javelin-4.8.121.0 or greater.

Also the XML used should have below format for the attributes:

==  Example.xml suggested ==

<?xml version="1.0" encoding="UTF-8"?>
<GTJavelinJob>
    <FlowPath>D:\TDMProjects\Flows\Support\Example.vwf</FlowPath>
    <LogFile>Example.log</LogFile>
    <outdir>D:\TDMProjects\Flows\Support</outdir>
</GTJavelinJob>

 

Note:

FlowPath: Full path of the flow file

LogFile: Only the name of the log file

outdir: Path of output directory (don't put \ at the end), log file would be created in this directory