MarketSquare / MarketSquare/robotframework-SikuliLibrary

Start sikuli java process failed

Open
#126 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
163
Forks
60
PR merge metrics
No merged PRs in 30d

Description

Hello,

I can't start the Sikuli Process. I spent so much time trying to find the bug, but I can find it.
Could you please take a look?
Please find the logs below:

KEYWORD SikuliLibrary . Start Sikuli Process
Start / End / Elapsed: 20200421 10:56:30.692 / 20200421 10:59:22.828 / 00:02:52.136
10:56:30.692 TRACE Arguments: [ ]
10:56:30.693 DEBUG Free TCP port is: 53098
10:56:30.698 INFO Starting process:
java -jar c:\users\xxx\appdata\local\programs\python\python38-32\lib\site-packages\SikuliLibrary\lib\SikuliLibrary.jar 53098 C:\Users\xxx\GIT\xxx\testscripts
10:56:30.698 DEBUG Process configuration:
cwd: C:\Users\xxx\GIT\xxx\testscripts
shell: True
stdout: C:\Users\xxx\GIT\xxx\testscripts\Sikuli_java_stdout_1587459390.6936052.txt
stderr: C:\Users\xxx\GIT\xxx\testscripts\Sikuli_java_stderr_1587459390.6936052.txt
alias: None
env: None
10:56:30.701 INFO Start sikuli java process on port 53098
10:56:34.945 INFO Gracefully terminating process.
10:57:05.033 INFO Graceful termination failed.
10:57:05.033 INFO Forcefully killing process.
10:57:05.134 INFO Process completed.
10:57:05.137 DEBUG Free TCP port is: 53112
10:57:05.140 INFO Starting process:
java -jar c:\users\xxx\appdata\local\programs\python\python38-32\lib\site-packages\SikuliLibrary\lib\SikuliLibrary.jar 53112 C:\Users\xxx\GIT\xxx\testscripts
10:57:05.140 DEBUG Process configuration:
cwd: C:\Users\xxx\GIT\xxx\testscripts
shell: True
stdout: C:\Users\xxx\GIT\xxx\testscripts\Sikuli_java_stdout_1587459425.138538.txt
stderr: C:\Users\xxx\GIT\xxx\testscripts\Sikuli_java_stderr_1587459425.138538.txt
alias: None
env: None
10:57:05.144 INFO Start sikuli java process on port 53112
10:57:09.399 INFO Gracefully terminating process.
10:57:39.402 INFO Graceful termination failed.
10:57:39.402 INFO Forcefully killing process.
10:57:39.504 INFO Process completed.
10:57:39.504 DEBUG Free TCP port is: 53126
10:57:39.506 INFO Starting process:
java -jar c:\users\xxx\appdata\local\programs\python\python38-32\lib\site-packages\SikuliLibrary\lib\SikuliLibrary.jar 53126 C:\Users\xxx\GIT\xxx\testscripts
10:57:39.506 DEBUG Process configuration:
cwd: C:\Users\xxx\GIT\xxx\testscripts
shell: True
stdout: C:\Users\xxx\GIT\xxx\testscripts\Sikuli_java_stdout_1587459459.5049212.txt
stderr: C:\Users\xxx\GIT\xxx\testscripts\Sikuli_java_stderr_1587459459.5049212.txt
alias: None
env: None
10:57:39.510 INFO Start sikuli java process on port 53126
10:57:43.752 INFO Gracefully terminating process.
10:58:13.836 INFO Graceful termination failed.
10:58:13.836 INFO Forcefully killing process.
10:58:13.946 INFO Process completed.
10:58:13.946 DEBUG Free TCP port is: 53144
10:58:13.946 INFO Starting process:
java -jar c:\users\xxx\appdata\local\programs\python\python38-32\lib\site-packages\SikuliLibrary\lib\SikuliLibrary.jar 53144 C:\Users\xxx\GIT\xxx\testscripts
10:58:13.946 DEBUG Process configuration:
cwd: C:\Users\xxx\GIT\xxx\testscripts
shell: True
stdout: C:\Users\xxx\GIT\xxx\testscripts\Sikuli_java_stdout_1587459493.945574.txt
stderr: C:\Users\xxx\GIT\xxx\testscripts\Sikuli_java_stderr_1587459493.945574.txt
alias: None
env: None
10:58:13.946 INFO Start sikuli java process on port 53144
10:58:18.196 INFO Gracefully terminating process.
10:58:48.289 INFO Graceful termination failed.
10:58:48.289 INFO Forcefully killing process.
10:58:48.399 INFO Process completed.
10:58:48.399 DEBUG Free TCP port is: 53157
10:58:48.414 INFO Starting process:
java -jar c:\users\xxx\appdata\local\programs\python\python38-32\lib\site-packages\SikuliLibrary\lib\SikuliLibrary.jar 53157 C:\Users\xxx\GIT\xxx\testscripts
10:58:48.414 DEBUG Process configuration:
cwd: C:\Users\xxx\GIT\xxx\testscripts
shell: True
stdout: C:\Users\xxx\GIT\xxx\testscripts\Sikuli_java_stdout_1587459528.3987553.txt
stderr: C:\Users\xxx\GIT\xxx\testscripts\Sikuli_java_stderr_1587459528.3987553.txt
alias: None
env: None
10:58:48.414 INFO Start sikuli java process on port 53157
10:58:52.675 INFO Gracefully terminating process.
10:59:22.721 INFO Graceful termination failed.
10:59:22.721 INFO Forcefully killing process.
10:59:22.823 INFO Process completed.
10:59:22.826 DEBUG Free TCP port is: 53175
10:59:22.826 INFO error........Start sikuli java process failed!
error........Start sikuli java process failed!
error........Start sikuli java process failed!
error........Start sikuli java process failed!
error........Start sikuli java process failed!
10:59:22.828 FAIL Start sikuli java process failed!
10:59:22.828 DEBUG Traceback (most recent call last):
File "c:\users\xxx\appdata\local\programs\python\python38-32\lib\site-packages\SikuliLibrary\sikuli.py", line 253, in run_keyword
return self.start_sikuli_process(*arguments)
File "c:\users\xxx\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!')
10:56:30.692 TRACE Arguments: [ ${Dateiname}='' ]

**Env Details:**
OS : Window 10
Python Version: 3.8.1
Robot Framework 3.1.2
Robot-SikuliLibrary : 1.0.8 (installed via pip)
Java: 1.8.0_201

Many thanks in advance for your help!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting sikuli.py around line 92, where start_sikuli_process raises the failure, and compare it with the Java process invocation and the generated Sikuli_java_stdout and Sikuli_java_stderr files described in the report. Reproduce Start Sikuli Process with the stated Windows, Python, Robot Framework, Java, and SikuliLibrary versions; done means the Java process starts successfully or the failure is reported with its underlying cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, python
Domain
desktop, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.