More debugging of flaky xcrun altool.
authorCarl Hetherington <cth@carlh.net>
Wed, 3 Feb 2021 09:03:13 +0000 (10:03 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 3 Feb 2021 09:03:13 +0000 (10:03 +0100)
cdist

diff --git a/cdist b/cdist
index b508babbdf78d4f875720c35b115c514390ccbae..5abc82e501468e08f5ef34d1f3386296cd94d465 100755 (executable)
--- a/cdist
+++ b/cdist
@@ -752,10 +752,11 @@ def notarize_dmg(dmg, bundle_id):
         raise Error('No RequestUUID found in response from Apple')
 
     for i in range(0, 30):
-        print('Checking up on %s' % request_uuid)
+        print('%s: checking up on %s' % (datetime.datetime.now(), request_uuid))
         p = subprocess.run(['xcrun', 'altool', '--notarization-info', request_uuid, '-u', config.get('apple_id'), '-p', config.get('apple_password'), '--output-format', 'xml'], capture_output=True)
+        print('%s: %s' % (datetime.datetime.now(), p))
         status = string_after(p, 'Status')
-        print('Got %s' % status)
+        print('Got status: %s' % status)
         if status == 'invalid':
             raise Error("Notarization failed")
         elif status == 'success':