I am trying to run some test in the emulator using Jenkins, but whenever I start Cucumber, the script stop trying to launch UIAutomation.
Here are some facts:
- I am using the last version of Cucumber, Calabash-ios and Run Loop
- Jenkins is running as local LaunchAgent (
~jenkins/Library/LaunchAgents/org.jenkins-ci.plist
) - I already added
jenkins
user to_developer
group, turn it in anadmin
- I set
DevToolsSecurity -enable
- I am not able to set
security authorizationdb write system.privilege.taskport is-developer
as it always return an error - Running the same test from the console over SSH works fine
- Running the same test from Jenkins on a real device, works fine
- I am running Jenkins into a VirtualBox machine
I have already tried to increase the timeout for Calabash (
@calabash_launcher.relaunch({timout: 120, :uia_timeout => 30}
)
I have run out of idea about what to try to fix the issue.
Any suggestion is more than welcome.
UPDATE
I have been able to run the simulator by removing the SessionCreate
property from org.jenkins-ci.plist
, but now, I have to enter my password to unlock the keychain everytime I run a test.