Pilot error when uploading

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
Pilot upload is failing without descriptive error.
Complete output when running fastlane, including the stack trace and command used
Using /Users/iosbuilder/.rvm/gems/ruby-2.3.1
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.9.1
Using thread_safe 0.3.5
Using addressable 2.4.0
Using babosa 1.0.2
Using colored 1.2
Using highline 1.7.8
Using security 0.1.3
Using excon 0.53.0
Using gh_inspector 1.0.2
Using multi_json 1.12.1
Using plist 3.1.0
Using rubyzip 1.1.7
Using terminal-table 1.4.5
Using multipart-post 2.0.0
Using unf_ext <IP_ADDRESS>
Using multi_xml 0.5.5
Using claide 1.0.0
Using fuzzy_match 2.0.4
Using nap 1.1.0
Using cocoapods-deintegrate 1.0.1
Using cocoapods-downloader 1.1.1
Using cocoapods-search 1.0.0
Using cocoapods-stats 1.0.0
Using netrc 0.7.8
Using cocoapods-try 1.1.0
Using escape 0.0.4
Using fourflusher 0.3.2
Using molinillo 0.4.5
Using dotenv 2.1.1
Using bundler 1.13.2
Using mini_magick 4.5.1
Using rouge 1.11.1
Using net-ssh 3.2.0
Using slack-notifier 1.5.1
Using jwt 1.5.6
Using little-plugger 1.1.4
Using memoist 0.15.0
Using os 0.9.6
Using httpclient <IP_ADDRESS>
Using hurley 0.2
Using mime-types-data 3.2016.0521
Using uber 0.0.15
Using retriable 2.1.0
Using terminal-notifier 1.6.3
Using word_wrap 1.0.0
Using ocunit2junit 1.5.1 from http://github.com/Sarkazein/OCUnit2JUnit.git (at master@3e26c4d)
Using tzinfo 1.2.2
Using fastimage 1.6.8
Using commander 4.4.0
Using faraday 0.9.2
Using unf 0.1.4
Using cocoapods-plugins 1.0.0
Using cocoapods-trunk 1.0.0
Using xcpretty 0.2.3
Using net-sftp 2.1.2
Using logging 2.1.0
Using mime-types 3.1
Using representable 2.3.0
Using activesupport <IP_ADDRESS>
Using credentials_manager 0.16.1
Using faraday_middleware 0.10.0
Using signet 0.7.3
Using domain_name 0.5.20160826
Using xcpretty-travis-formatter 0.0.4
Using cocoapods-core 1.0.1
Using xcodeproj 1.3.1
Using fastlane_core 0.52.1
Using krausefx-shenzhen 0.14.10
Using googleauth 0.5.1
Using http-cookie 1.0.3
Using cocoapods 1.0.1
Using gym 1.11.0
Using scan 0.13.1
Using screengrab 0.5.4
Using snapshot 1.16.2
Using google-api-client 0.9.15
Using faraday-cookie_jar 0.0.6
Using supply 0.7.1
Using spaceship 0.34.3
Using cert 1.4.3
Using deliver 1.14.1
Using sigh 1.11.2
Using pem 1.3.2
Using pilot 1.10.1
Using produce 1.2.1
Using xcode-install 2.0.7
Using frameit 2.8.0
Using match 0.8.1
Using fastlane 1.105.0
Bundle complete! 3 Gemfile dependencies, 91 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
[13:14:33]: ---------------------------
[13:14:33]: --- Step: opt_out_usage ---
[13:14:33]: ---------------------------
[13:14:33]: Disabled upload of used actions
[13:14:33]: -------------------------------------------------
[13:14:33]: --- Step: Verifying required fastlane version ---
[13:14:33]: -------------------------------------------------
[13:14:33]: Your fastlane version 1.105.0 matches the minimum requirement of 1.104.0  ✅
[13:14:33]: ------------------------------
[13:14:33]: --- Step: default_platform ---
[13:14:33]: ------------------------------
[13:14:33]: Driving the lane 'ios beta' 🚀
[13:14:33]: -----------------------
[13:14:33]: --- Step: cocoapods ---
[13:14:33]: -----------------------
[13:14:33]: $ bundle exec pod install
[13:14:36]: ▸ Analyzing dependencies
[13:14:36]: ▸ Downloading dependencies
[13:14:36]: ▸ Using AFNetworking (2.5.4)
[13:14:36]: ▸ Using BKMoneyKit (0.0.7)
[13:14:36]: ▸ Using CocoaLumberjack (1.8.1)
[13:14:36]: ▸ Using CupertinoYankee (1.0.2)
[13:14:36]: ▸ Using Flannel (1.0.1)
[13:14:36]: ▸ Using GoogleAnalytics (3.14.0)
[13:14:36]: ▸ Using KIF (3.4.2)
[13:14:36]: ▸ Using KeychainItemWrapper (1.2)
[13:14:36]: ▸ Using MBProgressHUD (0.9.2)
[13:14:36]: ▸ Using Mantle (1.5.7)
[13:14:36]: ▸ Using NewRelicAgent (5.5.1)
[13:14:36]: ▸ Using OCHamcrest (4.3.0)
[13:14:36]: ▸ Using OCMock (3.0.2)
[13:14:36]: ▸ Using OCMockito (1.3.1)
[13:14:36]: ▸ Using Overcoat (2.0.2)
[13:14:36]: ▸ Using SDWebImage (3.7.1)
[13:14:36]: ▸ Using SWTableViewCell (0.3.7)
[13:14:36]: ▸ Using ThunderCats (2.0.1)
[13:14:36]: ▸ Generating Pods project
[13:14:39]: ▸ Integrating client project
[13:14:39]: ▸ Pod installation complete! There are 16 dependencies from the Podfile and 18 total pods installed.
[13:14:39]: -------------------------------
[13:14:39]: --- Step: number_of_commits ---
[13:14:39]: -------------------------------
[13:14:39]: $ git rev-parse HEAD
[13:14:39]: ▸ 181e08fa5ff21b0fa0b5c15691d72f7b8e2fe241
[13:14:39]: $ git rev-list HEAD --count
[13:14:39]: ▸ 965
[13:14:39]: ----------------------------------
[13:14:39]: --- Step: set_info_plist_value ---
[13:14:39]: ----------------------------------
[13:14:39]: ----------------------------------
[13:14:39]: --- Step: get_info_plist_value ---
[13:14:39]: ----------------------------------
[13:14:39]: -----------------------------
[13:14:39]: --- Step: last_git_commit ---
[13:14:39]: -----------------------------
[13:14:39]: -----------------------------------------
[13:14:39]: --- Step: update_project_provisioning ---
[13:14:39]: -----------------------------------------
[13:14:39]: You’re updating provisioning profiles directly in your project, but have you considered easier ways to do code signing?
[13:14:39]: https://docs.fastlane.tools/codesigning/GettingStarted/
[13:14:39]: Parsing mobile provisioning profile from '/Users/iosbuilder/Projects/TestFlight2.mobileprovision'
[13:14:39]: Going to update project './XXX.xcodeproj' with UUID
[13:14:39]: Updating target XXX...
[13:14:39]: Updating configuration Debug...
[13:14:39]: Skipping configuration Release as it doesn't match the filter 'Debug'
[13:14:39]: Updating target XXXTests...
[13:14:39]: Updating configuration Debug...
[13:14:39]: Skipping configuration Release as it doesn't match the filter 'Debug'
[13:14:39]: Updating target XXXTests...
[13:14:39]: Updating configuration Debug...
[13:14:39]: Skipping configuration Release as it doesn't match the filter 'Debug'
[13:14:40]: Successfully updated project settings in'./XXX.xcodeproj'
[13:14:40]: -----------------
[13:14:40]: --- Step: gym ---
[13:14:40]: -----------------
[13:14:40]: $ xcodebuild -list -workspace ./XXX.xcworkspace
[13:14:41]: $ xcodebuild clean -showBuildSettings -workspace ./XXX.xcworkspace -scheme XXX

+----------------------+-------------------------------------------------------+
|                            Summary for gym 1.11.0                            |
+----------------------+-------------------------------------------------------+
| output_directory     | /Users/iosbuilder/Projects/Builds/                    |
| output_name          | XXX_16.3.2_965                                  |
| scheme               | XXX                                             |
| codesigning_identity | iPhone Distribution: XXX, Inc. (TeamID) |
| configuration        | Debug                                                 |
| clean                | true                                                  |
| include_symbols      | true                                                  |
| include_bitcode      | true                                                  |
| workspace            | ./XXX.xcworkspace                               |
| destination          | generic/platform=iOS                                  |
| silent               | false                                                 |
| use_legacy_build_api | false                                                 |
| buildlog_path        | ~/Library/Logs/gym                                    |
+----------------------+-------------------------------------------------------+

[13:14:42]: $ set -o pipefail && xcodebuild -workspace ./XXX.xcworkspace -scheme XXX -configuration 'Debug' -destination 'generic/platform=iOS' -archivePath /Users/iosbuilder/Library/Developer/Xcode/Archives/2016-10-07/XXX_16.3.2_965\ 2016-10-07\ 13.14.42.xcarchive clean archive CODE_SIGN_IDENTITY=iPhone\ Distribution:\ XXX\,\ Inc.\ \(TeamID\) | tee /Users/iosbuilder/Library/Logs/gym/XXX-XXX.log | xcpretty  --no-color
[13:14:44]: ▸ Cleaning Pods/CocoaLumberjack [Debug]
[13:14:44]: ▸ Check Dependencies
[13:14:44]: ▸ Cleaning Pods/CupertinoYankee [Debug]
[13:14:44]: ▸ Check Dependencies
[13:14:44]: ▸ Cleaning Pods/BKMoneyKit-BKMoneyKit [Debug]
[13:14:44]: ▸ Check Dependencies
[13:14:44]: ▸ Cleaning Pods/AFNetworking [Debug]
[13:14:44]: ▸ Check Dependencies
[13:14:44]: ▸ Cleaning Pods/BKMoneyKit [Debug]
[13:14:44]: ▸ Check Dependencies
[13:14:44]: ▸ Cleaning Pods/Flannel [Debug]
[13:14:44]: ▸ Check Dependencies
[13:14:44]: ▸ Cleaning Pods/MBProgressHUD [Debug]
[13:14:44]: ▸ Check Dependencies
[13:14:44]: ▸ Cleaning Pods/KeychainItemWrapper [Debug]
[13:14:44]: ▸ Check Dependencies
[13:14:44]: ▸ Cleaning Pods/Mantle [Debug]
[13:14:44]: ▸ Check Dependencies
[13:14:44]: ▸ Cleaning Pods/SDWebImage [Debug]
[13:14:44]: ▸ Check Dependencies
[13:14:44]: ▸ Cleaning Pods/SWTableViewCell [Debug]
[13:14:44]: ▸ Check Dependencies
[13:14:44]: ▸ Cleaning Pods/ThunderCats [Debug]
[13:14:44]: ▸ Check Dependencies
[13:14:44]: ▸ Cleaning Pods/Overcoat [Debug]
[13:14:44]: ▸ Check Dependencies
[13:14:44]: ▸ Cleaning Pods/Pods-XXX [Debug]
[13:14:44]: ▸ Check Dependencies
[13:14:44]: ▸ Cleaning XXX/XXX [Debug]
[13:14:44]: ▸ Check Dependencies
[13:14:47]: ▸ Clean Succeeded
[13:14:48]: ▸ Building Pods/AFNetworking [Debug]
[13:14:48]: ▸ Check Dependencies

