DevTest Performance Testing Error - VSBuilderSessionCatalog

book

Article ID: 76806

calendar_today

Updated On:

Products

CA Application Test Service Virtualization CA Continuous Application Insight (PathFinder)

Issue/Introduction

While  testing  Virtual Service with the load, we  see the below errors in vse logs.

2018-04-01 09:48:25,799Z (10:48) [Event Sink Thread Pool Thread 2] ERROR com.ca.sv.vsbuilder.VSBuilderSessionCatalog - Error while clearing Building Session java.lang.RuntimeException: Tried to load existing BuilderSession from disk, but couldn't find expected directory: /app/CA/DevTest_10.1/vsBuilderSessions/VM_VSE_2013/B260E5D6327411E8AC335CB901D10CE0 at com.ca.sv.vsbuilder.VSBuilderSessionCatalog.getFromCache(VSBuilderSessionCatalog.java:313) at com.ca.sv.vsbuilder.VSBuilderSessionCatalog.clearBuilderSessions(VSBuilderSessionCatalog.java:107) at com.ca.sv.vsbuilder.VSBuilderSessionCatalog$1.pulse(VSBuilderSessionCatalog.java:80) at com.itko.util.Pulse.execPulse(Pulse.java:521) at com.itko.util.Pulse.eventReceipt(Pulse.java:491) at com.itko.util.EventThread.execEvents(ThreadedEventSink.java:79) at com.itko.util.EventThread.run(ThreadedEventSink.java:59) Caused by: java.io.IOException: Tried to load existing BuilderSession from disk, but couldn't find expected directory: /app/CA/DevTest_10.1/vsBuilderSessions/VM_VSE_2013/B260E5D6327411E8AC335CB901D10CE0 at com.ca.sv.vsbuilder.FileBasedBuilderSession$FileBasedBuilderSessionBuilder.locateProject(FileBasedBuilderSession.java:208) at com.ca.sv.vsbuilder.FileBasedBuilderSession$FileBasedBuilderSessionBuilder.build(FileBasedBuilderSession.java:79) at com.ca.sv.vsbuilder.VSBuilderSessionCatalog.lambda$getFromCache$28(VSBuilderSessionCatalog.java:311) at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4793) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3542) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2323) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2286) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201) at com.google.common.cache.LocalCache.get(LocalCache.java:3953) at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4790) at com.ca.sv.vsbuilder.VSBuilderSessionCatalog.getFromCache(VSBuilderSessionCatalog.java:295) at com.ca.sv.vsbuilder.VSBuilderSessionCatalog.getFromCache(VSBuilderSessionCatalog.java:309)

Cause

The vsBuilderSessions/VM_VSE_2013/ folder creates bundles when you create Virtual Services from the Portal. These bundle contain resources needed for this Virtual Service, for example aWSDL files or RR pairs. There are cached names for these bundles in the vsBuilderSession catalog. if files are damaged or deleted or changed, VSE cannot load it, and as a result it throws the error. 

Environment

All supported DevTest Environment. 

Resolution

Steps followed:
*******************
Cleared the logs in /lisatmp10.x folder
Renamed  DevTest-Home/vsBuilderSessions/VM_VSE-2013 to vsBuilderSessions/VM_VSE-2013.backup
Restarted VSE.