Description

When running a snapshot, the "synchronize services' step ends in an error ("Duplicated <Analysis Unit Name>) as shown in the below screenshot:

 

Observed in CAST AIP
Release
Yes/No
8.3.x(tick)
8.2.x(tick)
8.1.x(tick)
8.0.x(tick)
7.3.x(tick)
Observed on RDBMS
RDBMS
Yes/No
Oracle Server(tick)
Microsoft SQL Server(tick)
CSS3(tick)
CSS2(tick)
Step by Step Scenario

Below is the step-by-step scenario leading to the problem:

  1. Deliver code
  2. Analyze code
  3. Configure modules
  4. Run snapshot - Error - Duplicated <Analysis unit name>
Impact of the Problem

The impact of the problem on the analysis or the dashboard is:

No results as snapshot is not run

Action Plan

This problem is because of the result of analysis units with duplicated names when the configuration of the modules is based on analysis unit content.

The determination whether this is the issue in this case was determined by investigation of the configuration within CAST-MS in regards to the analysis unit that is listed as duplicated in the error message during synchronization.

To determine if this is the case:

  1. Check if the module configuration is based on analysis unit content. For more information on the module configuration, see the documentation for your CAST release. (for 8.2, see documentation here: User Defined Module)
  2. Check if the analysis unit names are duplicated in CAST-MS.
    1. Check the current version tab in CAST-MS
    2. In the deployed packages you can check sort the analysis units by name and check for duplication.
      Sorting by name is done by clicking on the "name" column header. For more information, see the documentation for your CAST release. (For 8.2, see the documentation here: CMS - Current Version tab)
    3. If the configuration has analysis units with duplicated names and the configuration of the modules is based on analysis unit content, then this error will occur. For more information on the module configuration, please see the documentation. (for 8.2: User Defined Module )

To fix the problem, proceed as follows:

  1. Modify the name of the analysis units such that they are no longer duplicated. For example, if several analysis units are named 'WebContent', then rename them to be unique like 'WebContent1', 'WebContent2', ... (for 8.2, see documentation here: CMS - Analysis Unit editor )
  2. Delete all user defined modules (for 8.2, see documentation here: CMS - Modules tab )
  3. Drop all snapshots and analysis results (for 8.2, see documentation here: CMS - Execute tab )
  4. Create new user defined modules (for 8.2, see documentation here: CMS - Modules tab )
  5. Run the analysis proceeded by the snapshot
Notes/comments
Ticket # 7902
Related Pages