DevOps Automation

DevOps Automation

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#DevOps
 View Only

Understanding Workspace Issues in IBM DevOps Test Tools

By Ashish Bhaiswar posted Tue March 10, 2026 03:38 PM

  
If you regularly work with IBM DevOps Test Performance or DevOps Test UI, you may eventually run into errors that are confusing, persistent, and seemingly unrelated to your actual test assets. Very often, these issues fall into two broad categories:
 
  1. Workspace corruption issues
  2. Errors caused by improper import or export of test assets
 
Although the symptoms may look similar at first glance, the root causes and resolutions are different. In this blog, we will clearly differentiate between these two problem areas and guide you toward the right recovery approach.
 
Part 1: Workspace Corruption Issues
 
Workspace corruption is one of the most common and frustrating problems faced in Eclipse-based tools, including IBM DevOps Test Performance and DevOps Test UI. Over time, the workspace metadata can become inconsistent or unreadable, leading to widespread failures across projects.
 
Common Symptoms of Workspace Corruption
 Workspace corruption typically manifests through generic and high-volume errors such as:
  1. Errors were found in the project. 100 / 300 compiler errors were detected
  2. Scripts failing to build even though no recent changes were made
  3. Sudden appearance of errors across multiple projects
  4. The src folder in the project contains some issues, and a cross mark may appear
The number of compiler errors may vary, from a single error to hundreds, but the underlying issue is often the same: the workspace metadata is no longer reliable.

image


Metadata Write Failures
 A more explicit indicator of workspace corruption is an error message similar to:
 “Periodic workspace save has encountered a problem. Could not write workspace metadata … .metadata\.plugins\…”
 
Although the workspace name or directory path may differ, this error strongly points to a corrupted or locked workspace metadata area.

image

Why Workspace Corruption Happens
Workspace corruption can occur for many reasons, and in most cases, the exact trigger is difficult to pinpoint. It may be related to environmental factors, prolonged usage, large volumes of test assets, or unexpected tool behavior over time.
 
Rather than focusing on identifying a single cause, it is more practical to recognize that workspace corruption is a possibility in any long-running or heavily used workspace, even when best practices are followed.
 
Eclipse workspaces are volatile by nature. Given time, increasing test assets, etc., they sometimes become corrupted. It's just a good idea to do a periodic 'cleansing' by moving to a new workspace anyhow.
 
Once corruption sets in, attempting to fix errors within the same workspace usually leads to additional instability and inconsistent behavior. Creating a clean workspace is often the safest and fastest path to recovery.
 
Recommendation:
Always keep regular backups of your work by exporting test assets at planned intervals even when you are not facing any workspace issues. Proactive backups significantly reduce recovery time and help safeguard your test investments.
 
 
Recommended Fix for Workspace Corruption
The most reliable and supported solution is to abandon the corrupted workspace and move to a clean one.
 
Step 1: Perform a Clean Launch 
Before moving to a new workspace, you may attempt a clean launch to resolve plugin or initialization issues.
 
Why perform a clean launch?
A clean launch forces the tool to refresh and reinitialize Eclipse plugins and internal metadata, which can resolve errors caused by stale plugin states or incomplete shutdown.
 
On Windows:
  1. Kill all IBM DevOps Test related processes such as:
     javaw.exe
    eclipse.exe
    java.exe
  2. Open Command Prompt.
  3. Navigate to the tool installation directory (where the eclipse command exists).
  4. Execute: eclipse.exe -clean -refresh -initialize

On Linux:
  1. Open a terminal window as the user who normally starts the tool.
  2. Navigate to the installation directory (where the eclipse command exists).
  3. Run the tool with the clean option enabled.
  4. Execute: ./eclipse -clean -product <com.ibm.rational.rpt.product.ide> (product name may vary)

Step 2: Create a New Workspace
If issues persist or metadata corruption is confirmed, create a completely new workspace.
  1. Start the tool and choose a new workspace location.
  2. Ensure the new workspace is created on a local disk.

Step 3: Import Projects into the New Workspace
If the old workspace is still accessible:
  1. After creating the new workspace, go to:
    File → Import → General → Existing Projects into Workspace
  2. Click Next.
  3. Browse to the root directory of the old workspace.
  4. Select the projects and check the option: “Copy projects into workspace.”
  5. Click Finish.
Once you verify that all required project files are functioning correctly in the new workspace, you can safely delete the corrupted workspace.
 
The import method is crucial and is discussed in detail in the next section.
 
 
 
Part 2: Import and Export Issues (Not Workspace Corruption)
 
Not all errors are caused by workspace corruption. Another common category of problems arises when test assets are imported or exported incorrectly. These issues are often mistaken for workspace corruption, but they have a very different root cause.
 
Typical Import / Export Error Symptoms
 When assets are imported without dependencies, you may see errors such as:
  1. Tests showing No application selected
  2. Build or validation errors immediately after import
  3. Missing datasets, schedules, or shared resources
These errors do not indicate workspace corruption. Instead, they indicate that required dependencies were not included during export or import.

image

Correct Way to Export Test Assets
 To avoid dependency-related issues, always export assets using the Test Assets with Dependencies option.
  1. Right-click the project.
  2. Select Export.
  3. Choose 'Test Assets with Dependencies'.
  4. Complete the wizard and save the archive file.

Correct Way to Import Test Assets
 In the target workspace:
  1. Right-click and select Import.
  2. Navigate to Test → Test Assets with Dependencies.
  3. Browse to the exported archive file.
  4. Finish the import and allow the workspace to rebuild.

image

image

Important Clarification
Errors such as 'No application selected' or build failures after import are dependency issues, not workspace corruption. Re-importing assets correctly usually resolves them without requiring a new workspace.
 
 
Best Practices to Stay Out of Trouble
  1. Use local disks for workspaces
  2. Avoid reusing workspaces across tool versions
  3. Always export using 'Test Assets with Dependencies'
  4. Keep regular backups of exported assets
  5. Close the tool gracefully before system shutdown
Following these practices will help you avoid both workspace corruption and import/export issues.
 
 
Conclusion
 Understanding the difference between workspace corruption and import/export dependency issues can save significant troubleshooting time. Large compiler error counts and metadata write failures usually indicate workspace corruption and require a new workspace. Import-related errors, on the other hand, are resolved by using the correct export and import process.
 
Knowing which problem you are facing is the first step toward fixing it quickly and confidently.
0 comments
10 views

Permalink