.
.
.
.... giant pile of compilation
.
.
.

[13:16:05]: ▸ Processing XXX-iOS-Info.plist
[13:16:05]: ▸ Generating 'XXX.app.dSYM'
[13:16:08]: ▸ Running script 'Run Script'
[13:16:09]: ▸ Running script 'Run Script'
[13:16:10]: ▸ Running script '[CP] Embed Pods Frameworks'
[13:16:10]: ▸ Running script '[CP] Copy Pods Resources'
[13:16:11]: ▸ Touching XXX.app
[13:16:17]: ▸ Signing /Users/iosbuilder/Library/Developer/Xcode/DerivedData/XXX-bzsulovqvxjpsibgvfjxqgwhszyg/Build/Intermediates/ArchiveIntermediates/XXX/InstallationBuildProductsLocation/Applications/XXX.app
[13:16:17]: ▸ Touching XXX.app.dSYM
[13:16:19]: ▸ Archive Succeeded
[13:16:19]: $ /usr/bin/xcrun /Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/gym-1.11.0/lib/assets/wrap_xcodebuild/xcbuild-safe.sh -exportArchive -exportOptionsPlist '/var/folders/01/630bclhs6sgfs_jhxbszqrn00000gn/T/gym_config20161007-52040-14n0z8q.plist' -archivePath /Users/iosbuilder/Library/Developer/Xcode/Archives/2016-10-07/XXX_16.3.2_965\ 2016-10-07\ 13.14.42.xcarchive -exportPath '/var/folders/01/630bclhs6sgfs_jhxbszqrn00000gn/T/gym_output20161007-52040-y4mwi1'
[13:16:54]: Compressing 1 dSYM(s)
[13:16:54]: $ cd '/Users/iosbuilder/Library/Developer/Xcode/Archives/2016-10-07/XXX_16.3.2_965 2016-10-07 13.14.42.xcarchive/dSYMs' && zip -r '/Users/iosbuilder/Projects/Builds/XXX_16.3.2_965.app.dSYM.zip' *.dSYM
[13:16:55]: ▸   adding: XXX.app.dSYM/ (stored 0%)
[13:16:55]: ▸   adding: XXX.app.dSYM/Contents/ (stored 0%)
[13:16:55]: ▸   adding: XXX.app.dSYM/Contents/Info.plist (deflated 51%)
[13:16:55]: ▸   adding: XXX.app.dSYM/Contents/Resources/ (stored 0%)
[13:16:55]: ▸   adding: XXX.app.dSYM/Contents/Resources/DWARF/ (stored 0%)
[13:16:55]: ▸   adding: XXX.app.dSYM/Contents/Resources/DWARF/XXX (deflated 72%)

[13:16:55]: Successfully exported and compressed dSYM file
[13:16:55]: Successfully exported and signed the ipa file:
[13:16:55]: /Users/iosbuilder/Projects/Builds/XXX_16.3.2_965.ipa
[13:16:55]: -------------------
[13:16:55]: --- Step: pilot ---
[13:16:55]: -------------------
[13:16:55]: Login to iTunes Connect<EMAIL_ADDRESS>[13:16:57]: Login successful
[13:16:58]: Ready to upload new build to TestFlight (App: AppID)...
[13:16:59]: Going to upload updated app to iTunes Connect
[13:16:59]: This might take a few minutes. Please don't interrupt the script.
[13:17:00]: The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
[13:17:00]: Variable Dump:
[13:17:00]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta", :GET_INFO_PLIST_VALUE_CUSTOM_VALUE=>"16.3.2", :IPA_OUTPUT_PATH=>"/Users/iosbuilder/Projects/Builds/XXX_16.3.2_965.ipa", :DSYM_OUTPUT_PATH=>"/Users/iosbuilder/Projects/Builds/XXX_16.3.2_965.app.dSYM.zip", :XCODEBUILD_ARCHIVE=>"/Users/iosbuilder/Library/Developer/Xcode/Archives/2016-10-07/XXX_16.3.2_965 2016-10-07 13.14.42.xcarchive"}
[13:17:00]: Error uploading ipa file, for more information see above

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | opt_out_usage                       | 0           |
| 2    | Verifying required fastlane version | 0           |
| 3    | default_platform                    | 0           |
| 4    | cocoapods                           | 6           |
| 5    | number_of_commits                   | 0           |
| 6    | set_info_plist_value                | 0           |
| 7    | get_info_plist_value                | 0           |
| 8    | last_git_commit                     | 0           |
| 9    | update_project_provisioning         | 1           |
| 10   | gym                                 | 134         |
| 💥    | pilot                               | 5           |
+------+-------------------------------------+-------------+

[13:17:00]: fastlane finished with errors

[!] Error uploading ipa file, for more information see above
/var/folders/01/630bclhs6sgfs_jhxbszqrn00000gn/T/8A07257C-4F43-41DD-8873-6DFB2BF63615-20110-0000A3CC6DD092A6: line 16: shell_session_update: command not found

Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer
# opt out of this behavior
opt_out_usage

# This is the minimum version number required.
fastlane_version "1.104.0"

default_platform :ios

platform :ios do

	before_all do
		ENV["SLACK_URL"] = "https://hooks.slack.com/services/"
		cocoapods
	end

	desc "Runs all the tests"
	lane :test do
		scan
	end

	def last_commit_message
		commit = last_git_commit
		message = commit[:message]
		author = commit[:author] # author of the commit
		hash = commit[:commit_hash] # long sha of commit
		short_hash = commit[:abbreviated_commit_hash] # short sha of commit

		return message
	end

	################ Lanes

	desc "Submit a new Beta Build to Apple TestFlight"
	desc "This will also make sure the profile is up to date"
	lane :beta do

		plist_file = "./XXX/XXX-iOS-Info.plist"
		provisioning_profile = "/Users/iosbuilder/Projects/TestFlight2.mobileprovision"

		build_number = number_of_commits

		set_info_plist_value(
			path: plist_file,
			key: 'CFBundleVersion',
			value: build_number
		)
		version_number = get_info_plist_value(
			path: plist_file,
			key: 'CFBundleShortVersionString',
		)
		change_log = last_commit_message

		signed_ipa = "XXX#{version_number}_#{build_number}.ipa"
		build_dir = "/Users/iosbuilder/Projects/Builds/"

		update_project_provisioning(
			xcodeproj: "./XXX.xcodeproj",
			profile: provisioning_profile,
			build_configuration: "Debug"

		)
		gym(
			output_directory: build_dir,
			output_name: signed_ipa,
			scheme: "XXX",
			codesigning_identity: "iPhone Distribution: XXX, Inc. (TeamID)",
			configuration: "Debug",

			clean: true,
			include_symbols: true,
			include_bitcode: true
		)

		pilot(
			changelog: change_log,
			ipa: "#{build_dir}#{signed_ipa}",
			wait_processing_interval: 30
		)

		slack(
			message: "iOS TestFlight build #{version_number}.#{build_number} available.",
			payload: [
				"Version": version_number,
				"Build Number": build_number,
				"IPA": signed_ipa
			],
			default_payloads: [:lane, :git_branch, :git_author]
		)

	end

	desc "Deploy a new version to the App Store"
	lane :release do
	end

	after_all do |lane|

		#slack(
		#  message: "Successfully deployed new TestFlight."
		#)
	end

	error do |lane, exception|
		# slack(
		#	message: exception.message,
		#	success: false
		# )
	end
end

Environment
fastlane version (run fastlane -v):
fastlane 1.105.0
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)?
Yes- invoked via Xcode Server Bot
Bundler version 1.13.2
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)?
RVM- 1.27.0
Ruby 2.3.1p112

you could try to add
ENV['DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS'] = '-t DAV' on top of your Fastfile - i had similar issues once, back in the days, and this fixed it.

Hi @hjanuschka
I tried this earlier by adding export DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS="-t DAV" to my XCS Bot trigger, before invoking fastlane, it did not help. I also tried your method, and am receiving the same error message
[13:57:45]: Going to upload updated app to iTunes Connect
[13:57:45]: This might take a few minutes. Please don't interrupt the script.
[13:57:46]: The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
[13:57:46]: Variable Dump:
[13:57:46]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta", :GET_INFO_PLIST_VALUE_CUSTOM_VALUE=>"16.3.2", :IPA_OUTPUT_PATH=>"/Users/iosbuilder/Projects/Builds/XXX_16.3.2_966.ipa", :DSYM_OUTPUT_PATH=>"/Users/iosbuilder/Projects/Builds/XXX_16.3.2_966.app.dSYM.zip", :XCODEBUILD_ARCHIVE=>"/Users/iosbuilder/Library/Developer/Xcode/Archives/2016-10-07/XXX_16.3.2_966 2016-10-07 13.55.53.xcarchive"}
[13:57:46]: Error uploading ipa file, for more information see above

@neldridge  sorry! - have you tried using xcode->organizer and triggering the itms uploader from there? - or use Application Loader.
looked at the system logs? - and run fastlane --verbose - maybe you get a bit more info on the iTMSTransporter output.

@neldridge ahhh - i overread - the shell_session....
try adding:
shell_session_update() { :; }  to your ~/.bash_profile and or ~/.profile (or to the CI users one)

It's not working outside of XCS either, with the same problem. I ran it with --verbose
It spit out the Application Loader command
/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/java/bin/java -Djava.ext.dirs=/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/java/lib/ext -XX:NewSize=2m -Xms32m -Xmx1024m -Xms1024m -Djava.awt.headless=false -Dsun.net.http.retryPost=false -classpath /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/lib/itmstransporter-launcher.jar com.apple.transporter.Application -m upload -u<EMAIL_ADDRESS>-p YourPassword -f /tmp/1120389605.itmsp -t DAV -t Signiant -k 100000 2>&1

I tried running the above command, and received this:
java.lang.NullPointerException
	at java.util.Arrays$ArrayList.<init>(Arrays.java:2842)
	at java.util.Arrays.asList(Arrays.java:2828)
	at com.apple.transporter.Application.filesUnderRootPaths(Application.java:222)
	at com.apple.transporter.Application.urlsNeededByOSGiBootstrapper(Application.java:186)
	at com.apple.transporter.Application.start(Application.java:118)
	at com.apple.transporter.Application.main(Application.java:357)

