Intermittent codesign failure when running parallel builds

We're seeing intermittent failures in our Jenkins CI pipeline,
when using 2 executors to run 2 builds in parallel.

errSecInternalComponent
Command CodeSign failed with a nonzero exit code

We're using:
  • fastlane 2.171.0

  • match+gym

  • separate temporary keychains

  • but same account to build with

So I'm suspecting some interaction between the builds,
but we've tried very hard not to use anything shared
(except still using the same build user).

Any ideas much appreciated.
It sounds like you are in the wrong forum, possibly the wrong web site. When I read your post, this is what I see:

blah, blah, 3rd party, blah, buzzword, blah

errSecInternalComponent
Command CodeSign failed with a nonzero exit code

We're using:
something
something else
something I've never heard of and sounds really bad
but same account to build with
blah, blah, blah

People here would be happy to dig into those two items that make sense. Do you have a crash log or something that someone could look at? Maybe a command invocation and full stdout/stderr?

Otherwise, nobody has any idea about those 3rd party tools and how they interact with Xcode and each other. In truth, it sounds like some kind of docker-fuelled, deep-stack, tensor-flow AI typescript pipeline. This is not our world.

I'm seeing this same issue, two parallel Jenkins jobs that run xcodebuild and in one CodeSign usually fails with the same output as above. Running the jobs individually never fails. Not using temporary keychains just the login keychain. Not using fastlane either. This looks like some kind of concurrency bug in CodeSign?

Anyone have any solution or constructive suggestions?

Since there's no crash there's obviously no crash log. Nor is there any console logging from CodeSign

This looks like some kind of concurrency bug in CodeSign?

It’s certainly weird.

Anyone have any solution or constructive suggestions?

You should file a bug about this. Debugging problems like this is tricky, so it’s important that you include a sysdiagnose log taken shortly after yo see the problem.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Can you share the Jenkins pipeline code?

Intermittent codesign failure when running parallel builds
 
 
Q