Cannot run in console mode on Ubuntu

edited October 12 in Web Testing

Hi, I am trying to run a test suite in console mode, but am receiving an error about project descriptions and this fails the test. For some reason, it thinks the workspace location is my /config when it should just be .

When running console mode in MacOS, everything works fine, but Ubuntu does not:

/opt/katalon/katalon -runMode=console -consoleLog -projectPath="/home/jenkins/automation-project/PDSAutomationTests .prj" -reportFolder="Reports" -reportFileName="report" -retry=0 -testSuitePath="Test Suites/PDS Automation" -browserType="Chrome"

Starting Groovy-Eclipse compiler resolver. Specified compiler level: unspecified
122 2.4.7.xx-201611170128-e46 = ACTIVE
org.eclipse.core.internal.resources.ResourceException: Invalid project description.
at org.eclipse.core.internal.resources.Project.checkDescription(Project.java:169)
at org.eclipse.core.internal.resources.Project.assertCreateRequirements(Project.java:53)
at org.eclipse.core.internal.resources.Project.create(Project.java:263)
at org.eclipse.core.internal.resources.Project.create(Project.java:247)
at com.kms.katalon.groovy.util.GroovyUtil.initGroovyProjectDescription(GroovyUtil.java:484)
at com.kms.katalon.groovy.util.GroovyUtil.initGroovyProject(GroovyUtil.java:149)
at com.kms.katalon.groovy.util.GroovyUtil.openGroovyProject(GroovyUtil.java:585)
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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

Contains: OK
Contains: /home/jenkins/automation-project overlaps the workspace location: /home/jenkins/automation-project/config

Comments

  • Your project file is invalid. Seems like you renamed you project. Check for old eclipse project files and delete them.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion