← Back to team overview

sikuli-driver team mailing list archive

[Bug 1489809] Re: [1.1.0] run sikuli script with jenkins

 

c:\dcip\workspace\vdc\Login Portal Autoservicio>C:\sikulix\runsikulix -d 3  -r .\Sikuli\Portal_Autoservicio\Login.sikuli 
+++ running this Java
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar C:\sikulix\sikulix.jar -d 3  -r .\Sikuli\Portal_Autoservicio\Login.sikuli
[debug] RunTimeINIT: loadOptions: check: c:\dcip\workspace\vdc\Login Portal Autoservicio
[debug] RunTimeINIT: loadOptions: check: C:\Users\develenv
[debug] RunTimeINIT: loadOptions: check: C:\Users\develenv\AppData\Roaming\Sikulix\SikulixStore
[debug] RunTimeINIT: global init: entering as: IDE
[debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[debug] RunTimeINIT: Monitor 0: (0, 0) 1364 x 768
[debug] RunTimeINIT: fSxBase: C:\sikulix
[debug] RunTimeINIT: runs as sikulix.jar in: C:\sikulix
[debug] RunTimeINIT: exists libs folder at: C:\Users\develenv\AppData\Roaming\Sikulix\SikulixLibs_201508280100
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.sikuli.util.SysJNA$WinKernel32.GetEnvironmentVariableW(Lorg/bridj/Pointer;Lorg/bridj/Pointer;I)I
	at org.sikuli.util.SysJNA$WinKernel32.GetEnvironmentVariableW(Native Method)
	at org.sikuli.util.SysJNA$WinKernel32.getEnvironmentVariable(SysJNA.java:53)
	at org.sikuli.script.RunTime.addToWindowsSystemPath(RunTime.java:997)
	at org.sikuli.script.RunTime.libsExport(RunTime.java:959)
	at org.sikuli.script.RunTime.init(RunTime.java:715)
	at org.sikuli.script.RunTime.get(RunTime.java:291)
	at org.sikuli.ide.SikuliIDE.run(SikuliIDE.java:177)
	at org.sikuli.ide.Sikulix.main(Sikulix.java:21)
[debug] RunTimeINIT: final cleanup
[debug] FileManager: deleteFileOrFolder:
C:\Users\develenv\AppData\Local\Temp\2\Sikulix_2034794872
# BridJ: LoadLibrary error when loading C:\Windows\SysWOW64\kernel32.dll : %1 is not a valid Win32 application.


# BridJ: LoadLibrary error when loading C:\Windows\SysWOW64\kernel32.dll : %1 is not a valid Win32 application.


# BridJ: LoadLibrary error when loading C:\Windows\SysWOW64\kernel32.dll : %1 is not a valid Win32 application.


Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1489809

Title:
  [1.1.0] run sikuli script with jenkins

Status in Sikuli:
  Opinion

Bug description:
  I'm working with sikuli 1.1.0, in a windows server 64-bits.

  Where i have install jenkins, when I create a job to run an example
  Test Case from jenkins I have this error:

  ======================================================================================================
  c:\dcip\workspace\vdc\example>C:\sikulix\runsikulix.cmd -r C:\example.sikuli 
  +++ running this Java
  java version "1.8.0_45"
  Java(TM) SE Runtime Environment (build 1.8.0_45-b15)
  Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
  +++ trying to run SikuliX
  +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar C:\sikulix\sikulix.jar -r C:\example.sikuli
  Exception in thread "main" java.lang.UnsatisfiedLinkError: org.sikuli.util.SysJNA$WinKernel32.GetEnvironmentVariableW(Lorg/bridj/Pointer;Lorg/bridj/Pointer;I)I
  	at org.sikuli.util.SysJNA$WinKernel32.GetEnvironmentVariableW(Native Method)
  	at org.sikuli.util.SysJNA$WinKernel32.getEnvironmentVariable(SysJNA.java:53)
  	at org.sikuli.script.RunTime.addToWindowsSystemPath(RunTime.java:997)
  	at org.sikuli.script.RunTime.libsExport(RunTime.java:959)
  	at org.sikuli.script.RunTime.init(RunTime.java:715)
  	at org.sikuli.script.RunTime.get(RunTime.java:291)
  	at org.sikuli.ide.SikuliIDE.run(SikuliIDE.java:177)
  	at org.sikuli.ide.Sikulix.main(Sikulix.java:21)
  # BridJ: LoadLibrary error when loading C:\Windows\SysWOW64\kernel32.dll : %1 is not a valid Win32 application.

  
  # BridJ: LoadLibrary error when loading C:\Windows\SysWOW64\kernel32.dll : %1 is not a valid Win32 application.

  
  # BridJ: LoadLibrary error when loading C:\Windows\SysWOW64\kernel32.dll : %1 is not a valid Win32 application.

  
  Build step 'Execute Windows batch command' marked build as failure
  Finished: FAILURE
  ======================================================================================================

  but when I tried to execute from the cmd, the same command works well

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1489809/+subscriptions


References