Fixing Hosts stuck in ‘Initializing’ Status

After upgrading to 12.56 I’ve noticed PC Hosts get stuck in an ‘Initializing‘ status. Use the query below if you have a PC Host that is stuck in the ‘Initializing‘ status to get it back in working order.

update [<DB_NAME_OF_LAB>].[dbo].[LAB_HOSTS]
where [HOST_ID] in ‘<Specify Host ID>’


Performance Center 12.56 Bugs

Below are a list of bugs I’ve discovered in PC 12.56. I’ll update this list over the next 30 days as more are identified.

1) Username/Password in Monitor Profiles are not used (Even when credentials exist). In 12.53 you could leave the username and password blank in a Monitor Profile and PC would use the Service account credentials by default to pull counters from a system. In 12.56 the primary service overrides anything you’ve entered and uses the primary service account. This will impact all monitor profiles that use a custom credentials (anything other than the default service account).

2) This isn’t a bug but is noteworthy. If you try to view Analysis files created via 12.56 tests, errors will be thrown if you use Analysis 12.53 loaded. The issue only shows for the Analyzed Results and not the Raw Results.

3) Just like 12.53, My Performance Center requires a large monitor/screen space. Pretty common these days but it can be frustrating when you attempt to load it from VM your RDP’d into and modifying the screen resolution isn’t possible.

4) Pools in 12.56 are also troublesome. The ‘General’ pool that is created by default does not seem to effectively ‘stick’ with some hosts. I recommend creating a new pool if you intend on sharing access across many projects.

ALM – Transaction iterations not displaying during Test Execution

After upgrading to PC 12.53, I noticed one project that was not showing transactions passing or failing in the Run Screen window. All transactions showed 0 count.

To fix the issue the Controller Settings need to be modified. (steps are using ALM Explorer 12.53)

  1. Click the Gear   Gear
  2. Select Performance Center Controller Options
  3. Update Sample Information at Frequency to 30 seconds
  4. Update Data Sampling Rate to 30 seconds
  5. Click OK

Controller Options

ALM Explorer – URL List

If your like me, and have upgraded Performance Center multiple times, you end up with a very messy list of URLs in ALM Explorer. To clean-up the list of URLs in the Address Bar you need to modify Windows Registry.

Windows Registry: HKEY_CURRENT_USER\Software\Mercury Interactive\Quality Center\

Click each of the old keys and delete them as needed.



ALM – Test Runs stuck in ‘Pending Creating Analysis Data’

While using Performance Center 12.53 I encountered an issue where my Test Runs were becoming stuck in ‘Pending Creating Analysis’ whenever the scenario was configured to Collate (vs Collate and Analyze). The Data Processor Queue in PC was stuck. The issue only became worse as numerous runs began to become stuck in this status, effectively creating a log-jam.

To remedy the issue the following queries were executed in Site Admin – PC LAB. This effectively removed the ‘TASKS’ so that the bad runs could be skipped. Be sure to back-up the ALM DBs / ALM Repository before running any update statements in Site Admin. 

update DP_TASKS
Where DP_Progress_Status = ‘Pending’
and DP_Operation_Type = ‘Analyzing’
and QC_Project = ‘<ProjectNameHere>’
and QC_RUN_ID = ‘<QCRunIDHere>’

The statement above was used and fixed the issue. I recommend being very specific and testing it with 1 Test Run before running a mass-update on the DP_TASK table.

Fun with UAC – Change Machine Identity Failed Error.

Change Machine Identity failed: Reason: RunProcessWithLogon: Failed to create process [D:\PCHost\al_agent\bin\alagentservice.exe] with user <My PC User> windows error code [183].

My team recently was encountering the error above on multiple VMs after a server patching was completed. The maintenance re-enabled UAC which disabled communication from the PC Hosts and ALM which caused the systems to be Non-Operational.

After a little digging, UAC was determined to be the culprit. For Server 2012, update the registry below to disable UAC.

  1. Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
  2. In the right pane, double-click EnableLUA
  3. Change Value Data to 0
  4. Reboot the Host, Attempt to Re-Configure in the LAB

Spectre & Meltdown

Epic Games blames Meltdown CPU performance issues for Fortnite downtime – The Verge

How slow will your computer be once Intel fixes the ‘meltdown’ security flaw? – Clotheshorse

Christmas comes twice this year for performance test engineers. The exposure of flaws like the ones recently announced stress the need for consistent, thoughtful performance testing. The impact of defects like the ones recently announced should be taken seriously and validated to ensure any and all measures to prevent degradation are taken.

While Intel has dominated the data center CPU market share it will be interesting to see if there is a drastic shift to diversify CPU types to minimize risk. The expansion of players in the data center (Nvidia, ARM) space continues to provide opportunities for performance testing.