Katalon command line under Jenkins

We are running the Katalon command line under Jenkins using a Windows batch command. We have three instances, one for each major browser (Chrome, IE, Firefox). The command looks something like this for each instance:

C:

CD C:\Tools\katalon\Katalon_Studio_Windows_64-5.2.0.1

katalon -runMode=console -projectPath=“C:\tools\katalon\Projects\KatalonTests\KatalonTests.prj” -retry=0 -testSuitePath=“Test Suites/Google Test Suite” -remoteWebDriverType=“Selenium” -remoteWebDriverUrl=“http://:4444/wd/hub” -browserType=“customff” –consoleLog -reportFolder="%WORKSPACE%\KatalonReports" -reportFileName=_FF

It works find for a few days, then I get sporadic errors for some of the instances such as this:

java.io.IOException: Failed to copy full contents from 'C:\Tools\katalon\Katalon_Studio_Windows_64-5.2.0.1\plugins\org.apache.xml.apis_1.4.1.jar' to 'C:\Tools\katalon\Katalon_Studio_Windows_64-5.2.0.1\plugins\org.codehaus.groovy_2.4.7.xx-201611170128-e46\lib\org.apache.xml.apis_1.4.1.jar'	at org.apache.commons.io.FileUtils.doCopyFile(FileUtils.java:1157)	at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:1091)	at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:1038)	at com.kms.katalon.groovy.util.GroovyUtil.initGroovyProjectClassPath(GroovyUtil.java:293)	at com.kms.katalon.groovy.util.GroovyUtil.initGroovyProject(GroovyUtil.java:150)	at com.kms.katalon.groovy.util.GroovyUtil.openGroovyProject(GroovyUtil.java:601)	at com.kms.katalon.dal.fileservice.manager.ProjectFileServiceManager.openProject(ProjectFileServiceManager.java:62)	at com.kms.katalon.dal.fileservice.dataprovider.ProjectFileServiceDataProvider.getProject(ProjectFileServiceDataProvider.java:22)	at com.kms.katalon.controller.ProjectController.openProject(ProjectController.java:91)	at com.kms.katalon.execution.console.ConsoleMain.getProject(ConsoleMain.java:223)	at com.kms.katalon.execution.console.ConsoleMain.findProject(ConsoleMain.java:130)	at com.kms.katalon.execution.console.ConsoleMain.launch(ConsoleMain.java:70)	at com.kms.katalon.console.application.Application.runConsole(Application.java:62)	at com.kms.katalon.core.application.Application.runConsole(Application.java:72)	at com.kms.katalon.core.application.Application.start(Application.java:56)	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)	at org.eclipse.equinox.launcher.Main.run(Main.java:1519)

I assume Katalon is still running or somehow locking the plugins folder.

Any ideas?

Take a look at your task manager if webdriver still runs as background process