I will modify the profile for the shell_session_update() function, thanks!

sh** - maybe try this one: https://github.com/fastlane/fastlane/issues/1543#issuecomment-222355813 - seems to be same issue, but no real solution.

Removed ~/.itmstransporter directory.. it's still throwing an error..
Here's the bottom of the log with --verbose
INFO [2016-10-07 15:01:47.99]: Successfully exported and compressed dSYM file
INFO [2016-10-07 15:01:47.99]: Successfully exported and signed the ipa file:
INFO [2016-10-07 15:01:47.99]: /Users/iosbuilder/Projects/Builds/XXX_16.3.2_966.ipa
INFO [2016-10-07 15:01:48.01]: -------------------
INFO [2016-10-07 15:01:48.01]: --- Step: pilot ---
INFO [2016-10-07 15:01:48.01]: -------------------
INFO [2016-10-07 15:01:48.26]: Login to iTunes Connect<EMAIL_ADDRESS>INFO [2016-10-07 15:01:49.84]: Login successful
DEBUG [2016-10-07 15:01:49.84]: App identifier (com.xxx.mobileapp2.testflight2)
INFO [2016-10-07 15:01:50.88]: Ready to upload new build to TestFlight (App: AppID)...
INFO [2016-10-07 15:01:51.19]: Wrote XML data to '/tmp/xxx.itmsp'
INFO [2016-10-07 15:01:51.28]: Going to upload updated app to iTunes Connect
INFO [2016-10-07 15:01:51.28]: This might take a few minutes. Please don't interrupt the script.
DEBUG [2016-10-07 15:01:51.39]: /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/java/bin/java -Djava.ext.dirs=/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/java/lib/ext -XX:NewSize=2m -Xms32m -Xmx1024m -Xms1024m -Djava.awt.headless=true -Dsun.net.http.retryPost=false -classpath /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/lib/itmstransporter-launcher.jar com.apple.transporter.Application -m upload -u<EMAIL_ADDRESS>-p YourPassword -f /tmp/xxx.itmsp -t DAV -t Signiant -k 100000 2>&1
ERROR [2016-10-07 15:01:52.46]: The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
WARN [2016-10-07 15:01:52.48]: Variable Dump:
INFO [2016-10-07 15:01:52.48]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta", :GET_INFO_PLIST_VALUE_CUSTOM_VALUE=>"16.3.2", :IPA_OUTPUT_PATH=>"/Users/iosbuilder/Projects/Builds/xxx_16.3.2_966.ipa", :DSYM_OUTPUT_PATH=>"/Users/iosbuilder/Projects/Builds/xxx_16.3.2_966.app.dSYM.zip", :XCODEBUILD_ARCHIVE=>"/Users/iosbuilder/Library/Developer/Xcode/Archives/2016-10-07/xxx_16.3.2_966 2016-10-07 14.59.19.xcarchive"}
ERROR [2016-10-07 15:01:52.48]: Error uploading ipa file, for more information see above
INFO [2016-10-07 15:01:52.49]: Successfully generated documentation at path '/Users/iosbuilder/Projects/ios-v4/fastlane/README.md'

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | opt_out_usage                       | 0           |
| 2    | Verifying required fastlane version | 0           |
| 3    | default_platform                    | 0           |
| 4    | cocoapods                           | 5           |
| 5    | number_of_commits                   | 0           |
| 6    | set_info_plist_value                | 0           |
| 7    | get_info_plist_value                | 0           |
| 8    | last_git_commit                     | 0           |
| 9    | update_project_provisioning         | 2           |
| 10   | gym                                 | 153         |
| 💥    | pilot                               | 4           |
+------+-------------------------------------+-------------+

ERROR [2016-10-07 15:01:52.50]: fastlane finished with errors
/Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/interface.rb:145:in `user_error!': [!] Error uploading ipa file, for more information see above (FastlaneCore::Interface::FastlaneError)
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/ui.rb:14:in `method_missing'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/pilot-1.10.1/lib/pilot/build_manager.rb:22:in `upload'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/actions/pilot.rb:18:in `run'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:202:in `block (2 levels) in execute_action'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:187:in `block in execute_action'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:186:in `chdir'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:186:in `execute_action'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:112:in `trigger_action_by_name'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/fast_file.rb:140:in `method_missing'
	from Fastfile:80:in `block (2 levels) in parsing_binding'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/lane.rb:33:in `call'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:49:in `block in execute'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:45:in `chdir'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:45:in `execute'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/command_line_handler.rb:30:in `handle'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/commands_generator.rb:49:in `block (2 levels) in run'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/fastlane_runner.rb:36:in `run!'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/commands_generator.rb:244:in `run'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/commands_generator.rb:20:in `start'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/cli_tools_distributor.rb:58:in `take_off'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/bin/fastlane:5:in `<top (required)>'
	from /Users/iosbuilder/.rvm/rubies/ruby-2.3.1/bin/fastlane:23:in `load'
	from /Users/iosbuilder/.rvm/rubies/ruby-2.3.1/bin/fastlane:23:in `<main>'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'

can you try running validation in xcode->organizer after manual archiving maybe something wrong with the ipa
--
Helmut Januschka
Sent with Airmail
Am 7. Oktober 2016 um 21:05:19, Nick Eldridge (notifications@github.com(mailto:notifications@github.com)) schrieb:

Removed ~/.itmstransporter directory.. it's still throwing an error..
Here's the bottom of the log with --verbose
INFO [2016-10-07 15:01:47.99]: Successfully exported and compressed dSYM file INFO [2016-10-07 15:01:47.99]: Successfully exported and signed the ipa file: INFO [2016-10-07 15:01:47.99]: /Users/iosbuilder/Projects/Builds/XXX_16.3.2_966.ipa INFO [2016-10-07 15:01:48.01]: ------------------- INFO [2016-10-07 15:01:48.01]: --- Step: pilot --- INFO [2016-10-07 15:01:48.01]: ------------------- INFO [2016-10-07 15:01:48.26]: Login to iTunes Connect<EMAIL_ADDRESS>INFO [2016-10-07 15:01:49.84]: Login successful DEBUG [2016-10-07 15:01:49.84]: App identifier (com.xxx.mobileapp2.testflight2) INFO [2016-10-07 15:01:50.88]: Ready to upload new build to TestFlight (App: AppID)... INFO [2016-10-07 15:01:51.19]: Wrote XML data to '/tmp/xxx.itmsp' INFO [2016-10-07 15:01:51.28]: Going to upload updated app to iTunes Connect INFO [2016-10-07 15:01:51.28]: This might take a few minutes. Please don't interrupt the script. DEBUG [2016-10-07 15:01:51.39]: /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/java/bin/java -Djava.ext.dirs=/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/java/lib/ext -XX:NewSize=2m -Xms32m -Xmx1024m -Xms1024m -Djava.awt.headless=true -Dsun.net.http.retryPost=false -classpath /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/lib/itmstransporter-launcher.jar com.apple.transporter.Application -m upload -u<EMAIL_ADDRESS>-p YourPassword -f /tmp/xxx.itmsp -t DAV -t Signiant -k 100000 2>&1 ERROR [2016-10-07 15:01:52.46]: The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure. WARN [2016-10-07 15:01:52.48]: Variable Dump: INFO [2016-10-07 15:01:52.48]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta", :GET_INFO_PLIST_VALUE_CUSTOM_VALUE=>"16.3.2", :IPA_OUTPUT_PATH=>"/Users/iosbuilder/Projects/Builds/xxx_16.3.2_966.ipa", :DSYM_OUTPUT_PATH=>"/Users/iosbuilder/Projects/Builds/xxx_16.3.2_966.app.dSYM.zip", :XCODEBUILD_ARCHIVE=>"/Users/iosbuilder/Library/Developer/Xcode/Archives/2016-10-07/xxx_16.3.2_966 2016-10-07 14.59.19.xcarchive"} ERROR [2016-10-07 15:01:52.48]: Error uploading ipa file, for more information see above INFO [2016-10-07 15:01:52.49]: Successfully generated documentation at path '/Users/iosbuilder/Projects/ios-v4/fastlane/README.md' +------+-------------------------------------+-------------+ | fastlane summary | +------+-------------------------------------+-------------+ | Step | Action | Time (in s) | +------+-------------------------------------+-------------+ | 1 | opt_out_usage | 0 | | 2 | Verifying required fastlane version | 0 | | 3 | default_platform | 0 | | 4 | cocoapods | 5 | | 5 | number_of_commits | 0 | | 6 | set_info_plist_value | 0 | | 7 | get_info_plist_value | 0 | | 8 | last_git_commit | 0 | | 9 | update_project_provisioning | 2 | | 10 | gym | 153 | | 💥 | pilot | 4 | +------+-------------------------------------+-------------+ ERROR [2016-10-07 15:01:52.50]: fastlane finished with errors /Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/interface.rb:145:in user_error!': [!] Error uploading ipa file, for more information see above (FastlaneCore::Interface::FastlaneError) from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/ui.rb:14:in method_missing' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/pilot-1.10.1/lib/pilot/build_manager.rb:22:in upload' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/actions/pilot.rb:18:in run' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:202:in block (2 levels) in execute_action' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/actions/actions_helper.rb:35:in execute_action' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:187:in block in execute_action' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:186:in chdir' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:186:in execute_action' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:112:in trigger_action_by_name' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/fast_file.rb:140:in method_missing' from Fastfile:80:in block (2 levels) in parsing_binding' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/lane.rb:33:in call' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:49:in block in execute' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:45:in chdir' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:45:in execute' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/lane_manager.rb:46:in cruise_lane' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/command_line_handler.rb:30:in handle' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/commands_generator.rb:49:in block (2 levels) in run' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/commander-4.4.0/lib/commander/command.rb:178:in call' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/commander-4.4.0/lib/commander/command.rb:153:in run' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/commander-4.4.0/lib/commander/runner.rb:444:in run_active_command' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/fastlane_runner.rb:36:in run!' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/commander-4.4.0/lib/commander/delegates.rb:15:in run!' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/commands_generator.rb:244:in run' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/commands_generator.rb:20:in start' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/cli_tools_distributor.rb:58:in take_off' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/bin/fastlane:5:in <top (required)>' from /Users/iosbuilder/.rvm/rubies/ruby-2.3.1/bin/fastlane:23:in load' from /Users/iosbuilder/.rvm/rubies/ruby-2.3.1/bin/fastlane:23:in ' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in eval' from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in '
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub(https://github.com/fastlane/fastlane/issues/6459#issuecomment-252335292), or mute the thread(https://github.com/notifications/unsubscribe-auth/ACwftpqZwlxLGjeikdj5Jc-1XC-2OQAqks5qxpfvgaJpZM4KRRvM).

I attempted to load the generated ipa manually with the Application Loader- and received an error about the CFBundleVersion not being the correct type. Adjusted my Fastlane file
From this:
        set_info_plist_value(
            path: plist_file,
            key: 'CFBundleVersion',
            value: build_number
        )

to this:
        set_info_plist_value(
            path: plist_file,
            key: 'CFBundleVersion',
            value: "#{build_number}"
        )

Changing this kicked off XCS build, which ended in pilot failing again with this error:
[15:26:35]: Successfully exported and compressed dSYM file
[15:26:35]: Successfully exported and signed the ipa file:
[15:26:35]: /Users/iosbuilder/Projects/Builds/XXX_16.3.2_967.ipa
[15:26:35]: -------------------
[15:26:35]: --- Step: pilot ---
[15:26:35]: -------------------
[15:26:36]: Login to iTunes Connect<EMAIL_ADDRESS>[15:26:38]: Login successful
[15:26:38]: Ready to upload new build to TestFlight (App: AppID)...
[15:26:39]: Going to upload updated app to iTunes Connect
[15:26:39]: This might take a few minutes. Please don't interrupt the script.
[15:26:40]: The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
[15:26:40]: Variable Dump:
[15:26:40]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta", :GET_INFO_PLIST_VALUE_CUSTOM_VALUE=>"16.3.2", :IPA_OUTPUT_PATH=>"/Users/iosbuilder/Projects/Builds/XXX_16.3.2_967.ipa", :DSYM_OUTPUT_PATH=>"/Users/iosbuilder/Projects/Builds/XXX_16.3.2_967.app.dSYM.zip", :XCODEBUILD_ARCHIVE=>"/Users/iosbuilder/Library/Developer/Xcode/Archives/2016-10-07/XXX_16.3.2_967 2016-10-07 15.24.16.xcarchive"}
[15:26:40]: Error uploading ipa file, for more information see above

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | opt_out_usage                       | 0           |
| 2    | Verifying required fastlane version | 0           |
| 3    | default_platform                    | 0           |
| 4    | cocoapods                           | 7           |
| 5    | number_of_commits                   | 0           |
| 6    | set_info_plist_value                | 0           |
| 7    | get_info_plist_value                | 0           |
| 8    | last_git_commit                     | 0           |
| 9    | update_project_provisioning         | 2           |
| 10   | gym                                 | 142         |
| 💥    | pilot                               | 4           |
+------+-------------------------------------+-------------+

[15:26:40]: fastlane finished with errors

[!] Error uploading ipa file, for more information see above

@hjanuschka haha, i see we're on the same page about verifying the IPA.

Does it work when running outside of Xcode bots?

Thanks @hjanuschka  I'll look at using that instead.
@KrauseFx It did not; it did work when I separated pilot into it's own lane- and filled out the variables manually.
The changelog didn't update ( probably due to lack of permissions- which i'll fix), but, the IPA did upload.
    lane :do_pilot do
        change_log = "Test"
        build_dir = "/Users/iosbuilder/Projects/Builds/"
        signed_ipa = "XXX_16.3.2_968.ipa"

        pilot(
            changelog: change_log,
            ipa: "#{build_dir}#{signed_ipa}",
            wait_processing_interval: 30
        )
    end

Log here...

DEBUG [2016-10-07 16:01:50.24]: [Transporter]: INFO: Done performing uploadDone notification to Apple.
DEBUG [2016-10-07 16:01:50.25]: [Transporter]: INFO: The package: /tmp/AppID.itmsp has been successfully uploaded.
INFO [2016-10-07 16:01:50.42]: iTunes Transporter successfully finished its job
DEBUG [2016-10-07 16:01:50.42]: [Transporter]: DBG-X: Returning 0
INFO [2016-10-07 16:01:50.52]: ------------------------------------------------------------------------------------------------------
INFO [2016-10-07 16:01:50.52]: Successfully uploaded package to iTunes Connect. It might take a few minutes until it's visible online.
INFO [2016-10-07 16:01:50.52]: ------------------------------------------------------------------------------------------------------
INFO [2016-10-07 16:01:50.53]: Successfully uploaded the new binary to iTunes Connect
INFO [2016-10-07 16:01:50.53]: If you want to skip waiting for the processing to be finished, use the `skip_waiting_for_build_processing` option
INFO [2016-10-07 16:01:50.53]: Waiting for iTunes Connect to process the new build
INFO [2016-10-07 16:02:23.02]: Waiting for iTunes Connect to finish processing the new build (16.3.2 - 968)
... continued ...
INFO [2016-10-07 16:14:01.01]: Waiting for iTunes Connect to finish processing the new build (16.3.2 - 968)
INFO [2016-10-07 16:14:31.02]: Successfully finished processing the build
INFO [2016-10-07 16:14:31.02]: You can now tweet:
WARN [2016-10-07 16:14:31.02]: iTunes Connect #iosprocessingtime 13 minutes
WARN [2016-10-07 16:14:31.74]: Variable Dump:
INFO [2016-10-07 16:14:31.74]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios do_pilot"}
ERROR [2016-10-07 16:14:31.74]: Forbidden
INFO [2016-10-07 16:14:31.74]: Successfully generated documentation at path '/Users/iosbuilder/Projects/ios-v4/fastlane/README.md'

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | opt_out_usage                       | 0           |
| 2    | Verifying required fastlane version | 0           |
| 3    | default_platform                    | 0           |
| 4    | cocoapods                           | 8           |
| 💥    | pilot                               | 900         |
+------+-------------------------------------+-------------+

ERROR [2016-10-07 16:14:31.76]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...
Search query: The request could not be completed because:
	Forbidden

URL: https://api.github.com/search/issues?q=The%20request%20could%20not%20be%20completed%20because:%0A%09Forbidden+repo:fastlane/fastlane
➡  Distributing new build: The request could not be completed because:Forbidden
   https://github.com/fastlane/fastlane/issues/6023 [closed] 2 💬
   4 weeks ago

➡  Distributing new build to testers: The request could not be completed because: 	Forbidden
   https://github.com/fastlane/fastlane/issues/4793 [closed] 10 💬

   4 weeks ago

➡  Deliver fails with `Forbidden` error
   https://github.com/fastlane/fastlane/issues/4899 [closed] 5 💬
   07 Jun 2016

/Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/spaceship-0.34.3/lib/spaceship/tunes/tunes_client.rb:184:in `handle_itc_response': [!] The request could not be completed because: (Spaceship::TunesClient::ITunesConnectError)
	Forbidden
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/spaceship-0.34.3/lib/spaceship/tunes/tunes_client.rb:598:in `update_build_information!'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/spaceship-0.34.3/lib/spaceship/tunes/build.rb:157:in `update_build_information!'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/pilot-1.10.1/lib/pilot/build_manager.rb:68:in `distribute'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/pilot-1.10.1/lib/pilot/build_manager.rb:36:in `upload'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/actions/pilot.rb:18:in `run'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:202:in `block (2 levels) in execute_action'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:187:in `block in execute_action'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:186:in `chdir'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:186:in `execute_action'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:112:in `trigger_action_by_name'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/fast_file.rb:140:in `method_missing'
	from Fastfile:102:in `block (2 levels) in parsing_binding'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/lane.rb:33:in `call'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:49:in `block in execute'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:45:in `chdir'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:45:in `execute'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/command_line_handler.rb:30:in `handle'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/commands_generator.rb:49:in `block (2 levels) in run'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/fastlane_runner.rb:36:in `run!'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/commands_generator.rb:244:in `run'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/commands_generator.rb:20:in `start'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/cli_tools_distributor.rb:58:in `take_off'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/bin/fastlane:5:in `<top (required)>'
	from /Users/iosbuilder/.rvm/rubies/ruby-2.3.1/bin/fastlane:23:in `load'
	from /Users/iosbuilder/.rvm/rubies/ruby-2.3.1/bin/fastlane:23:in `<main>'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'

I'm running the beta lane again now, with the change from @hjanuschka ..

Update... ran via XCS Bot, with increment_build_number function instead of set_info_plist_value . Same issue as before, something in the lane is causing the failure..
Will start removing calls from the lane one by one to see what's causing this.
INFO [2016-10-08 10:44:14.15]: Successfully exported and compressed dSYM file
INFO [2016-10-08 10:44:14.15]: Successfully exported and signed the ipa file:
INFO [2016-10-08 10:44:14.15]: /Users/iosbuilder/Projects/Builds/XXX_16.3.2_969.ipa
INFO [2016-10-08 10:44:14.16]: -------------------
INFO [2016-10-08 10:44:14.16]: --- Step: pilot ---
INFO [2016-10-08 10:44:14.16]: -------------------
INFO [2016-10-08 10:44:14.39]: Login to iTunes Connect<EMAIL_ADDRESS>INFO [2016-10-08 10:44:15.97]: Login successful
DEBUG [2016-10-08 10:44:15.97]: App identifier (com.xxx.mobileapp2.testflight2)
INFO [2016-10-08 10:44:16.83]: Ready to upload new build to TestFlight (App: AppID)...
INFO [2016-10-08 10:44:17.08]: Wrote XML data to '/tmp/AppID.itmsp'
INFO [2016-10-08 10:44:17.16]: Going to upload updated app to iTunes Connect
INFO [2016-10-08 10:44:17.16]: This might take a few minutes. Please don't interrupt the script.
DEBUG [2016-10-08 10:44:17.25]: /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/java/bin/java -Djava.ext.dirs=/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/java/lib/ext -XX:NewSize=2m -Xms32m -Xmx1024m -Xms1024m -Djava.awt.headless=true -Dsun.net.http.retryPost=false -classpath /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/lib/itmstransporter-launcher.jar com.apple.transporter.Application -m upload -u<EMAIL_ADDRESS>-p YourPassword -f /tmp/AppID.itmsp -t Signiant -k 100000 2>&1
ERROR [2016-10-08 10:44:18.45]: The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
WARN [2016-10-08 10:44:18.47]: Variable Dump:
INFO [2016-10-08 10:44:18.47]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta", :BUILD_NUMBER=>"There does not seem to be a CURRENT_PROJECT_VERSION key set for this project.  Add this key to your target's expert build settings.", :GET_INFO_PLIST_VALUE_CUSTOM_VALUE=>"16.3.2", :IPA_OUTPUT_PATH=>"/Users/iosbuilder/Projects/Builds/XXX_16.3.2_969.ipa", :DSYM_OUTPUT_PATH=>"/Users/iosbuilder/Projects/Builds/XXX_16.3.2_969.app.dSYM.zip", :XCODEBUILD_ARCHIVE=>"/Users/iosbuilder/Library/Developer/Xcode/Archives/2016-10-08/XXX_16.3.2_969 2016-10-08 10.42.21.xcarchive"}
ERROR [2016-10-08 10:44:18.47]: Error uploading ipa file, for more information see above
INFO [2016-10-08 10:44:18.47]: Successfully generated documentation at path '/Users/iosbuilder/Library/Caches/XCSBuilder/Bots/3dc9f5bc865286ccc256e4bca901c2a5/Source/ios-v4/fastlane/README.md'

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | opt_out_usage                       | 0           |
| 2    | Verifying required fastlane version | 0           |
| 3    | default_platform                    | 0           |
| 4    | cocoapods                           | 6           |
| 5    | number_of_commits                   | 0           |
| 6    | increment_build_number              | 1           |
| 7    | get_info_plist_value                | 0           |
| 8    | last_git_commit                     | 0           |
| 9    | update_project_provisioning         | 1           |
| 10   | gym                                 | 114         |
| 💥    | pilot                               | 4           |
+------+-------------------------------------+-------------+

