Giter VIP home page Giter VIP logo

Comments (14)

ohayon avatar ohayon commented on September 28, 2024

thanks for raising the issue @lyptt ! would you mind sharing the config you use to call pilot?

from pilot.

lyptt avatar lyptt commented on September 28, 2024

If you mean my lane steps, here's that:

    sigh
    increment_build_number({
      xcodeproj: './project.xcodeproj',
      build_number: latest_testflight_build_number + 1
    })
    gym(scheme: 'beta')
    pilot(changelog: File.exist?('metadata/beta-changelog.txt') ? File.read('metadata/beta-changelog.txt') : '', distribute_external: false, wait_processing_interval: 120)

    commit_version_bump(
      message: 'Increment build number for beta build',
      xcodeproj: './project.xcodeproj'
    )
    add_git_tag(
      tag: "release-beta/v#{get_version_number(xcodeproj: "project.xcodeproj")}.#{get_build_number(xcodeproj: "project.xcodeproj")}#{(ENV['GO_PIPELINE_COUNTER'] ? '_' + ENV['GO_PIPELINE_COUNTER'] : '')}"
    )
    push_to_git_remote(
      remote: 'origin',
      local_branch: 'release-beta',
      remote_branch: 'release-beta',
      force: false
    )
    push_git_tags

Note that it's the pilot step that didn't finish. It didn't get to the git stuff at the end.

from pilot.

KrauseFx avatar KrauseFx commented on September 28, 2024

As far as I know this should be fixed with this pull request (work in progress): fastlane-old/spaceship#235

from pilot.

lyptt avatar lyptt commented on September 28, 2024

That's good to hear! This is happening consistently on each invocation of this lane, so getting this fixed up soon would be great. While this doesn't prevent me deploying my app, it does cause my deployments to be much more fiddly.

from pilot.

hjanuschka avatar hjanuschka commented on September 28, 2024

+1 same here - deploys find but error's at the end, wich messes up the CI - any chances this will get fixed soon? @KrauseFx

from pilot.

RobDay avatar RobDay commented on September 28, 2024

I'm seeing the same error. Similar pilot config:

pilot(distribute_external:false)

Pilot logs that it has successfully uploaded the ipa, says it's distributing the ipa to testers, and then errors out with the stack above. I can provide any additional information you require.

Also, thanks for the great tool. We have used a wide array of custom scripts written and it looks like fastlane can replace them all!

from pilot.

avishayil avatar avishayil commented on September 28, 2024

Same here:

