Re: Xc5: Testing on a Jenkins slave
Re: Xc5: Testing on a Jenkins slave
- Subject: Re: Xc5: Testing on a Jenkins slave
- From: Alexander von Below <email@hidden>
- Date: Sun, 17 Nov 2013 16:40:35 +0100
Spindump of octest follows below. It is not, er, very, like, informative …
I am calling:
xcodebuild test -scheme MYSCHEME -destination OS=7.0,name='iPhone Retina (3.5-inch)'
xcodebuild -version
Xcode 5.0.2
Build version 5A300
Does this help in any way, shape or form?
Alex
Sampling process 23762 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling otest (pid 23762) every 1 millisecond
Process: otest [23762]
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/Developer/usr/bin/otest
Load Address: 0
Identifier: otest
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: sim [23757]
Date/Time: 2013-11-17 16:37:34.651 +0100
OS Version: Mac OS X 10.8.5 (12F45)
Report Version: 7
Call graph:
2695 Thread_1061230: Main Thread DispatchQueue_<multiple>
2695 _dyld_start (in dyld) + 0 [0x8feb2030]
Total number in stack (recursive counted multiple, when >=5):
Sort by top of stack, same collapsed (when >= 5):
_dyld_start (in dyld) 2695
Binary Images:
0x8feb1000 - 0x8fee3e57 dyld (210.2 - ???) <23DBDBB1-1D21-342C-AC2A-0E55F27E6A1F> /usr/lib/dyld
Sample analysis of process 23762 written to file /dev/stdout
Am 16.11.2013 um 12:48 schrieb Alexander von Below <email@hidden>:
> I'd say "Yes": The tests are run as the same user as the one that is logged in on the machine, and I can actually see the Simulator being started up.
>
> But then it sits there, displaying the home screen.
>
> On the internet, there has been talk about that Jenkins connection needs to have an "interactive shell", and I am not sure if the fact that the simulator is started up is a sign that we have an interactive shell already.
>
> I shoud note that due to the network structure, the Jenkins slave can (networkwise) not see the Jenkins master, which is behind a firewall. Could that be an issue?
>
> All the things were running smoothly (well, more or less) when we built with Xc4 and RunTestSuite
>
> Thanks
>
> Alex
>
> Am 16.11.2013 um 05:31 schrieb Joar Wingfors <email@hidden>:
>
>> The iOS Simulator, being a GUI application, requires a connection to the window server. Are you running your tests as a logged in user?
>>
>> Joar
>>
>>
>> On 15 nov 2013, at 05:06, Alexander von Below <email@hidden> wrote:
>>
>>> Hello Xcode Users (is anyone still here?),
>>>
>>> we have migrated our toolchain to Xcode 5 for 64 Bit goodness, and now we would like our unit tests to run on a build server (which is a Jenkins slave, because we are building software for many, many platforms and thus Xcode Server is not an option).
>>>
>>> Now, xcodebuild tests runs great when I start it from the terminal.
>>>
>>> But when it is invoked from the Jenkins master, I can see the iOS Simulator starting up, but then the build process just hangs forever.
>>>
>>> Does anyone have an idea how to tackle this? Does anyone have a working setup?
>>>
>>> Alex
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Xcode-users mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden