Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2108

[macOS] Fix notarization as of 2020-04-04

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.4.2
    • Fix Version/s: 4.4.2
    • Component/s: Packaging / Build

      Description

      Since the week-end of 2020-04-04, the notarization is failing. There is no debugging output, only the exit code that is 24.

      After a small debugging session, the full error is:

      $ python tools/osx/notarize.py dist/nuxeo-drive-4.4.2.dmg
      >>> [notarization] Uploading 'dist/nuxeo-drive-4.4.2.dmg'
          (it may take a while)
       !! ERROR
      2020-04-06 18:22:43.048 altool[46630:2764995]  Error:
      [2020-04-06 18:22:33 CEST] <main>  INFO: Configuring logging...
      [2020-04-06 18:22:33 CEST] <main>  INFO: Logging level set to eXtreme
      [2020-04-06 18:22:33 CEST] <main>  INFO: Transporter is searching for new software components.
      [2020-04-06 18:22:33 CEST] <main>  INFO: INFO: using cached repository.xml file.
      [2020-04-06 18:22:34 CEST] <main>  INFO: Update check complete.
      [2020-04-06 18:22:39 CEST] <main> DEBUG: Attempting refresh of configuration data from https://contentdelivery.itunes.apple.com/transporter/Defaults.properties
      [2020-04-06 18:22:39 CEST] <main> DEBUG: Configuration refresh successful.
      [2020-04-06 18:22:39 CEST] <main> DEBUG: Saving configuration to local path: /Users/tiger-222/Library/Caches/com.apple.amp.itmstransporter/Defaults.properties
      [2020-04-06 18:22:40 CEST] <main>  INFO: iTMSTransporter : iTunes Store Transporter [2.0.0]
      [2020-04-06 18:22:40 CEST] <main>  INFO: OS identifier: Mac OS X 10.15.3 (x86_64); jvm=25.71-b02; jre=1.8.0-u131-b11-iTMSTransporter-b02
      [2020-04-06 18:22:40 CEST] <main>  INFO: Memory: [JVM] 1019M free, 1109M total, 1820M max [System] (Physical) 5426M free, 16384M total (Swap) 1575M free, 4096M total
      [2020-04-06 18:22:40 CEST] <main>  INFO: Client: altool 1.1 (1138)
      [2020-04-06 18:22:40 CEST] <main>  INFO: Upload mode selected.
      [2020-04-06 18:22:40 CEST] <main> DBG-X: Memory: [JVM] 1009M free, 1109M total, 1820M max [System] (Physical) 5418M free, 16384M total (Swap) 1575M free, 4096M total
      [2020-04-06 18:22:40 CEST] <main> DBG-X: Using operation named: authenticateForTransportDiscovery
      [2020-04-06 18:22:40 CEST] <main> DBG-X: Apple's web service operation input parameters:
      [2020-04-06 18:22:40 CEST] <main> DBG-X:   parameter Application = iTMSTransporter
      [2020-04-06 18:22:40 CEST] <main> DBG-X:   parameter BaseVersion = 1.11.0
      [2020-04-06 18:22:40 CEST] <main> DBG-X:   parameter Client = altool
      [2020-04-06 18:22:40 CEST] <main> DBG-X:   parameter ClientVersion = 1.1 (1138)
      [2020-04-06 18:22:40 CEST] <main> DBG-X:   parameter OSIdentifier = Mac OS X 10.15.3 (x86_64); jvm=25.71-b02; jre=1.8.0-u131-b11-iTMSTransporter-b02
      [2020-04-06 18:22:40 CEST] <main> DBG-X:   parameter StatisticsClientStartDateTimeZoneISO = 2020-04-06T18:22:40+02:00
      [2020-04-06 18:22:40 CEST] <main> DBG-X:   parameter StatisticsPreviousCallDurationInSecs = 0.870671558
      [2020-04-06 18:22:40 CEST] <main> DBG-X:   parameter TransporterArguments = -m upload -u system@nuxeo.com -vp json -sessionid @env:67B60002-15C8-4BF6-A716-12EA67E13D5F -sharedsecret **hidden value** -f /var/folders/cl/np3mbdjs28sb3sgbgh67lv680000gn/T/AB38223A-7827-4FC5-9A93-C1CDD4A304FF/Untitled.itmsp -indicator true -v eXtreme -Dtransporter.client=altool -Dtransporter.client.version=1.1 (1138)
      [2020-04-06 18:22:40 CEST] <main> DBG-X:   parameter Version = 2.0.0
      [2020-04-06 18:22:40 CEST] <main> DBG-X:   parameter iTMSTransporterMode = upload
      [2020-04-06 18:22:40 CEST] <main>  INFO: id = 20200406182240-108
      [2020-04-06 18:22:40 CEST] <main>  INFO: iTMSTransporter Correlation Key: 4f6bb3b8-22fd-4369-b429-62ce1334ffd1-0001
      [2020-04-06 18:22:41 CEST] <main> DBG-X: Apple's web service operation return value:
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter EnableJWTForAllCalls = false
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter PreferredTransports = [HTTP, Signiant, Aspera, DAV]
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter TransportHosts.Signiant = [sgr604.apple.com:44001, sgr601.apple.com:44001, sgr603.apple.com:44001, sgr602.apple.com:44001]
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter SessionExpiration = 2020-04-10T16:22:41.159Z
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter TransportHosts.DAV = [itmsdav.apple.com:443]
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter TransportHosts.Aspera = [vgr502.apple.com:33001, vgr504.apple.com:33001, vgr501.apple.com:33001, vgr503.apple.com:33001]
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter StreamingSettings = {LogStreamingEnabled=true, MultipartUploadsEnabled=true, AssetDescriptionStreamingEnabled=false}
      [2020-04-06 18:22:41 CEST] <main>  INFO: Transporter's command line arguments are: -m upload -u system@nuxeo.com -vp json -sessionid @env:67B60002-15C8-4BF6-A716-12EA67E13D5F -sharedsecret **hidden value** -f /var/folders/cl/np3mbdjs28sb3sgbgh67lv680000gn/T/AB38223A-7827-4FC5-9A93-C1CDD4A304FF/Untitled.itmsp -indicator true -v eXtreme -Dtransporter.client=altool -Dtransporter.client.version=1.1 (1138)
      [2020-04-06 18:22:41 CEST] <main>  INFO: Examining the package at: /var/folders/cl/np3mbdjs28sb3sgbgh67lv680000gn/T/AB38223A-7827-4FC5-9A93-C1CDD4A304FF/Untitled.itmsp
      [2020-04-06 18:22:41 CEST] <main>  INFO: Ensuring that package has well formed metadata file...
      [2020-04-06 18:22:41 CEST] <main> DEBUG: Getting case-sensitive metadata xml filename...
      [2020-04-06 18:22:41 CEST] <main>  INFO: Gathering the list of valid files from the package ...
      [2020-04-06 18:22:41 CEST] <main> DEBUG:   metadata.xml will be verified by Apple's web service to determine if it is a valid file.
      [2020-04-06 18:22:41 CEST] <main> DEBUG:   nuxeo-drive-4.4.2.dmg will be verified by Apple's web service to determine if it is a valid file.
      [2020-04-06 18:22:41 CEST] <main>  INFO: Finished gathering the list of valid files from the package.
      [2020-04-06 18:22:41 CEST] <main> DEBUG:   Case-sensitive metadata filename is: metadata.xml
      [2020-04-06 18:22:41 CEST] <main>  INFO: JSON:{"msg":{"phase":"Upload","description":"Analyzing metadata","index":0},"messageType":"VerifyProgress"}
      [2020-04-06 18:22:41 CEST] <main>  INFO: Performing authentication of package Untitled.itmsp ...
      [2020-04-06 18:22:41 CEST] <main> DBG-X: Memory: [JVM] 1056M free, 1110M total, 1820M max [System] (Physical) 5374M free, 16384M total (Swap) 1575M free, 4096M total
      [2020-04-06 18:22:41 CEST] <main>  INFO: JSON:{"msg":{"phase":"Upload","count":2,"description":"Analyzing metadata","index":1},"messageType":"VerifyProgress"}
      [2020-04-06 18:22:41 CEST] <main> DBG-X: Deflated 537 bytes to 420
      [2020-04-06 18:22:41 CEST] <main> DBG-X: Using operation named: validateMetadata
      [2020-04-06 18:22:41 CEST] <main> DBG-X: Apple's web service operation input parameters:
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter Application = iTMSTransporter
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter BaseVersion = 1.11.0
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter Client = altool
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter ClientVersion = 1.1 (1138)
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter Files = [metadata.xml, nuxeo-drive-4.4.2.dmg]
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter Metadata = <?xml version="1.0" encoding="UTF-8"?>
      <package version="software5.9" xmlns="http://apple.com/itunes/importer">
          <software_assets
              app_platform="osx"
              primary_bundle_identifier="org.nuxeo.drive">
              <asset type="developer-id-package">
                  <data_file>
                      <file_name>nuxeo-drive-4.4.2.dmg</file_name>
                      <checksum type="md5">993b0e4c0268dc914df5d51bd585f528</checksum>
                      <size>41761999</size>
                  </data_file>
              </asset>
          </software_assets>
      </package>
      
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter MetadataChecksum = 889c4ae130c25a1848e977c2077dd507
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter MetadataCompressed = (suppressed)
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter MetadataInfo = {app_platform=osx, primary_bundle_identifier=org.nuxeo.drive, device_id=, bundle_identifier=, packageVersion=software5.9, apple_id=, asset_types=[developer-id-package], bundle_version=, bundle_short_version_string=}
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter OSIdentifier = Mac OS X 10.15.3 (x86_64); jvm=25.71-b02; jre=1.8.0-u131-b11-iTMSTransporter-b02
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter PackageName = Untitled.itmsp
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter PackageSize = 41762536
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter StatisticsClientStartDateTimeZoneISO = 2020-04-06T18:22:41+02:00
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter TransporterArguments = -m upload -u system@nuxeo.com -vp json -sessionid @env:67B60002-15C8-4BF6-A716-12EA67E13D5F -sharedsecret **hidden value** -f /var/folders/cl/np3mbdjs28sb3sgbgh67lv680000gn/T/AB38223A-7827-4FC5-9A93-C1CDD4A304FF/Untitled.itmsp -indicator true -v eXtreme -Dtransporter.client=altool -Dtransporter.client.version=1.1 (1138)
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter Version = 2.0.0
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter iTMSTransporterMode = upload
      [2020-04-06 18:22:41 CEST] <main>  INFO: id = 20200406182241-716
      [2020-04-06 18:22:41 CEST] <main>  INFO: iTMSTransporter Correlation Key: 4f6bb3b8-22fd-4369-b429-62ce1334ffd1-0001
      [2020-04-06 18:22:41 CEST] <main> DBG-X: Apple's web service operation return value:
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter Errors = [You must first sign the relevant contracts online. (1048)]
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter EnableJWTForAllCalls = false
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter RestartClient = false
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter ErrorCode = 1048
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter ErrorMessage = You must first sign the relevant contracts online. (1048)
      [2020-04-06 18:22:41 CEST] <main> DBG-X:   parameter Success = false
      [2020-04-06 18:22:41 CEST] <main> ERROR: You must first sign the relevant contracts online. (1048)
      [2020-04-06 18:22:41 CEST] <main> DBG-X: The error code is: 1048
      [2020-04-06 18:22:41 CEST] <main>  INFO: JSON:{"msg":{"phase":"Upload","count":2,"description":"Operation failed","index":2},"messageType":"VerifyProgress"}
      [2020-04-06 18:22:42 CEST] <main> DBG-X: Returning 1
      2020-04-06 18:22:43.050 altool[46630:2764995]  Out:
      
      
      
      Package Summary:
       
      1 package(s) were not uploaded because they had problems:
              /var/folders/cl/np3mbdjs28sb3sgbgh67lv680000gn/T/AB38223A-7827-4FC5-9A93-C1CDD4A304FF/Untitled.itmsp - Error Messages:
                      You must first sign the relevant contracts online. (1048)
      2020-04-06 18:22:43.158 altool[46630:2764989] *** Error: You must first sign the relevant contracts online. (1048)
      
      subprocess.CalledProcessError: Command '['xcrun', 'altool', '--notarize-app', '--primary-bundle-id', 'org.nuxeo.drive', '--username', 'system@nuxeo.com', '--password', 'REDACTED '--file', 'dist/nuxeo-drive-4.4.2.dmg']' returned non-zero exit status 24.
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.