[12:55:37]: fastlane finished with errors
-------------------------------------------------------------------------------------------
😨  An error occured. Please enable crash reports using `fastlane enable_crash_reporting`.
👍  This makes resolving issues much easier and helps improve fastlane.
🔒  The reports will be stored securely on getsentry.com.
🙊  More information about privacy: https://github.com/fastlane/fastlane/releases/tag/1.33.3
-------------------------------------------------------------------------------------------
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.19.4/lib/spaceship/tunes/tunes_client.rb:207:in `handle_itc_response': [!] operation_failed (Spaceship::TunesClient::ITunesConnectError)
    from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.19.4/lib/spaceship/tunes/tunes_client.rb:526:in `update_build_trains!'
    from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.19.4/lib/spaceship/tunes/build_train.rb:105:in `update_testing_status!'
    from /Library/Ruby/Gems/2.0.0/gems/pilot-1.3.0/lib/pilot/build_manager.rb:110:in `distribute_build'
    from /Library/Ruby/Gems/2.0.0/gems/pilot-1.3.0/lib/pilot/build_manager.rb:22:in `upload'
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.59.0/lib/fastlane/actions/pilot.rb:18:in `run'
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.59.0/lib/fastlane/runner.rb:143:in `block (2 levels) in execute_action'
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.59.0/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.59.0/lib/fastlane/runner.rb:129:in `block in execute_action'
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.59.0/lib/fastlane/runner.rb:128:in `chdir'
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.59.0/lib/fastlane/runner.rb:128:in `execute_action'
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.59.0/lib/fastlane/fast_file.rb:149:in `method_missing'
    from Fastfile:46:in `block (2 levels) in parsing_binding'
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.59.0/lib/fastlane/lane.rb:36:in `call'
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.59.0/lib/fastlane/lane.rb:36:in `call'
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.59.0/lib/fastlane/runner.rb:52:in `block in execute'
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.59.0/lib/fastlane/runner.rb:46:in `chdir'
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.59.0/lib/fastlane/runner.rb:46:in `execute'
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.59.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.59.0/lib/fastlane/command_line_handler.rb:30:in `handle'
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.59.0/bin/fastlane:38:in `block (2 levels) in run'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
    from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.36.4/lib/fastlane_core/ui/fastlane_runner.rb:23:in `run!'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.59.0/bin/fastlane:150:in `run'
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.59.0/bin/fastlane:156:in `<top (required)>'
    from /usr/local/bin/fastlane:23:in `load'
    from /usr/local/bin/fastlane:23:in `<main>'````

from pilot.

lacostej avatar lacostej commented on September 28, 2024

WRT to fastlane-old/spaceship#235 fixing this, 2 ways:

  • either it's related to the too short timeout in 0.19.4 (Apple server takes time to answer, we repeat the request, and the second one fails because not idempotent)
  • either it's server side related and it won't recover because we don't treat operation_failed as something to retry

from pilot.

hjanuschka avatar hjanuschka commented on September 28, 2024

this seems to be fixed, atleast for me upgrading spaceship and pilot 👍

@lacostej

from pilot.

lacostej avatar lacostej commented on September 28, 2024

@hjanuschka if the error was due to transcient connection issues, then as fastlane-old/spaceship#235 isn't yet merged, it might reappear.

from pilot.

hjanuschka avatar hjanuschka commented on September 28, 2024

ok - right now i did 3 submits with success where as the last view days 100% failed

Von meinem iPhone gesendet

Am 19.02.2016 um 11:49 schrieb Jerome Lacoste [email protected]:

@hjanuschka if the error was due to transcient connection issues, then as fastlane-old/spaceship#235 isn't yet merged, it might reappear.


Reply to this email directly or view it on GitHub.

from pilot.

ohayon avatar ohayon commented on September 28, 2024

hi everyone! thanks for keeping this up-to-date! looks like that PR was merged two days ago! going to close this for now, but please reopen if you have any more issues!

from pilot.

Rnorback avatar Rnorback commented on September 28, 2024

Still having this issue:

usr/local/lib/ruby/gems/2.3.0/gems/spaceship-0.22.0/lib/spaceship/tunes/tunes_client.rb:219:in `handle_itc_response': [!] operation_failed (Spaceship::TunesClient::ITunesConnectError)
    from /usr/local/lib/ruby/gems/2.3.0/gems/spaceship-0.22.0/lib/spaceship/tunes/tunes_client.rb:538:in `update_build_trains!'
    from /usr/local/lib/ruby/gems/2.3.0/gems/spaceship-0.22.0/lib/spaceship/tunes/build_train.rb:118:in `update_testing_status!'
    from /usr/local/lib/ruby/gems/2.3.0/gems/pilot-1.4.1/lib/pilot/build_manager.rb:124:in `distribute_build'
    from /usr/local/lib/ruby/gems/2.3.0/gems/pilot-1.4.1/lib/pilot/build_manager.rb:26:in `upload'
    from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.66.0/lib/fastlane/actions/pilot.rb:18:in `run'
    from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.66.0/lib/fastlane/actions/testflight.rb:5:in `run'
    from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.66.0/lib/fastlane/runner.rb:143:in `block (2 levels) in execute_action'
    from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.66.0/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
    from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.66.0/lib/fastlane/runner.rb:129:in `block in execute_action'
    from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.66.0/lib/fastlane/runner.rb:128:in `chdir'
    from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.66.0/lib/fastlane/runner.rb:128:in `execute_action'
    from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.66.0/lib/fastlane/fast_file.rb:149:in `method_missing'
    from Fastfile:80:in `block (2 levels) in parsing_binding'
    from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.66.0/lib/fastlane/lane.rb:36:in `call'
    from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.66.0/lib/fastlane/runner.rb:52:in `block in execute'
    from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.66.0/lib/fastlane/runner.rb:46:in `chdir'
    from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.66.0/lib/fastlane/runner.rb:46:in `execute'
    from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.66.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
    from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.66.0/lib/fastlane/command_line_handler.rb:30:in `handle'
    from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.66.0/bin/fastlane:38:in `block (2 levels) in run'
    from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
    from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
    from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
    from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane_core-0.37.0/lib/fastlane_core/ui/fastlane_runner.rb:23:in `run!'
    from /usr/local/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
    from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.66.0/bin/fastlane:156:in `run'
    from /usr/local/lib/ruby/gems/2.3.0/gems/fastlane-1.66.0/bin/fastlane:162:in `<top (required)>'
    from /usr/local/bin/fastlane:23:in `load'
    from /usr/local/bin/fastlane:23:in `<main>'

I have fastlane updated the the latest build and the same with pilot.

Here is the code causing it:

desc "Responsible for building and signing the app"
  private_lane :build_app do 
    unless ENV["NO_GIT_CHECKS"]
      ensure_git_status_clean
      ensure_git_branch branch: "develop"
    end

    # Download the provisioning profile for the app
    sigh output_path: "./fastlane/profiles" # Distribution Profile

    # Version bump
    increment_build_number(
      build_number: latest_testflight_build_number + 1
    ) 

    gym(
      scheme: "adhawk-new",
      output_directory: "./fastlane/ipa"
    )
  end

  desc "Push the version bump to github and tag it"
  private_lane :commit do
    commit_version_bump(
      message: 'Build Version Bump by fastlane',
      force: true
    )

    add_git_tag(tag: "#{build_number}-#{lane_tag}")

    push_to_git_remote
  end

  desc "Submit a new Internal Build to Apple Testflight"
  lane :internal do
    build_app

    testflight(
      skip_submission: false,
      distribute_external: false,
      ipa: "./fastlane/ipa/adhawk-new.ipa"
    )

    commit
  end

from pilot.

fastlanebot avatar fastlanebot commented on September 28, 2024

This issue was migrated to fastlane/fastlane#3249. Please post all further comments there.

fastlane is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo 🚀

from pilot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.