Build-wrapper-linux-x86-64 stuck when run inside a Docker via Jenkins

I have issue with build-wrapper-linux-x86-64
I load Ubuntu Docker 22.04 and unzip build-wrapper-linux-x86-64.zip that I download from
https://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip

when i run command:
build-wrapper-linux-x86/build-wrapper-linux-x86-64 --out-dir results/ ${MY BUILD COMMAND}

I can see that he start and show few lines (see Below)

scons: Reading SConscript files …
ARCH = x86_64
Number of running jobs: 33
In find_mh_kern_ver(), checking MH version
found pkgs_data_loc: ./src/3rdparty/pkgs_data.list
MH version: 5.15.2
CROSSTOOL PATH: /tmp/tmp.uFRSDyHihv/toolchain/gcc-10.2.0_musl-1.2.1_kernel-4.19.21-r4/x86_64-SAP-linux-musl/bin

then the job stuck in this line during 1 hour then Jenkins stop the job and give this reason

wrapper script does not seem to be touching the log file in /home/jenkins/agent/workspace/David@tmp/durable-7f148826
JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400

when run this exact command without build-wrapper all work fine and the build finished correctly

when i run ps -ef i can see that wrapper for some reason call himself in loop

L2Jpbi9ybSAtZiAvdG1wL3RtcC5IMnhiY083bTBEL3B4ZTIvbWgtcm9vdC0xMC03LTMtMDAwMC0yNDAyMTEwOTQ5MDMtNzZjYTRkNzJkNy1URVNUIC90bXAvdG1wLkgyeGJjTzdtMEQvcHhlMi92U01QLTEwLTctMy0wMDAwLTI0MDIxMTA5NDkwMy03NmNhNGQ3MmQ3LVRFU1QuaW1n

[2024-02-12T14:16:50.278Z] root       49518   49517  0 14:16 ?        00:00:00 /home/jenkins/agent/workspace/David/build-wrapper-linux-x86/build-wrapper-linux-x86-64 --system L3RtcC9idWlsZC13cmFwcGVyLXNvY2tldC5XZmx5MkU= L2Jpbi9ybSAtZiAvdG1wL3RtcC5IMnhiY083bTBEL3B4ZTIvbWgtcm9vdC0xMC03LTMtMDAwMC0yNDAyMTEwOTQ5MDMtNzZjYTRkNzJkNy1URVNUIC90bXAvdG1wLkgyeGJjTzdtMEQvcHhlMi92U01QLTEwLTctMy0wMDAwLTI0MDIxMTA5NDkwMy03NmNhNGQ3MmQ3LVRFU1QuaW1n

[2024-02-12T14:16:50.278Z] root       49519   49518  0 14:16 ?        00:00:00 sh -c '/home/jenkins/agent/workspace/David/build-wrapper-linux-x86/build-wrapper-linux-x86-64' --system L3RtcC9idWlsZC13cmFwcGVyLXNvY2tldC5XZmx5MkU= L2Jpbi9ybSAtZiAvdG1wL3RtcC5IMnhiY083bTBEL3B4ZTIvbWgtcm9vdC0xMC03LTMtMDAwMC0yNDAyMTEwOTQ5MDMtNzZjYTRkNzJkNy1URVNUIC90bXAvdG1wLkgyeGJjTzdtMEQvcHhlMi92U01QLTEwLTctMy0wMDAwLTI0MDIxMTA5NDkwMy03NmNhNGQ3MmQ3LVRFU1QuaW1n

[2024-02-12T14:16:50.278Z] root       49520   49519  0 14:16 ?        00:00:00 /home/jenkins/agent/workspace/David/build-wrapper-linux-x86/build-wrapper-linux-x86-64 --system L3RtcC9idWlsZC13cmFwcGVyLXNvY2tldC5XZmx5MkU= L2Jpbi9ybSAtZiAvdG1wL3RtcC5IMnhiY083bTBEL3B4ZTIvbWgtcm9vdC0xMC03LTMtMDAwMC0yNDAyMTEwOTQ5MDMtNzZjYTRkNzJkNy1URVNUIC90bXAvdG1wLkgyeGJjTzdtMEQvcHhlMi92U01QLTEwLTctMy0wMDAwLTI0MDIxMTA5NDkwMy03NmNhNGQ3MmQ3LVRFU1QuaW1n

[2024-02-12T14:16:50.278Z] root       49521   49520  0 14:16 ?        00:00:00 sh -c '/home/jenkins/agent/workspace/David/build-wrapper-linux-x86/build-wrapper-linux-x86-64' --system L3RtcC9idWlsZC13cmFwcGVyLXNvY2tldC5XZmx5MkU= L2Jpbi9ybSAtZiAvdG1wL3RtcC5IMnhiY083bTBEL3B4ZTIvbWgtcm9vdC0xMC03LTMtMDAwMC0yNDAyMTEwOTQ5MDMtNzZjYTRkNzJkNy1URVNUIC90bXAvdG1wLkgyeGJjTzdtMEQvcHhlMi92U01QLTEwLTctMy0wMDAwLTI0MDIxMTA5NDkwMy03NmNhNGQ3MmQ3LVRFU1QuaW1n

[2024-02-12T14:16:50.278Z] root       49522   49521  0 14:16 ?        00:00:00 /home/jenkins/agent/workspace/David/build-wrapper-linux-x86/build-wrapper-linux-x86-64 --system L3RtcC9idWlsZC13cmFwcGVyLXNvY2tldC5XZmx5MkU= 

there you can see that the second process is parent of same

Hi @David_Barbe ,

have you been analyzing your project for a long time or are you setting it up now?
Could you confirm the version of the build-wrapper that you are using? You can run it without argument and you get the version printed in the logs.
Also, what version of Scons are you using?

HI
First thanks for reply me mpaladin
my wrapper version is
build-wrapper, version 6.52.1 (linux-x86)
Copyright (C) 2014-2023 SonarSource SA, info@sonarsource.com

i used this long time but running on Docker (ubuntu 22.04) that run in local server and now i want to move to run same docker from Jenkins and not from bar-metal server.

scons --version
SCons by Steven Knight et al.:
SCons: v4.0.1.c289977f8b34786ab6c334311e232886da7e8df1, 2020-07-17 01:50:03, by bdbaddog on ProDog2020
SCons path: [‘/usr/lib/python3/dist-packages/SCons’]
Copyright (c) 2001 - 2020 The SCons Foundation

Hi @David_Barbe ,

I am sending you a private message to collect more information.