ERROR [2016-10-08 10:44:18.48]: fastlane finished with errors
/Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/interface.rb:145:in `user_error!': [!] Error uploading ipa file, for more information see above (FastlaneCore::Interface::FastlaneError)
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/ui.rb:14:in `method_missing'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/pilot-1.10.1/lib/pilot/build_manager.rb:22:in `upload'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/actions/pilot.rb:18:in `run'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:202:in `block (2 levels) in execute_action'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:187:in `block in execute_action'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:186:in `chdir'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:186:in `execute_action'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:112:in `trigger_action_by_name'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/fast_file.rb:140:in `method_missing'
	from Fastfile:82:in `block (2 levels) in parsing_binding'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/lane.rb:33:in `call'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:49:in `block in execute'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:45:in `chdir'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:45:in `execute'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/command_line_handler.rb:30:in `handle'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/commands_generator.rb:49:in `block (2 levels) in run'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/fastlane_runner.rb:36:in `run!'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/commands_generator.rb:244:in `run'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/commands_generator.rb:20:in `start'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/cli_tools_distributor.rb:58:in `take_off'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/bin/fastlane:5:in `<top (required)>'
	from /Users/iosbuilder/.rvm/rubies/ruby-2.3.1/bin/fastlane:23:in `load'
	from /Users/iosbuilder/.rvm/rubies/ruby-2.3.1/bin/fastlane:23:in `<main>'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'

have your tried compiling + archiving + verifying manually without fastlane? just to be sure?

Yes, and have verified that pilot can upload, with a ipa built by gym.
It only fails when attempting to gym then pilot in the same lane, if I run them separately and manually run pilot from it's own lane it uploads fine.

thats sad! - can you dump the ENV after gym - maybe something stupid is set there.

Ran manually (which you can tell from the TERM_PROGRAM). Most current Fastfile below output.
INFO [2016-10-10 10:16:27.39]: Successfully exported and compressed dSYM file
INFO [2016-10-10 10:16:27.39]: Successfully exported and signed the ipa file:
INFO [2016-10-10 10:16:27.39]: /Users/iosbuilder/Projects/Builds/XXX_16.3.2_972.ipa
INFO [2016-10-10 10:16:27.39]: ----------------------
INFO [2016-10-10 10:16:27.39]: --- Step: printenv ---
INFO [2016-10-10 10:16:27.39]: ----------------------
INFO [2016-10-10 10:16:27.39]: $ printenv
INFO [2016-10-10 10:16:27.40]: ▸ rvm_bin_path=/Users/iosbuilder/.rvm/bin
INFO [2016-10-10 10:16:27.40]: ▸ TERM_PROGRAM=iTerm.app
INFO [2016-10-10 10:16:27.40]: ▸ GEM_HOME=/Users/iosbuilder/.rvm/gems/ruby-2.3.1
INFO [2016-10-10 10:16:27.40]: ▸ TERM=xterm-256color
INFO [2016-10-10 10:16:27.40]: ▸ SHELL=/bin/bash
INFO [2016-10-10 10:16:27.40]: ▸ IRBRC=/Users/iosbuilder/.rvm/rubies/ruby-2.3.1/.irbrc
INFO [2016-10-10 10:16:27.41]: ▸ TMPDIR=/var/folders/01/630bclhs6sgfs_jhxbszqrn00000gn/T/
INFO [2016-10-10 10:16:27.41]: ▸ Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.x1tf1BUZed/Render
INFO [2016-10-10 10:16:27.41]: ▸ TERM_PROGRAM_VERSION=3.0.10
INFO [2016-10-10 10:16:27.41]: ▸ OLDPWD=/Users/iosbuilder/Projects
INFO [2016-10-10 10:16:27.41]: ▸ MY_RUBY_HOME=/Users/iosbuilder/.rvm/rubies/ruby-2.3.1
INFO [2016-10-10 10:16:27.41]: ▸ TERM_SESSION_ID=w0t0p1:8BFB3C53-4D80-4D92-99A2-06BFFF6F6519
INFO [2016-10-10 10:16:27.41]: ▸ USER=iosbuilder
INFO [2016-10-10 10:16:27.41]: ▸ _system_type=Darwin
INFO [2016-10-10 10:16:27.41]: ▸ rvm_path=/Users/iosbuilder/.rvm
INFO [2016-10-10 10:16:27.41]: ▸ SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.h05qVe21VH/Listeners
INFO [2016-10-10 10:16:27.41]: ▸ __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
INFO [2016-10-10 10:16:27.41]: ▸ rvm_prefix=/Users/iosbuilder
INFO [2016-10-10 10:16:27.41]: ▸ PATH=/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/iosbuilder/.rvm/gems/ruby-2.3.1/bin:/Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/bin:/Users/iosbuilder/.rvm/rubies/ruby-2.3.1/bin:/Users/iosbuilder/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin
INFO [2016-10-10 10:16:27.41]: ▸ PWD=/Users/iosbuilder/Projects/ios-v4
INFO [2016-10-10 10:16:27.41]: ▸ LANG=en_US.UTF-8
INFO [2016-10-10 10:16:27.41]: ▸ ITERM_PROFILE=Default
INFO [2016-10-10 10:16:27.41]: ▸ _system_arch=x86_64
INFO [2016-10-10 10:16:27.41]: ▸ XPC_FLAGS=0x0
INFO [2016-10-10 10:16:27.41]: ▸ _system_version=10.12
INFO [2016-10-10 10:16:27.41]: ▸ XPC_SERVICE_NAME=0
INFO [2016-10-10 10:16:27.41]: ▸ rvm_version=1.27.0 (latest)
INFO [2016-10-10 10:16:27.41]: ▸ SHLVL=1
INFO [2016-10-10 10:16:27.41]: ▸ HOME=/Users/iosbuilder
INFO [2016-10-10 10:16:27.41]: ▸ COLORFGBG=7;0
INFO [2016-10-10 10:16:27.41]: ▸ ITERM_SESSION_ID=w0t0p1:8BFB3C53-4D80-4D92-99A2-06BFFF6F6519
INFO [2016-10-10 10:16:27.41]: ▸ LOGNAME=iosbuilder
INFO [2016-10-10 10:16:27.41]: ▸ GEM_PATH=/Users/iosbuilder/.rvm/gems/ruby-2.3.1:/Users/iosbuilder/.rvm/gems/ruby-2.3.1@global
INFO [2016-10-10 10:16:27.41]: ▸ RUBY_VERSION=ruby-2.3.1
INFO [2016-10-10 10:16:27.42]: ▸ _system_name=OSX
INFO [2016-10-10 10:16:27.42]: ▸ _=/Users/iosbuilder/.rvm/rubies/ruby-2.3.1/bin/bundle
INFO [2016-10-10 10:16:27.42]: ▸ BUNDLER_ORIG_PATH=/Users/iosbuilder/.rvm/gems/ruby-2.3.1/bin:/Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/bin:/Users/iosbuilder/.rvm/rubies/ruby-2.3.1/bin:/Users/iosbuilder/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin
INFO [2016-10-10 10:16:27.42]: ▸ BUNDLER_ORIG_GEM_PATH=/Users/iosbuilder/.rvm/gems/ruby-2.3.1:/Users/iosbuilder/.rvm/gems/ruby-2.3.1@global
INFO [2016-10-10 10:16:27.42]: ▸<EMAIL_ADDRESS>INFO [2016-10-10 10:16:27.42]: ▸ BUNDLE_GEMFILE=/Users/iosbuilder/Projects/ios-v4/Gemfile
INFO [2016-10-10 10:16:27.42]: ▸ BUNDLER_VERSION=1.13.2
INFO [2016-10-10 10:16:27.42]: ▸ RUBYOPT=-rbundler/setup
INFO [2016-10-10 10:16:27.42]: ▸<EMAIL_ADDRESS>INFO [2016-10-10 10:16:27.42]: ▸ FASTLANE_OPT_OUT_USAGE=YES
INFO [2016-10-10 10:16:27.42]: ▸ FASTLANE_LANE_NAME=beta
INFO [2016-10-10 10:16:27.42]: ▸ FASTLANE_PLATFORM_NAME=ios
INFO [2016-10-10 10:16:27.42]: ▸ SLACK_URL=https://hooks.slack.com/services/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
INFO [2016-10-10 10:16:27.42]: ▸ IPA_OUTPUT_PATH=/Users/iosbuilder/Projects/Builds/XXX_16.3.2_972.ipa
INFO [2016-10-10 10:16:27.42]: ▸ DSYM_OUTPUT_PATH=/Users/iosbuilder/Projects/Builds/XXX_16.3.2_972.app.dSYM.zip
INFO [2016-10-10 10:16:27.42]: Cruising back to lane 'ios beta' 🚘
INFO [2016-10-10 10:16:27.42]: ---------------------------------------------------
INFO [2016-10-10 10:16:27.42]: --- Step: Switch to ios deliver_testflight lane ---
INFO [2016-10-10 10:16:27.42]: ---------------------------------------------------
INFO [2016-10-10 10:16:27.42]: Cruising over to lane 'ios deliver_testflight' 🚖
INFO [2016-10-10 10:16:27.45]: -------------------
INFO [2016-10-10 10:16:27.45]: --- Step: pilot ---
INFO [2016-10-10 10:16:27.45]: -------------------
INFO [2016-10-10 10:16:27.72]: Login to iTunes Connect<EMAIL_ADDRESS>INFO [2016-10-10 10:16:30.38]: Login successful
DEBUG [2016-10-10 10:16:30.38]: App identifier (com.xxx.mobileapp2.testflight2)
INFO [2016-10-10 10:16:30.94]: Ready to upload new build to TestFlight (App: AppID)...
INFO [2016-10-10 10:16:31.22]: Wrote XML data to '/tmp/AppID.itmsp'
INFO [2016-10-10 10:16:31.31]: Going to upload updated app to iTunes Connect
INFO [2016-10-10 10:16:31.32]: This might take a few minutes. Please don't interrupt the script.
DEBUG [2016-10-10 10:16:31.45]: /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/java/bin/java -Djava.ext.dirs=/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/java/lib/ext -XX:NewSize=2m -Xms32m -Xmx1024m -Xms1024m -Djava.awt.headless=true -Dsun.net.http.retryPost=false -classpath /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/lib/itmstransporter-launcher.jar com.apple.transporter.Application -m upload -u<EMAIL_ADDRESS>-p YourPassword -f /tmp/AppID.itmsp -t Signiant -k 100000 2>&1
ERROR [2016-10-10 10:16:32.59]: The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
WARN [2016-10-10 10:16:32.61]: Variable Dump:
INFO [2016-10-10 10:16:32.61]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta", :BUILD_NUMBER=>"There does not seem to be a CURRENT_PROJECT_VERSION key set for this project.  Add this key to your target's expert build settings.", :GET_INFO_PLIST_VALUE_CUSTOM_VALUE=>"16.3.2", :IPA_OUTPUT_PATH=>"/Users/iosbuilder/Projects/Builds/XXX_16.3.2_972.ipa", :DSYM_OUTPUT_PATH=>"/Users/iosbuilder/Projects/Builds/XXX_16.3.2_972.app.dSYM.zip", :XCODEBUILD_ARCHIVE=>"/Users/iosbuilder/Library/Developer/Xcode/Archives/2016-10-10/XXX_16.3.2_972 2016-10-10 10.14.28.xcarchive"}
ERROR [2016-10-10 10:16:32.61]: Error uploading ipa file, for more information see above
INFO [2016-10-10 10:16:32.62]: Successfully generated documentation at path '/Users/iosbuilder/Projects/ios-v4/fastlane/README.md'

+------+---------------------------------------+-------------+
|                      fastlane summary                      |
+------+---------------------------------------+-------------+
| Step | Action                                | Time (in s) |
+------+---------------------------------------+-------------+
| 1    | opt_out_usage                         | 0           |
| 2    | Verifying required fastlane version   | 0           |
| 3    | default_platform                      | 0           |
| 4    | cocoapods                             | 5           |
| 5    | number_of_commits                     | 0           |
| 6    | increment_build_number                | 0           |
| 7    | get_info_plist_value                  | 0           |
| 8    | last_git_commit                       | 0           |
| 9    | Switch to ios build_app lane          | 0           |
| 10   | update_project_provisioning           | 1           |
| 11   | gym                                   | 120         |
| 12   | printenv                              | 0           |
| 13   | Switch to ios deliver_testflight lane | 0           |
| 💥    | pilot                                 | 5           |
+------+---------------------------------------+-------------+

ERROR [2016-10-10 10:16:32.63]: fastlane finished with errors
/Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/interface.rb:145:in `user_error!': [!] Error uploading ipa file, for more information see above (FastlaneCore::Interface::FastlaneError)
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/ui.rb:14:in `method_missing'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/pilot-1.10.1/lib/pilot/build_manager.rb:22:in `upload'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/actions/pilot.rb:18:in `run'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:202:in `block (2 levels) in execute_action'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:187:in `block in execute_action'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:186:in `chdir'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:186:in `execute_action'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:112:in `trigger_action_by_name'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/fast_file.rb:140:in `method_missing'
	from Fastfile:98:in `block (2 levels) in parsing_binding'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/lane.rb:33:in `call'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:165:in `try_switch_to_lane'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:120:in `trigger_action_by_name'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/fast_file.rb:140:in `method_missing'
	from Fastfile:64:in `block (2 levels) in parsing_binding'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/lane.rb:33:in `call'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:49:in `block in execute'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:45:in `chdir'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/runner.rb:45:in `execute'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/command_line_handler.rb:30:in `handle'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/commands_generator.rb:49:in `block (2 levels) in run'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/gems/fastlane_core-0.52.1/lib/fastlane_core/ui/fastlane_runner.rb:36:in `run!'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/commands_generator.rb:244:in `run'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/commands_generator.rb:20:in `start'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/lib/fastlane/cli_tools_distributor.rb:58:in `take_off'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1@global/gems/fastlane-1.105.0/bin/fastlane:5:in `<top (required)>'
	from /Users/iosbuilder/.rvm/rubies/ruby-2.3.1/bin/fastlane:23:in `load'
	from /Users/iosbuilder/.rvm/rubies/ruby-2.3.1/bin/fastlane:23:in `<main>'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
	from /Users/iosbuilder/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'

