Open vsambasiva550 opened 5 months ago
Hi @vsambasiva550, have you tried to install Fastlane manually using the same gem command as the task?
gem install fastlane
also, have you tried to update the local ruby version to 2.7?
Issue 2: Task never ends (with installFastlane:false) Fastlane installed by manually in mac agent
Could you please share the version of Fastlane that you installed, and a portion of the logs where the task gets stuck?
Hi @KonstantinTyukalov
Thank you for your response
here is the log for fastlane install task
/bin/bash --noprofile --norc /Users/uname/agent/_work/_temp/dc580ce1-c9cb-4bd4-ad3f-48e12567aa6f.sh
Password:ERROR: Error installing fastlane:
The last version of google-cloud-storage (~> 1.31) to support your Ruby & RubyGems was 1.45.0. Try installing it with gem install google-cloud-storage -v 1.45.0
and then running the current command again
google-cloud-storage requires Ruby version >= 2.7. The current ruby version is 2.6.10.210.
Successfully installed googleauth-1.8.1
Successfully installed retriable-3.1.2
Successfully installed trailblazer-option-0.1.2
Successfully installed declarative-0.0.20
Successfully installed uber-0.1.0
Successfully installed representable-3.2.0
Successfully installed google-apis-core-0.11.2
Successfully installed google-apis-storage_v1-0.31.0
Successfully installed google-apis-iamcredentials_v1-0.17.0
Successfully installed google-cloud-errors-1.3.1
Successfully installed google-cloud-env-1.6.0
Successfully installed google-cloud-core-1.6.1
Finishing: Install Fastlane
In mac agent fastlane installed manually
Required Information
Getting below error while installing fastlane
/usr/bin/gem install fastlane ERROR: Error installing fastlane: The last version of google-cloud-storage (~> 1.31) to support your Ruby & RubyGems was 1.45.0. Try installing it with
gem install google-cloud-storage -v 1.45.0
and then running the current command again google-cloud-storage requires Ruby version >= 2.7. The current ruby version is 2.6.10.210.Type: iOS App store Release
Enter Task Name: iOS App store Release task failed to install/find fastlane using azure pipelines
list here (V# not needed):
https://github.com/microsoft/app-store-vsts-extension/tree/master/Tasks
Environment
Server - Azure Pipelines or TFS on-premises? TFS on-premises
If using TFS on-premises, provide the version: Azure DevOps server 2022
If using Azure Pipelines, provide the account name, team project name, build definition name/build number:
Agent - Hosted or Private: Private
If using Hosted agent, provide agent queue name:
If using private agent, provide the OS of the machine running the agent and the agent version: macOS Ventura Version 13.3 and a gent version: '2.217.2'
Issue Description
Getting below issues while using
Issue 1: Unable to install fastlane Issue 2: Task never ends (with installFastlane:false) Fastlane installed by manually in mac agent
Task logs
[debug]found 11310 paths
[debug]applying include pattern
[debug]1 matches
[debug]1 final results
[debug]Checking for ruby install...
[debug]which 'ruby'
[debug]found: '/usr/bin/ruby'
[debug]Installing fastlane...
[debug]which 'gem'
[debug]found: '/usr/bin/gem'
[debug]which '/usr/bin/gem'
[debug]found: '/usr/bin/gem'
[debug]/usr/bin/gem arg: ["install","fastlane"]
[debug]exec tool: /usr/bin/gem
[debug]arguments:
[debug] install
[debug] fastlane
/usr/bin/gem install fastlane ERROR: Error installing fastlane: The last version of google-cloud-storage (~> 1.31) to support your Ruby & RubyGems was 1.45.0. Try installing it with
gem install google-cloud-storage -v 1.45.0
and then running the current command again google-cloud-storage requires Ruby version >= 2.7. The current ruby version is 2.6.10.210.[debug]Exit code 1 received from tool '/usr/bin/gem'
[debug]STDIO streams have closed for tool '/usr/bin/gem'
[debug]task result: Failed
[error]Error: The process '/usr/bin/gem' failed with exit code 1
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
[Insert error from the logs here for a quick overview]