robotframework-SikuliLibrary icon indicating copy to clipboard operation
robotframework-SikuliLibrary copied to clipboard

jenkins Run sikuli test, prompt start sikuli java process failed

Open jackhao2018 opened this issue 5 years ago • 4 comments

hello,When I use the jenkins to call the sikulibrary test (mode=NEW), the following picture always appears, and the use case I run locally and the target machine is normal. This type of start sikuli java process failed! occurs only when called with jenkins. 57745326-4fdafb00-76ff-11e9-9de2-88673f335ccc The same case, why can it be run on the local and target machines alone, but the jenkins run will prompt start sikuli java process failed?

jackhao2018 avatar May 16 '19 08:05 jackhao2018

@jackhao2018 , whether your jenkins is started as windows service.

Not sure this solution could help you jenkins-selenium-gui-tests-are-not-visible-on-windows

rainmanwy avatar May 17 '19 08:05 rainmanwy

Thank you for your reply, I am now ready to check the firewall, because I found that after I manually started the process, when the browser enters 127.0.0.1:port, the page responds with a 404 error (in my local is the normal display resource path). At the same time, I will also take a serious look at the posts you mentioned here.

jackhao2018 avatar May 19 '19 01:05 jackhao2018

@rainmanwy hi I just confirmed the reason for the firewall. After I handled the firewall restrictions, the restrictions have been working properly. Thank you very much. By the way, this library is great.

jackhao2018 avatar May 20 '19 06:05 jackhao2018

@jackhao2018 /@rainmanwy: How did you handled firewall change, could you let me know. I am getting same error in windows desktop.

[ ERROR ] Error in file 'C:\Users\d275991\eclipse-workspace\ssp-robot-new\resources\navigation.robot' on line 3: Initializing test library 'SikuliLibrary' with no arguments failed: Start sikuli java process failed! Traceback (most recent call last): File "c:\users\Ra\appdata\local\programs\python\python38-32\lib\site-packages\SikuliLibrary\sikuli.py", line 54, in init self.start_sikuli_process(port) File "c:\users\ra\appdata\local\programs\python\python38-32\lib\site-packages\SikuliLibrary\sikuli.py", line 92, in start_sikuli_process raise RuntimeError('Start sikuli java process failed!')

RaviGee avatar Sep 25 '20 10:09 RaviGee