Page tree
Skip to end of metadata
Go to start of metadata
Purpose

In Compute snapshot step, the Assessment Model is synchronized from the Management Service to the Central Services. The snapshot is then computed.

For official documentation 8.3.x:  Snapshot generation

In this page, the different logs lines corresponding to the Compute Snapshot is  listed with functional and technical explanation of the logs that it generates.

The Log lines generated by this task is shown below



Excerpt Macro - Logs - Full Analysis Image for 83

CASTMS-<date>-<time>.log.txt

Compute Snapshot

INF: 2018-06-27 19:53:09:     starting Task Compute Snapshot in "test834_central" with associated Analysis Services
                          Scanning C:\ProgramData\CAST\CAST\Extensions for downloaded extensions
                          Using C:\ProgramData\CAST\CAST\8.3 as <all users dir>
                          Scanning C:\ProgramData\CAST\CAST\Extensions for downloaded extensions
                          Using C:\ProgramData\CAST\CAST\8.3 as <all users dir>
INF: 2018-06-27 19:53:15:     Updating setup of application #31690
INF: 2018-06-27 19:53:15:     Processing configuration folder: C:\ProgramData\CAST\CAST\Extensions\com.castsoftware.angularjs.1.6.0\configuration\TCC
INF: 2018-06-27 19:53:15:     Processing configuration folder: C:\ProgramData\CAST\CAST\Extensions\com.castsoftware.jee.1.0.4\configuration\TCC
INF: 2018-06-27 19:53:16:     Processing configuration folder: C:\ProgramData\CAST\CAST\Extensions\com.castsoftware.springmvc.1.5.0\configuration\TCC
INF: 2018-06-27 19:53:16:     Updating Configuration of application #31690 with file 'C:\ProgramData\CAST\CAST\Extensions\com.castsoftware.springmvc.1.5.0\configuration\TCC\Base_Java_SpringMVC.TCCSetup'...
INF: 2018-06-27 19:53:16:     Package 'Base_Java_SpringMVC', version '1.0.0.0' defined in file 'C:\ProgramData\CAST\CAST\Extensions\com.castsoftware.springmvc.1.5.0\configuration\TCC\Base_Java_SpringMVC.TCCSetup'...
INF: 2018-06-27 19:53:16:     Package 'Base_Java_SpringMVC', version '1.0.0.0' already installed in application #31690: nothing to do
INF: 2018-06-27 19:53:16:     Processing configuration folder: C:\Program Files\CAST\834_flat\configuration\TCC
INF: 2018-06-27 19:55:20:     The sub JVM requested maximum memory is reduced from 4096M to 3348882K
INF: 2018-06-27 19:55:20:     Defining Log server thread as a new logging context without any writers
INF: 2018-06-27 19:55:23:     DSS Tree Builder  Copyright (c) 2014 CAST
INF: 2018-06-27 19:55:23:     Connected to: jdbc:postgresql://<machine>:2280/postgres user: operator
INF: 2018-06-27 19:55:23:     Populating snapshots: '1'...
INF: 2018-06-27 19:55:23:       Populating snapshot #1...
INF: 2018-06-27 19:55:23:         Loading graph for snapshot: '1'...
INF: 2018-06-27 19:55:24:         3817 arcs loaded in graph!
INF: 2018-06-27 19:55:24:         3818 nodes built in tree!
INF: 2018-06-27 19:55:25:       Snapshot populated, 3818 rows created
INF: 2018-06-27 19:55:25:     Snapshots populated in 1216 ms, 3818 rows created [rate: 3139 rows/s]
INF: 2018-06-27 19:55:25:     Done!
INF: 2018-06-27 19:55:25:     Task message: No Task message
INF: 2018-06-27 19:55:25:     Log file: C:\ProgramData\CAST\CAST\Logs\webgoat\Take_a_snapshot_of_81\DssEngine-20180627-194232.log.txt
INF: 2018-06-27 19:55:25:     ending Task Compute Snapshot in "test834_central" with associated Analysis Services

DssEngine-<Date>-<Time>.log.txt

2016-07-25 13:16:11.266 loading snapshot definition...
2016-07-25 13:16:11.399 Found 1 applications on 1 local sites.

2018-06-27 19:53:10.175 loading snapshot definition...

2018-06-27 19:53:10.331 Found 1 applications on 1 local sites.

2018-06-27 19:53:10.331 Info: multiple snapshot import and consolidation enabled.

2018-06-27 19:53:10.331 Create IFPUG module for webgoat application...

2018-06-27 19:53:10.347 Start exporting metric tree to local site test834_local using SQL transfer.

2018-06-27 19:53:11.097 Start exporting exception to local site test834_local using SQL transfer.

2018-06-27 19:53:11.097 Start computing snapshot on local site test834_local

2018-06-27 19:53:12.535 Define module selection...

