Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start simulators #3

Open
kisialiu opened this issue Jan 24, 2018 · 0 comments
Open

Can't start simulators #3

kisialiu opened this issue Jan 24, 2018 · 0 comments

Comments

@kisialiu
Copy link

Hi,

Trying to make this plugin work. This is what I have now in Fastlane:

sh("rm -rf ../bluepill")
sh("rm -rf ../bluepill_output")

scan(
   workspace: "./SQE_SDK_Tests/QAApp.xcworkspace",
   scheme: QA_APPNAME,
   build_for_testing: true,
   derived_data_path: './bluepill',
   buildlog_path: './bluepill/logs/'
)

bluepill(
   app: './bluepill/Build/Products/Debug-iphonesimulator/QAApp.app',
   scheme: './SQE_SDK_Tests/QAApp.xcodeproj/xcshareddata/xcschemes/QAApp.xcscheme',
   xctestrun: './bluepill/Build/Products/QAApp_iphonesimulator11.2-x86_64.xctestrun',
   output_dir: coverage_path,
   device: 'iPhone 6',
   number_of_simulators: 2,
   headless: false,
   reuse_simulator: true
)

Getting the following error:

----------------------
[17:26:17]: --- Step: bluepill ---
[17:26:17]: ----------------------
[17:26:17]: Start test by using Bluepill: https://github.com/linkedin/bluepill
[17:26:17]: $ /Users/UladzimirKisialiou/.rvm/gems/ruby-2.3.3/bundler/gems/fastlane-plugin-bluepill-4b0b07c9042e/bin/bluepill ./bluepill/Build/Products/QAApp_iphonesimulator11.2-x86_64.xctestrun -a ./bluepill/Build/Products/Debug-iphonesimulator/QAApp.app -s ./SQE_SDK_Tests/QAApp.xcodeproj/xcshareddata/xcschemes/QAApp.xcscheme -o /Users/UladzimirKisialiou/NBC/mobile_mps_sdk_ios/Coverage_QA/SDK -d "iPhone 6" -n 2 --reuse-simulator
[17:26:17]: ▸ {84465} 20180124.172617 [  INFO  ] This is Bluepill v1.0.2-46-g3bcef0c
[17:26:17]: ▸ {84465} 20180124.172617 [  INFO  ] Running with 2 simulators.
[17:26:17]: ▸ {84465} 20180124.172617 [  INFO  ] Packed tests into 3 bundles
[17:26:17]: ▸ {84465} 20180124.172617 [  INFO  ] Started Simulator 1 (PID 84482).
[17:26:17]: ▸ 2018-01-24 17:26:17.524 bp[84482:5316399] SimDevice is loaded..
[17:26:17]: ▸ 2018-01-24 17:26:17.528 bp[84482:5316399] Failed to initialize SimServiceContext: (null)
[17:26:17]: ▸ bp: invalid configuration
[17:26:17]: ▸ (null)
[17:26:17]: ▸ {84465} 20180124.172617 [  INFO  ] Simulator 1 (PID 84482) has finished with exit code 1.
[17:26:17]: ▸ {84465} 20180124.172617 [  ERROR ] ERROR: Failed to read the device ID file /var/folders/jr/12x23pxx2s1f_82dnlflppwc0000gq/T/bluepill-deviceid.84482 with error:
[17:26:17]: ▸ {84465} 20180124.172617 [  INFO  ] PID 84482 exited 1.
[17:26:18]: ▸ {84465} 20180124.172618 [  INFO  ] 0 Simulators still running. []
[17:26:18]: ▸ {84465} 20180124.172618 [  INFO  ] Using 433 of 2128 processes.
[17:26:18]: ▸ {84465} 20180124.172618 [  INFO  ] Started Simulator 2 (PID 84485).
[17:26:18]: ▸ 2018-01-24 17:26:18.541 bp[84485:5316521] SimDevice is loaded..
[17:26:18]: ▸ 2018-01-24 17:26:18.544 bp[84485:5316521] Failed to initialize SimServiceContext: (null)
[17:26:18]: ▸ bp: invalid configuration
[17:26:18]: ▸ (null)
[17:26:18]: ▸ {84465} 20180124.172618 [  INFO  ] Simulator 2 (PID 84485) has finished with exit code 1.
[17:26:18]: ▸ {84465} 20180124.172618 [  ERROR ] ERROR: Failed to read the device ID file /var/folders/jr/12x23pxx2s1f_82dnlflppwc0000gq/T/bluepill-deviceid.84485 with error:
[17:26:18]: ▸ {84465} 20180124.172618 [  INFO  ] PID 84485 exited 1.
[17:26:19]: ▸ {84465} 20180124.172619 [  INFO  ] Started Simulator 3 (PID 84488).
[17:26:19]: ▸ 2018-01-24 17:26:19.544 bp[84488:5316644] SimDevice is loaded..
[17:26:19]: ▸ 2018-01-24 17:26:19.548 bp[84488:5316644] Failed to initialize SimServiceContext: (null)
[17:26:19]: ▸ bp: invalid configuration
[17:26:19]: ▸ (null)
[17:26:19]: ▸ {84465} 20180124.172619 [  INFO  ] Simulator 3 (PID 84488) has finished with exit code 1.
[17:26:19]: ▸ {84465} 20180124.172619 [  ERROR ] ERROR: Failed to read the device ID file /var/folders/jr/12x23pxx2s1f_82dnlflppwc0000gq/T/bluepill-deviceid.84488 with error:
[17:26:19]: ▸ {84465} 20180124.172619 [  INFO  ] PID 84488 exited 1.
[17:26:20]: ▸ {84465} 20180124.172620 [  INFO  ] All simulators have finished.

Could you please help me resolving this?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant