Fastlane successfully uploads the app to TestFlight but returns the error

fastlane
ios
#1

Hi,

We have been noticing this behavior since 2-3 releases. On slack we get the message that the build had been failed, but when checked. It shows that the build is successfully uploaded already but there is some timeout issues either from fastlane or from apple.

Here are the logs –

[00:57:32]: Successfully exported and compressed dSYM file
[00:57:32]: Successfully exported and signed the ipa file:
[00:57:32]: /Users/vagrant/git/ios/KinektClientApp.ipa
[00:57:32]: -------------------
[00:57:32]: — Step: pilot —
[00:57:32]: -------------------
[00:57:32]: Login to App Store Connect ([REDACTED])
[00:57:35]: Login successful
[00:57:35]: Ready to upload new build to TestFlight (App: 1363008999)…
[00:57:35]: Going to upload updated app to App Store Connect
[00:57:35]: This might take a few minutes. Please don’t interrupt the script.
[00:59:16]: iTunes Transporter successfully finished its job
[00:59:17]: --------------------------------------------------------------------
[00:59:17]: Successfully uploaded package to App Store Connect. It might take a few minutes until it’s visible online.
[00:59:17]: --------------------------------------------------------------------
[00:59:17]: Successfully uploaded the new binary to App Store Connect
[00:59:17]: If you want to skip waiting for the processing to be finished, use the skip_waiting_for_build_processing option
±-------------------±---------------------------------------------------------------------------------------------------------+
| Lane Context |
±-------------------±---------------------------------------------------------------------------------------------------------+
| DEFAULT_PLATFORM | ios |
| PLATFORM_NAME | ios |
| LANE_NAME | ios alpha |
| IPA_OUTPUT_PATH | /Users/vagrant/git/ios/KinektClientApp.ipa |
| DSYM_OUTPUT_PATH | /Users/vagrant/git/ios/KinektClientApp.app.dSYM.zip |
| XCODEBUILD_ARCHIVE | /Users/vagrant/Library/Developer/Xcode/Archives/2019-04-09/KinektClientApp 2019-04-09 00.39.03.xcarchive |
±-------------------±---------------------------------------------------------------------------------------------------------+
[00:59:17]:

Error 410 Gone

HTTP ERROR 410

Problem accessing /v2/providers/119025961/apps/1363008999/platforms/ios/trains. Reason:

    Gone
+------+----------------------------+-------------+ | fastlane summary | +------+----------------------------+-------------+ | Step | Action | Time (in s) | +------+----------------------------+-------------+ | 1 | Verifying fastlane version | 0 | | 2 | default_platform | 0 | | 3 | cocoapods | 8 | | 4 | gym | 1117 | | 💥 | pilot | 105 | +------+----------------------------+-------------+ [00:59:17]: fastlane finished with errors Looking for related GitHub issues on fastlane/fastlane... ####################################################################### # fastlane 2.119.0 is available. You are on 2.105.2. # You should use the latest version. # Please update using `bundle update fastlane`. ####################################################################### bundler: failed to load command: fastlane (/usr/local/bin/fastlane) Spaceship::UnexpectedResponse: [!] Error 410 Gone

HTTP ERROR 410

Problem accessing /v2/providers/119025961/apps/1363008999/platforms/ios/trains. Reason:

    Gone
/usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/spaceship/lib/spaceship/test_flight/client.rb:330:in `handle_response' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/spaceship/lib/spaceship/test_flight/client.rb:31:in `get_build_trains' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/spaceship/lib/spaceship/test_flight/build_trains.rb:16:in `all' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/spaceship/lib/spaceship/test_flight/build.rb:108:in `all' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/spaceship/lib/spaceship/test_flight/build.rb:119:in `all_processing_builds' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane_core/lib/fastlane_core/build_watcher.rb:38:in `watching_build' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane_core/lib/fastlane_core/build_watcher.rb:12:in `wait_for_build_processing_to_be_complete' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/pilot/lib/pilot/build_manager.rb:55:in `upload' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane/lib/fastlane/actions/upload_to_testflight.rb:16:in `run' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane/lib/fastlane/runner.rb:253:in `block (2 levels) in execute_action' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane/lib/fastlane/runner.rb:232:in `block in execute_action' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane/lib/fastlane/runner.rb:227:in `chdir' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane/lib/fastlane/runner.rb:227:in `execute_action' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane/lib/fastlane/fast_file.rb:149:in `method_missing' Fastfile:76:in `block (2 levels) in parsing_binding' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane/lib/fastlane/lane.rb:33:in `call' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane/lib/fastlane/runner.rb:49:in `block in execute' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane/lib/fastlane/runner.rb:45:in `chdir' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane/lib/fastlane/runner.rb:45:in `execute' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane/lib/fastlane/lane_manager.rb:56:in `cruise_lane' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run' /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call' /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run' /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!' /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane/lib/fastlane/commands_generator.rb:333:in `run' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane/lib/fastlane/commands_generator.rb:41:in `start' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/fastlane/lib/fastlane/cli_tools_distributor.rb:108:in `take_off' /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.105.2/bin/fastlane:20:in `' /usr/local/bin/fastlane:23:in `load' /usr/local/bin/fastlane:23:in `' Fastlane command: (bundle "exec" "fastlane" "ios" "alpha") failed If you want to send an issue report to fastlane (https://github.com/fastlane/fastlane/issues/new), you can find the output of fastlane env int he following log file: /Users/vagrant/deploy/fastlane_env.log Command failed, error: exit status 1 | | +---+---------------------------------------------------------------+----------+ | x | fastlane@2.3.12 (exit code: 1) | 20.9 min | +---+---------------------------------------------------------------+----------+ | Update available: 2.3.12 -> 2.4.0 | | Issue tracker: https://github.com/bitrise-io/steps-fastlane/issues | | Source: https://github.com/bitrise-io/steps-fastlane | +---+---------------------------------------------------------------+----------+
0 Likes

#2

Hi @Shashikant! Sorry to hear about the issue, can you please provide us build URLs for both instances respectively?

0 Likes

closed #3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

0 Likes