Giter VIP home page Giter VIP logo

Comments (13)

KrauseFx avatar KrauseFx commented on September 25, 2024

spaceship will automatically re-send the request if there is a timeout up to 5 times. I'll take a closer look at this issue 👍

from pilot.

apprme avatar apprme commented on September 25, 2024

this is another stacktrace we sometimes see

[14:56:51]: Waiting for iTunes Connect to process the new build
[14:57:21]: Waiting for iTunes Connect to process the new build
[14:57:49]: Waiting for iTunes Connect to process the new build
[14:58:18]: Waiting for iTunes Connect to process the new build
[14:58:46]: Waiting for iTunes Connect to process the new build
[14:59:15]: Waiting for iTunes Connect to process the new build
[14:59:43]: Waiting for iTunes Connect to process the new build
[15:00:12]: Waiting for iTunes Connect to process the new build
[15:00:41]: Waiting for iTunes Connect to process the new build
[15:01:10]: Waiting for iTunes Connect to process the new build
[15:01:38]: Waiting for iTunes Connect to process the new build
[15:02:11]: Waiting for iTunes Connect to process the new build
[15:02:47]: Waiting for iTunes Connect to process the new build
[15:03:16]: Waiting for iTunes Connect to process the new build
[15:03:45]: Waiting for iTunes Connect to process the new build
[15:04:14]: Waiting for iTunes Connect to process the new build
[15:04:41]: Waiting for iTunes Connect to process the new build
[15:05:08]: Waiting for iTunes Connect to process the new build
[15:05:36]: Waiting for iTunes Connect to process the new build
[15:06:04]: Waiting for iTunes Connect to process the new build
[15:06:32]: Waiting for iTunes Connect to process the new build
[15:07:01]: Waiting for iTunes Connect to process the new build
[15:07:27]: Waiting for iTunes Connect to process the new build
[15:07:55]: Waiting for iTunes Connect to process the new build
[15:08:22]: Waiting for iTunes Connect to process the new build
[15:08:49]: Waiting for iTunes Connect to process the new build
[15:09:17]: Waiting for iTunes Connect to process the new build
[15:09:44]: Waiting for iTunes Connect to process the new build
[15:10:11]: Waiting for iTunes Connect to process the new build
[15:10:42]: Waiting for iTunes Connect to process the new build
[15:11:10]: Waiting for iTunes Connect to process the new build
[15:11:37]: Waiting for iTunes Connect to process the new build
[15:12:06]: Waiting for iTunes Connect to process the new build
[15:12:34]: Waiting for iTunes Connect to process the new build
[15:13:00]: Waiting for iTunes Connect to process the new build
/usr/local/lib/ruby/gems/2.2.0/gems/spaceship-0.11.1/lib/spaceship/client.rb:244:in `parse_response': {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["Unauthorized access"], "info"=>nil}, "statusCode"=>"ERROR"} (Spaceship::Client::UnexpectedResponse)
        from /usr/local/lib/ruby/gems/2.2.0/gems/spaceship-0.11.1/lib/spaceship/tunes/tunes_client.rb:440:in `build_trains'
        from /usr/local/lib/ruby/gems/2.2.0/gems/spaceship-0.11.1/lib/spaceship/tunes/application.rb:202:in `pre_processing_builds'
        from /usr/local/lib/ruby/gems/2.2.0/gems/spaceship-0.11.1/lib/spaceship/tunes/application.rb:217:in `all_processing_builds'
        from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.2.2/lib/pilot/build_manager.rb:68:in `block in wait_for_processing_build'
        from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.2.2/lib/pilot/build_manager.rb:65:in `loop'
        from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.2.2/lib/pilot/build_manager.rb:65:in `wait_for_processing_build'
        from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.2.2/lib/pilot/build_manager.rb:19:in `upload'
        from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.2.2/lib/pilot/commands_generator.rb:48:in `block (2 levels) in run'
        from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
        from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
        from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
        from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
        from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
        from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
        from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.2.2/lib/pilot/commands_generator.rb:120:in `run'
        from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.2.2/lib/pilot/commands_generator.rb:17:in `start'
        from /usr/local/lib/ruby/gems/2.2.0/gems/pilot-0.2.2/bin/pilot:6:in `<top (required)>'
        from /usr/local/bin/pilot:23:in `load'
        from /usr/local/bin/pilot:23:in `<main>'
bash-3.2$

from pilot.

KrauseFx avatar KrauseFx commented on September 25, 2024

It seems like Apple is currently having timeout issues with iTunes Connect - this isn't an error of pilot

from pilot.

apprme avatar apprme commented on September 25, 2024

Looks like pilot waits in infinite loop while there is at least one processing build (build_manager.rb#L72). For example, our application has a lot of processing builds, attached screenshot was made couple of minutes ago, and you can see that there are some builds in processing state since September.

Can it be the cause?

screen shot 2015-10-21 at 19 27 40

from pilot.

scatterbrain avatar scatterbrain commented on September 25, 2024

Facing the same issue. The upload actually works and I get an email from iTunes Connect about new version being available but pilot hangs with "Waiting for iTunes Connect to process the new build". I also have couple of old builds in Processing state in iTunes Connect.

from pilot.

adcooley avatar adcooley commented on September 25, 2024

Yeah having the same issue as @vetrovosk. It does eventually send the email to testers, but doesn't seem to be sending push notifications

from pilot.

adcooley avatar adcooley commented on September 25, 2024

Just to confirm, I'm assuming this is why the build never gets it's 'What's New' section set from the changelog option?

from pilot.

salvabalza avatar salvabalza commented on September 25, 2024

I've this issue as well. Since there are some builds in processing state since months, as @vetrovosk already pointed out, and we have some of them in all our apps, this is now blocking us to further check this (wonderful btw, many thanks!) tool.

from pilot.

VitalyTimofeev avatar VitalyTimofeev commented on September 25, 2024

+1. I believe this happens due checking on this line https://github.com/fastlane/pilot/blob/2c7b36068b66680283163188a7e101086bbffeac/lib/pilot/build_manager.rb#L73. It checks for count of all processing builds, not just for processing state of latest build.

from pilot.

jalmaas avatar jalmaas commented on September 25, 2024

I have the same problem. I had a couple of builds from earlier when iTC was a bit unstable that were stuck in "processing", but I can't see them anymore

from pilot.

Sajjon avatar Sajjon commented on September 25, 2024

I have the same problem with the 'pilot' action, it works great, but the command/Fastlane does not understand that the build in iTunes connect changed status from "processing" to ready.

'Pilot' never terminates. So I have to interupt the fastlane lane, which results in my actions/scripts after the 'pilot' action never being executed.

What is the status here?

I really love the pilot action (and fastlane in general) btw! 👍

from pilot.

matb33 avatar matb33 commented on September 25, 2024

I get the same stacktrace as @vetrovosk, and it seems to happens more than half the time:

[12:45:44]: ------------------------------------------------------------------------------------------------------
[12:45:44]: Successfully uploaded package to iTunesConnect. It might take a few minutes until it's visible online.
[12:45:44]: ------------------------------------------------------------------------------------------------------
[12:45:44]: Successfully uploaded the new binary to iTunes Connect
[12:45:44]: Waiting for iTunes Connect to process the new build
[12:46:19]: Waiting for iTunes Connect to process the new build
[12:46:55]: Waiting for iTunes Connect to process the new build
[12:47:29]: Waiting for iTunes Connect to process the new build
[12:48:04]: Waiting for iTunes Connect to process the new build
[12:48:45]: Waiting for iTunes Connect to process the new build
[12:49:19]: Waiting for iTunes Connect to process the new build
[12:49:54]: Waiting for iTunes Connect to process the new build
[12:50:29]: Waiting for iTunes Connect to process the new build
[12:51:05]: Waiting for iTunes Connect to process the new build
[12:51:39]: Waiting for iTunes Connect to process the new build
[12:52:13]: Waiting for iTunes Connect to process the new build
[12:52:47]: Waiting for iTunes Connect to process the new build
[12:53:22]: Waiting for iTunes Connect to process the new build
[12:53:57]: Waiting for iTunes Connect to process the new build
[12:54:31]: Waiting for iTunes Connect to process the new build
[12:55:06]: Waiting for iTunes Connect to process the new build
[12:56:15]: Waiting for iTunes Connect to process the new build
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.19.1/lib/spaceship/client.rb:268:in `parse_response': {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["Unauthorized access"], "info"=>nil}, "statusCode"=>"ERROR"} (Spaceship::Client::UnexpectedResponse)
    from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.19.1/lib/spaceship/tunes/tunes_client.rb:514:in `build_trains'
    from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.19.1/lib/spaceship/tunes/application.rb:202:in `pre_processing_builds'
    from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.19.1/lib/spaceship/tunes/application.rb:231:in `all_processing_builds'
    from /Library/Ruby/Gems/2.0.0/gems/pilot-1.3.0/lib/pilot/build_manager.rb:73:in `block in wait_for_processing_build'
    from /Library/Ruby/Gems/2.0.0/gems/pilot-1.3.0/lib/pilot/build_manager.rb:70:in `loop'
    from /Library/Ruby/Gems/2.0.0/gems/pilot-1.3.0/lib/pilot/build_manager.rb:70:in `wait_for_processing_build'
    from /Library/Ruby/Gems/2.0.0/gems/pilot-1.3.0/lib/pilot/build_manager.rb:21:in `upload'
    from /Library/Ruby/Gems/2.0.0/gems/pilot-1.3.0/lib/pilot/commands_generator.rb:48: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/commander-4.3.5/lib/commander/runner.rb:68: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/pilot-1.3.0/lib/pilot/commands_generator.rb:120:in `run'
    from /Library/Ruby/Gems/2.0.0/gems/pilot-1.3.0/lib/pilot/commands_generator.rb:17:in `start'
    from /Library/Ruby/Gems/2.0.0/gems/pilot-1.3.0/bin/pilot:6:in `<top (required)>'
    from /usr/local/bin/pilot:23:in `load'
    from /usr/local/bin/pilot:23:in `<main>'

Perhaps there could be a configuration parameter to allow us to customize how many retries we are willing to tolerate as part of our own build processes?

from pilot.

fastlane-bot-helper avatar fastlane-bot-helper commented on September 25, 2024

This issue was migrated to fastlane/fastlane#1915. 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.