I am somewhat at a loss with this one. I am able to execute a test suite from the command line on my windows workstation, but not on the centos vm that Jenkins is on.
I wonder if someone can tell me which environment difference I ought to be checking out. Any help would be very helpful.
I have the katalon plugin installed into jenkins, but to make it simpler I am running katalon from the command line right now. I navigate to jenkins’ embedded katalon folder (/var/lib/jenkins/.katalon/6.1.5/Katalon_Studio_Linux_64-6.1.5) and execute the command:
./katalon -noSplash -runMode=console -consoleLog -projectPath="/var/lib/jenkins/workspace/projectFolder/project.prj" -browserType=“Firefox (headless)” -retry=0 -statusDelay=15 -testSuitePath="Test Suites/Initial"
The result is that each of the 3 tests fails the moment katalon attempts to navigate to the website:
2019-10-16 14:44:47.584 ERROR c.k.katalon.core.main.TestCaseExecutor - Test Cases/CreateStrategicPlan FAILED._
com.kms.katalon.core.exception.StepFailedException: Unable to navigate to ‘http://url-to-test.local’_
. . . . . .
Caused by: org.openqa.selenium.WebDriverException: Failed to decode response from marionette
It works, however, from the command line on windows. I run the equivalent command in the katalon folder:
katalon.exe -noSplash -runMode=console -consoleLog -projectPath="C:\Users\username\Katalon Studio\projectFolder\project.prj" -browserType="Firefox (headless)" -retry=0 -statusDelay=15 -testSuitePath="Test Suites/Initial"
Every step of each of the test cases executes this time. I don’t see the same issue on windows.
There are some differences between the environments, but none of those I have considered seem relevant to the difference in behavior:
-Centos 7 vs Windows 10
-(Centos) Katalon 6.1.5 vs (Windows) Katalon 6.3.3 (I still see the issue when I change katalon versions)
-(Centos) Firefox 67.0 vs (Windows) Firefox 68.0.2
-(Centos) Katalon was downloaded by the jenkins plugin and embedded in the jenkins folders. vs (Windows) I have the regular desktop katalon.