← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #663200]: Running Sikuli scripts built using Java in Jenkins VDI

 

Question #663200 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663200

    Status: Answered => Open

Sivakumar S is still having a problem:

I ran the script in Debug mode and the log is as follows, the screenshots were only black screen.

[debug] Debug.init: from sikuli.Debug: on: 3
[debug] RunTimeINIT: loadOptions: check: C:\Jenkins\workspace\Framework
[debug] RunTimeINIT: loadOptions: check: C:\Users\USERID
[debug] RunTimeINIT: loadOptions: check: C:\Users\UserID\AppData\Roaming\Sikulix\SikulixStore
[debug] RunTimeINIT: global init: entering as: API
[debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[debug] RunTimeINIT: Monitor 0: (0, 0) 1364 x 768
[debug] RunTimeINIT: runs as sikulixapi.jar in: C:\Jenkins\workspace\ Framework\libs
[debug] RunTimeINIT: exists libs folder at: C:\Users\USERID\AppData\Roaming\Sikulix\SikulixLibs_201703300100
[debug] RunTimeINIT: addToWindowsSystemPath: added to systempath:
C:\Users\USERID\AppData\Roaming\Sikulix\SikulixLibs_201703300100
[debug] RunTimeINIT: checkJavaUsrPath: added to ClassLoader.usrPaths
***** show environment for API (build 201703300100)
user.home: C:\Users\USERID
user.dir (work dir): C:\Jenkins\workspace\Framework
user.name: USERID
java.io.tmpdir: C:\Users\USERID\AppData\Local\Temp\2
running 64Bit on Windows (6.1) from a jar
java 8-64 version 1.8.0_112-b15 vm 25.112-b15 class 52.0 arch amd64
app data folder: C:\Users\USERID\AppData\Roaming\Sikulix
libs folder: C:\Users\USERID\AppData\Roaming\Sikulix\SikulixLibs_201703300100
executing jar: C:\Jenkins\workspace\Framework\libs\sikulixapi.jar
*** classpath dump sikulix
73: /C:/Jenkins/workspace/Framework/libs/sikulixapi.jar
*** classpath dump end
***** show environment end
[debug] RunTimeAPI: global init: leaving
[debug] RunTimeAPI: initAPI: entering
[debug] RunTimeAPI: resourceList: enter
[debug] RunTimeAPI: resourceLocation: (class org.sikuli.script.RunTime) /Lib/sikuli
[debug] RunTimeAPI: resourceList: having jar: jar:file:/C:/Jenkins/workspace/Framework/libs/sikulixapi.jar!/Lib/sikuli
[debug] RunTimeAPI: files exported: 7 from: Lib/sikuli to:
C:\Users\USERID\AppData\Roaming\Sikulix\Lib\sikuli
[debug] RunTimeAPI: initAPI: leaving
[debug] RunTimeAPI: loadLib: VisionProxy.dll
[debug] Mouse: init start
[error] Location: outside any screen (490134752, 0) - subsequent actions might not work as expected
[debug] Mouse: init end
[debug] ImagePath: new BundlePath:
/C:/Jenkins/workspace/Framework/
[debug] Image: loaded: /Image Repository/CRT/cfruserID.png (file:/C:/Jenkins/workspace/Framework/Image Repository/CRT/cfruserID.PNG)
[debug] Image: cached: /Image Repository/CRT/cfruserID.png (4 KB) (# 1 KB 4 -- 0 % of 64 MB)
[debug] Region: wait: waiting 3.0 secs for /Image Repository/CRT/cfruserID.png to appear in S(0)[0,0 1364x768]
[debug] Region: handleFindFailed: \Image Repository\CRT\cfruserID.png
[debug] Region: wait: /Image Repository/CRT/cfruserID.png did not appear [3026 msec]
Test Flushed
[debug] RunTimeAPI: final cleanup
[debug] FileManager: deleteFileOrFolder:
C:\Users\USERID\AppData\Local\Temp\2\Sikulix_1279708530

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.