This page provides information about the various steps that are involved in the execution of Shell Application. Shell is a technology for which the analysis is done by the Universal Analyzer i.e. Analysis of Shell can only be done if the Universal Analyzer Language Pack of Shell has been installed.

The Universal Analyzer analyzes the Shell application and this page provides the detailed information on all the processes and steps that take place after an analysis is launched.

It will give details about the information that is written in the logs that are generated for Analysis. Refer to the official documentation of Shell Extension for more details: Shell

For information on Universal Analyzer, refer to this document: Universal Analyzer

For 8.0.x : CAST Management Studio - Help > Configuration > Preferences > CAST General

For official documentation 8.0.x : CMS - Run analysis only

In this page, the different logs lines corresponding to the Run Shell Analyzer are listed with functional and technical explanation of the logs that it generates.




CAST-MS-[Date]-[Time].log.txt

Section of CAST-MS Management Studio log file dealing with Shell analyzer. Get the location at CAST Logs location.

This section provides the information of the type of analyzer being used based on the technology which is being analyzed in the application. It provides the details about the command line for running universal analyzer, connection profile and also provides the path of the Analysis Log for more details about the analysis of a single Analysis Unit.

INF: 2016-07-20 09:45:05:  starting Task Run analysis for 'V1'

Specifying the option -RUN_AU ,the following command line launches analysis unit by retrieving the ID of the Analysis Unit inside the JobSettings.xml.  

"\shell_SHELL_13739-20160720094505.castlog'" present the log file of the command line (see option -LOG), this command line can be run from CMD after delivering the application.

INF: 2018-06-25 11:07:37: starting Task Run Universal Analyzer "My Universal Analysis Unit_33178"
INF: 2018-06-25 11:07:37: C:\Flat Service Packs\8.3.3/anarun.exe -CONNECT_PROFILE('SFRW7LAP:2280 on CastStorageService.salim_833_local') -RUN_AU(40101,40102,'C:\ProgramData\CAST\CAST\CASTMS\LISA\922d566c37114f85ae469faae40dc2ca\Scrfd4b95ede7314adc8efc6cd709df2e77\JobSettings.xml') -MANAGED(40101) -SESSION_ID(40102) -LOG('C:\ProgramData\CAST\CAST\Logs\TKB Shell\Run_Analysis_on_th_1067\My_Universal_Analysis-20180625-110726.castlog',TRUNCATE) -LARGESTORAGE('C:\ProgramData\CAST\CAST\CASTMS','C:\ProgramData\CAST\CAST\CASTMS','922d566c37114f85ae469faae40dc2ca/Scrfd4b95ede7314adc8efc6cd709df2e77') -LOGIN(,CASTCORP\SFR,) -APP(-NOGUI) -FINAL_UPDATE -NOPROGRESS -EXIT
INF: 2018-06-25 11:07:51: #PMC#About to run JOB_UNIVERSAL_ANALYZER job 'My Universal Analysis Unit_33178'.
INF: 2018-06-25 11:07:51: About to run JOB_UNIVERSAL_ANALYZER job 'My Universal Analysis Unit_33178'.
INF: 2018-06-25 11:08:20: Adding new Project: My Universal Analysis Unit_33178
INF: 2018-06-25 11:08:20: Guid set
INF: 2018-06-25 11:08:20: persistence posted
INF: 2018-06-25 11:08:20: identification set
INF: 2018-06-25 11:08:20: description set
INF: 2018-06-25 11:08:20: fullname set
INF: 2018-06-25 11:08:20: identification posted
INF: 2018-06-25 11:08:20: project posted
INF: 2018-06-25 11:08:20: UnivProject id = #4
INF: 2018-06-25 11:08:20: IsInProjectLink added
INF: 2018-06-25 11:08:32: #PMC# Execution date=2018/06/25 09:08
INF: 2018-06-25 11:08:32: Execution date=2018/06/25 09:08
INF: 2018-06-25 11:08:32: #PMC# Execution duration=0 days, 00 hours, 00 mins, 41 secs
INF: 2018-06-25 11:08:32: Execution duration=0 days, 00 hours, 00 mins, 41 secs
INF: 2018-06-25 11:08:32: #PMC# Execution result=success
INF: 2018-06-25 11:08:32: Execution result=success
INF: 2018-06-25 11:08:32: Loading ini file: C:\Users\SFR~1.CAS\AppData\Local\Temp\CAST\CAST\8.3\AMRunResult40102.INI
INF: 2018-06-25 11:08:32: Task message: No Task message
INF: 2018-06-25 11:08:32: Log file: C:\ProgramData\CAST\CAST\Logs\TKB Shell\Run_Analysis_on_th_1067\My_Universal_Analysis-20180625-110726.castlog
INF: 2018-06-25 11:08:32: ending Task Run Universal Analyzer "My Universal Analysis Unit_33178"