2018-06-27 19:53:12.550 Performing initializations...

2018-06-27 19:53:12.753 Run snapshot...

2018-06-27 19:53:37.819 Run C:\Program Files\CAST\834_flat/DssRun.exe -LOCAL_IFPUG_GRAPH

2018-06-27 19:53:38.584 DssRun.exe - command line arguments: -CONNECT_LOCAL('PostgreSQL','//<machine>:2280/postgres','operator','*****','test834_local') -LOCAL_IFPUG_GRAPH

2018-06-27 19:53:38.663 Starting transaction graph computation (64-bits version)...

2018-06-27 19:53:38.741 Loading graph data...

2018-06-27 19:53:38.756 Standard TF graph adjustment      : disabled

2018-06-27 19:53:38.756 Custom TF graph adjustment        : disabled

2018-06-27 19:53:38.756 TF graph adjustment succeeded.

2018-06-27 19:53:38.913 Badly calibrated Data & Transactional Functions repair for application 'webgoat' (#31690):

2018-06-27 19:53:38.913 No Data/Transactional Function calibration problem found.

2018-06-27 19:53:38.913 Starting transaction graph analysis...

2018-06-27 19:53:38.928 Graph analysis done.

2018-06-27 19:53:38.928 Number of applications with full call graph      : 1 (#31690)

2018-06-27 19:53:38.928 Number of relevant objects in repository         : 5944

2018-06-27 19:53:38.928 Number of OMG AFP-links in repository            : 21710

2018-06-27 19:53:38.928 Number of DF records / TR end points             : 341

2018-06-27 19:53:38.928 Number of transactions                           : 217

2018-06-27 19:53:38.928 Number of empty transactions                     : 145

2018-06-27 19:53:38.928 Number of links -> DF records / TR end points    : 3126

2018-06-27 19:53:38.928 Number of links -> other objects in full graph   : 23588

2018-06-27 19:53:38.944 Number of transaction links generated (sum)      : 26714

2018-06-27 19:53:38.944 Number of objects in largest transaction         : 3196

2018-06-27 19:53:38.944 Number of elements in largest SCC group          : 12

2018-06-27 19:53:38.944 Saving graph results...

2018-06-27 19:53:39.069 Saved full call graphs of transactions in application #31690 (26714 details).

2018-06-27 19:53:39.116 Computation finished.

2018-06-27 19:53:40.147 DssRun finished successfully

2018-06-27 19:54:23.578 Finalizing snapshot...

2018-06-27 19:54:24.977 Run C:\Program Files\CAST\834_flat/DssRun.exe -SMART_RANKING

2018-06-27 19:54:27.521 Start transferring data from local site test834_local using SQL transfer.

2018-06-27 19:54:28.432 Start creating, importing and consolidating snapshots from local site test834_local

2018-06-27 19:54:28.440 Create new snapshot for application webgoat

2018-06-27 19:54:28.490 Import data from local site test834_local

2018-06-27 19:54:30.702 Consolidation for application webgoat

2018-06-27 19:54:30.703 Start consolidating snapshot

2018-06-27 19:54:31.551 Performing initializations...

2018-06-27 19:54:31.553 Performing initializations : update technologies

2018-06-27 19:54:31.864 Performing initializations : update modules links

2018-06-27 19:54:32.043 Performing initializations : update functional modules links

2018-06-27 19:54:32.098 Performing initializations : update statistics

2018-06-27 19:54:33.611 Performing initializations : prepare compute metric

2018-06-27 19:54:33.916 Run consolidation...

2018-06-27 19:54:55.514 Finalizing consolidation...

2018-06-27 19:55:19.070 Purge temporary entry data from local site test834_local

2018-06-27 19:55:20.446 SQL Tree generation for snapshot 1.

2018-06-27 19:55:20.446 Running -driver org.postgresql.Driver -url jdbc:postgresql://<machine>:2280/postgres -schema test834_central -user operator -password ****** -snapshots 1

2018-06-27 19:55:23.523 DSS Tree Builder  Copyright (c) 2014 CAST

2018-06-27 19:55:23.858 Connected to: jdbc:postgresql://<machine>:2280/postgres user: operator

2018-06-27 19:55:23.858 Populating snapshots: '1'...

2018-06-27 19:55:23.858   Populating snapshot #1...

2018-06-27 19:55:23.858     Loading graph for snapshot: '1'...

2018-06-27 19:55:24.100     3817 arcs loaded in graph!

2018-06-27 19:55:24.247     3818 nodes built in tree!

2018-06-27 19:55:25.021   Snapshot populated, 3818 rows created

2018-06-27 19:55:25.021 Snapshots populated in 1216 ms, 3818 rows created [rate: 3139 rows/s]

2018-06-27 19:55:25.021 Done!

2018-06-27 19:55:25.028 Snapshot computation succeeded.

  • No labels