Jenkins macos umask: failed to flush output

Running os: MacOS 15.2
Jenkins 2.462.3

I made a build pipeline, and call sh( ‘cmake …’ ) command
The cmake runs mono to update nuget packages: mono nuget.exe …
When this command finished in cmake it stuck ~5 minutes then print this message:
/bin/sh: line 0: umask: failed to flush output

cmake like this:
mono nuget → ok
clang → ok
mono nuget restore → stuck
clang
clang
clang
mono nuget → ok

DO you have anybody any idea?
Thank you

If I run this cmake from command line, it works without any issue … so I have problem only when run by Jenkins server (same user)

Changed OpenJDK 23 to OpenJDK11 and it’s solved the problem