Fastfile

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer
# opt out of this behavior
opt_out_usage

# This is the minimum version number required.
fastlane_version "1.105.0"

default_platform :ios

platform :ios do

	before_all do
		ENV["SLACK_URL"] = "https://hooks.slack.com/services/xxx/xxx/xxx"
		cocoapods
	end

	desc "Runs all the tests"
	lane :test do
		scan
	end

	def last_commit_message
		commit = last_git_commit
		message = commit[:message]
		author = commit[:author] # author of the commit
		hash = commit[:commit_hash] # long sha of commit
		short_hash = commit[:abbreviated_commit_hash] # short sha of commit

		return message
	end

	################ Lanes

	desc "Submit a new Beta Build to Apple TestFlight"
	desc "This will also make sure the profile is up to date"
	lane :beta do

		plist_file = "./xxx/xxx-iOS-Info.plist"
		provisioning_profile = "/Users/iosbuilder/Projects/TestFlight2.mobileprovision"
		build_number = number_of_commits
		increment_build_number(build_number: build_number)

		version_number = get_info_plist_value(
			path: plist_file,
			key: 'CFBundleShortVersionString',
		)

		change_log = last_commit_message

		build_dir = "/Users/iosbuilder/Projects/Builds/"
		ipa_filename = "xxx_#{version_number}_#{build_number}.ipa"
		ipa = "#{build_dir}#{ipa_filename}"

		print "IPA: #{ipa}\n"

		build_app(
			provisioning_profile: provisioning_profile,
			build_dir: build_dir,
			ipa_filename: ipa_filename
		)

		deliver_testflight(
			change_log: change_log,
			ipa: ipa,
			version_number: version_number,
			build_number: build_number,
			ipa_filename: ipa_filename
		)

	end

	desc "Build new version of App"
	lane :build_app do |options|
		update_project_provisioning(
			xcodeproj: "./xxx.xcodeproj",
			profile: options[:provisioning_profile],
			build_configuration: "Debug"
		)
		gym(
			output_directory: options[:build_dir],
			output_name: options[:ipa_filename],
			scheme: "xxx",
			codesigning_identity: "iPhone Distribution: xxx, Inc. (teamid)",
			configuration: "Debug",
			clean: true,
			include_symbols: true,
			include_bitcode: true
		)
		sh "printenv"
	end

	desc "Deploy new version to Testflight"
	lane :deliver_testflight do |options|

		pilot(
			changelog: options[:change_log],
			ipa: options[:ipa],
			wait_processing_interval: 30
		)

		slack(
			message: "iOS TestFlight build #{version_number}.#{build_number} available.",
			payload: [
				"Version": options[:version_number],
				"Build Number": options[:build_number],
				"IPA": options[:ipa_filename]
			],
			default_payloads: [:lane, :git_branch, :git_author]
		)

	end

	desc "Deploy a new version to the App Store"
	lane :release do
	end

	after_all do |lane|

		#slack(
		#  message: "Successfully deployed new TestFlight."
		#)
	end

	error do |lane, exception|
		# slack(
		#	message: exception.message,
		#	success: false
		# )
	end
end

ahhh CURRENT_PROJECT_VERSION
try to set this in all your targets
for some reasons this is always 2 in all my projects -

also check that Versioning System is set to Apple Generic
set it to something different and back to apple-generic (had this a few times after playing arround with plist/agv)

I tried your suggestions @hjanuschka for CURRENT_PROJECT_VERSION and Versioning System - changes were not successful.
I removed update_project_provisioning and it ran gym/pilot successfully.
update_project_provisioning(
            xcodeproj: "./xxx.xcodeproj",
            profile: options[:provisioning_profile],
            build_configuration: "Debug"
        )

I then tried reimplemented update_project_provisioning, and remove just the build_configuration option; build was still failing.
I moved update_project_provisioning to a separate lane, and updated my XCS Bot trigger to this:
bundle exec fastlane update_provisioning_profile provisioning_profile:"/Users/iosbuilder/Projects/TestFlight2.mobileprovision" --verbose
bundle exec fastlane beta --verbose

Fastfile

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer
# opt out of this behavior
opt_out_usage

# This is the minimum version number required.
fastlane_version "1.105.0"

default_platform :ios

platform :ios do

	before_all do
		ENV["SLACK_URL"] = "https://hooks.slack.com/services/xxx/xxx/xxx"
		cocoapods
	end

	desc "Runs all the tests"
	lane :test do
		scan
	end

	def last_commit_message
		commit = last_git_commit
		message = commit[:message]
		author = commit[:author] # author of the commit
		hash = commit[:commit_hash] # long sha of commit
		short_hash = commit[:abbreviated_commit_hash] # short sha of commit

		return message
	end

	################ Lanes

	desc "Submit a new Beta Build to Apple TestFlight"
	desc "This will also make sure the profile is up to date"
	lane :beta do

		plist_file = "./xxx/xxx-iOS-Info.plist"

		build_number = number_of_commits
		increment_build_number(build_number: build_number)

		version_number = get_info_plist_value(
			path: plist_file,
			key: 'CFBundleShortVersionString',
		)

		change_log = last_commit_message

		build_dir = "/Users/iosbuilder/Projects/Builds/"
		ipa_filename = "xxx_#{version_number}_#{build_number}.ipa"
		ipa = "#{build_dir}#{ipa_filename}"

		print "IPA: #{ipa}\n"

		build_app(
			build_dir: build_dir,
			ipa_filename: ipa_filename
		)

		deliver_testflight(
			change_log: change_log,
			ipa: ipa,
			version_number: version_number,
			build_number: build_number,
			ipa_filename: ipa_filename
		)

	end

	desc "Update provisioning profile in project."
	lane :update_provisioning_profile do |options|
		update_project_provisioning(
			xcodeproj: "./xxx.xcodeproj",
			profile: options[:provisioning_profile],
		)
	end

	desc "Build new version of App"
	lane :build_app do |options|

		gym(
			output_directory: options[:build_dir],
			output_name: options[:ipa_filename],
			scheme: "xxx",
			codesigning_identity: "iPhone Distribution: xxx, Inc. (TeamID)",
			configuration: "Debug",
			clean: true,
			include_symbols: true,
			include_bitcode: true
		)
	end

	desc "Deploy new version to Testflight"
	lane :deliver_testflight do |options|

		pilot(
			changelog: options[:change_log],
			ipa: options[:ipa],
			wait_processing_interval: 30
		)

		slack(
			message: "iOS TestFlight #{options[:version_number]} build \##{options[:build_number]} available.",
			payload: [
				"Version": options[:version_number],
				"Build Number": options[:build_number],
				"IPA": options[:ipa_filename]
			],
			default_payloads: [:lane, :git_branch, :git_author]
		)

	end

	desc "Deploy a new version to the App Store"
	lane :release do
	end

	after_all do |lane|

		#slack(
		#  message: "Successfully deployed new TestFlight."
		#)
	end

	error do |lane, exception|
		# slack(
		#	message: exception.message,
		#	success: false
		# )
	end
end

Maybe this has something to do with our use of automatic code signing in the project, then overriding it?
Not sure.
If there's some way I can help going forward to find the problem, please let me know.
@KrauseFx  @hjanuschka - thanks for your help.

can you try using match for profile management?
then you could use "Automatic" code signing on the development machine, and use a specified $(sigh_......-profile-name)  inside the Release configuration provisioning profile?
you can toggle the Automatic Codesigning back to Manual - with https://github.com/hjanuschka/fastlane-plugin-update_project_codesigning (thx to @mathiasAichinger, did the hard work)
we manage all our signing stuff with match - and right before gym we run
update_project_codesigning(path: "demo-project/demo/demo.xcodeproj", use_automatic_signing:false)

to disable auto-signing.
i am not sure if update_project_provisioningstill works with xcode8, isnt PROVISIONING_PROFILE deprecated @KrauseFx ?

It's deprecated, more information about how to do code signing in Xcode 8 here https://docs.fastlane.tools/codesigning/xcode-project/#

Alright, we'll see what we need to do to not use automatic/override the provisioning UUID... I wasn't a fan of this to begin with, but it seemed to actually work lol. I think we were having other code signing issues with XCS though, and hopefully can work through them now.
Thanks again for your help.


The real license of search-guard

@floragunncom Our Project needs import search-guard，but the license is confused，so which is the real license of search-guard，Apache License 2.0 or others？
Looking forward to your reply，Best regards！

Please do not ask questions here.
For that refer to https://groups.google.com/forum/#!forum/search-guard
Github is a place only for reporting bugs or feature requests.
If you report a bug please include always the following informations:

Search Guard and Elasticsearch version
JVM version and operating system version
Number of nodes in your cluster
Description of the bug

These informations are optional but are very valueable and
typically would lead to get bugs fixed faster:

Steps to reproduce
Logfiles on DEBUG level
A failing unittest

As to your question, Search Guard is dual-licensed and you can read all about the license model on our homepage:
https://floragunn.com/searchguard-license-support/
And on this overview PDF:
https://floragunn.com/wp-content/uploads/2016/11/Search-Guard-Licensing.pdf


fix(ui): tabler line height for body set to 1.5

Closes #8.

[x] I have reviewed my code in "Files changed" tab.
[x] I have re-read the issue and this PR fully resolves it.

For buttons (--tblr-btn-line-height) was already set in a past PR

btw, why we do not add this style into body on line 5?


PhantomJS script file doesn not exist or is not a valid file: Project directory\scripts\phantom.js

I am new to GCS and have basic coding knowledge. I want to try to crawl dynamic pages using PhantomJSDocumentFetcher with the below configurations-
<documentFetcher
                    class="com.norconex.collector.http.fetch.impl.PhantomJSDocumentFetcher"
                    detectContentType="true" detectCharset="true">
                    <exePath>C:\Users\phantomjs.exe</exePath>
                    <renderWaitTime>
                          3000
                    </renderWaitTime>
                    <referencePattern></referencePattern>
<contentTypePattern></contentTypePattern>
                    <validStatusCodes>200</validStatusCodes>
                    <notFoundStatusCodes>404</notFoundStatusCodes>
              </documentFetcher>

I have downloaded phantom.exe and is using that file. On running the application, i am getting the error PhantomJS script file doesn not exist or is not a valid file: Project directory\scripts\phantom.js. I am not sure if i need to install Phantomjs or i am missing something?

The script file is found under your collector installation directory, under a "scripts" folder.  Add to your configuration a <scriptPath> with a path to that file and it should find it.


added a quick_simulate function

Summary
A function which can quickly simulate a QuantumCircuit. It can also take an input string to modify the input. For example to test a 1-bit adder:
`from qiskit import QuantumCircuit, quick_simulate
#make adder
qc = QuantumCircuit(4,2)
qc.cx(0,2)
qc.cx(1,2)
qc.ccx(0,1,3)
qc.barrier()
qc.measure(2,0)
qc.measure(3,1)
#get results
quick_simulate(qc) #returns {'00':1024}
quick_simulate(qc, x="10") # returns {'01': 1024}
etc.`
Details and comments
I wasn't exactly sure where to place the import statement. At the moment it can be imported as 'from qiskit import simulate' but if it would be better placed in the providers directory then line 82 in qiskit/init.py can be moved to qiskit/providers/init.py
I also just copied and pasted the license agreement without signing anything anywhere, it that OK?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @edwinagnew,
This sort of extension on the high level interface is usually discussed in a discussion issue first to check for consensus. I would recommend you to submit one of those (no need to close the PR, but setting on hold until consensus is reached) and, based on that, decide the direction for this PR.

Hi, thanks for your contribution. However for this kind of thing you can use the built-in quantum_info module which is designed as a native way of extracting quantum information from a circuit (statevector, expectation value, equivalent unitary, counts). So here's how you can do it in a one liner, I don't think we need to create yet another function for this.
from qiskit.quantum_info import *
Statevector.from_instruction(qc).sample_counts(1000)

Hi, thanks for pointing that out, I wasn't aware and I agree this would be redundant.
I still believe the functionality of being able to prepare a circuit on a given classical input is useful as I find myself needing that a lot, so could I add that to the sample_counts method?

I did not try it, but the functionally you are searching for seems very similar to what https://pypi.org/project/kaleidoscope/ (from @nonhermitian ) offers. Check the example here: https://twitter.com/nonhermitian/status/1306548622012620801

Yes it works similar with respect to getting a statevector, unitary, or counts directly from a circuit object. I found this to be extremely handy to have.


Changes from testing of our production env

Change contract IFPS. Change was also made manually to live contract.
Add link to new Polygon MATIC page -- now in our wiki

Hey @rasmuscnielsen this one is ready for quick review and merge, thanks!

Awesome, merging!


Add Kubernetes sock-shop namespace manifest file

#339 broke installing the demo in Kubernetes with a simple
# kubectl apply -f microservices-demo/deploy/kubernetes/manifests

as documented in the official Kubernetes docs for kubeadm due to the introduction of a new namespace sock-shop which isn't likely to exist beforehand. Therefore, users going through the documentation will receive an unexpected error when running the command.
Adding a manifest file to create the namespace fixes this. I've tested the workflow with:
# git clone https://github.com/axsuul/microservices-demo
# kubectl apply -f microservices-demo/deploy/kubernetes/manifests

Good catch, thanks!

Doesn't netpol-default-deny.yaml have this effect?


[CH][CELEBORN] CHCelebornColumnarShuffleWriter supports celeborn.client.spark.shuffle.writer to use memory sort shuffle in ClickHouse backend

What changes were proposed in this pull request?
Fix #6432.

CHCelebornColumnarShuffleWriter supports celeborn.client.spark.shuffle.writer to use memory sort shuffle in ClickHouse backend.
CHCelebornColumnarShuffleWriter initializes nativeShuffleWriter without skipping ColumnarBatch in internalWrite to avoid unnecessary creation of nativeShuffleWriter for skipping ColumnarBatch.
Extracts the same writing records code of CHCelebornColumnarShuffleWriter and VeloxCelebornColumnarShuffleWriter into CelebornColumnarShuffleWriter.

How was this patch tested?
CI.

Ping @zzcclp, @taiyang-li.


Windows installation - exceptions about logging thrown

Hi,
I'm attempting to get Kerko and KerkoApp running on Windows 10. I've seen in the previous issues that some people have succeeded with this, with a few tweaks. However I'm running into a problem which I haven't seen mentioned.
Upon running:
flask kerko sync
for the first time, I receive the following error:
'FLASK_ENV' is deprecated and will not be used in Flask 2.3. Use 'FLASK_DEBUG' instead.
Traceback (most recent call last):
  File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Python310\Scripts\flask.exe\__main__.py", line 7, in <module>
  File "C:\Users\simon\AppData\Roaming\Python\Python310\site-packages\flask\cli.py", line 1047, in main
    cli.main()
  File "C:\Python310\lib\site-packages\click\core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "C:\Python310\lib\site-packages\click\core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "C:\Python310\lib\site-packages\click\core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "C:\Python310\lib\site-packages\click\core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Python310\lib\site-packages\click\core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "C:\Python310\lib\site-packages\click\decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "**PATH REMOVED**\AppData\Roaming\Python\Python310\site-packages\flask\cli.py", line 354, in decorator
    app = __ctx.ensure_object(ScriptInfo).load_app()
  File "**PATH REMOVED**\AppData\Roaming\Python\Python310\site-packages\flask\cli.py", line 308, in load_app
    app = locate_app(import_name, name)
  File "**PATH REMOVED**\AppData\Roaming\Python\Python310\site-packages\flask\cli.py", line 218, in locate_app
    __import__(module_name)
  File "**PATH REMOVED**\kerko\kerkoapp\kerkoapp.py", line 9, in <module>
    app = create_app(env.str('FLASK_ENV'))
  File "**PATH REMOVED**\kerko\kerkoapp\app\__init__.py", line 25, in create_app
    register_extensions(app)
  File "**PATH REMOVED**\kerko\kerkoapp\app\__init__.py", line 33, in register_extensions
    logging.init_app(app)
  File "**PATH REMOVED**\kerko\kerkoapp\app\logging.py", line 40, in init_app
    syslog_handler = SysLogHandler(app.config.get('LOGGING_ADDRESS', '/dev/log'))
  File "C:\Python310\lib\logging\handlers.py", line 870, in __init__
    self._connect_unixsocket(address)
  File "C:\Python310\lib\logging\handlers.py", line 902, in _connect_unixsocket
    self.socket = socket.socket(socket.AF_UNIX, use_socktype)
AttributeError: module 'socket' has no attribute 'AF_UNIX'
Exception ignored in atexit callback: <function shutdown at 0x000002B3CC46ADD0>
Traceback (most recent call last):
  File "C:\Python310\lib\logging\__init__.py", line 2183, in shutdown
    h.close()
  File "C:\Python310\lib\logging\handlers.py", line 941, in close
    self.socket.close()
AttributeError: 'SysLogHandler' object has no attribute 'socket'

Any help on this would be much appreciated.
Thank you

