[Bf-blender-cvs] [ac0a4b127a1] codesign: Codesign: Fix abort when xcrun returns non-zero code

Sergey Sharybin noreply at git.blender.org
Wed Jan 15 15:18:20 CET 2020


Commit: ac0a4b127a17bb9d298feb4cdd75502f4f8e300d
Author: Sergey Sharybin
Date:   Wed Jan 15 15:17:45 2020 +0100
Branches: codesign
https://developer.blender.org/rBac0a4b127a17bb9d298feb4cdd75502f4f8e300d

Codesign: Fix abort when xcrun returns non-zero code

===================================================================

M	build_files/buildbot/codesign/macos_code_signer.py

===================================================================

diff --git a/build_files/buildbot/codesign/macos_code_signer.py b/build_files/buildbot/codesign/macos_code_signer.py
index 3d4f86eab78..aea7313d1c7 100644
--- a/build_files/buildbot/codesign/macos_code_signer.py
+++ b/build_files/buildbot/codesign/macos_code_signer.py
@@ -348,7 +348,8 @@ class MacOSCodeSigner(BaseCodeSigner):
         timeout_in_seconds = self.config.MACOS_NOTARIZE_TIMEOUT_IN_SECONDS
 
         while True:
-            output = self.check_output_or_mock(command, util.Platform.MACOS)
+            output = self.check_output_or_mock(
+                command, util.Platform.MACOS, allow_nonzero_exit_code=True)
             # Parse status and message
             status = xcrun_field_value_from_output('Status', output)
             status_message = xcrun_field_value_from_output(



More information about the Bf-blender-cvs mailing list