{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/7225","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/7225/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/7225/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/7225/events","html_url":"https://github.com/fastlane/fastlane/issues/7225","id":192304768,"number":7225,"title":"Issue uploading w/deliver, only when run in Jenkins","user":{"login":"elliot-nelson","id":58273,"avatar_url":"https://avatars.githubusercontent.com/u/58273?v=3","gravatar_id":"","url":"https://api.github.com/users/elliot-nelson","html_url":"https://github.com/elliot-nelson","followers_url":"https://api.github.com/users/elliot-nelson/followers","following_url":"https://api.github.com/users/elliot-nelson/following{/other_user}","gists_url":"https://api.github.com/users/elliot-nelson/gists{/gist_id}","starred_url":"https://api.github.com/users/elliot-nelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elliot-nelson/subscriptions","organizations_url":"https://api.github.com/users/elliot-nelson/orgs","repos_url":"https://api.github.com/users/elliot-nelson/repos","events_url":"https://api.github.com/users/elliot-nelson/events{/privacy}","received_events_url":"https://api.github.com/users/elliot-nelson/received_events","type":"User","site_admin":false},"labels":[{"id":315718050,"url":"https://api.github.com/repos/fastlane/fastlane/labels/deliver","name":"deliver","color":"e11d21","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-29T15:01:29Z","updated_at":"2016-11-29T17:23:33Z","closed_at":"2016-11-29T17:23:33Z","body":"### New Issue Checklist\r\n\r\n- [x] Updated fastlane to the latest version\r\n- [x] I have read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n\r\n### Issue Description\r\n\r\nI'm encountering an issue that I'm not sure how to tackle.  I am running `deliver` on OSX, and everything about it works just fine -- but when I run the same shell script from within a Jenkins context, the Application Loader barfs when it attempts to describe the IPA -- it seems to be deflating only a few kilobytes instead of the full IPA (which then causes an \"invalid binary\" error).\r\n\r\nI _don't_ think there is anything wrong with fastlane in this case, I think there is a negative interaction between Jenkins and Application Loader.  Opening an issue in the desperate hope that someone has seen a similar issue, or has an idea what might fix it (I've been scouring Google with no luck whatsoever).  Or perhaps can tell me if this jingle.leghorn thing (whatever is deflating the binary) has additional options I can pass to it.\r\n\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n\r\nQuick preface, so you know what to look for.  Here is the snippet of the logs where things go awry:\r\n\r\n```\r\nDEBUG [2016-11-29 06:45:00.23]: [Transporter]: INFO: Starting media analysis of assets\r\nDEBUG [2016-11-29 06:45:00.67]: [Transporter]: DEBUG: Handling asset: filename=459ccdda2286f3794c61fd6fb59b477e.ipa,uti=com.apple.ipa,role=source,describe=true\r\nDEBUG [2016-11-29 06:45:00.67]: [Transporter]: DEBUG: Using container type tool name and version: iOS App Describer:1.25\r\nDEBUG [2016-11-29 06:45:00.67]: [Transporter]: DEBUG: Using path: /tmp/429775439.itmsp/459ccdda2286f3794c61fd6fb59b477e.ipa\r\nDEBUG [2016-11-29 06:45:01.81]: [Transporter]: DBG-X: Asset description: <?xml version=\"1.1\" encoding=\"UTF-8\"?>\r\nDEBUG [2016-11-29 06:45:01.81]: [Transporter]: DEBUG: Asset successfully described: com.apple.jingle.leghorn.software.AbstractSoftwareDescriber$1@162d677b\r\nDEBUG [2016-11-29 06:45:01.97]: [Transporter]: DBG-X: Deflated 2173 bytes to 807\r\nDEBUG [2016-11-29 06:45:01.97]: [Transporter]: INFO: Asset media analysis has completed\r\n```\r\n\r\nAs you can see, the deflated bytes are way too small -- almost like it is mixing up the contents of the XML file with the contents of the IPA file (and that telltale \"Asset description\" line).  Here is what a successful run looks like:\r\n\r\n```\r\nDEBUG [2016-11-29 06:18:53.53]: [Transporter]: INFO: Starting media analysis of assets\r\nDEBUG [2016-11-29 06:18:53.96]: [Transporter]: DEBUG: Handling asset: filename=459ccdda2286f3794c61fd6fb59b477e.ipa,uti=com.apple.ipa,role=source,describe=true\r\nDEBUG [2016-11-29 06:18:53.96]: [Transporter]: DEBUG: Using container type tool name and version: iOS App Describer:1.25\r\nDEBUG [2016-11-29 06:18:53.96]: [Transporter]: DEBUG: Using path: /tmp/429775439.itmsp/459ccdda2286f3794c61fd6fb59b477e.ipa\r\nDEBUG [2016-11-29 06:19:22.67]: [Transporter]: DEBUG: Asset successfully described: com.apple.jingle.leghorn.software.AbstractSoftwareDescriber$1@1879c4e3\r\nDEBUG [2016-11-29 06:19:22.97]: [Transporter]: DBG-X: Deflated 4582229 bytes to 686068\r\nDEBUG [2016-11-29 06:19:22.98]: [Transporter]: INFO: Asset media analysis has completed\r\n```\r\n\r\nThat additional DBG-X line is missing, and the byte count is correct.  (I have run both the successful and failure cases dozens of times, and every time the log comes out the same -- everything before this section is identical.)\r\n\r\nHere's a complete run of the failing case:\r\n\r\n```\r\nDELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS=-t DAV deliver -u dpreleasebot@company.com -i ./build_output/APP.ipa --skip_screenshots --skip_metadata --verbose\r\nINFO [2016-11-29 06:44:42.26]: Login to iTunes Connect (dpreleasebot@company.com)\r\nLooking for iTunes Connect Team with ID XXXXXX\r\nINFO [2016-11-29 06:44:45.13]: Login successful\r\n\r\n+-----------------------+-----------------------+\r\n|            \u001B[32mdeliver 1.16.0 Summary\u001B[0m             |\r\n+-----------------------+-----------------------+\r\n| username              | dpreleasebot@company.com  |\r\n| ipa                   | ./build_output/APP.ipa |\r\n| skip_screenshots      | true                  |\r\n| skip_metadata         | true                  |\r\n| app_identifier        | com.comp.compgo         |\r\n| screenshots_path      | ./screenshots         |\r\n| metadata_path         | ./metadata            |\r\n| app_version           | 8.0.0                 |\r\n| platform              | ios                   |\r\n| skip_binary_upload    | false                 |\r\n| force                 | false                 |\r\n| submit_for_review     | false                 |\r\n| automatic_release     | false                 |\r\n| overwrite_screenshots | false                 |\r\n+-----------------------+-----------------------+\r\n\r\nINFO [2016-11-29 06:44:46.31]: Making sure the latest version on iTunes Connect matches '8.0.0' from the ipa file...\r\nINFO [2016-11-29 06:44:48.47]: \u001B[32m'8.0.0' is the latest version on iTunes Connect\u001B[0m\r\nINFO [2016-11-29 06:44:56.63]: Uploading binary to iTunes Connect\r\nINFO [2016-11-29 06:44:56.93]: \u001B[32mWrote XML data to '/tmp/429775439.itmsp'\u001B[0m\r\nINFO [2016-11-29 06:44:57.08]: Going to upload updated app to iTunes Connect\r\nINFO [2016-11-29 06:44:57.08]: \u001B[32mThis might take a few minutes. Please don't interrupt the script.\u001B[0m\r\nDEBUG [2016-11-29 06:44:57.15]: /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 dpreleasebot@company.com -p YourPassword -f /tmp/429775439.itmsp -t DAV -t Signiant -k 100000 2>&1\r\nDEBUG [2016-11-29 06:44:59.08]: [Transporter]: INFO: Transporter is skipping bundle update check: Already checked recently.\r\nDEBUG [2016-11-29 06:44:59.18]: [Transporter]: INFO: Logging configured successfully.\r\nDEBUG [2016-11-29 06:44:59.18]: [Transporter]: DEBUG: Attempting refresh of configuration data from https://contentdelivery.itunes.apple.com/transporter/Defaults.properties\r\nDEBUG [2016-11-29 06:44:59.20]: [Transporter]: DEBUG: Configuration refresh successful.\r\nDEBUG [2016-11-29 06:44:59.20]: [Transporter]: DEBUG: Saving configuration to local path: /Users/hadronci/.itmstransporter/Defaults.properties\r\nDEBUG [2016-11-29 06:44:59.20]: [Transporter]: INFO: iTMSTransporter : iTunes Store Transporter [1.9.1]\r\nDEBUG [2016-11-29 06:44:59.20]: [Transporter]: INFO: OS identifier: Mac OS X 10.12.1 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_05_12_09_52-b00\r\nDEBUG [2016-11-29 06:44:59.21]: [Transporter]: INFO: Memory: [JVM] 853M free, 982M total, 982M max [System] (Physical) 11146M free, 16384M total (Swap) 0 free, 0 total\r\nDEBUG [2016-11-29 06:44:59.21]: [Transporter]: INFO: Upload mode selected.\r\nDEBUG [2016-11-29 06:44:59.22]: [Transporter]: INFO: Examining the package at: /tmp/429775439.itmsp\r\nDEBUG [2016-11-29 06:44:59.22]: [Transporter]: INFO: Ensuring that package has well formed metadata file...\r\nDEBUG [2016-11-29 06:44:59.22]: [Transporter]: DEBUG: Getting case-sensitive metadata xml filename...\r\nDEBUG [2016-11-29 06:44:59.22]: [Transporter]: INFO: Gathering the list of valid files from the package ...\r\nDEBUG [2016-11-29 06:44:59.22]: [Transporter]: DEBUG:   459ccdda2286f3794c61fd6fb59b477e.ipa will be verified by Apple's web service to determine if it is a valid file.\r\nDEBUG [2016-11-29 06:44:59.22]: [Transporter]: DEBUG:   metadata.xml will be verified by Apple's web service to determine if it is a valid file.\r\nDEBUG [2016-11-29 06:44:59.22]: [Transporter]: INFO: Finished gathering the list of valid files from the package.\r\nDEBUG [2016-11-29 06:44:59.22]: [Transporter]: DEBUG:   Case-sensitive metadata filename is: metadata.xml\r\nDEBUG [2016-11-29 06:44:59.24]: [Transporter]: INFO: Performing authentication of package 429775439.itmsp ...\r\nDEBUG [2016-11-29 06:44:59.24]: [Transporter]: DBG-X: Memory: [JVM] 838M free, 982M total, 982M max [System] (Physical) 11134M free, 16384M total (Swap) 0 free, 0 total\r\nDEBUG [2016-11-29 06:44:59.24]: [Transporter]: DBG-X: Memory: [JVM] 838M free, 982M total, 982M max [System] (Physical) 11134M free, 16384M total (Swap) 0 free, 0 total\r\nDEBUG [2016-11-29 06:44:59.24]: [Transporter]: DBG-X: Using operation named: authenticateForSession\r\nDEBUG [2016-11-29 06:44:59.24]: [Transporter]: DBG-X: Apple's web service operation input parameters:\r\nDEBUG [2016-11-29 06:44:59.24]: [Transporter]: DBG-X:   parameter Application = iTMSTransporter\r\nDEBUG [2016-11-29 06:44:59.24]: [Transporter]: DBG-X:   parameter BaseVersion = 1.9.0\r\nDEBUG [2016-11-29 06:44:59.24]: [Transporter]: DBG-X:   parameter OSIdentifier = Mac OS X 10.12.1 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_05_12_09_52-b00\r\nDEBUG [2016-11-29 06:44:59.25]: [Transporter]: DBG-X:   parameter Password = **hidden value**\r\nDEBUG [2016-11-29 06:44:59.25]: [Transporter]: DBG-X:   parameter TransporterArguments = -m upload -u dpreleasebot@company.com -p **hidden value** -f /tmp/429775439.itmsp -t DAV -t Signiant -k 100000\r\nDEBUG [2016-11-29 06:44:59.25]: [Transporter]: DBG-X:   parameter Username = dpreleasebot@company.com\r\nDEBUG [2016-11-29 06:44:59.25]: [Transporter]: DBG-X:   parameter Version = 1.9.1\r\nDEBUG [2016-11-29 06:44:59.25]: [Transporter]: DBG-X:   parameter iTMSTransporterMode = upload\r\nDEBUG [2016-11-29 06:44:59.25]: [Transporter]: INFO: id = 20161129064459-636\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: DBG-X: Apple's web service operation return value:\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: DBG-X:   parameter SessionId = **hidden value**\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: DBG-X:   parameter SharedSecret = **hidden value**\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: DBG-X: Deflated 451 bytes to 392\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: DBG-X: Using operation named: validateMetadata\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: DBG-X: Apple's web service operation input parameters:\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: DBG-X:   parameter Application = iTMSTransporter\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: DBG-X:   parameter BaseVersion = 1.9.0\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: DBG-X:   parameter Files = [459ccdda2286f3794c61fd6fb59b477e.ipa, metadata.xml]\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: DBG-X:   parameter Metadata = <?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: DBG-X:   parameter MetadataChecksum = 7ac6da2c5b6e9101eb54bc6dc52f3fa5\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: DBG-X:   parameter MetadataCompressed = (suppressed)\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: DBG-X:   parameter OSIdentifier = Mac OS X 10.12.1 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_05_12_09_52-b00\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: DBG-X:   parameter PackageName = 429775439.itmsp\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: DBG-X:   parameter PackageSize = 64955312\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: DBG-X:   parameter Throttle = 100000\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: DBG-X:   parameter TransporterArguments = -m upload -u dpreleasebot@company.com -p **hidden value** -f /tmp/429775439.itmsp -t DAV -t Signiant -k 100000\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: DBG-X:   parameter Username = dpreleasebot@company.com\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: DBG-X:   parameter Version = 1.9.1\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: DBG-X:   parameter iTMSTransporterMode = upload\r\nDEBUG [2016-11-29 06:44:59.51]: [Transporter]: INFO: id = 20161129064459-306\r\nDEBUG [2016-11-29 06:45:00.23]: [Transporter]: DBG-X: Apple's web service operation return value:\r\nDEBUG [2016-11-29 06:45:00.23]: [Transporter]: DBG-X:   parameter CPUToken = 768734d7-fa59-4858-a29d-f4bcea9d261b/1480430700093\r\nDEBUG [2016-11-29 06:45:00.23]: [Transporter]: DBG-X:   parameter AssetsToDescribe = [{UTI=com.apple.ipa, Role=source, ShouldDescribeAsset=true, Filename=459ccdda2286f3794c61fd6fb59b477e.ipa}]\r\nDEBUG [2016-11-29 06:45:00.23]: [Transporter]: DBG-X:   parameter FileSizes = {459ccdda2286f3794c61fd6fb59b477e.ipa=64954861}\r\nDEBUG [2016-11-29 06:45:00.23]: [Transporter]: DBG-X:   parameter Checksums = {459ccdda2286f3794c61fd6fb59b477e.ipa=d33e35a5eaccf8d5ee0fd9f9c97eded6}\r\nDEBUG [2016-11-29 06:45:00.23]: [Transporter]: DBG-X:   parameter Success = true\r\nDEBUG [2016-11-29 06:45:00.23]: [Transporter]: DBG-X:   parameter FilesToUpload = [metadata.xml, 459ccdda2286f3794c61fd6fb59b477e.ipa]\r\nDEBUG [2016-11-29 06:45:00.23]: [Transporter]: DBG-X:   parameter MinimumFileSizeThresholdForCheckum = 104857600\r\nDEBUG [2016-11-29 06:45:00.23]: [Transporter]: DBG-X:   parameter ProviderNameForToken = HomeBoxOfficeInc\r\nDEBUG [2016-11-29 06:45:00.23]: [Transporter]: INFO: The list of files requested for upload by Apple is: [metadata.xml, 459ccdda2286f3794c61fd6fb59b477e.ipa].  These are the files that will be uploaded.\r\nDEBUG [2016-11-29 06:45:00.23]: [Transporter]: INFO: Starting media analysis of assets\r\nDEBUG [2016-11-29 06:45:00.67]: [Transporter]: DEBUG: Handling asset: filename=459ccdda2286f3794c61fd6fb59b477e.ipa,uti=com.apple.ipa,role=source,describe=true\r\nDEBUG [2016-11-29 06:45:00.67]: [Transporter]: DEBUG: Using container type tool name and version: iOS App Describer:1.25\r\nDEBUG [2016-11-29 06:45:00.67]: [Transporter]: DEBUG: Using path: /tmp/429775439.itmsp/459ccdda2286f3794c61fd6fb59b477e.ipa\r\nDEBUG [2016-11-29 06:45:01.81]: [Transporter]: DBG-X: Asset description: <?xml version=\"1.1\" encoding=\"UTF-8\"?>\r\nDEBUG [2016-11-29 06:45:01.81]: [Transporter]: DEBUG: Asset successfully described: com.apple.jingle.leghorn.software.AbstractSoftwareDescriber$1@162d677b\r\nDEBUG [2016-11-29 06:45:01.97]: [Transporter]: DBG-X: Deflated 2173 bytes to 807\r\nDEBUG [2016-11-29 06:45:01.97]: [Transporter]: INFO: Asset media analysis has completed\r\nDEBUG [2016-11-29 06:45:01.97]: [Transporter]: DBG-X: Memory: [JVM] 761M free, 982M total, 982M max [System] (Physical) 11073M free, 16384M total (Swap) 0 free, 0 total\r\nDEBUG [2016-11-29 06:45:01.97]: [Transporter]: DBG-X: Using operation named: lookupTransportDiagnostic\r\nDEBUG [2016-11-29 06:45:01.97]: [Transporter]: DBG-X: Apple's web service operation input parameters:\r\nDEBUG [2016-11-29 06:45:01.97]: [Transporter]: DBG-X:   parameter Application = iTMSTransporter\r\nDEBUG [2016-11-29 06:45:01.97]: [Transporter]: DBG-X:   parameter BaseVersion = 1.9.0\r\nDEBUG [2016-11-29 06:45:01.97]: [Transporter]: DBG-X:   parameter OSIdentifier = Mac OS X 10.12.1 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_05_12_09_52-b00\r\nDEBUG [2016-11-29 06:45:01.97]: [Transporter]: DBG-X:   parameter TransporterArguments = -m upload -u dpreleasebot@company.com -p **hidden value** -f /tmp/429775439.itmsp -t DAV -t Signiant -k 100000\r\nDEBUG [2016-11-29 06:45:01.97]: [Transporter]: DBG-X:   parameter Username = dpreleasebot@company.com\r\nDEBUG [2016-11-29 06:45:01.97]: [Transporter]: DBG-X:   parameter Version = 1.9.1\r\nDEBUG [2016-11-29 06:45:01.97]: [Transporter]: DBG-X:   parameter iTMSTransporterMode = upload\r\nDEBUG [2016-11-29 06:45:01.97]: [Transporter]: INFO: id = 20161129064501-794\r\nDEBUG [2016-11-29 06:45:04.46]: [Transporter]: DBG-X: Apple's web service operation return value:\r\nDEBUG [2016-11-29 06:45:04.46]: [Transporter]: DBG-X:   parameter SigniantLoggingLevel = OFF\r\nDEBUG [2016-11-29 06:45:04.46]: [Transporter]: DBG-X:   parameter AsperaLoggingLevel = OFF\r\nDEBUG [2016-11-29 06:45:04.75]: [Transporter]: DBG-X: WebDAV status: 401\r\nDEBUG [2016-11-29 06:45:04.76]: [Transporter]: DEBUG: Using token file path /Users/hadronci/.itmstransporter/UploadTokens/build-ios.local_HomeBoxOfficeInc_429775439.itmsp.token\r\nDEBUG [2016-11-29 06:45:04.76]: [Transporter]: DEBUG: Attempting exclusive file lock on token file\r\nDEBUG [2016-11-29 06:45:04.76]: [Transporter]: DEBUG: Token exists, examining\r\nDEBUG [2016-11-29 06:45:04.78]: [Transporter]: DEBUG: Token pid: 85498, found process = false; my pid: 91058\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DEBUG: Reusing existing token: 6ec395c0-4c67-4e8c-9a1f-878b86c5a2d9/1480428244992\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DEBUG: Set token: 6ec395c0-4c67-4e8c-9a1f-878b86c5a2d9/1480428244992\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DBG-X: Memory: [JVM] 746M free, 982M total, 982M max [System] (Physical) 11071M free, 16384M total (Swap) 0 free, 0 total\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DBG-X: Deflated 451 bytes to 392\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DBG-X: Using operation named: validateAssets\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DBG-X: Apple's web service operation input parameters:\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DBG-X:   parameter Application = iTMSTransporter\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DBG-X:   parameter BaseVersion = 1.9.0\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DBG-X:   parameter CPUToken = 6ec395c0-4c67-4e8c-9a1f-878b86c5a2d9/1480428244992\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DBG-X:   parameter Files = [459ccdda2286f3794c61fd6fb59b477e.ipa, metadata.xml]\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DBG-X:   parameter MetadataChecksum = 7ac6da2c5b6e9101eb54bc6dc52f3fa5\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DBG-X:   parameter MetadataCompressed = (suppressed)\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DBG-X:   parameter OSIdentifier = Mac OS X 10.12.1 (x86_64); jvm=24.80-b07; jre=1.7.0-internal-root_2015_05_12_09_52-b00\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DBG-X:   parameter PackageName = 429775439.itmsp\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DBG-X:   parameter PackageSize = 64955312\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DBG-X:   parameter Throttle = 100000\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DBG-X:   parameter Transport = DAV\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DBG-X:   parameter TransporterArguments = -m upload -u dpreleasebot@company.com -p **hidden value** -f /tmp/429775439.itmsp -t DAV -t Signiant -k 100000\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DBG-X:   parameter Username = dpreleasebot@company.com\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DBG-X:   parameter Version = 1.9.1\r\nDEBUG [2016-11-29 06:45:04.81]: [Transporter]: DBG-X:   parameter iTMSTransporterMode = upload\r\nDEBUG [2016-11-29 06:45:04.82]: [Transporter]: INFO: id = 20161129064504-191\r\nDEBUG [2016-11-29 06:45:05.48]: [Transporter]: DBG-X: Apple's web service operation return value:\r\nDEBUG [2016-11-29 06:45:05.48]: [Transporter]: DBG-X:   parameter ErrorMessage = ERROR ITMS-90168: \"The binary you uploaded was invalid.\r\nDEBUG [2016-11-29 06:45:05.48]: [Transporter]: DBG-X:   parameter CPUToken = 6ec395c0-4c67-4e8c-9a1f-878b86c5a2d9/1480428244992\r\nDEBUG [2016-11-29 06:45:05.48]: [Transporter]: DBG-X:   parameter AssetsToDescribe = [{UTI=com.apple.ipa, Role=source, ShouldDescribeAsset=true, Filename=459ccdda2286f3794c61fd6fb59b477e.ipa}]\r\nDEBUG [2016-11-29 06:45:05.48]: [Transporter]: DBG-X:   parameter FileSizes = {459ccdda2286f3794c61fd6fb59b477e.ipa=64954861}\r\nDEBUG [2016-11-29 06:45:05.48]: [Transporter]: DBG-X:   parameter Checksums = {459ccdda2286f3794c61fd6fb59b477e.ipa=d33e35a5eaccf8d5ee0fd9f9c97eded6}\r\nDEBUG [2016-11-29 06:45:05.48]: [Transporter]: DBG-X:   parameter Errors = [ERROR ITMS-90168: \"The binary you uploaded was invalid.\"]\r\nDEBUG [2016-11-29 06:45:05.48]: [Transporter]: DBG-X:   parameter ErrorCode = 1102\r\nDEBUG [2016-11-29 06:45:05.49]: [Transporter]: DBG-X:   parameter Success = false\r\nDEBUG [2016-11-29 06:45:05.49]: [Transporter]: DBG-X:   parameter FilesToUpload = [metadata.xml, 459ccdda2286f3794c61fd6fb59b477e.ipa]\r\nDEBUG [2016-11-29 06:45:05.49]: [Transporter]: DBG-X:   parameter MinimumFileSizeThresholdForCheckum = 104857600\r\nERROR [2016-11-29 06:45:05.49]: \u001B[31m[Transporter Error Output]: ERROR ITMS-90168: \"The binary you uploaded was invalid.\"\r\n\u001B[0m\r\nDEBUG [2016-11-29 06:45:05.49]: [Transporter]: DBG-X: The error code is: 1102\r\nDEBUG [2016-11-29 06:45:05.49]: [Transporter]: INFO: Done performing authentication.\r\nERROR [2016-11-29 06:45:05.64]: \u001B[31mTransporter transfer failed.\u001B[0m\r\nWARN [2016-11-29 06:45:05.64]: \u001B[33m\u001B[0m\r\nERROR [2016-11-29 06:45:05.64]: \u001B[31mERROR ITMS-90168: \"The binary you uploaded was invalid.\"\r\n\u001B[0m\r\nERROR [2016-11-29 06:45:05.71]: \u001B[31mERROR ITMS-90168: \"The binary you uploaded was invalid.\"\r\nReturn status of iTunes Transporter was 1: ERROR ITMS-90168: \"The binary you uploaded was invalid.\"\r\nThe call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.\u001B[0m\r\n\r\nLooking for related GitHub issues on fastlane/fastlane...\r\nSearch query: Could not upload binary to iTunes Connect. Check out the error above\r\n\r\nURL: https://api.github.com/search/issues?q=Could%20not%20upload%20binary%20to%20iTunes%20Connect.%20Check%20out%20the%20error%20above+repo:fastlane/fastlane\r\n➡️  \u001B[33mIssues with deliver, can't upload binary / IPA\u001B[0m\r\n   https://github.com/fastlane/fastlane/issues/6151 [\u001B[31mopen\u001B[0m] 35 💬\r\n   56 minutes ago\r\n\r\n➡️  \u001B[33mBinary upload invalid / [!] {\"data\"=>nil, \"messages\"=>{\"warn\"=>nil, \"error\"=>[\"ITC.response.error.OPERATION_FAILED\"], \"info\"=>nil}, \"statusCode\"=>\"ERROR\"}\u001B[0m\r\n   https://github.com/fastlane/fastlane/issues/6419 [\u001B[31mopen\u001B[0m] 60 💬\r\n   5 days ago\r\n\r\n➡️  \u001B[33mCould not upload binary to iTunes Connect\u001B[0m\r\n   https://github.com/fastlane/fastlane/issues/4339 [\u001B[32mclosed\u001B[0m] 19 💬\r\n   03 Oct 2016\r\n\r\nand 39 more at: https://github.com/fastlane/fastlane/search?q=Could%20not%20upload%20binary%20to%20iTunes%20Connect.%20Check%20out%20the%20error%20above&type=Issues&utf8=✓\r\n/Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.57.1/lib/fastlane_core/ui/interface.rb:145:in `user_error!': \u001B[31m[!] Could not upload binary to iTunes Connect. Check out the error above\u001B[0m (FastlaneCore::Interface::FastlaneError)\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.57.1/lib/fastlane_core/ui/ui.rb:14:in `method_missing'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/deliver-1.16.0/lib/deliver/runner.rb:84:in `upload_binary'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/deliver-1.16.0/lib/deliver/runner.rb:25:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/deliver-1.16.0/lib/deliver/commands_generator.rb:63:in `block (2 levels) in run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.57.1/lib/fastlane_core/ui/fastlane_runner.rb:38:in `run!'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/deliver-1.16.0/lib/deliver/commands_generator.rb:149:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/deliver-1.16.0/lib/deliver/commands_generator.rb:12:in `start'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/deliver-1.16.0/bin/deliver:5:in `<top (required)>'\r\n\tfrom /usr/local/bin/deliver:23:in `load'\r\n\tfrom /usr/local/bin/deliver:23:in `<main>'\r\n```\r\n\r\n### Environment\r\n\r\n<details><summary>🚫 fastlane environment 🚫</summary>\r\n\r\n### Stack\r\n\r\n| Key                 | Value                                                          |\r\n| ------------------- | -------------------------------------------------------------- |\r\n| OS                  | 10.12.1                                                        |\r\n| Ruby                | 2.0.0                                                          |\r\n| Bundler?            | false                                                          |\r\n| Git                 | git version 2.9.3 (Apple Git-75)                               |\r\n| Installation Source | /usr/local/bin/fastlane                                        |\r\n| Host                | Mac OS X 10.12.1 (16B2555)                                     |\r\n| Ruby Lib Dir        | /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib |\r\n| OpenSSL Version     | OpenSSL 0.9.8zc 19 Mar 2015                                    |\r\n| Is contained        | false                                                          |\r\n| Xcode Path          | /Applications/Xcode.app/Contents/Developer/                    |\r\n| Xcode Version       | 8.1                                                            |\r\n\r\n\r\n### System Locale\r\n\r\n| Variable | Value       |   |\r\n| -------- | ----------- | - |\r\n| LANG     | en_US.UTF-8 | ✅ |\r\n| LC_ALL   |             |   |\r\n| LANGUAGE |             |   |\r\n\r\n\r\n### fastlane files:\r\n\r\n**No Fastfile found**\r\n\r\n\r\n**No Appfile found**\r\n\r\n\r\n### fastlane gems\r\n\r\n| Gem                 | Version | Update-Status       |\r\n| ------------------- | ------- | ------------------- |\r\n| credentials_manager | 0.16.2  | ✅ Up-To-Date        |\r\n| fastlane_core       | 0.57.1  | ✅ Up-To-Date        |\r\n| spaceship           | 0.38.1  | ✅ Up-To-Date        |\r\n| deliver             | 1.16.0  | ✅ Up-To-Date        |\r\n| snapshot            | 1.16.4  | ✅ Up-To-Date        |\r\n| frameit             | 3.0.0   | ✅ Up-To-Date        |\r\n| pem                 | 1.4.0   | ✅ Up-To-Date        |\r\n| cert                | 1.4.4   | ✅ Up-To-Date        |\r\n| sigh                | 1.11.2  | 🚫 Update availaible |\r\n| produce             | 1.3.1   | ✅ Up-To-Date        |\r\n| gym                 | 1.12.1  | ✅ Up-To-Date        |\r\n| pilot               | 1.12.1  | ✅ Up-To-Date        |\r\n| scan                | 0.14.2  | ✅ Up-To-Date        |\r\n| supply              | 0.8.0   | ✅ Up-To-Date        |\r\n| match               | 0.11.0  | ✅ Up-To-Date        |\r\n| screengrab          | 0.5.6   | ✅ Up-To-Date        |\r\n| fastlane            | 1.110.0 | ✅ Up-To-Date        |\r\n\r\n\r\n### Loaded fastlane plugins:\r\n\r\n**No plugins Loaded**\r\n\r\n\r\n<details><summary><b>Loaded gems</b></summary>\r\n\r\n| Gem                       | Version      |\r\n| ------------------------- | ------------ |\r\n| highline                  | 1.7.8        |\r\n| commander                 | 4.4.0        |\r\n| terminal-table            | 1.4.5        |\r\n| json                      | 1.8.3        |\r\n| multipart-post            | 2.0.0        |\r\n| faraday                   | 0.10.0       |\r\n| faraday_middleware        | 0.10.1       |\r\n| dotenv                    | 2.1.1        |\r\n| net-ssh                   | 3.2.0        |\r\n| net-sftp                  | 2.1.2        |\r\n| plist                     | 3.2.0        |\r\n| rubyzip                   | 1.1.7        |\r\n| security                  | 0.1.3        |\r\n| krausefx-shenzhen         | 0.14.11      |\r\n| slack-notifier            | 1.5.1        |\r\n| i18n                      | 0.7.0        |\r\n| thread_safe               | 0.3.5        |\r\n| tzinfo                    | 1.2.2        |\r\n| minitest                  | 5.9.1        |\r\n| activesupport             | 4.2.7.1      |\r\n| CFPropertyList            | 2.3.4        |\r\n| claide                    | 1.0.1        |\r\n| colored                   | 1.2          |\r\n| nanaimo                   | 0.2.2        |\r\n| xcodeproj                 | 1.4.1        |\r\n| rouge                     | 1.11.1       |\r\n| xcpretty                  | 0.2.4        |\r\n| terminal-notifier         | 1.7.1        |\r\n| addressable               | 2.3.8        |\r\n| xcode-install             | 2.0.9        |\r\n| word_wrap                 | 1.0.0        |\r\n| multi_json                | 1.12.1       |\r\n| babosa                    | 1.0.2        |\r\n| excon                     | 0.54.0       |\r\n| gh_inspector              | 1.0.2        |\r\n| credentials_manager       | 0.16.2       |\r\n| fastlane_core             | 0.57.1       |\r\n| bundler                   | 1.13.6       |\r\n| multi_xml                 | 0.5.5        |\r\n| unf_ext                   | 0.0.7.2      |\r\n| unf                       | 0.1.4        |\r\n| domain_name               | 0.5.20161021 |\r\n| http-cookie               | 1.0.3        |\r\n| faraday-cookie_jar        | 0.0.6        |\r\n| fastimage                 | 1.6.8        |\r\n| mini_magick               | 4.5.1        |\r\n| xcpretty-travis-formatter | 0.0.4        |\r\n| uber                      | 0.0.15       |\r\n| representable             | 2.3.0        |\r\n| retriable                 | 2.1.0        |\r\n| mime-types-data           | 3.2016.0521  |\r\n| mime-types                | 3.1          |\r\n| hurley                    | 0.2          |\r\n| little-plugger            | 1.1.4        |\r\n| logging                   | 2.1.0        |\r\n| jwt                       | 1.5.6        |\r\n| memoist                   | 0.15.0       |\r\n| os                        | 0.9.6        |\r\n| signet                    | 0.7.3        |\r\n| googleauth                | 0.5.1        |\r\n| httpclient                | 2.8.2.4      |\r\n| google-api-client         | 0.9.20       |\r\n</details>\r\n\r\n\r\n*generated on:* **2016-11-29**\r\n</details>"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/263637187","html_url":"https://github.com/fastlane/fastlane/issues/7225#issuecomment-263637187","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/7225","id":263637187,"user":{"login":"elliot-nelson","id":58273,"avatar_url":"https://avatars.githubusercontent.com/u/58273?v=3","gravatar_id":"","url":"https://api.github.com/users/elliot-nelson","html_url":"https://github.com/elliot-nelson","followers_url":"https://api.github.com/users/elliot-nelson/followers","following_url":"https://api.github.com/users/elliot-nelson/following{/other_user}","gists_url":"https://api.github.com/users/elliot-nelson/gists{/gist_id}","starred_url":"https://api.github.com/users/elliot-nelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elliot-nelson/subscriptions","organizations_url":"https://api.github.com/users/elliot-nelson/orgs","repos_url":"https://api.github.com/users/elliot-nelson/repos","events_url":"https://api.github.com/users/elliot-nelson/events{/privacy}","received_events_url":"https://api.github.com/users/elliot-nelson/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T17:23:33Z","updated_at":"2016-11-29T17:23:33Z","body":"I've discovered the source of the issue -- our Jenkins script was setting a magic environment variable `TOOLS_PATH`.  No idea why, but if I eliminate this var, the Loader behaves as expected.  Going to go ahead and close this issue."}}
{"actor":{"display_login":"elliot-nelson"}}