fastlane: upload_to_testflight(distribute_only:true) stuck on "Waiting for the build to show up in the build list"
New Issue Checklist
- Updated fastlane to the latest version
- I read the Contribution Guidelines
- I read docs.fastlane.tools
- I searched for existing GitHub issues
Issue Description
In my Fastfile, I’m executing upload_to_testflight() with the option distribute_only:true, however Fastlane is is becoming stuck on “Waiting for the build to show up in the build list”-- which shouldn’t happen for the distribute_only:true option.
I use this same Fastfile for many apps and this has worked previously for other apps. One key difference, however, is the other apps had builds that were previously submitted to TestFlight through a typical FastLane build process, i.e. FastLane building the app locally and then uploading to TestFlight. This problem is appearing with a new app with a build uploaded by another developer and my FastLane script is trying to distribute this build as the first submission to TestFlight.
Command executed
fastlane beta distribute_only:true
The “beta” action from my FastFile follows.
desc "Upload to TestFlight"
lane :beta do |options|
edit_file(file: "../testflight/what_to_test.txt")
beta_app_review_info = {
contact_email: File.read("../testflight/contact_email_address.txt").strip,
contact_first_name: File.read("../testflight/contact_first_name.txt").strip,
contact_last_name: File.read("../testflight/contact_last_name.txt").strip,
contact_phone: File.read("../testflight/contact_phone_number.txt").strip,
demo_account_name: File.read("../testflight/demo_user.txt").strip,
demo_account_password: File.read("../testflight/demo_password.txt").strip,
notes: File.read("../testflight/review_notes.txt").strip,
}
localized_build_info = {
default: {
whats_new: File.read("../testflight/what_to_test.txt").strip,
},
}
distribute_external = options.fetch(:distribute_external, true);
groups = nil
if distribute_external
external_group = File.read("../testflight/internal/external_testers_group.txt").strip
groups = [external_group]
end
distribute_only = options.fetch(:distribute_only, false);
if !distribute_only && !options[:skip_xcarchive]
ipa_from_xcarchive
end
if !distribute_only && !options[:skip_resign]
resign_ipa(options)
end
upload_to_testflight(
beta_app_review_info: beta_app_review_info,
localized_build_info: localized_build_info,
distribute_external: distribute_external,
distribute_only: distribute_only,
build_number: options[:build_number],
groups: groups,
)
end
Complete output when running fastlane, including the stack trace and command used
The following output includes the breaking of the script with control-C. Otherwise, the script seems to remain indefinitely stuck in the “Waiting…” loop.
$ fastlane beta distribute_only:true --verbose
[✔] 🚀
[18:02:28]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
DEBUG [2021-04-26 18:02:29.15]: Checking if there are any plugins that should be loaded...
Successfully loaded Appfile at path '/XXX/ios/fastlane/Appfile'
- app_identifier: 'xxx.xxxx.xxxxx'
-------
Successfully loaded Appfile at path '/XXX/ios/fastlane/Appfile'
- app_identifier: 'xxx.xxxx.xxxxx'
-------
DEBUG [2021-04-26 18:02:29.32]: Using distribute_only: true
Successfully loaded Appfile at path '/XXX/ios/fastlane/Appfile'
- app_identifier: 'xxx.xxxx.xxxxx'
-------
Successfully loaded Appfile at path '/XXX/ios/fastlane/Appfile'
- app_identifier: 'xxx.xxxx.xxxxx'
-------
INFO [2021-04-26 18:02:29.33]: ---------------------
INFO [2021-04-26 18:02:29.33]: --- Step: team_id ---
INFO [2021-04-26 18:02:29.33]: ---------------------
INFO [2021-04-26 18:02:29.33]: Setting Team ID to 'XXXXXXXXX' for all build steps
Successfully loaded Appfile at path '/XXX/ios/fastlane/Appfile'
- app_identifier: 'xxx.xxxx.xxxxx'
-------
INFO [2021-04-26 18:02:29.33]: ------------------------------
INFO [2021-04-26 18:02:29.33]: --- Step: default_platform ---
INFO [2021-04-26 18:02:29.33]: ------------------------------
Successfully loaded Appfile at path '/XXX/ios/fastlane/Appfile'
- app_identifier: 'xxx.xxxx.xxxxx'
-------
Successfully loaded Appfile at path '/XXX/ios/fastlane/Appfile'
- app_identifier: 'xxx.xxxx.xxxxx'
-------
INFO [2021-04-26 18:02:29.34]: Driving the lane 'ios beta' 🚀
INFO [2021-04-26 18:02:29.34]: ------------------------------------------
INFO [2021-04-26 18:02:29.34]: --- Step: Switch to ios edit_file lane ---
INFO [2021-04-26 18:02:29.34]: ------------------------------------------
INFO [2021-04-26 18:02:29.34]: Cruising over to lane 'ios edit_file' 🚖
INFO [2021-04-26 18:02:32.20]: Cruising back to lane 'ios beta' 🚘
Successfully loaded Appfile at path '/XXX/ios/fastlane/Appfile'
- app_identifier: 'xxx.xxxx.xxxxx'
-------
Successfully loaded Appfile at path '/XXX/ios/fastlane/Appfile'
- app_identifier: 'xxx.xxxx.xxxxx'
-------
Successfully loaded Appfile at path '/XXX/ios/fastlane/Appfile'
- app_identifier: 'xxx.xxxx.xxxxx'
-------
Successfully loaded Appfile at path '/XXX/ios/fastlane/Appfile'
- app_identifier: 'xxx.xxxx.xxxxx'
-------
Successfully loaded Appfile at path '/XXX/ios/fastlane/Appfile'
- app_identifier: 'xxx.xxxx.xxxxx'
-------
Successfully loaded Appfile at path '/XXX/ios/fastlane/Appfile'
- app_identifier: 'xxx.xxxx.xxxxx'
-------
Successfully loaded Appfile at path '/XXX/ios/fastlane/Appfile'
- app_identifier: 'xxx.xxxx.xxxxx'
-------
Successfully loaded Appfile at path '/XXX/ios/fastlane/Appfile'
- app_identifier: 'xxx.xxxx.xxxxx'
-------
Successfully loaded Appfile at path '/XXX/ios/fastlane/Appfile'
- app_identifier: 'xxx.xxxx.xxxxx'
-------
Successfully loaded Appfile at path '/XXX/ios/fastlane/Appfile'
- app_identifier: 'xxx.xxxx.xxxxx'
-------
Successfully loaded Appfile at path '/XXX/ios/fastlane/Appfile'
- app_identifier: 'xxx.xxxx.xxxxx'
-------
Successfully loaded Appfile at path '/XXX/ios/fastlane/Appfile'
- app_identifier: 'xxx.xxxx.xxxxx'
-------
INFO [2021-04-26 18:02:32.32]: ----------------------------------
INFO [2021-04-26 18:02:32.32]: --- Step: upload_to_testflight ---
INFO [2021-04-26 18:02:32.32]: ----------------------------------
INFO [2021-04-26 18:02:32.32]: Login to App Store Connect (xxx@xxx.xxx)
Reading keychain entry, because either user or password were empty
Loading session from '/Users/jeremy/.fastlane/spaceship/xxx@xxx.xxx/cookie'
Looking for App Store Connect Team with name XXXXXXX
Looking for App Store Connect Team with ID XXXXX
INFO [2021-04-26 18:02:33.40]: Login successful
DEBUG [2021-04-26 18:02:33.40]: App Platform (ios)
DEBUG [2021-04-26 18:02:33.40]: App identifier (xxx.xxxx.xxxxx)
INFO [2021-04-26 18:02:36.25]: Waiting for processing on... app_id: XXXXXXX, app_version: , build_version: , platform: IOS
WARN [2021-04-26 18:02:36.25]: Read more information on why this build isn't showing up yet - https://github.com/fastlane/fastlane/issues/14997
INFO [2021-04-26 18:02:36.25]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
INFO [2021-04-26 18:03:06.25]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues)
^CWARN [2021-04-26 18:03:09.84]: Lane Context:
INFO [2021-04-26 18:03:09.84]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta"}
INFO [2021-04-26 18:03:09.84]: Successfully generated documentation at path '/XXX/ios/fastlane/README.md'
±-----±---------------------±------------+
| fastlane summary |
±-----±---------------------±------------+
| Step | Action | Time (in s) |
±-----±---------------------±------------+
| 1 | team_id | 0 |
| 2 | default_platform | 0 |
| 3 | Switch to ios | 0 |
| | edit_file lane | |
| 4 | upload_to_testflight | 37 |
±-----±---------------------±------------+
ERROR [2021-04-26 18:03:09.85]: fastlane finished with errors
Traceback (most recent call last):
31: from /usr/local/bin/fastlane:23:in <main>' 30: from /usr/local/bin/fastlane:23:in load’
29: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/bin/fastlane:23:in <top (required)>' 28: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/cli_tools_distributor.rb:122:in take_off’
27: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/commands_generator.rb:41:in start' 26: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/commands_generator.rb:352:in run’
25: from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!' 24: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!’
23: from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command' 22: from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run’
21: from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call' 20: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/commands_generator.rb:108:in block (2 levels) in run’
19: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/command_line_handler.rb:36:in handle' 18: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/lane_manager.rb:47:in cruise_lane’
17: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:45:in execute' 16: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:45:in chdir’
15: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:49:in block in execute' 14: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/lane.rb:33:in call’
13: from …/…/…/…/ios-support/iOS.Fastfile:200:in block (2 levels) in parsing_binding' 12: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/fast_file.rb:159:in method_missing’
11: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name' 10: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:229:in execute_action’
9: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:229:in chdir' 8: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:255:in block in execute_action’
7: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action' 6: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:263:in block (2 levels) in execute_action’
5: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/actions/upload_to_testflight.rb:28:in run' 4: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/pilot/lib/pilot/build_manager.rb:102:in wait_for_build_processing_to_be_complete’
3: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane_core/lib/fastlane_core/build_watcher.rb:27:in wait_for_build_processing_to_be_complete' 2: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane_core/lib/fastlane_core/build_watcher.rb:27:in loop’
1: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane_core/lib/fastlane_core/build_watcher.rb:56:in block in wait_for_build_processing_to_be_complete' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane_core/lib/fastlane_core/build_watcher.rb:56:in sleep’: Interrupt
Environment
✅ fastlane environment ✅
Stack
Key Value OS 11.2.3 Ruby 2.6.3 Bundler? false Git git version 2.24.3 (Apple Git-128) Installation Source /usr/local/bin/fastlane Host macOS 11.2.3 (20D91) Ruby Lib Dir /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib OpenSSL Version LibreSSL 2.8.3 Is contained false Is homebrew false Is installed via Fabric.app false Xcode Path /Applications/Xcode.app/Contents/Developer/ Xcode Version 12.4 System Locale
Variable Value LANG en_US.UTF-8 ✅ LC_ALL LANGUAGE fastlane files:
`./fastlane/Fastfile`
# import common Fastfile from appstore-submissions repo (intended to be the root # of individual app submission repos) import "../../../../ios-support/iOS.Fastfile"`./fastlane/Appfile`
# Appfile provides values shared by fastlane tools app_identifier File.read("../metadata/app_identifier.txt").stripfastlane gems
Gem Version Update-Status fastlane 2.181.0 ✅ Up-To-Date Loaded fastlane plugins:
No plugins Loaded
Loaded gems
Gem Version did_you_mean 1.3.0 slack-notifier 2.3.2 atomos 0.1.3 CFPropertyList 2.3.6 claide 1.0.3 colored2 3.1.2 nanaimo 0.2.6 xcodeproj 1.13.0 rouge 2.0.7 xcpretty 0.3.0 terminal-notifier 2.0.0 unicode-display_width 1.6.0 terminal-table 1.8.0 plist 3.5.0 public_suffix 2.0.5 addressable 2.7.0 multipart-post 2.0.0 word_wrap 1.0.0 tty-screen 0.7.0 tty-cursor 0.7.0 tty-spinner 0.9.1 artifactory 3.0.15 babosa 1.0.3 colored 1.2 highline 1.7.10 commander-fastlane 4.4.6 excon 0.72.0 unf_ext 0.0.7.6 unf 0.1.4 domain_name 0.5.20190701 http-cookie 1.0.3 faraday-cookie_jar 0.0.6 ruby2_keywords 0.0.2 faraday 1.1.0 faraday_middleware 1.0.0 fastimage 2.1.7 gh_inspector 1.1.3 json 2.1.0 mini_magick 4.10.1 naturally 2.2.0 rubyzip 2.3.0 security 0.1.3 xcpretty-travis-formatter 1.0.0 dotenv 2.7.5 bundler 1.17.3 simctl 1.6.8 jwt 2.1.0 uber 0.1.0 declarative 0.0.10 declarative-option 0.1.0 representable 3.0.4 retriable 3.1.2 mini_mime 1.0.2 multi_json 1.14.1 signet 0.13.0 memoist 0.16.2 os 1.0.1 googleauth 0.11.0 httpclient 2.8.3 google-api-client 0.38.0 google-cloud-env 1.3.1 google-cloud-errors 1.0.0 google-cloud-core 1.5.0 digest-crc 0.5.0 google-cloud-storage 1.25.1 emoji_regex 1.0.1 jmespath 1.4.0 aws-partitions 1.297.0 aws-eventstream 1.0.3 aws-sigv4 1.1.1 aws-sdk-core 3.94.0 aws-sdk-kms 1.30.0 aws-sdk-s3 1.61.2 forwardable 1.2.0 logger 1.3.0 stringio 0.0.2 ipaddr 1.2.2 openssl 2.1.2 ostruct 0.1.0 strscan 1.0.0 date 2.0.0 fileutils 1.1.0 etc 1.0.1 io-console 0.4.7 zlib 1.0.0 libxml-ruby 3.1.0 rexml 3.1.9 psych 3.1.0 mutex_m 0.1.0 webrick 1.4.2 generated on: 2021-04-26
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 23 (11 by maintainers)
This appears to be the same issue that I am having. I am using the AppStore API key and manually grabbing the latest build number (because it was failing to automatically select the latest build number).
fastfile:
output:
And it continues waiting until the bulid server times out.
As I have to get this particular app out to TestFlight, I tried to move ahead with using my FastLane script to build from source and upload to TestFlight, but
upload_to_testflight()failed withServer error got 500. Output is below:±------------------------------------±-----------------------+ | Summary for sigh 2.181.0 | ±------------------------------------±-----------------------+ | filename | app.mobileprovision | | adhoc | false | | developer_id | false | | development | false | | skip_install | false | | force | false | | app_identifier | xxx | | username | xxx@xxx.xxx | | team_id | xxx | | ignore_profiles_with_different_name | false | | skip_fetch_profiles | false | | skip_certificate_verification | false | | platform | ios | | readonly | false | | fail_on_name_taken | false | ±------------------------------------±-----------------------+
[18:59:10]: Starting login with user ‘xxx@xxx.xxx’ [18:59:11]: Successfully logged in [18:59:11]: Fetching profiles… [18:59:12]: Verifying certificates… [18:59:12]: No existing profiles found, that match the certificates you have installed locally! Creating a new provisioning profile for you [18:59:12]: Creating new provisioning profile for ‘xxx’ with name ‘xxx AppStore’ for ‘ios’ platform [18:59:14]: Downloading provisioning profile… [18:59:14]: Successfully downloaded provisioning profile… [18:59:15]: Installing provisioning profile… /xxx/ios/app.mobileprovision [18:59:15]: Setting Provisioning Profile type to ‘app-store’ [18:59:15]: -------------------------------------- [18:59:15]: — Step: get_ipa_info_plist_value — [18:59:15]: -------------------------------------- [18:59:15]: -------------------------------------- [18:59:15]: — Step: get_ipa_info_plist_value — [18:59:15]: -------------------------------------- [18:59:15]: -------------------------------------- [18:59:15]: — Step: get_ipa_info_plist_value — [18:59:15]: -------------------------------------- [18:59:15]: Original bundle information: [18:59:15]: App ID: xxx [18:59:15]: Version: 1.0.0 [18:59:15]: Build number: 2 [18:59:15]: -------------------- [18:59:15]: — Step: resign — [18:59:15]: -------------------- /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/sigh/lib/assets/resign.sh xxx.ipa D7CCBE667AEE486645E7CF21870E8AAE8F3BAFD0 -p /xxx/ios/app.mobileprovision xxx.ipa _floatsignTemp/Payload/GTSeaLevelApp.app: replacing existing signature
[18:59:16]: Successfully signed xxx.ipa! [18:59:16]: Successfully re-signed .ipa 🔏. [18:59:16]: Cruising back to lane ‘ios beta’ 🚘 [18:59:16]: ---------------------------------- [18:59:16]: — Step: upload_to_testflight — [18:59:16]: ---------------------------------- [18:59:16]: Login to App Store Connect (xxx@xxx.xxx) [18:59:17]: Login successful [18:59:20]: Ready to upload new build to TestFlight (App: xxx)… [18:59:34]: iTunes Transporter successfully finished its job [18:59:34]: Going to upload updated app to App Store Connect [18:59:34]: This might take a few minutes. Please don’t interrupt the script. [19:00:05]: iTunes Transporter successfully finished its job [19:00:05]: -------------------------------------------------------------------- [19:00:05]: Successfully uploaded package to App Store Connect. It might take a few minutes until it’s visible online. [19:00:05]: -------------------------------------------------------------------- [19:00:05]: Successfully uploaded the new binary to App Store Connect [19:00:05]: If you want to skip waiting for the processing to be finished, use the
skip_waiting_for_build_processingoption [19:00:05]: Note that ifskip_waiting_for_build_processingis used but achangelogis supplied, this process will wait for the build to appear on AppStoreConnect, update the changelog and then skip the remaining of the processing steps. [19:00:05]: Waiting for processing on… app_id: xxx, app_version: 1.0.0, build_version: 2, platform: IOS [19:00:05]: Read more information on why this build isn’t showing up yet - https://github.com/fastlane/fastlane/issues/14997 [19:00:05]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues) [19:00:36]: Waiting for the build to show up in the build list - this may take a few minutes (check your email for processing issues if this continues) [19:01:09]: Waiting for App Store Connect to finish processing the new build (1.0.0 - 2) for IOS [19:01:40]: Waiting for App Store Connect to finish processing the new build (1.0.0 - 2) for IOS [19:02:11]: Waiting for App Store Connect to finish processing the new build (1.0.0 - 2) for IOS [19:02:42]: Waiting for App Store Connect to finish processing the new build (1.0.0 - 2) for IOS [19:03:13]: Waiting for App Store Connect to finish processing the new build (1.0.0 - 2) for IOS [19:03:44]: Waiting for App Store Connect to finish processing the new build (1.0.0 - 2) for IOS [19:04:14]: Successfully finished processing the build 1.0.0 - 2 for IOS [19:04:15]: Using App Store Connect’s default for notifying external testers (which is true) - setnotify_external_testersfor full control [19:04:15]: Distributing new build to testers: 1.0.0 - 2 [19:04:15]: Export compliance has been set to ‘false’. Need to wait for build to finishing processing again… [19:04:15]: Set ‘ITSAppUsesNonExemptEncryption’ in the ‘Info.plist’ to skip this step and speed up the submission ±-------------------------------------±-------------------------------------+ | Lane Context | ±-------------------------------------±-------------------------------------+ | DEFAULT_PLATFORM | ios | | PLATFORM_NAME | ios | | LANE_NAME | ios beta | | XCODEBUILD_DERIVED_DATA_PATH | | | SIGH_PROFILE_PATH | /Users/xxx/Developer/source/apps | | | tore-submissions/submissions/sea-le | | | vel-sensing/ios/app.mobileprovision | | SIGH_PROFILE_PATHS | [“/Users/xxx/Developer/source/ap | | | pstore-submissions/submissions/sea- | | | level-sensing/ios/app.mobileprovisi | | | on”] | | SIGH_UDID | 55a432b1-03ed-4db6-8afb-8b7404a0cdc | | | e | | SIGH_UUID | 55a432b1-03ed-4db6-8afb-8b7404a0cdc | | | e | | SIGH_NAME | xxx AppStore | | SIGH_PROFILE_TYPE | app-store | | GET_IPA_INFO_PLIST_VALUE_CUSTOM_VAL | 2 | | UE | | ±-------------------------------------±-------------------------------------+ [19:04:17]: Server error got 500±-----±-----------------------±------------+ | fastlane summary | ±-----±-----------------------±------------+ | Step | Action | Time (in s) | ±-----±-----------------------±------------+ | 1 | team_id | 0 | | 2 | default_platform | 0 | | 3 | Switch to ios | 0 | | | edit_file lane | | | 4 | Switch to ios | 0 | | | ipa_from_xcarchive | | | | lane | | | 5 | xcbuild | 3 | | 6 | Switch to ios | 0 | | | resign_ipa lane | | | 7 | get_provisioning_prof | 4 | | | ile | | | 8 | get_ipa_info_plist_va | 0 | | | lue | | | 9 | get_ipa_info_plist_va | 0 | | | lue | | | 10 | get_ipa_info_plist_va | 0 | | | lue | | | 11 | resign | 1 | | 💥 | upload_to_testflight | 300 | ±-----±-----------------------±------------+
[19:04:17]: fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane…
➡️ 500 server error https://github.com/fastlane/fastlane/issues/17886 [open] 49 💬 3 weeks ago
➡️ beta_pa path is relative to the fastlane directory, not the project directory https://github.com/fastlane/fastlane/issues/500 [closed] 4 💬 22 Sep 2016
➡️ Deliver fails with error 500 on price tire update phase https://github.com/fastlane/fastlane/issues/17736 [open] 10 💬 4 weeks ago
and 24 more at: https://github.com/fastlane/fastlane/search?q=The request could not be completed because%3A Server error got 500&type=Issues&utf8=✓
🔗 You can ⌘ + double-click on links to open them directly in your browser.
[!] The request could not be completed because: Server error got 500
Unfortunately, I didn’t get a stack trace as I didn’t use the
--verboseflag. However, I noticed that the build was successfully uploaded to App Store Connect, so I tried running my script again usingdistribute_only:trueto distribute this new build. This time the script did not hang looping on “Waiting for the build to show up in the build list”, but it did fail withServer error got 500. This time I did get a stack trace, with the failure occuring inpost_beta_app_review_submissions(). Output follows:±-----±---------------------±------------+ | fastlane summary | ±-----±---------------------±------------+ | Step | Action | Time (in s) | ±-----±---------------------±------------+ | 1 | team_id | 0 | | 2 | default_platform | 0 | | 3 | Switch to ios | 0 | | | edit_file lane | | | 💥 | upload_to_testflight | 7 | ±-----±---------------------±------------+
ERROR [2021-04-26 19:17:40.96]: fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane… Search query: The request could not be completed because: Server error got 500
URL: https://api.github.com/search/issues?q=The request could not be completed because%3A Server error got 500+repo:fastlane/fastlane ➡️ 500 server error https://github.com/fastlane/fastlane/issues/17886 [open] 49 💬 3 weeks ago
➡️ beta_pa path is relative to the fastlane directory, not the project directory https://github.com/fastlane/fastlane/issues/500 [closed] 4 💬 22 Sep 2016
➡️ Deliver fails with error 500 on price tire update phase https://github.com/fastlane/fastlane/issues/17736 [open] 10 💬 4 weeks ago
and 24 more at: https://github.com/fastlane/fastlane/search?q=The request could not be completed because%3A Server error got 500&type=Issues&utf8=✓
🔗 You can ⌘ + double-click on links to open them directly in your browser. Traceback (most recent call last): 33: from /usr/local/bin/fastlane:23:in
<main>' 32: from /usr/local/bin/fastlane:23:inload’ 31: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/bin/fastlane:23:in<top (required)>' 30: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/cli_tools_distributor.rb:122:intake_off’ 29: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/commands_generator.rb:41:instart' 28: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/commands_generator.rb:352:inrun’ 27: from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:inrun!' 26: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:inrun!’ 25: from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:inrun_active_command' 24: from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:inrun’ 23: from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:incall' 22: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/commands_generator.rb:108:inblock (2 levels) in run’ 21: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/command_line_handler.rb:36:inhandle' 20: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/lane_manager.rb:47:incruise_lane’ 19: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:45:inexecute' 18: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:45:inchdir’ 17: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:49:inblock in execute' 16: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/lane.rb:33:incall’ 15: from …/…/…/…/ios-support/iOS.Fastfile:200:inblock (2 levels) in parsing_binding' 14: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/fast_file.rb:159:inmethod_missing’ 13: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:157:intrigger_action_by_name' 12: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:229:inexecute_action’ 11: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:229:inchdir' 10: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:255:inblock in execute_action’ 9: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:inexecute_action' 8: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:263:inblock (2 levels) in execute_action’ 7: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/actions/upload_to_testflight.rb:29:inrun' 6: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/pilot/lib/pilot/build_manager.rb:177:indistribute’ 5: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/pilot/lib/pilot/build_manager.rb:401:indistribute_build' 4: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/spaceship/lib/spaceship/connect_api/models/build.rb:176:inpost_beta_app_review_submission’ 3: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/forwardable.rb:230:inpost_beta_app_review_submissions' 2: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/spaceship/lib/spaceship/connect_api/testflight/testflight.rb:115:inpost_beta_app_review_submissions’ 1: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/spaceship/lib/spaceship/connect_api/api_client.rb:124:inpost' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/spaceship/lib/spaceship/connect_api/api_client.rb:191:inhandle_response’: Server error got 500 (Spaceship::InternalServerError) 33: from /usr/local/bin/fastlane:23:in<main>' 32: from /usr/local/bin/fastlane:23:inload’ 31: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/bin/fastlane:23:in<top (required)>' 30: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/cli_tools_distributor.rb:122:intake_off’ 29: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/commands_generator.rb:41:instart' 28: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/commands_generator.rb:352:inrun’ 27: from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:inrun!' 26: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:inrun!’ 25: from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:inrun_active_command' 24: from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:inrun’ 23: from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:incall' 22: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/commands_generator.rb:108:inblock (2 levels) in run’ 21: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/command_line_handler.rb:36:inhandle' 20: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/lane_manager.rb:47:incruise_lane’ 19: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:45:inexecute' 18: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:45:inchdir’ 17: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:49:inblock in execute' 16: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/lane.rb:33:incall’ 15: from …/…/…/…/ios-support/iOS.Fastfile:200:inblock (2 levels) in parsing_binding' 14: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/fast_file.rb:159:inmethod_missing’ 13: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:157:intrigger_action_by_name' 12: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:229:inexecute_action’ 11: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:229:inchdir' 10: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:255:inblock in execute_action’ 9: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:inexecute_action' 8: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/runner.rb:263:inblock (2 levels) in execute_action’ 7: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/fastlane/lib/fastlane/actions/upload_to_testflight.rb:29:inrun' 6: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/pilot/lib/pilot/build_manager.rb:177:indistribute’ 5: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/pilot/lib/pilot/build_manager.rb:401:indistribute_build' 4: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/spaceship/lib/spaceship/connect_api/models/build.rb:176:inpost_beta_app_review_submission’ 3: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/forwardable.rb:230:inpost_beta_app_review_submissions' 2: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/spaceship/lib/spaceship/connect_api/testflight/testflight.rb:115:inpost_beta_app_review_submissions’ 1: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/spaceship/lib/spaceship/connect_api/api_client.rb:124:inpost' /Library/Ruby/Gems/2.6.0/gems/fastlane-2.181.0/spaceship/lib/spaceship/connect_api/api_client.rb:191:inhandle_response’: [!] The request could not be completed because: (Spaceship::InternalServerError) Server error got 500These errors may be distinct from my original error, but I wanted to include them for context. Also, these errors may be related to other
Server error got 500issues (https://github.com/fastlane/fastlane/issues/17886, https://github.com/fastlane/fastlane/issues/17736) , but in my case are breaking during the TestFlight actions, rather than in other FastLane actions documented in existing issues. Please let me know if I should file a different issue related to these errors.