Hi,
If you are running KerkoApp on a development machine, you might want to set the value of the FLASK_ENV environment variable to development. Otherwise you'll be running on production settings, which attempt to use the syslog logging handler, which won't work on Windows. If you are looking at hosting KerkoApp on Windows for production, then perhaps you could set the value of the LOGGING_HANDLER variable to an empty value (which should cause KerkoApp to use a default handler).
I hope this helps. Please let us know of the results.
KerkoApp's default production settings should probably be changed to avoid this issue on Windows, but hopefully the above workarounds can work in the meantime.

The new configuration system currently in development (#38) should help avoid this kind of trouble in the future. The syslog logging handler will have to be explicitly enabled in a configuration file.

Hi,
Thanks for your reply, and help.
I'm not sure it was entirely related to Windows. When attempting to get it set up on PythonAnywhere, I also received exceptions being thrown due to the logging handler, and exceptions thrown during the attempted handling of the logging. But I've been able to resolve some of the issues by setting LOGGING_HANDLER to an empty value, as you suggest.
Many thanks


When push MQTT SSL？

Hi, When push MQTT SSL？

@sonwa I'm going to try to work on this over the weekend, as you know there have been breaking changes going into Swift 3 right up to the last minute.  I've had to wait until those settled down and the underlying libraries I use have caught up.  Then I'll be able to resume and submit.  My best guess is within the next couple of weeks.


Version 0.2.0 (For utoipa v5)

Things that break our implementation:

[ ] Real generics
[ ] Automatic Schema Collection (maybe?) & https://github.com/juhaku/utoipa/issues/1065

I am not sure if the second thing really does break uotipauto but we could reduce compile times if we can somehow filter out what is already collected by utoipa.
Our issues that we need to fix:

[ ] ~~https://github.com/ProbablyClem/utoipauto/issues/43~~ not needed in v0.2.0 anymore

New Generics
As the aliases attribute does not exist anymore we need to gather these information on a different way.
We need to parse the response & request bodies and add them accordingly.

[ ] Check where a generic schema could be used (Founds: request_body, response (in path, IntoResponses, ToResponse), Parameters)
[ ] Parse the Generic and add them as types
[ ] resolve imports (drop the generic_full_path feature and include it directly)

[ ] checkout how to resolve relative imports like super::

@ProbablyClem I wouldn't actually change how many things are detected. (If it does not break anything).
Because it would add a lot of complexity for almost none advantages.
We would still have to loop through the files so no compile time advantages there.
What do you think?

I agree
It's nice to see utoipa advance !

@ProbablyClem
Hey,
as the mainter of utoipa pushes more features I think we can get rid of like 75% of this crate.
I guess thats the goal is, so that only paths will are needed in the openapi definition and the rest is getting discovered by utoipa directly.
ATM I would completely remove generic schema discovery and put schema discovery behind a feature flag (as I guess their are still usecases where schemas are needed but not listed in any paths macro).
I think that we can do the same with responses but currently utoipa does not support auto-discovery of responses.
Just wanted to check in with you maybe you have other/better ideas or anything you want to say.

The goal of this crate is to provide what's missing in utoipa, but ideally it'll be useless once utoipa figured it all out.
We can remove what's been added already :+1:


[OMPT] Device tracing interface buffer records have fixed thread_id of 0

Description:
The device tracing interface of OMPT offers an interface to trace the execution of OpenMP target regions on target devices without the usage of the callback interface. The advantage is that we get a more precise execution time which allows us to generate precise traces for tools like Score-P.
During my implementation of the OMPT device tracing interface, I noticed that the ompt_record_ompt_t records are missing information which I would expect to be there. Like mentioned in ROCm #2058, we are missing the device_num for the tracing interface buffer callbacks. In addition, the record is missing the correct value for thread_id. Instead, a fixed value of 0 is used.
This causes issues when trying to generate the traces with Score-P as we're missing the thread id which executed the target region. There are ways around this issue, for example by retrieving the thread id from the ompt_callback_target region and matching the target_id and host_op_id to retrieve the thread_id. Regardless, this issue should be addressed.
How to reproduce:
I've been using the following code to reproduce the issue:
#include <omp.h>
#include <stdio.h>
#include "callbacks.h"

int main( void )
{
#pragma omp parallel num_threads(2)
    {
        int M[10];
#pragma omp target enter data map(to: M[:10])
#pragma omp target map(tofrom: M)
	{
#pragma omp teams distribute parallel for simd
            for(int i = 0; i < 10; ++i)
            {
                M[i] = i;
            }
        }
#pragma omp target exit data map(from: M[:10])
    }
    return 0;
}

The header file callbacks.h is the header file used in the veccopy-ompt-target-tracing example.
Compiling and running the tool yields the following output:
> amdclang -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa -Xopenmp-target=amdgcn-amd-amdhsa -march=gfx90a -O1 -g test_multicore_single_gpu.c -o test_multicore_single_gpu.rocm
> ./test_multicore_single_gpu.rocm | grep rec
rec=0x25e0a80 type=8 time=0 thread_id=0 target_id=1
rec=0x25e0ae8 type=9 time=3796042203471304 thread_id=0 target_id=1
rec=0x146044000c90 type=8 time=0 thread_id=0 target_id=4
rec=0x146044000cf8 type=9 time=3796042203501144 thread_id=0 target_id=4
rec=0x25e5850 type=9 time=3796042204763419 thread_id=0 target_id=1
rec=0x25e58b8 type=8 time=0 thread_id=0 target_id=1
rec=0x2613fc0 type=8 time=0 thread_id=0 target_id=7
rec=0x2614028 type=9 time=3796042204778299 thread_id=0 target_id=4
rec=0x146044001620 type=8 time=0 thread_id=0 target_id=4
rec=0x146044001688 type=8 time=0 thread_id=0 target_id=9
rec=0x26146b0 type=10 time=3796042206755670 thread_id=0 target_id=7
rec=0x2614718 type=8 time=0 thread_id=0 target_id=7
rec=0x2614890 type=8 time=0 thread_id=0 target_id=11
rec=0x26148f8 type=10 time=3796042206766550 thread_id=0 target_id=9
rec=0x146044001980 type=8 time=0 thread_id=0 target_id=9
rec=0x1460440019e8 type=8 time=0 thread_id=0 target_id=13
rec=0x2614b40 type=9 time=3796042206850791 thread_id=0 target_id=11
rec=0x2614ba8 type=9 time=3796042207050481 thread_id=0 target_id=11
rec=0x2614d10 type=8 time=0 thread_id=0 target_id=11
rec=0x2614d78 type=9 time=3796042206873991 thread_id=0 target_id=13

As explained, the thread_id equals 0 in all records even though it should be 0/1 depending on the executing thread.
Reason for this issue:
In the llvm-project fork the file ompt_callback.cpp implements the common trace records. Here, the thread_id is set to a fixed value of 0 (Link to Source). Instead of this fixed value, the current executing thread id should be used.

Hi regarding this and the previously reported issues, Dhruva will be back next week and will take a look. Acknowledging them for now.

Hi regarding this and the previously reported issues, Dhruva will be back next week and will take a look. Acknowledging them for now.

That's good to hear :smile:
Most of the issues are pretty minor and can be worked around. I guess this issue, ROCm #2057 and ROCm #2058 are the most important in order to get the device tracing interface up and running for multiple target devices and multiple threads per device.
I think that the callbacks are working fine for me right now, but I'll have to double check. I made a lot of changes this week.

With the fix, here's the output.
rec=0x97f6b0 type=8 time=0 thread_id=18110385785144144712 target_id=1
rec=0x97f718 type=8 time=0 thread_id=11874416515103245694 target_id=2
rec=0xb8e7a0 type=9 time=10397119942985926 thread_id=18110385785144144712 target_id=1
rec=0xb8e808 type=9 time=10397119943070156 thread_id=18110385785144144712 target_id=1
rec=0xbcebb0 type=8 time=0 thread_id=18110385785144144712 target_id=5
rec=0xbcec18 type=9 time=10397119943128284 thread_id=11874416515103245694 target_id=2
rec=0x145e50001300 type=9 time=10397119943337844 thread_id=11874416515103245694 target_id=2
rec=0x145e50001368 type=8 time=0 thread_id=11874416515103245694 target_id=9
rec=0xdd1dd0 type=10 time=10397119956914092 thread_id=18110385785144144712 target_id=5
rec=0xdd1e38 type=8 time=0 thread_id=18110385785144144712 target_id=5
rec=0xdd1f60 type=8 time=0 thread_id=18110385785144144712 target_id=11
rec=0xdd1fc8 type=10 time=10397119956995212 thread_id=11874416515103245694 target_id=9
rec=0x145e50004280 type=8 time=0 thread_id=11874416515103245694 target_id=9
rec=0x145e500042e8 type=9 time=10397119957008174 thread_id=18110385785144144712 target_id=11
rec=0x145e50004480 type=8 time=0 thread_id=11874416515103245694 target_id=13
rec=0x145e500044e8 type=9 time=10397119957044472 thread_id=18110385785144144712 target_id=11

With the fix, here's the output.
rec=0x97f6b0 type=8 time=0 thread_id=18110385785144144712 target_id=1 rec=0x97f718 type=8 time=0 thread_id=11874416515103245694 target_id=2 rec=0xb8e7a0 type=9 time=10397119942985926 thread_id=18110385785144144712 target_id=1 rec=0xb8e808 type=9 time=10397119943070156 thread_id=18110385785144144712 target_id=1 rec=0xbcebb0 type=8 time=0 thread_id=18110385785144144712 target_id=5 rec=0xbcec18 type=9 time=10397119943128284 thread_id=11874416515103245694 target_id=2 rec=0x145e50001300 type=9 time=10397119943337844 thread_id=11874416515103245694 target_id=2 rec=0x145e50001368 type=8 time=0 thread_id=11874416515103245694 target_id=9 rec=0xdd1dd0 type=10 time=10397119956914092 thread_id=18110385785144144712 target_id=5 rec=0xdd1e38 type=8 time=0 thread_id=18110385785144144712 target_id=5 rec=0xdd1f60 type=8 time=0 thread_id=18110385785144144712 target_id=11 rec=0xdd1fc8 type=10 time=10397119956995212 thread_id=11874416515103245694 target_id=9 rec=0x145e50004280 type=8 time=0 thread_id=11874416515103245694 target_id=9 rec=0x145e500042e8 type=9 time=10397119957008174 thread_id=18110385785144144712 target_id=11 rec=0x145e50004480 type=8 time=0 thread_id=11874416515103245694 target_id=13 rec=0x145e500044e8 type=9 time=10397119957044472 thread_id=18110385785144144712 target_id=11

This looks great and should be sufficient for supporting multiple threads per targeted device with the device tracing interface. There may be a bit of work to do on our side to map from std::this_thread::get_id() to our internally assigned thread id, if that's even necessary from our side. But that's possible :smile: