Comments (14)
thanks for raising the issue @lyptt ! would you mind sharing the config you use to call pilot?
from pilot.
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.
As far as I know this should be fixed with this pull request (work in progress): fastlane-old/spaceship#235
from pilot.
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.
+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.
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.
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.
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.
this seems to be fixed, atleast for me upgrading spaceship
and pilot
from pilot.
@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.
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.
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.
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.
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)
- Invalid Provisioning Profile HOT 2
- Fastfile: gym and pilot HOT 2
- Improve error message when auth token expires while waiting for "iTunes Connect to process the new build" HOT 4
- webDAV failure HOT 14
- It would be nice to have "Latest Version" & "Latest Install Date" in pilot list HOT 1
- It would be nice to be able to list testers based on which version they have installed HOT 2
- Unable to find content provider for username HOT 4
- TEAM_ID selection on environment variable not working HOT 3
- Submitting multiple ipa's with one command HOT 4
- ITMS-3000 value of attribute "app_platform" is invalid HOT 7
- Pilot does not show installed versions at all for specific app HOT 3
- Pilot bails out when it takes some time for an uploaded build to appear in iTunes Connect HOT 3
- Would love it if it can retry when ` Transporter transfer failed.` happens. HOT 2
- Pilot's changelog doesn't work as expected from Fastlane HOT 6
- Cryptic error message when the user does not have Admin access HOT 3
- Distributing build to testers failed with error: You must provide an answer for this question HOT 5
- Pilot fails even though it finishes uploading the Build HOT 8
- This train could not be activated because there is no testable build in the train. HOT 3
- Pilot tool is crashing with undefined method 'strip' for nil:NilClass (NoMethodError) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pilot.