{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/6814","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/6814/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/6814/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/6814/events","html_url":"https://github.com/fastlane/fastlane/issues/6814","id":186495888,"number":6814,"title":"Missing password for user running in non-interactive shell","user":{"login":"GavinRooney","id":818536,"avatar_url":"https://avatars.githubusercontent.com/u/818536?v=3","gravatar_id":"","url":"https://api.github.com/users/GavinRooney","html_url":"https://github.com/GavinRooney","followers_url":"https://api.github.com/users/GavinRooney/followers","following_url":"https://api.github.com/users/GavinRooney/following{/other_user}","gists_url":"https://api.github.com/users/GavinRooney/gists{/gist_id}","starred_url":"https://api.github.com/users/GavinRooney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GavinRooney/subscriptions","organizations_url":"https://api.github.com/users/GavinRooney/orgs","repos_url":"https://api.github.com/users/GavinRooney/repos","events_url":"https://api.github.com/users/GavinRooney/events{/privacy}","received_events_url":"https://api.github.com/users/GavinRooney/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-11-01T09:52:49Z","updated_at":"2016-11-11T08:22:05Z","closed_at":null,"body":"### New Issue Checklist\r\n\r\n- [-] Updated fastlane to the latest version\r\n- [-] I have read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n\r\n### Issue Description\r\n\r\nI am trying to use jenkins with a master/node config. The build is to happen on the node machine. Fastlane is installed on the node machine. I ran fastlane env and added details below from node machine. I have included the Keychains and Provisioning Profiles Plugin to jenkins and tried passing the keychain with credentials using that. I have added the path to the node config for provisioning profiles on master jenkins machine.\r\n\r\nIt always fails during sigh\r\n\r\nMissing password for user email@email.ie, and running in non-interactive shell\r\n\r\nWhen I run fastlane locally on the node machine it finds the details fine. It is only when through ssh with master / node jenkins setup that it fails.\r\n\r\nI am unsure what steps to take next to resolves this\r\n\r\n \r\n\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n\r\nshell commands in jenkins\r\n+ cd dpd/\r\n+ fastlane action setup_jenkins\r\n+ fastlane hockey_staging\r\n\r\n```\r\n\r\n+ cd dpd/\r\n+ fastlane action setup_jenkins\r\n/Users/jenkins/Jenkins/workspace/dpd-ios-staging/dpd/fastlane/actions/increment_build_number_from_hockey.rb:4: warning: already initialized constant Fastlane::Actions::SharedValues::BUILD_NUMBER\r\n/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/actions/increment_build_number.rb:4: warning: previous definition of BUILD_NUMBER was here\r\n\u001B[32mLoading documentation for setup_jenkins:\u001B[0m\r\n\r\n+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\r\n|                                                                                   \u001B[32msetup_jenkins\u001B[0m                                                                                    |\r\n+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\r\n| Setup xcodebuild, gym and scan for easier Jenkins integration                                                                                                                      |\r\n|                                                                                                                                                                                    |\r\n| - Adds and unlocks keychains from Jenkins 'Keychains and Provisioning Profiles Plugin'                                                                                             |\r\n| - Sets code signing identity from Jenkins 'Keychains and Provisioning Profiles Plugin'                                                                                             |\r\n| - Sets output directory to './output' (gym, scan and backup_xcarchive).                                                                                                            |\r\n| - Sets derived data path to './derivedData' (xcodebuild, gym, scan and clear_derived_data, carthage).                                                                              |\r\n| - Produce result bundle (gym and scan).                                                                                                                                            |\r\n|                                                                                                                                                                                    |\r\n| This action helps with Jenkins integration. Creates own derived data for each job. All build results like IPA files and archives will be stored in the `./output` directory.       |\r\n| The action also works with [Keychains and Provisioning Profiles Plugin](https://wiki.jenkins-ci.org/display/JENKINS/Keychains+and+Provisioning+Profiles+Plugin), selected keychain |\r\n| will be automatically unlocked and the selected code signing identity will be used. By default this action will only work when fastlane is executed on a CI system.                |\r\n|                                                                                                                                                                                    |\r\n| Created by \u001B[32mbartoszj\u001B[0m                                                                                                                                                                |\r\n+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\r\n\r\n+-----------------------------+-------------------------------------------------------------------+----------------------------------------------+---------------+\r\n|                                                                     \u001B[32msetup_jenkins Options\u001B[0m                                                                      |\r\n+-----------------------------+-------------------------------------------------------------------+----------------------------------------------+---------------+\r\n| Key                         | Description                                                       | Env Var                                      | Default       |\r\n+-----------------------------+-------------------------------------------------------------------+----------------------------------------------+---------------+\r\n| \u001B[33mforce\u001B[0m                       | Force setup, even if not executed by Jenkins                      | FL_SETUP_JENKINS_FORCE                       | false         |\r\n| \u001B[33munlock_keychain\u001B[0m             | Unlocks keychain                                                  | FL_SETUP_JENKINS_UNLOCK_KEYCHAIN             | true          |\r\n| \u001B[33madd_keychain_to_search_list\u001B[0m | Add to keychain search list                                       | FL_SETUP_JENKINS_ADD_KEYCHAIN_TO_SEARCH_LIST | replace       |\r\n| \u001B[33mset_default_keychain\u001B[0m        | Set keychain as default                                           | FL_SETUP_JENKINS_SET_DEFAULT_KEYCHAIN        | true          |\r\n| \u001B[33mkeychain_path\u001B[0m               | Path to keychain                                                  | KEYCHAIN_PATH                                |               |\r\n| \u001B[33mkeychain_password\u001B[0m           | Keychain password                                                 | KEYCHAIN_PASSWORD                            |               |\r\n| \u001B[33mset_code_signing_identity\u001B[0m   | Set code signing identity from CODE_SIGNING_IDENTITY environment  | FL_SETUP_JENKINS_SET_CODE_SIGNING_IDENTITY   | true          |\r\n| \u001B[33mcode_signing_identity\u001B[0m       | Code signing identity                                             | CODE_SIGNING_IDENTITY                        |               |\r\n| \u001B[33moutput_directory\u001B[0m            | The directory in which the ipa file should be stored in           | FL_SETUP_JENKINS_OUTPUT_DIRECTORY            | ./output      |\r\n| \u001B[33mderived_data_path\u001B[0m           | The directory where build products and other derived data will go | FL_SETUP_JENKINS_DERIVED_DATA_PATH           | ./derivedData |\r\n| \u001B[33mresult_bundle\u001B[0m               | Produce the result bundle describing what occurred will be placed | FL_SETUP_JENKINS_RESULT_BUNDLE               | true          |\r\n+-----------------------------+-------------------------------------------------------------------+----------------------------------------------+---------------+\r\n\r\nMore information can be found on https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md\r\n\r\n+ fastlane hockey_staging\r\n/Users/jenkins/Jenkins/workspace/dpd-ios-staging/dpd/fastlane/actions/increment_build_number_from_hockey.rb:4: warning: already initialized constant Fastlane::Actions::SharedValues::BUILD_NUMBER\r\n/usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/actions/increment_build_number.rb:4: warning: previous definition of BUILD_NUMBER was here\r\n[09:11:35]: \u001B[32m-------------------------------------------------\u001B[0m\r\n[09:11:35]: \u001B[32m--- Step: Verifying required fastlane version ---\u001B[0m\r\n[09:11:35]: \u001B[32m-------------------------------------------------\u001B[0m\r\n[09:11:35]: Your fastlane version 1.106.2 matches the minimum requirement of 1.32.0  ✅\r\n[09:11:35]: \u001B[32m------------------------------\u001B[0m\r\n[09:11:35]: \u001B[32m--- Step: default_platform ---\u001B[0m\r\n[09:11:35]: \u001B[32m------------------------------\u001B[0m\r\n[09:11:35]: \u001B[32mDriving the lane 'ios hockey_staging' 🚀\u001B[0m\r\n[09:11:35]: \u001B[4m\u001B[36m$ rm -fr ../Build\u001B[0m\u001B[0m\r\n[09:11:35]: \u001B[4m\u001B[36m$ rm -fr ../Logs\u001B[0m\u001B[0m\r\n[09:11:35]: \u001B[4m\u001B[36m$ rm -fr ../ModuleCache\u001B[0m\u001B[0m\r\n[09:11:35]: \u001B[4m\u001B[36m$ rm -f ../compile_commands.json\u001B[0m\u001B[0m\r\n[09:11:35]: \u001B[4m\u001B[36m$ rm -f ../info.plist\u001B[0m\u001B[0m\r\n[09:11:35]: \u001B[32m-----------------------------------\u001B[0m\r\n[09:11:35]: \u001B[32m--- Step: clean_build_artifacts ---\u001B[0m\r\n[09:11:35]: \u001B[32m-----------------------------------\u001B[0m\r\n[09:11:35]: \u001B[32mCleaned up build artifacts 🐙\u001B[0m\r\n[09:11:35]: \u001B[32m-------------------------------------\u001B[0m\r\n[09:11:35]: \u001B[32m--- Step: ensure_git_status_clean ---\u001B[0m\r\n[09:11:35]: \u001B[32m-------------------------------------\u001B[0m\r\n[09:11:36]: \u001B[32mGit status is clean, all good! 💪\u001B[0m\r\n[09:11:36]: \u001B[32m----------------------------\u001B[0m\r\n[09:11:36]: \u001B[32m--- Step: bundle_install ---\u001B[0m\r\n[09:11:36]: \u001B[32m----------------------------\u001B[0m\r\n[09:11:36]: Gemfile not found at: '/Users/jenkins/Jenkins/workspace/dpd-ios-staging/dpd/Gemfile'\r\n[09:11:36]: Gemfile not found at: '/Users/jenkins/Jenkins/workspace/dpd-ios-staging/dpd/gemfile'\r\n[09:11:36]: No Gemfile found\r\n[09:11:36]: \u001B[32m-----------------------\u001B[0m\r\n[09:11:36]: \u001B[32m--- Step: cocoapods ---\u001B[0m\r\n[09:11:36]: \u001B[32m-----------------------\u001B[0m\r\n[09:11:36]: \u001B[4m\u001B[36m$ pod install\u001B[0m\u001B[0m\r\n[09:11:36]: ▸ \u001B[35m\u001B[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.\u001B[0m\r\n[09:11:36]: ▸ \u001B[35mConsider adding the following to ~/.profile:\u001B[0m\r\n[09:11:36]: ▸ \u001B[35mexport LANG=en_US.UTF-8\u001B[0m\r\n[09:11:36]: ▸ \u001B[35m\u001B[0m\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mAnalyzing dependencies\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mDownloading dependencies\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling CardIO (5.4.1)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling Crashlytics (3.8.3)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling DTPickerPresenter (0.2.0)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling DateTools (1.7.0)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling Fabric (1.6.10)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling FirebaseAnalytics (3.4.4)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling FirebaseCore (3.4.3)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling FirebaseInstanceID (1.0.8)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling Google (3.0.3)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling GoogleAnalytics (3.17.0)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling GoogleInterchangeUtilities (1.2.2)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling GoogleSymbolUtilities (1.1.2)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling GoogleUtilities (1.3.2)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling HockeySDK (4.1.2)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling IQKeyboardManager (4.0.7)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling MBProgressHUD (0.9.2)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling OMGHTTPURLRQ (3.2.0)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling Onboard (2.3.1)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling PayPal-iOS-SDK (2.16.0)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling PromiseKit (3.5.1)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling PureLayout (3.0.2)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling RESideMenu (4.0.7)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling REValidation (0.1.4)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling RSDayFlow (1.6.0)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling Reachability (3.2)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling Reveal-iOS-SDK (1.6.2)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mInstalling SDWebImage (3.8.2)\u001B[0m\r\n[09:11:59]: ▸ \u001B[35mGenerating Pods project\u001B[0m\r\n[09:12:15]: ▸ \u001B[35mIntegrating client project\u001B[0m\r\n[09:12:16]: ▸ \u001B[35mSending stats\u001B[0m\r\n[09:12:16]: ▸ \u001B[35mPod installation complete! There are 18 dependencies from the Podfile and 27 total pods installed.\u001B[0m\r\n[09:12:16]: \u001B[32m------------------------------------------------\u001B[0m\r\n[09:12:16]: \u001B[32m--- Step: increment_build_number_from_hockey ---\u001B[0m\r\n[09:12:16]: \u001B[32m------------------------------------------------\u001B[0m\r\n[09:12:18]: \u001B[4m\u001B[36m$ cd /Users/jenkins/Jenkins/workspace/dpd-ios-staging/dpd && agvtool new-version -all 14\u001B[0m\u001B[0m\r\n[09:12:18]: ▸ \u001B[35mSetting version of project dpd to:\u001B[0m\r\n[09:12:18]: ▸ \u001B[35m14.\u001B[0m\r\n[09:12:18]: ▸ \u001B[35mAlso setting CFBundleVersion key (assuming it exists)\u001B[0m\r\n[09:12:18]: ▸ \u001B[35mUpdating CFBundleVersion in Info.plist(s)...\u001B[0m\r\n[09:12:18]: ▸ \u001B[35m$(SRCROOT)/dpd-test-Info.plist\u001B[0m\r\n[09:12:18]: ▸ \u001B[35mCannot find \"$(SRCROOT)/dpd-test-Info.plist\"\u001B[0m\r\n[09:12:18]: ▸ \u001B[35mUpdated CFBundleVersion in \"dpd.xcodeproj/../dpd/Info.plist\" to 14\u001B[0m\r\n[09:12:18]: ▸ \u001B[35mUpdated CFBundleVersion in \"dpd.xcodeproj/../dpdTests/Info.plist\" to 14\u001B[0m\r\n[09:12:19]: \u001B[32m------------------\u001B[0m\r\n[09:12:19]: \u001B[32m--- Step: sigh ---\u001B[0m\r\n[09:12:19]: \u001B[32m------------------\u001B[0m\r\n\r\n+-------------------------------------+--------------------------------+\r\n|                       \u001B[32mSummary for sigh 1.11.2\u001B[0m                        |\r\n+-------------------------------------+--------------------------------+\r\n| adhoc                               | true                           |\r\n| app_identifier                      | ie.appid.dpd          |\r\n| username                            | email@email.ie |\r\n| cert_id                             | 1234567                     |\r\n| filename                            | adhoc.mobileprovision          |\r\n| development                         | false                          |\r\n| skip_install                        | false                          |\r\n| force                               | false                          |\r\n| team_id                             | 1234567                     |\r\n| ignore_profiles_with_different_name | false                          |\r\n| skip_fetch_profiles                 | false                          |\r\n| skip_certificate_verification       | false                          |\r\n+-------------------------------------+--------------------------------+\r\n\r\n[09:12:20]: Starting login with user 'email@email.ie'\r\n\u001B[32m-------------------------------------------------------------------------------------\u001B[0m\r\n\u001B[32mThe login information you enter will be stored in your Mac OS Keychain\u001B[0m\r\n\u001B[32mYou can also pass the password using the `FASTLANE_PASSWORD` environment variable\u001B[0m\r\n\u001B[32mMore information about it on GitHub: https://github.com/fastlane/fastlane/tree/master/credentials_manager\u001B[0m\r\n\u001B[32m-------------------------------------------------------------------------------------\u001B[0m\r\n[09:12:20]: \u001B[33m\u001B[33mVariable Dump:\u001B[0m\u001B[0m\r\n[09:12:20]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>\"ios hockey_staging\", :GIT_REPO_WAS_CLEAN_ON_START=>true, :BUILD_NUMBER=>\"There does not seem to be a CURRENT_PROJECT_VERSION key set for this project.  Add this key to your target's expert build settings.\"}\r\n[09:12:20]: \u001B[31mMissing password for user email@email.ie, and running in non-interactive shell\u001B[0m\r\n\r\n+------+-------------------------------------+-------------+\r\n|                     \u001B[32mfastlane summary\u001B[0m                     |\r\n+------+-------------------------------------+-------------+\r\n| Step | Action                              | Time (in s) |\r\n+------+-------------------------------------+-------------+\r\n| 1    | Verifying required fastlane version | 0           |\r\n| 2    | default_platform                    | 0           |\r\n| 3    | clean_build_artifacts               | 0           |\r\n| 4    | ensure_git_status_clean             | 0           |\r\n| 5    | bundle_install                      | 0           |\r\n| 6    | cocoapods                           | 40          |\r\n| 7    | increment_build_number_from_hockey  | 2           |\r\n| 💥    | \u001B[31msigh\u001B[0m                                | 1           |\r\n+------+-------------------------------------+-------------+\r\n\r\n[09:12:20]: \u001B[31mfastlane finished with errors\u001B[0m\r\n\r\nLooking for related GitHub issues on fastlane/fastlane...\r\n\r\nFound no similar issues. To create a new issue, please visit:\r\nhttps://github.com/fastlane/fastlane/issues/new\r\n/usr/local/lib/ruby/gems/2.3.0/gems/credentials_manager-0.16.2/lib/credentials_manager/account_manager.rb:88:in `ask_for_login': \u001B[31m[!] Missing password for user email@email.ie, and running in non-interactive shell\u001B[0m (RuntimeError)\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/credentials_manager-0.16.2/lib/credentials_manager/account_manager.rb:33:in `password'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/spaceship-0.36.2/lib/spaceship/client.rb:220:in `login'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/spaceship-0.36.2/lib/spaceship/client.rb:90:in `login'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/spaceship-0.36.2/lib/spaceship/portal/spaceship.rb:22:in `login'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/spaceship-0.36.2/lib/spaceship/portal/spaceship.rb:77:in `login'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/sigh-1.11.2/lib/sigh/runner.rb:15:in `run'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/sigh-1.11.2/lib/sigh/manager.rb:7:in `start'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/actions/sigh.rb:20:in `run'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:202:in `block (2 levels) in execute_action'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:187:in `block in execute_action'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:186:in `chdir'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:186:in `execute_action'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:112:in `trigger_action_by_name'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/fast_file.rb:140:in `method_missing'\r\n  from Fastfile:73:in `build_and_deploy_to_hockey'\r\n  from Fastfile:186:in `block (2 levels) in parsing_binding'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/lane.rb:33:in `call'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:49:in `block in execute'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:45:in `chdir'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:45:in `execute'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/lane_manager.rb:52:in `cruise_lane'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/command_line_handler.rb:30:in `handle'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/commands_generator.rb:52:in `block (2 levels) in run'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane_core-0.53.0/lib/fastlane_core/ui/fastlane_runner.rb:38:in `run!'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/commands_generator.rb:246:in `run'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/commands_generator.rb:23:in `start'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/lib/fastlane/cli_tools_distributor.rb:58:in `take_off'\r\n  from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.106.2/bin/fastlane:5:in `<top (required)>'\r\n  from /usr/local/bin/fastlane:22:in `load'\r\n  from /usr/local/bin/fastlane:22:in `<main>'\r\nBuild step 'Execute shell' marked build as failure\r\nFinished: FAILURE\r\n\r\n```\r\n\r\n### Environment\r\n\r\nPlease run `fastlane env` and copy the output below. This will help us help you :+1:\r\n\r\n<details><summary>🚫 fastlane environment 🚫</summary>\r\n\r\n### Stack\r\n\r\n| Key                 | Value                                       |\r\n| ------------------- | ------------------------------------------- |\r\n| OS                  | 10.11.6                                     |\r\n| Ruby                | 2.3.1                                       |\r\n| Bundler?            | false                                       |\r\n| Xcode Path          | /Applications/Xcode.app/Contents/Developer/ |\r\n| Xcode Version       | 7.3.1                                       |\r\n| Git                 | git version 2.7.4 (Apple Git-66)            |\r\n| Installation Source | /usr/local/bin/fastlane                     |\r\n| Host                | Mac OS X 10.11.6 (15G1004)                  |\r\n| Ruby Lib Dir        | /usr/local/Cellar/ruby/2.3.1_2/lib          |\r\n| OpenSSL Version     | OpenSSL 1.0.2j  26 Sep 2016                 |\r\n\r\n\r\n### fastlane files:\r\n\r\n<details><summary>`./fastlane/Fastfile`</summary>\r\n\r\n```ruby\r\nrequire 'yaml'\r\n\r\n# By default, fastlane will send which actions are used\r\n# No personal data is shared, more information on https://github.com/fastlane/enhancer\r\n# Uncomment the following line to opt out\r\n# opt_out_usage\r\n\r\n# If you want to automatically update fastlane if a new version is available:\r\n# update_fastlane\r\n\r\n# This is the minimum version number required.\r\n# Update this, if you use features of a newer version\r\nfastlane_version \"1.32.0\"\r\n\r\nclass ::Hash\r\n    def deep_merge(second)\r\n        merger = proc { |key, v1, v2| Hash === v1 && Hash === v2 ? v1.merge!(v2, &merger) : v2 || v1 }\r\n        self.merge!(second, &merger)\r\n    end\r\nend\r\n\r\ndef cleanup_tmp_files\r\n  Actions.sh \"rm -fr ../Build\"\r\n  Actions.sh \"rm -fr ../Logs\"\r\n  Actions.sh \"rm -fr ../ModuleCache\"\r\n  Actions.sh \"rm -f ../compile_commands.json\"\r\n  Actions.sh \"rm -f ../info.plist\"\r\nend\r\n\r\ndef load_config(options)\r\n  config = YAML.load(open(File.join(File.dirname(__FILE__),\"config/fastlane_config.yaml\")))\r\n  brand_config = YAML.load(open(File.join(File.dirname(__FILE__),\"config/#{options[:brand]}.yaml\"))) unless not File.file?(File.join(File.dirname(__FILE__),\"config/#{options[:brand]}.yaml\"))\r\n  config.deep_merge(brand_config) unless not brand_config\r\n # ENV[\"SLACK_URL\"] = config['slack_url']\r\n  config.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}\r\n  config\r\nend\r\n\r\ndef xctool_config(buid_options)\r\n  xctool_config = [\r\n      '-workspace', buid_options['workspace'],\r\n      '-scheme', buid_options['scheme'],\r\n      '-configuration', buid_options['configuration'],\r\n      '-sdk', buid_options['sdk'],\r\n      '-derivedDataPath', '.']\r\n  xctool_config\r\nend\r\n\r\ndef run_unit_test(buid_options)\r\n  # Test\r\n  xctool_config = xctool_config(buid_options)\r\n  xctool_config = xctool_config + (FastlaneCore::Helper.is_ci? ? ['-reporter', 'junit:tests-report.xml'] : [])\r\n  xctool :clean, :test, xctool_config.join(' ')\r\n\r\nend\r\n\r\ndef run_analysis(buid_options)\r\n  # Test\r\n  xctool_config = xctool_config(buid_options)\r\n  xctool_config = xctool_config + ['-reporter json-compilation-database:compile_commands.json']\r\n  xctool :clean, :analyze, xctool_config.join(' ')\r\nend\r\n\r\ndef build_and_deploy_to_hockey(config)\r\n  signing = config['signing']\r\n  build   = config['build']\r\n\r\n  increment_build_number_from_hockey(\r\n        hockey_api_token: config['hockey_api_token'],\r\n        hockey_app_id: config['hockey_app_id']\r\n    )\r\n\r\n    sigh(\r\n      adhoc: signing['configuration'].eql?(\"adhoc\"),\r\n      app_identifier: signing['app_identifier'],\r\n      username: signing['user_credentials'],\r\n      output_path: \".\",\r\n      cert_id: signing['cert_id'],\r\n      filename: signing['configuration'] + \".mobileprovision\"\r\n    )\r\n\r\n\r\n    gym(\r\n      clean: true,\r\n      workspace: build['workspace'],\r\n      scheme: build['scheme'],\r\n      sdk: build['sdk'],\r\n      configuration: build['configuration'],\r\n      output_directory: '.',\r\n      output_name: build['scheme'],\r\n      codesigning_identity: signing['codesigning_identity'],\r\n      provisioning_profile_path: signing['configuration'] + \".mobileprovision\",\r\n      include_symbols: build['include_symbols']\r\n    )\r\n\r\n    commit_hash = Actions.sh \"git rev-parse --short HEAD\"\r\n    branch      = Actions.sh \"git rev-parse --abbrev-ref HEAD\"\r\n    hockey(\r\n        api_token: config['hockey_api_token'],\r\n        public_identifier: config['hockey_app_id'],\r\n        ipa: build['scheme'] + \".ipa\",\r\n        notes: \"This is an automated build generated through Jenkins for branch '#{branch}' at commit hash '#{commit_hash}'\",\r\n        commit_sha: commit_hash,\r\n        release_type: config['release_type'],        \r\n        notify: '1',\r\n    status: '2' #config['download_enabled'] ? \"2\" : \"1\", # Download status: 1 = No user can download; 2 = Available for download\r\n    )\r\nend\r\n\r\n\r\ndefault_platform :ios\r\n\r\nplatform :ios do\r\n\r\n  #######################\r\n  ### GENERAL DEFINITIONS\r\n  #######################\r\n\r\n  before_all do\r\n    cleanup_tmp_files\r\n    clean_build_artifacts\r\n    ensure_git_status_clean unless not FastlaneCore::Helper.is_ci?\r\n    bundle_install unless not FastlaneCore::Helper.is_ci?\r\n    cocoapods unless not FastlaneCore::Helper.is_ci?\r\n  end\r\n\r\n  after_all do |lane|\r\n    cleanup_tmp_files\r\n  end\r\n\r\n  error do |lane, exception|\r\n    if FastlaneCore::Helper.is_ci? then\r\n  #    slack(\r\n  #      message: exception.message,\r\n  #      success: false\r\n  #    )\r\n    end\r\n  end\r\n\r\n  ###################\r\n  ### LANE DEFINITION\r\n  ###################\r\n\r\n  desc \"Cleanup tmp files/folders\"\r\n  desc \"\"\r\n  lane :cleanup do |options|\r\n    cleanup_tmp_files\r\n  end\r\n\r\n  desc \"Analyze\"\r\n  desc \"\"\r\n  lane :analyze do |options|\r\n    config = load_config(options)\r\n    config[:lane_name] = 'build'\r\n\r\n    run_analysis(config[config[:lane_name]])\r\n    oclint(\r\n        compile_commands: 'compile_commands.json',\r\n        select_reqex: /\\/dpd\\/Classes\\//,  # Select all files matching this reqex\r\n        report_type: FastlaneCore::Helper.is_ci? ? 'pmd' : 'html',\r\n        max_priority_1: 10,                # The max allowed number of priority 1 violations\r\n        max_priority_2: 100,               # The max allowed number of priority 2 violations\r\n        max_priority_3: 1000,              # The max allowed number of priority 3 violations\r\n        rc: 'LONG_LINE=200'                # Override the default behavior of rules\r\n    )\r\n\r\n    Actions.sh \"open ./../oclint_report.html\" if not FastlaneCore::Helper.is_ci?\r\n  end\r\n  \r\n  desc \"Analyze, build and run unit tests\"\r\n  desc \"\"\r\n  lane :build do |options|\r\n    config = load_config(options)\r\n    config[:lane_name] = 'build'\r\n\r\n    analyze(options)\r\n    run_unit_test(config[config[:lane_name]])\r\n  end\r\n\r\n  desc \"Deploy QA build to Hockey\"\r\n  desc \"\"\r\n  lane :hockey_staging do |options|\r\n    config = load_config(options)\r\n    config[:lane_name] = 'hockey_staging'\r\n\r\n    build_and_deploy_to_hockey(config[config[:lane_name]])\r\n  end\r\n\r\n  desc \"Deploy AppStore build to Hockey\"\r\n  desc \"\"\r\n  lane :hockey_appstore do |options|\r\n    config = load_config(options)\r\n    config[:lane_name] = 'hockey_appstore'\r\n\r\n    build_and_deploy_to_hockey(config[config[:lane_name]])\r\n  end\r\n\r\n  \r\nend\r\n\r\n\r\n# More information about multiple platforms in fastlane: \r\n# https://github.com/KrauseFx/fastlane/blob/master/docs/Platforms.md\r\n```\r\n</details>\r\n\r\n<details><summary>`./fastlane/Appfile`</summary>\r\n\r\n```ruby\r\napp_identifier \"ie.appid.dpd\" # The bundle identifier of your app\r\napple_id \"email@email.ie\" # Your Apple email address\r\n\r\nteam_id \"12345678\"  # Developer Portal Team ID\r\n\r\n# you can even provide different app identifiers, Apple IDs and team names per lane:\r\n# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md\r\n```\r\n</details>\r\n\r\n### fastlane gems\r\n\r\n| Gem                 | Version | Update-Status       |\r\n| ------------------- | ------- | ------------------- |\r\n| credentials_manager | 0.16.2  | ✅ Up-To-Date        |\r\n| fastlane_core       | 0.53.0  | ✅ Up-To-Date        |\r\n| spaceship           | 0.36.2  | ✅ Up-To-Date        |\r\n| deliver             | 1.14.5  | ✅ Up-To-Date        |\r\n| snapshot            | 1.16.2  | 🚫 Update availaible |\r\n| frameit             | 3.0.0   | ✅ Up-To-Date        |\r\n| pem                 | 1.3.2   | ✅ Up-To-Date        |\r\n| cert                | 1.4.3   | ✅ Up-To-Date        |\r\n| sigh                | 1.11.2  | ✅ Up-To-Date        |\r\n| produce             | 1.2.1   | ✅ Up-To-Date        |\r\n| gym                 | 1.11.3  | ✅ Up-To-Date        |\r\n| pilot               | 1.11.1  | ✅ Up-To-Date        |\r\n| scan                | 0.13.1  | ✅ Up-To-Date        |\r\n| supply              | 0.7.1   | ✅ Up-To-Date        |\r\n| match               | 0.10.0  | ✅ Up-To-Date        |\r\n| screengrab          | 0.5.5   | ✅ Up-To-Date        |\r\n| fastlane            | 1.106.2 | ✅ Up-To-Date        |\r\n\r\n\r\n### Loaded fastlane plugins:\r\n\r\n**No plugins Loaded***\r\n\r\n\r\n<details><summary><b>Loaded gems</b></summary>\r\n\r\n| Gem                       | Version      |\r\n| ------------------------- | ------------ |\r\n| did_you_mean              | 1.0.2        |\r\n| highline                  | 1.7.8        |\r\n| commander                 | 4.4.0        |\r\n| terminal-table            | 1.4.5        |\r\n| json                      | 1.8.3        |\r\n| multipart-post            | 2.0.0        |\r\n| faraday                   | 0.9.2        |\r\n| faraday_middleware        | 0.10.0       |\r\n| dotenv                    | 2.1.1        |\r\n| net-ssh                   | 3.2.0        |\r\n| net-sftp                  | 2.1.2        |\r\n| plist                     | 3.1.0        |\r\n| security                  | 0.1.3        |\r\n| krausefx-shenzhen         | 0.14.10      |\r\n| slack-notifier            | 1.5.1        |\r\n| colored                   | 1.2          |\r\n| claide                    | 1.0.1        |\r\n| xcodeproj                 | 1.3.2        |\r\n| rouge                     | 1.11.1       |\r\n| xcpretty                  | 0.2.4        |\r\n| terminal-notifier         | 1.7.1        |\r\n| xcode-install             | 2.0.7        |\r\n| word_wrap                 | 1.0.0        |\r\n| multi_json                | 1.12.1       |\r\n| babosa                    | 1.0.2        |\r\n| excon                     | 0.54.0       |\r\n| rubyzip                   | 1.1.7        |\r\n| gh_inspector              | 1.0.2        |\r\n| credentials_manager       | 0.16.2       |\r\n| fastlane_core             | 0.53.0       |\r\n| bundler                   | 1.13.5       |\r\n| multi_xml                 | 0.5.5        |\r\n| unf_ext                   | 0.0.7.2      |\r\n| unf                       | 0.1.4        |\r\n| domain_name               | 0.5.20160826 |\r\n| http-cookie               | 1.0.3        |\r\n| faraday-cookie_jar        | 0.0.6        |\r\n| fastimage                 | 1.6.8        |\r\n| mini_magick               | 4.5.1        |\r\n| xcpretty-travis-formatter | 0.0.4        |\r\n| uber                      | 0.0.15       |\r\n| representable             | 2.3.0        |\r\n| retriable                 | 2.1.0        |\r\n| mime-types-data           | 3.2016.0521  |\r\n| mime-types                | 3.1          |\r\n| hurley                    | 0.2          |\r\n| little-plugger            | 1.1.4        |\r\n| logging                   | 2.1.0        |\r\n| jwt                       | 1.5.6        |\r\n| memoist                   | 0.15.0       |\r\n| os                        | 0.9.6        |\r\n| signet                    | 0.7.3        |\r\n| googleauth                | 0.5.1        |\r\n| httpclient                | 2.8.2.4      |\r\n| google-api-client         | 0.9.18       |\r\n| i18n                      | 0.7.0        |\r\n| thread_safe               | 0.3.5        |\r\n| tzinfo                    | 1.2.2        |\r\n| activesupport             | 4.2.7.1      |\r\n| io-console                | 0.4.5        |\r\n</details>\r\n\r\n\r\n*generated on:* **2016-11-01**\r\n</details>\r\n"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/259905402","html_url":"https://github.com/fastlane/fastlane/issues/6814#issuecomment-259905402","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/6814","id":259905402,"user":{"login":"jordanjun","id":14816466,"avatar_url":"https://avatars.githubusercontent.com/u/14816466?v=3","gravatar_id":"","url":"https://api.github.com/users/jordanjun","html_url":"https://github.com/jordanjun","followers_url":"https://api.github.com/users/jordanjun/followers","following_url":"https://api.github.com/users/jordanjun/following{/other_user}","gists_url":"https://api.github.com/users/jordanjun/gists{/gist_id}","starred_url":"https://api.github.com/users/jordanjun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordanjun/subscriptions","organizations_url":"https://api.github.com/users/jordanjun/orgs","repos_url":"https://api.github.com/users/jordanjun/repos","events_url":"https://api.github.com/users/jordanjun/events{/privacy}","received_events_url":"https://api.github.com/users/jordanjun/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T08:22:04Z","updated_at":"2016-11-11T08:22:04Z","body":"@TKBurner I have checked it is stored in my login keychain. When I search \"deliver\", I can see the keychain. And this error doesn't occur every time. The error log is as below:\r\n\r\n+ sigh\r\n+-------------------------------------+-----------------------------------+\r\n|                         \u001B[32mSummary for sigh 1.11.2\u001B[0m                         |\r\n+-------------------------------------+-----------------------------------+\r\n| adhoc                               | false                             |\r\n| development                         | false                             |\r\n| skip_install                        | false                             |\r\n| force                               | false                             |\r\n| app_identifier                      | com.xxx.xxx|\r\n| username                            | xxx@xxx.com      |\r\n| team_id                             | xxxxxxxxxx                        |\r\n| ignore_profiles_with_different_name | false                             |\r\n| skip_fetch_profiles                 | false                             |\r\n| skip_certificate_verification       | false                             |\r\n+-------------------------------------+-----------------------------------+\r\n\r\n[16:10:58]: Starting login with user 'xxx@xxx.com'\r\n\u001B[32m-------------------------------------------------------------------------------------\u001B[0m\r\n\u001B[32mThe login information you enter will be stored in your Mac OS Keychain\u001B[0m\r\n\u001B[32mYou can also pass the password using the `FASTLANE_PASSWORD` environment variable\u001B[0m\r\n\u001B[32mMore information about it on GitHub: https://github.com/fastlane/fastlane/tree/master/credentials_manager\u001B[0m\r\n\u001B[32m-------------------------------------------------------------------------------------\u001B[0m\r\n\r\nLooking for related GitHub issues on fastlane/fastlane...\r\n\r\nFound no similar issues. To create a new issue, please visit:\r\nhttps://github.com/fastlane/fastlane/issues/new\r\nRun `fastlane env` to append the fastlane environment to your issue\r\n/usr/local/lib/ruby/gems/2.3.0/gems/credentials_manager-0.16.2/lib/credentials_manager/account_manager.rb:88:in `ask_for_login': \u001B[31m[!] Missing password for user xxx@xxx.com, and running in non-interactive shell\u001B[0m (RuntimeError)"}}
{"actor":{"display_login":"jordanjun"}}