My_Universal_Analysis_[DateTime].castlog

This section provides information on the environment in which analysis is about to run,the location of LISA ,LTSA,LSA folder and the local/knowledge base being used for analysis.

2018-06-25 11:07:38.956706 Information MODULMSG ; Job execution CAIP Version: CAST 8.3.3 ( Build 1591 )
2018-06-25 11:07:38.956706 Information MODULMSG ; Job execution LISA folder: C:\ProgramData\CAST\CAST\CASTMS
2018-06-25 11:07:38.956706 Information MODULMSG ; Job execution LTSA folder: C:\ProgramData\CAST\CAST\CASTMS
2018-06-25 11:07:38.958708 Information MODULMSG ; Job execution LSA relative folder: 922d566c37114f85ae469faae40dc2ca\Scrfd4b95ede7314adc8efc6cd709df2e77
2018-06-25 11:07:43.350692 Information MODULMSG ; Job execution Using Knowledge Base on schema salim_833_local.
2018-06-25 11:07:49.339800 Information MODULMSG ; Job execution Registering extension com.castsoftware.python 1.0.0-funcrel.
2018-06-25 11:07:49.339800 Information MODULMSG ; Job execution Registering extension com.castsoftware.shell 1.0.7.
2018-06-25 11:07:49.339800 Information MODULMSG ; Job execution Registering extension com.castsoftware.jee 1.0.4

 [ ... ]

 

This section provides information that environment information has taken into account,metamodel is loaded and analysis is about to start.

2018-06-25 11:07:49.745539 Information MODULMSG ; Job execution Loading meta model from repository . . .
2018-06-25 11:07:50.756788 Information MODULMSG ; Job execution Meta model loaded.
2018-06-25 11:07:51.612862 Information MODULMSG ; Job execution RunAnalysis started

 


This section shows all the configuration messages. All the options configured in CAST- MS like the extensions included in analysis,column of indicator area,tabular length,any custom environment profiles ,source file path,include file path, etc that are required to run a perfect analysis are shown in the log message during the beginning.

2018-06-25 11:07:51.618856 Information MODULMSG ; Job execution Name : My Universal Analysis Unit
2018-06-25 11:07:51.619842 Information MODULMSG ; Job execution Universal language
2018-06-25 11:07:51.619842 Information MODULMSG ; Job execution Extensions used in jobSettings : *.ksh;*.sh;*.ssh;*.csh;*.bsh;*.shell
2018-06-25 11:07:51.619842 Information MODULMSG ; Job execution Name : SHELL
2018-06-25 11:07:51.619842 Information MODULMSG ; Job execution Description : Shell Scripts
2018-06-25 11:07:51.619842 Information MODULMSG ; Job execution Sources
2018-06-25 11:07:51.619842 Information MODULMSG ; Job execution File Path : C:\CASTMS-833\Deploy\TKB Shell\Shell
2018-06-25 11:07:51.619842 Information MODULMSG ; Job execution Permission : Include
2018-06-25 11:07:51.619842 Information MODULMSG ; Job execution Universal language
2018-06-25 11:07:51.619842 Information MODULMSG ; Job execution Extensions used in jobSettings : *.ksh;*.sh;*.ssh;*.csh;*.bsh;*.shell
2018-06-25 11:07:51.619842 Information MODULMSG ; Job execution Name : SHELL
2018-06-25 11:07:51.619842 Information MODULMSG ; Job execution Description : Shell Scripts
2018-06-25 11:07:51.620839 Information MODULMSG ; Job execution Number of Instances : 200000
2018-06-25 11:07:51.620839 Information MODULMSG ; Job execution Activate AMT Memory Profiling : 0
2018-06-25 11:07:51.620839 Information MODULMSG ; Job execution Activate Inference Engine technical log : 0
2018-06-25 11:07:51.620839 Information MODULMSG ; Job execution Activate Inference Engine traces : 0
2018-06-25 11:07:51.620839 Information MODULMSG ; Job execution Activate Metrics traces : 0
2018-06-25 11:07:51.620839 Information MODULMSG ; Job execution Include debug messages : 0
2018-06-25 11:07:51.620839 Information MODULMSG ; Job execution Skip Metrics compute : 0
2018-06-25 11:07:51.620839 Information MODULMSG ; Job execution Skip analysis result save : 0
2018-06-25 11:07:51.620839 Information MODULMSG ; Job execution Show SQL : 0
2018-06-25 11:07:51.620839 Information MODULMSG ; Job execution SESSION CONTEXT details: 40101 ; 40102 = "TKB Shell"."My Universal Analysis Unit_33178"    

 

