You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have self-hosted runner on CircleCI, in Fastfile before_all we are running setup_circle_ci and it's failing immediately.
machine config:
Ventura 13.2.1
Mac mini m1
Command executed
Fastfile:
before_all do
...
setup_circle_ci
...
end
Complete output when running fastlane, including the stack trace and command used
#!/bin/bash --login -eo pipefail
bundle exec fastlane resolve_dependencies --verbose
[⠋] 🚀 [⠙] 🚀 [⠹] 🚀 [⠸] 🚀 [⠼] 🚀 [✔] 🚀
DEBUG [2023-03-08 19:49:46.02]: Checking if there are any plugins that should be loaded...
DEBUG [2023-03-08 19:49:46.02]: Loading 'fastlane-plugin-xcconfig' plugin
INFO [2023-03-08 19:49:46.02]: gem 'fastlane-plugin-xcconfig' is already installed
+--------------------------+---------+---------------------------------------------------------------+
| Used plugins |
+--------------------------+---------+---------------------------------------------------------------+
| Plugin | Version | Action |
+--------------------------+---------+---------------------------------------------------------------+
| fastlane-plugin-xcconfig | 2.0.0 | update_xcconfig_value, set_xcconfig_value, get_xcconfig_value |
+--------------------------+---------+---------------------------------------------------------------+
tput: unknown terminal "unknown"
tput: unknown terminal "unknown"
INFO [2023-03-08 19:49:46.59]: ----------------------------------------
INFO [2023-03-08 19:49:46.59]: --- Step: Verifying fastlane version ---
INFO [2023-03-08 19:49:46.59]: ----------------------------------------
INFO [2023-03-08 19:49:46.59]: Your fastlane version 2.212.1 matches the minimum requirement of 2.89.0 ✅
tput: unknown terminal "unknown"
tput: unknown terminal "unknown"
INFO [2023-03-08 19:49:46.60]: ------------------------------
INFO [2023-03-08 19:49:46.60]: --- Step: default_platform ---
INFO [2023-03-08 19:49:46.60]: ------------------------------
INFO [2023-03-08 19:49:46.60]: Driving the lane 'ios resolve_dependencies' 🚀
tput: unknown terminal "unknown"
tput: unknown terminal "unknown"
INFO [2023-03-08 19:49:46.61]: ---------------------------------------
INFO [2023-03-08 19:49:46.61]: --- Step: app_store_connect_api_key ---
INFO [2023-03-08 19:49:46.61]: ---------------------------------------
tput: unknown terminal "unknown"
tput: unknown terminal "unknown"
INFO [2023-03-08 19:49:46.62]: -------------------
INFO [2023-03-08 19:49:46.62]: --- Step: is_ci ---
INFO [2023-03-08 19:49:46.62]: -------------------
tput: unknown terminal "unknown"
tput: unknown terminal "unknown"
INFO [2023-03-08 19:49:46.62]: -----------------------------
INFO [2023-03-08 19:49:46.62]: --- Step: setup_circle_ci ---
INFO [2023-03-08 19:49:46.62]: -----------------------------
INFO [2023-03-08 19:49:46.62]: Creating temporary keychain: "fastlane_tmp_keychain".
WARN [2023-03-08 19:49:46.62]: Found keychain '/Library/Keychains/fastlane_tmp_keychain', creation skipped
WARN [2023-03-08 19:49:46.62]: If creating a new Keychain DB is required please set the require_create option true to cause the action to fail
WARN [2023-03-08 19:49:46.65]: Lane Context:
INFO [2023-03-08 19:49:46.65]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios resolve_dependencies", :KEYCHAIN_PATH=>"/Library/Keychains/fastlane_tmp_keychain", :ORIGINAL_DEFAULT_KEYCHAIN=>""/Library/Keychains/System.keychain""}
ERROR [2023-03-08 19:49:46.65]: Shell command exited with exit status 1 instead of 0.
➡️ "method_missing" Shell command exited with exit status 1 instead of 0. (FastlaneCore::Interface::FastlaneShellError) when bundling on Android #20493 [open] 10 💬
18 Nov 2022
🔗 You can ⌘ + double-click on links to open them directly in your browser.
DEBUG [2023-03-08 19:49:48.18]: All plugins are up to date
bundler: failed to load command: fastlane (/Users/eng.user/.rvm/gems/ruby-2.7.7/bin/fastlane)
Traceback (most recent call last):
55: from /Users/eng.user/.rvm/gems/ruby-2.7.7/bin/bundle:23:in <main>' 54: from /Users/eng.user/.rvm/gems/ruby-2.7.7/bin/bundle:23:in load'
53: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/exe/bundle:33:in <top (required)>' 52: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/friendly_errors.rb:117:in with_friendly_errors'
51: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/exe/bundle:45:in block in <top (required)>' 50: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/cli.rb:28:in start'
49: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/vendor/thor/lib/thor/base.rb:485:in start' 48: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/cli.rb:34:in dispatch'
47: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/vendor/thor/lib/thor.rb:392:in dispatch' 46: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in invoke_command'
45: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run' 44: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/cli.rb:492:in exec'
43: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/cli/exec.rb:23:in run' 42: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/cli/exec.rb:58:in kernel_load'
41: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/cli/exec.rb:58:in load' 40: from /Users/eng.user/.rvm/gems/ruby-2.7.7/bin/fastlane:23:in <top (required)>'
39: from /Users/eng.user/.rvm/gems/ruby-2.7.7/bin/fastlane:23:in load' 38: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/bin/fastlane:23:in <top (required)>'
37: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in take_off' 36: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/commands_generator.rb:43:in start'
35: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/commands_generator.rb:354:in run' 34: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/commander-4.6.0/lib/commander/delegates.rb:18:in run!'
33: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in run!' 32: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/commander-4.6.0/lib/commander/runner.rb:444:in run_active_command'
31: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/commander-4.6.0/lib/commander/command.rb:157:in run' 30: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/commander-4.6.0/lib/commander/command.rb:187:in call'
29: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/commands_generator.rb:110:in block (2 levels) in run' 28: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/command_line_handler.rb:36:in handle'
27: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/lane_manager.rb:47:in cruise_lane' 26: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:45:in execute'
25: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:45:in chdir' 24: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:46:in block in execute'
23: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:291:in execute_flow_block' 22: from Fastfile:200:in block (2 levels) in parsing_binding'
21: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/fast_file.rb:159:in method_missing' 20: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name'
19: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:229:in execute_action' 18: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:229:in chdir'
17: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:255:in block in execute_action' 16: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action'
15: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:263:in block (2 levels) in execute_action' 14: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/actions/setup_circle_ci.rb:5:in run'
13: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/other_action.rb:23:in method_missing' 12: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name'
11: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:229:in execute_action' 10: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:229:in chdir'
9: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:255:in block in execute_action' 8: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action'
7: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:263:in block (2 levels) in execute_action' 6: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/actions/setup_ci.rb:15:in run'
5: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/actions/setup_ci.rb:42:in setup_keychain' 4: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/actions/create_keychain.rb:44:in run'
3: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/helper/sh_helper.rb:12:in sh' 2: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/helper/sh_helper.rb:80:in sh_control_output'
1: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in method_missing' /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane_core/lib/fastlane_core/ui/interface.rb:153:in shell_error!': Shell command exited with exit status 1 instead of 0. (FastlaneCore::Interface::FastlaneShellError)
55: from /Users/eng.user/.rvm/gems/ruby-2.7.7/bin/bundle:23:in <main>' 54: from /Users/eng.user/.rvm/gems/ruby-2.7.7/bin/bundle:23:in load'
53: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/exe/bundle:33:in <top (required)>' 52: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/friendly_errors.rb:117:in with_friendly_errors'
51: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/exe/bundle:45:in block in <top (required)>' 50: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/cli.rb:28:in start'
49: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/vendor/thor/lib/thor/base.rb:485:in start' 48: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/cli.rb:34:in dispatch'
47: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/vendor/thor/lib/thor.rb:392:in dispatch' 46: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in invoke_command'
45: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run' 44: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/cli.rb:492:in exec'
43: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/cli/exec.rb:23:in run' 42: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/cli/exec.rb:58:in kernel_load'
41: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/bundler-2.4.8/lib/bundler/cli/exec.rb:58:in load' 40: from /Users/eng.user/.rvm/gems/ruby-2.7.7/bin/fastlane:23:in <top (required)>'
39: from /Users/eng.user/.rvm/gems/ruby-2.7.7/bin/fastlane:23:in load' 38: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/bin/fastlane:23:in <top (required)>'
37: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in take_off' 36: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/commands_generator.rb:43:in start'
35: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/commands_generator.rb:354:in run' 34: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/commander-4.6.0/lib/commander/delegates.rb:18:in run!'
33: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in run!' 32: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/commander-4.6.0/lib/commander/runner.rb:444:in run_active_command'
31: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/commander-4.6.0/lib/commander/command.rb:157:in run' 30: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/commander-4.6.0/lib/commander/command.rb:187:in call'
29: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/commands_generator.rb:110:in block (2 levels) in run' 28: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/command_line_handler.rb:36:in handle'
27: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/lane_manager.rb:47:in cruise_lane' 26: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:45:in execute'
25: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:45:in chdir' 24: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:46:in block in execute'
23: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:291:in execute_flow_block' 22: from Fastfile:200:in block (2 levels) in parsing_binding'
21: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/fast_file.rb:159:in method_missing' 20: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name'
19: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:229:in execute_action' 18: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:229:in chdir'
17: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:255:in block in execute_action' 16: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action'
15: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:263:in block (2 levels) in execute_action' 14: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/actions/setup_circle_ci.rb:5:in run'
13: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/other_action.rb:23:in method_missing' 12: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name'
11: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:229:in execute_action' 10: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:229:in chdir'
9: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:255:in block in execute_action' 8: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action'
7: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/runner.rb:263:in block (2 levels) in execute_action' 6: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/actions/setup_ci.rb:15:in run'
5: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/actions/setup_ci.rb:42:in setup_keychain' 4: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/actions/create_keychain.rb:44:in run'
3: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/helper/sh_helper.rb:12:in sh' 2: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane/lib/fastlane/helper/sh_helper.rb:80:in sh_control_output'
1: from /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in method_missing' /Users/eng.user/.rvm/gems/ruby-2.7.7/gems/fastlane-2.212.1/fastlane_core/lib/fastlane_core/ui/interface.rb:153:in shell_error!': \e[31m[!] Shell command exited with exit status 1 instead of 0.\e[0m (FastlaneCore::Interface::FastlaneShellError)
Exited with code exit status 1
CircleCI received exit code 1
New Issue Checklist
Issue Description
We have self-hosted runner on CircleCI, in Fastfile
before_all
we are runningsetup_circle_ci
and it's failing immediately.machine config:
Ventura 13.2.1
Mac mini m1
Command executed
Fastfile:
Complete output when running fastlane, including the stack trace and command used
Environment
The text was updated successfully, but these errors were encountered: