{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/5631","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/5631/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/5631/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/5631/events","html_url":"https://github.com/fastlane/fastlane/issues/5631","id":169925305,"number":5631,"title":"Scan hangs on touching .xctests","user":{"login":"mRs-","id":736421,"avatar_url":"https://avatars.githubusercontent.com/u/736421?v=3","gravatar_id":"","url":"https://api.github.com/users/mRs-","html_url":"https://github.com/mRs-","followers_url":"https://api.github.com/users/mRs-/followers","following_url":"https://api.github.com/users/mRs-/following{/other_user}","gists_url":"https://api.github.com/users/mRs-/gists{/gist_id}","starred_url":"https://api.github.com/users/mRs-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mRs-/subscriptions","organizations_url":"https://api.github.com/users/mRs-/orgs","repos_url":"https://api.github.com/users/mRs-/repos","events_url":"https://api.github.com/users/mRs-/events{/privacy}","received_events_url":"https://api.github.com/users/mRs-/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fastlane/fastlane/labels/scan","name":"scan","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-08T13:38:54Z","updated_at":"2016-08-11T08:59:35Z","closed_at":null,"body":"### New Issue Checklist\r\n\r\n- [x] Updated fastlane to the latest version\r\n- [x] I have read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n\r\n### Issue Description\r\n\r\nSometimes my bamboo CI hangs when executing scan on touching the .xctests files. Don't know what the real problem is here :(\r\n\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n\r\n```\r\n08-Aug-2016 15:13:43\t[15:13:43]: ▸ Compiling PriceTests.swift\r\n08-Aug-2016 15:13:43\t[15:13:43]: ▸ Linking MyProject_Tests\r\n08-Aug-2016 15:13:43\t[15:13:43]: ▸ ⚠️  ld: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk/Developer/Library/Frameworks'\r\n08-Aug-2016 15:13:43\t[15:13:43]: ▸ Generating 'MyProject_tests.xctest.dSYM'\r\n08-Aug-2016 15:13:43\t[15:13:43]: ▸ Running script '[CP] Embed Pods Frameworks'\r\n08-Aug-2016 15:13:45\t[15:13:45]: ▸ Running script '[CP] Copy Pods Resources'\r\n08-Aug-2016 15:13:45\t[15:13:45]: Running Tests: ▸ Touching MyProject_tests.xctest\r\n```\r\n\r\n### Configuration Files\r\n\r\nPlease copy the complete content of your `Fastfile` and any other configuration files you use below:\r\n\r\nFastfile:\r\n```ruby\r\nscan \\\r\n    --workspace PATH_TO_WORKSPACE \\\r\n    --scheme MyProject-Tests \\\r\n    --xcargs \"-derivedDataPath ../build\" \\\r\n    --buildlog_path ../logs/scan \\\r\n    --output_directory ../test-reports \\\r\n    --device \"iPhone 6s 9.3\" \\\r\n    --sdk iphonesimulator \\\r\n    --code_coverage \\\r\n    -r\r\n```\r\n\r\n### Environment\r\n\r\nfastlane version (run `fastlane -v`): scan 0.10.1\r\n\r\nDo you use bundler to execute fastlane (i.e. `bundle exec fastlane`)? \r\nnope\r\n\r\nDo you use a Ruby environment manager (e.g. `chruby`, `rbenv`, `rvm`)? \r\nnope\r\n"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/239107214","html_url":"https://github.com/fastlane/fastlane/issues/5631#issuecomment-239107214","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/5631","id":239107214,"user":{"login":"wkoszek","id":483344,"avatar_url":"https://avatars.githubusercontent.com/u/483344?v=3","gravatar_id":"","url":"https://api.github.com/users/wkoszek","html_url":"https://github.com/wkoszek","followers_url":"https://api.github.com/users/wkoszek/followers","following_url":"https://api.github.com/users/wkoszek/following{/other_user}","gists_url":"https://api.github.com/users/wkoszek/gists{/gist_id}","starred_url":"https://api.github.com/users/wkoszek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkoszek/subscriptions","organizations_url":"https://api.github.com/users/wkoszek/orgs","repos_url":"https://api.github.com/users/wkoszek/repos","events_url":"https://api.github.com/users/wkoszek/events{/privacy}","received_events_url":"https://api.github.com/users/wkoszek/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T08:59:35Z","updated_at":"2016-08-11T08:59:35Z","body":"@KrauseFx @mRs- This is some another `xcodebuild` issue. \r\n\r\nI've made myself a single-command build switch for testing normal/fastlane flow.\r\n\r\nhttps://github.com/wkoszek/sensorama-ios/blob/master/build.sh\r\n\r\nSo I have \"normal\" and \"normal_test\" (raw `xcodebuild`) and \"fastlane\" and \"fastlane_test\".\r\n\r\nOn my machine I when I run 3 times \"normal_test\", I reproduced it 2x in a row. Steps:\r\n\r\n```\r\ngit clone https://github.com/wkoszek/sensorama-ios.git\r\ncd sensorama-ios\r\n./build.sh normal_tests\r\n```\r\n\r\nWhen it hangs:\r\n\r\n```\r\nwk              58763   0.0  0.3  2745748  27860 s005  S+    1:37AM   0:11.41 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace Sensorama.xcworkspace -scheme SensoramaTests -sdk iphonesimulator -destination platform=iOS Simulator,name=iPhone 6 test\r\n```\r\n\r\nIt's unclear what it's doing (I've attached to the PID with `sudo dtruss -ap 58763`):\r\n\r\n```\r\n\r\n\tPID/THRD  RELATIVE  ELAPSD    CPU SYSCALL(args) \t\t = return\r\n58763/0xa9b1b1:     99940     183     12 workq_kernreturn(0x20, 0x0, 0x1)\t\t = 0 0\r\n58763/0xaa0bd2:      1698      12      5 kevent_qos(0x3, 0x7FFF86C4D1E8, 0x1)\t\t = 0 0\r\n58763/0xa9b1b1:     99961     180     16 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100002 5890983     28 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100027      81      6 workq_kernreturn(0x20, 0x0, 0x1)\t\t = 0 0\r\n58763/0xaa0bd2:      1821      99      9 kevent_qos(0x3, 0x7FFF86C4D1E8, 0x1)\t\t = 0 0\r\n58763/0xa9b1b1:    100055     208     24 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100092 7992460     23 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100106      80      7 workq_kernreturn(0x20, 0x0, 0x1)\t\t = 0 0\r\n58763/0xaa0bd2:      1944      13      6 kevent_qos(0x3, 0x7FFF86C4D1E8, 0x1)\t\t = 0 0\r\n58763/0xa9b1b1:    100125     168     15 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100150 2073319     16 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100163      93      6 workq_kernreturn(0x20, 0x0, 0x1)\t\t = 0 0\r\n58763/0xaa0bd2:      2031      82      4 kevent_qos(0x3, 0x7FFF86C4D1E8, 0x1)\t\t = 0 0\r\n58763/0xa9b1b1:    100175     159     10 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100199 2110610     14 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100210      80      4 workq_kernreturn(0x20, 0x0, 0x1)\t\t = 0 0\r\n58763/0xaa0bd2:      2124      26      7 kevent_qos(0x3, 0x7FFF86C4D1E8, 0x1)\t\t = 0 0\r\n58763/0xa9b1b1:    100223     136     10 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100245 2074673     15 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100257      88      6 workq_kernreturn(0x20, 0x0, 0x1)\t\t = 0 0\r\n58763/0xaa0bd2:      2196      58      4 kevent_qos(0x3, 0x7FFF86C4D1E8, 0x1)\t\t = 0 0\r\n58763/0xa9b1b1:    100272     121     11 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100295 5531352     16 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100314     107      9 workq_kernreturn(0x20, 0x0, 0x1)\t\t = 0 0\r\n58763/0xaa0bd2:      2343       7      3 kevent_qos(0x3, 0x7FFF86C4D1E8, 0x1)\t\t = 0 0\r\n58763/0xa9b1b1:    100338     223     17 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100370 3909786     14 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100381      84      5 workq_kernreturn(0x20, 0x0, 0x1)\t\t = 0 0\r\n58763/0xaa0bd2:      2429       6      3 kevent_qos(0x3, 0x7FFF86C4D1E8, 0x1)\t\t = 0 0\r\n58763/0xa9b1b1:    100393     105      8 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100413 2072039     15 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100427     120      6 workq_kernreturn(0x20, 0x0, 0x1)\t\t = 0 0\r\n58763/0xaa0bd2:      2539      92      6 kevent_qos(0x3, 0x7FFF86C4D1E8, 0x1)\t\t = 0 0\r\n58763/0xa9b1b1:    100441     211     11 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100460  180455     13 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100531      11      4 workq_kernreturn(0x20, 0x0, 0x1)\t\t = 0 0\r\n58763/0xaa0bd2:      2619      81      9 read(0x28, \"y[=\\037 \\0\", 0x4000)\t\t = 504 0\r\n58763/0xaa0bd2:      2758      24     19 workq_kernreturn(0x20, 0x0, 0x1)\t\t = 0 0\r\n58763/0xaa0bd2:      2806       3      1 read(0x28, \"\\0\", 0x4000)\t\t = -1 Err#35\r\n58763/0xaa1024:        12       5      0 thread_selfid(0x0, 0x0, 0x0)\t\t = 11145252 0\r\n58763/0xaa0bd2:      2812       5      2 kevent_qos(0x3, 0x7FC6B494BE00, 0x1)\t\t = 0 0\r\n58763/0xa9d2eb:     87491       8      4 workq_kernreturn(0x20, 0x0, 0x1)\t\t = 0 0\r\n58763/0xaa1024:       214       7      2 bsdthread_ctl(0x400, 0x8527, 0x10FF)\t\t = 0 0\r\n58763/0xaa1024:       216       4      1 bsdthread_ctl(0x100, 0xA40008FF, 0xFFFFFFFF)\t\t = 0 0\r\n58763/0xaa1024:       221       5      1 bsdthread_ctl(0x400, 0x8527, 0x1000)\t\t = 0 0\r\n58763/0xaa1024:       229      69      2 bsdthread_ctl(0x400, 0x8527, 0x1000)\t\t = 0 0\r\n58763/0xaa1024:       232       4      1 bsdthread_ctl(0x100, 0x10FF, 0xFFFFFFFF)\t\t = 0 0\r\n58763/0xa9b1ad:   2837718      12      5 workq_kernreturn(0x20, 0x0, 0x1)\t\t = 0 0\r\n58763/0xaa1024:       428       9      3 bsdthread_ctl(0x400, 0x8527, 0x10FF)\t\t = 0 0\r\n58763/0xaa1024:       431       5      1 bsdthread_ctl(0x100, 0xA40008FF, 0xFFFFFFFF)\t\t = 0 0\r\n58763/0xaa1024:       432       3      0 bsdthread_ctl(0x400, 0x8527, 0x1000)\t\t = 0 0\r\n58763/0xaa1024:       434       3      0 bsdthread_ctl(0x100, 0x10FF, 0xFFFFFFFF)\t\t = 0 0\r\n58763/0xa9b1ad:   2837804       7      3 workq_kernreturn(0x20, 0x0, 0x1)\t\t = 0 0\r\n58763/0xaa0bd2:      2828       7      2 bsdthread_ctl(0x400, 0xAC27, 0x10FF)\t\t = 0 0\r\n58763/0xaa0bd2:      2829       3      1 bsdthread_ctl(0x100, 0xA40008FF, 0xFFFFFFFF)\t\t = 0 0\r\n58763/0xaa0bd2:      2830       3      0 bsdthread_ctl(0x400, 0xAC27, 0x1000)\t\t = 0 0\r\n58763/0xaa0bd2:      2832       3      0 bsdthread_ctl(0x100, 0x10FF, 0xFFFFFFFF)\t\t = 0 0\r\n58763/0xaa0bd2:      2871      16     12 write(0x28, \"y[=\\037 \\0\", 0x20)\t\t = 32 0\r\n58763/0xaa0bd2:      2876       6      3 write(0x28, \"\\0\", 0x10)\t\t = 16 0\r\n58763/0xaa0bd2:      2879       4      1 write(0x28, \"\\0\", 0x0)\t\t = 0 0\r\n58763/0xa9b1ad:   2838543     150     12 workq_kernreturn(0x20, 0x0, 0x1)\t\t = 0 0\r\n58763/0xaa1024:      1150     148     15 bsdthread_ctl(0x400, 0x8527, 0x10FF)\t\t = 0 0\r\n58763/0xaa1024:      1155       8      3 bsdthread_ctl(0x100, 0xA40008FF, 0xFFFFFFFF)\t\t = 0 0\r\n58763/0xaa1024:      1157       5      1 bsdthread_ctl(0x400, 0x8527, 0x1000)\t\t = 0 0\r\n58763/0xaa1024:      1160       5      1 bsdthread_ctl(0x100, 0x10FF, 0xFFFFFFFF)\t\t = 0 0\r\n58763/0xaa1024:      2435    2080    134 write(0x1F, \"01:51:04.439 xcodebuild[58763:11145252] (LOG ARBITER) Rotating message buffer with 1 messages.\\n\\0\", 0x5F)\t\t = 95 0\r\n58763/0xa9b1b1:    100552 4425596     17 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100564      75      6 workq_kernreturn(0x20, 0x0, 0x1)\t\t = 0 0\r\n58763/0xaa1024:      2634       7      3 kevent_qos(0x3, 0x7FFF86C4D1E8, 0x1)\t\t = 0 0\r\n58763/0xa9b1b1:    100575     100      8 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100594 2073230     14 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100615     111      5 workq_kernreturn(0x20, 0x0, 0x1)\t\t = 0 0\r\n58763/0xaa1024:      2724      14      7 kevent_qos(0x3, 0x7FFF86C4D1E8, 0x1)\t\t = 0 0\r\n58763/0xa9b1b1:    100634     130     16 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100660 2576381     17 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xa9b1b1:    100669      75      4 workq_kernreturn(0x20, 0x0, 0x1)\t\t = 0 0\r\n58763/0xaa1024:      2801       7      3 kevent_qos(0x3, 0x7FFF86C4D1E8, 0x1)\t\t = 0 0\r\n58763/0xa9b1b1:    100681     103      9 kevent_qos(0x3, 0x0, 0x0)\t\t = 1 0\r\n58763/0xaa0bd2:      2944 10000106     14 workq_kernreturn(0x4, 0x0, 0x0)\t\t = 0 0\r\n58763/0xaa0bd2:      2952     112      3 __disable_threadsignal(0x1, 0x0, 0x0)\t\t = 0 0\r\ndtrace: error on enabled probe ID 2199 (ID 916: syscall::thread_selfid:return): invalid user access in action #5 at DIF offset 0\r\n58763/0xaa1024:      2811 9948640      7 workq_kernreturn(0x4, 0x0, 0x0)\t\t = 0 0\r\n58763/0xaa1024:      2814      73      0 __disable_threadsignal(0x1, 0x0, 0x0)\t\t = 0 0\r\n61354/0xaa10ab:        18   14355 18446744073706518 thread_selfid(0x7000006BA000, 0x83000, 0x8527)\t\t = 11145387 0\r\n```\r\n\r\nI'd tried sending it `SIGCONT` just to see if it'd wake up - no luck. I also went into derived data folder and I've touched all `.xctest` files. No luck."}}
{"actor":{"display_login":"wkoszek"}}