This section shows that the analysis step has started.

2018-06-25 11:07:51.622849 Information MODULMSG ; Job execution About to run JOB_UNIVERSAL_ANALYZER job 'My Universal Analysis Unit_33178'.
2018-06-25 11:07:51.689804 Information MODULMSG ; Job execution Total physical memory: 8064 MB.

This section shows the number of external link components loaded (the client server components being loaded) and validation results and the files that are being analyzed.

2018-06-25 11:07:52.124639 Information MODULMSG ; Job execution External link component has loaded 0 objects
2018-06-25 11:07:52.181607 Information MODULMSG ; Job execution External link component has loaded 0 objects

This section shows the preprocessing.

 

2018-06-25 11:07:53.174850 Information MODULMSG ; Job execution PreProcessing Started...
2018-06-25 11:07:54.201487 Information MODULMSG ; Job execution PreProcessing Finished


This section shows the files that are being processed in the LISA FOLDER during the analysis.


2018-06-25 11:08:21.139494 Information MODULMSG ; Job execution Starting processing of file 'C:\ProgramData\CAST\CAST\CASTMS\LISA\922d566c37114f85ae469faae40dc2ca\Scrfd4b95ede7314adc8efc6cd709df2e77\My Universal Analysis Unit_33178\238099948_SHELL\update_iadmp_dma_dump.sh'
2018-06-25 11:08:21.179469 Information MODULMSG ; Job execution File processed : 'C:\ProgramData\CAST\CAST\CASTMS\LISA\922d566c37114f85ae469faae40dc2ca\Scrfd4b95ede7314adc8efc6cd709df2e77\My Universal Analysis Unit_33178\238099948_SHELL\update_iadmp_dma_dump.sh'
2018-06-25 11:08:21.415336 Information MODULMSG ; Job execution External link component has loaded 0 objects

[ ... ]                                                                                                                                                                                                                                                                                                      .....

This section shows checksum computation.

2018-06-25 11:08:21.713171 Information MODULMSG ; Job execution Starting checksum processing
2018-06-25 11:08:21.975023 Information MODULMSG ; Job execution End checksum processing


This section shows UA Resolution of objects.


2018-06-25 11:08:22.085980 Information MODULMSG ; Job execution Starting UA resolution
2018-06-25 11:08:22.088974 Information MODULMSG ; Job execution UA Resolution in progress:5 percent complete (remaining of all suspensions : 21)
2018-06-25 11:08:22.088974 Information MODULMSG ; Job execution UA Resolution in progress:10 percent complete (remaining of all suspensions : 20)
2018-06-25 11:08:22.088974 Information MODULMSG ; Job execution UA Resolution in progress:15 percent complete (remaining of all suspensions : 19)
2018-06-25 11:08:22.088974 Information MODULMSG ; Job execution UA Resolution in progress:20 percent complete (remaining of all suspensions : 18)
2018-06-25 11:08:22.090958 Information MODULMSG ; Job execution UA Resolution in progress:25 percent complete (remaining of all suspensions : 17)
2018-06-25 11:08:22.092957 Information MODULMSG ; Job execution UA Resolution in progress:30 percent complete (remaining of all suspensions : 15)
2018-06-25 11:08:22.092957 Information MODULMSG ; Job execution UA Resolution in progress:35 percent complete (remaining of all suspensions : 14)
2018-06-25 11:08:22.093973 Information MODULMSG ; Job execution UA Resolution in progress:40 percent complete (remaining of all suspensions : 13)
2018-06-25 11:08:22.093973 Information MODULMSG ; Job execution UA Resolution in progress:45 percent complete (remaining of all suspensions : 12)
2018-06-25 11:08:22.093973 Information MODULMSG ; Job execution UA Resolution in progress:50 percent complete (remaining of all suspensions : 11)
2018-06-25 11:08:22.093973 Information MODULMSG ; Job execution UA Resolution in progress:55 percent complete (remaining of all suspensions : 10)
2018-06-25 11:08:22.095974 Information MODULMSG ; Job execution UA Resolution in progress:60 percent complete (remaining of all suspensions : 8)
2018-06-25 11:08:22.095974 Information MODULMSG ; Job execution UA Resolution in progress:65 percent complete (remaining of all suspensions : 7)
2018-06-25 11:08:22.095974 Information MODULMSG ; Job execution UA Resolution in progress:70 percent complete (remaining of all suspensions : 6)
2018-06-25 11:08:22.097958 Information MODULMSG ; Job execution UA Resolution in progress:75 percent complete (remaining of all suspensions : 5)
2018-06-25 11:08:22.100955 Information MODULMSG ; Job execution UA Resolution in progress:80 percent complete (remaining of all suspensions : 4)
2018-06-25 11:08:22.101971 Information MODULMSG ; Job execution UA Resolution in progress:85 percent complete (remaining of all suspensions : 3)
2018-06-25 11:08:22.101971 Information MODULMSG ; Job execution UA Resolution in progress:90 percent complete (remaining of all suspensions : 2)
2018-06-25 11:08:22.101971 Information MODULMSG ; Job execution UA Resolution in progress:95 percent complete (remaining of all suspensions : 0)
2018-06-25 11:08:22.101971 Information MODULMSG ; Job execution End UA resolution

  

This section indicate that analysis process compares the results in the Knowledge base

2018-06-25 11:08:22.415777 MODULMSG ; Job execution Comparing objects on server . . .
2018-06-25 11:08:27.664352 MODULMSG ; Job execution Comparison completed.


This section indicate that analysis process flushes the results in the Knowledge base

2018-06-25 11:08:27.664352 MODULMSG ; Job execution Merging objects on server . . .
2018-06-25 11:08:31.142305 MODULMSG ; Job execution Merge completed.

  

This section shows the execution date and time,the time taken for the entire analysis to get completed,the number of fatal errors/errors/warnings/information messages.

2018-06-25 11:08:32.551518 Information MODULMSG ; Job execution New Job status
2018-06-25 11:08:32.552517 Information MODULMSG ; Job execution Execution date=2018/06/25 09:08
2018-06-25 11:08:32.554515 Information MODULMSG ; Job execution Execution duration=0 days, 00 hours, 00 mins, 41 secs
2018-06-25 11:08:32.555515 Information MODULMSG ; Job execution Execution result=success
2018-06-25 11:08:32.555515 Information MODULMSG ; Job execution Analysis completed
2018-06-25 11:08:32.675449 Information MODULMSG ; Job execution 0 fatal error(s); 0 error(s); 0 warning(s); 118 information message(s).

 


CAST_MainTask_SummaryLog_[Date]-[Time].txt


Status: Execution succeeded

Start: Mon Jun 25 11:07:24 CEST 2018
OS Version: Windows 8.1 (version 6.3)
Machine name: SFRW7LAP
Software Version: CAST 8.3.3 ( Build 1591 )
Task: Run Analysis on the current analysis unit's group
Total duration: 1m41s


-- Statistics for application TKB Shell --
Analysis duration: 1m39s
Nb of modules: 0
Nb of active analysis units: 1
Nb of inactive analysis units: 0
Total nb of analysis units: 1
Nb of saved objects: 16

Summary is saved at C:\ProgramData\CAST\CAST\Logs\TKB Shell\Run_Analysis_on_th_1067\CAST_MainTask_SummaryLog-20180625-110905.txt