"build-wrapper: read signature: No such file or directory" error

  • SonarQube Developer Edition v10.6 (92116), self-hosted, build-wrapper downloaded from the server (/static/cpp/build-wrapper-linux-x86.zip)
  • I’m trying to build and analyze a C++ repository - a different repository with the same file structure works fine in this self-hosted Jenkins pipeline with the same Jenkinsfile

The actual executed command on the build executor is this:

.sonar/build-wrapper-linux-x86/build-wrapper-linux-x86-64 --out-dir bw-output mvn -U clean install

The build wrapper is correct (has just been downloaded from the SonarQube instance and works fine with the other repository), the files and directories referenced in the paths below all exist and the user account has access to them.

Still, the build fails at this point (the build log has been truncated to remove irrelevant parts and redacted to remove sensitive information, and this already contains debug output via an -X switch added manually):

[INFO] + cd /JENKINS/workspace/[PROJECTNAME]/BRphysical/target/test-nar/test-reports
[INFO] + /JENKINS/workspace/[PROJECTNAME]/BRphysical/target/test-nar/bin/amd64-Linux-gpp/BRphysical-UTest
[DEBUG] RunCommand: /JENKINS/workspace/[PROJECTNAME]/BRphysical/target/test-nar/bin/amd64-Linux-gpp/BRphysical-UTest
[DEBUG] in: /JENKINS/workspace/[PROJECTNAME]/BRphysical/target/test-nar/test-reports
[DEBUG] with Env:
[DEBUG]    'CLASSPATH=/JENKINS/workspace/[PROJECTNAME]/BRphysical/target/test-classes:[MANY OTHER ENTRIES]:/root/.m2/repository/com/[COMPANY]/[DEPARTMENT]/[PROJECT]/libraries/Library-Poco/1.12.5-SNAPSHOT/Library-Poco-1.12.5-SNAPSHOT.nar'
[ERROR] build-wrapper: read signature: Success
build-wrapper: read signature: No such file or directory
[DEBUG] ExitValue: 1
[WARNING] com.github.maven_nar.NarUtil$2@66756662
[WARNING] com.github.maven_nar.NarUtil$1@5d14e99e
[WARNING] com.github.maven_nar.NarUtil$3@38cfecf3
95b1fb4586f3:/JENKINS/workspace/[PROJECTNAME] # [INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Black 1.0.0-SNAPSHOT:
[INFO]
[INFO] BRphysical ......................................... FAILURE [  2.366 s]
[INFO] Black .............................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.972 s
[INFO] Finished at: 2024-09-13T09:37:50Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.10.1:nar-test (default-nar-test) on project BRphysical: exit code: 1 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.10.1:nar-test (default-nar-test) on project BRphysical: exit code: 1
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)

The entries in the build-wrapper.log file don’t seem to be relevant to the problem:

Fri Sep 13 09:37:50 2024: skipping process with pid: 5689
Fri Sep 13 09:37:50 2024: process created with pid: 5689
Fri Sep 13 09:37:50 2024: parent pid: 5389
Fri Sep 13 09:37:50 2024: working directory: </JENKINS/workspace/[PROJECTNAME]>
Fri Sep 13 09:37:50 2024: executable: </usr/bin/gcc-7>
Fri Sep 13 09:37:50 2024: argv[0]: <gcc>
Fri Sep 13 09:37:50 2024: argv[1]: <-dumpmachine>
Fri Sep 13 09:37:50 2024: envp[0]: <SONAR_CFAMILY_WRAPPER_SOCKET=/tmp/build-wrapper-socket.7XqwEw>
Fri Sep 13 09:37:50 2024: envp[1]: <SONAR_CFAMILY_WRAPPER_LIBRARY=/JENKINS/workspace/[PROJECTNAME]/.sonar/build-wrapper-linux-x86/libinterceptor-${PLATFORM}.so>
Fri Sep 13 09:37:50 2024: envp[2]: <SONAR_CFAMILY_BUILD_WRAPPER_BIN=/JENKINS/workspace/[PROJECTNAME]/.sonar/build-wrapper-linux-x86/build-wrapper-linux-x86-64>
Fri Sep 13 09:37:50 2024: envp[3]: <MAVEN_CMD_LINE_ARGS= -X install>
Fri Sep 13 09:37:50 2024: envp[4]: <JAVACMD=/usr/lib64/jvm/jre/bin/java>
Fri Sep 13 09:37:50 2024: envp[5]: <HOSTNAME=>
Fri Sep 13 09:37:50 2024: envp[6]: <OLDPWD=/JENKINS/workspace/[PROJECTNAME]>
Fri Sep 13 09:37:50 2024: envp[7]: <GPG_TTY=/dev/pts/0>
Fri Sep 13 09:37:50 2024: envp[8]: <JAVA_HOME=/usr/lib64/jvm/jre>
Fri Sep 13 09:37:50 2024: envp[9]: <container=podman>
Fri Sep 13 09:37:50 2024: envp[10]: <PWD=/JENKINS/workspace/[PROJECTNAME]>
Fri Sep 13 09:37:50 2024: envp[11]: <HOME=/root>
Fri Sep 13 09:37:50 2024: envp[12]: <MAVEN_PROJECTBASEDIR=/JENKINS/workspace/[PROJECTNAME]>
Fri Sep 13 09:37:50 2024: envp[13]: <TERM=xterm>
Fri Sep 13 09:37:50 2024: envp[14]: <SHLVL=1>
Fri Sep 13 09:37:50 2024: envp[15]: <containers=podman>
Fri Sep 13 09:37:50 2024: envp[16]: <PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin>
Fri Sep 13 09:37:50 2024: envp[17]: <LD_PRELOAD=>
Fri Sep 13 09:37:50 2024: no candidate files could be found, there will be no entries for this command in the compdb
Fri Sep 13 09:37:50 2024: process created with pid: 5695
Fri Sep 13 09:37:50 2024: parent pid: 5389
Fri Sep 13 09:37:50 2024: working directory: </JENKINS/workspace/SIXDTD3_black_develop_2>
Fri Sep 13 09:37:50 2024: executable: </usr/lib64/jvm/java-17-openjdk-17/lib/jspawnhelper>
Fri Sep 13 09:37:50 2024: argv[0]: <131:134>
Fri Sep 13 09:37:50 2024: skipping process with pid: 5695

How could I either get more detailed logs, for example the actual path of the missing file (running Maven in debug mode with -X did not change the relevant output) or get the build to succeed?

Also, the [ERROR] … : Success line is quite confusing, but that’s an other topic.

Hello @Adam_Zovits,

Does a simple mvn -U clean install for that same repository work? Because I see a BUILD FAILURE coming from Maven.

I have been able to reproduce the error message
build-wrapper: read signature: No such file or directory, and it seems to happen when there is a process from the build chain terminated in a very specific moment.

So, at first, it seems that if the build fails, maven reaps subprocesses with a SIGTERM or similar, and due to a race condition, build-wrapper fails with this error.

build-wrapper: read signature: Success

This one puzzles me as well. It comes from the same code as the other error, but it is like it failed, but the errno was left at 0. I will try to dig into this one too.

P.S. Is the build done in a container? Which distribution are you using?

Hi @aalvarez !
I just reran the job with a modified script and indeed, the simple mvn -U clean install command succeeds as intended. Immediately after this, the original .sonar/build-wrapper-linux-x86/build-wrapper-linux-x86-64 --out-dir bw-output mvn -U clean install command is executed, which fails the same way as it did before.
The build is executed in a podman container that runs a SUSE Linux Enterprise Server 15 SP5 image with an added Jenkins executor.
Can I supply any logs or other information to help debug this problem?

Hello @Adam_Zovits,

I have spent quite some time this week checking this issue, and, on the positive side, I have better understood why the errors seem nonsensical and have a better idea of where the error is happening.

On the negative side, I have failed to reproduce the exact same pattern.

You were right that the logs don’t look relevant because the error is not happening with either gcc or jspawnhelper. But jspawnhelper is probably executing the process that is causing the error, and ironically, this process does not show up in the logs because of the bug.

If you want the details (it may light a bulb), build-wrapper “injects” a shared library into every process run by the build. This library is responsible for checking the process, its environment, arguments, etc., and sending them back to build-wrapper via unix sockets (so they are logged and written into the compilation database).

This communication is done via UNIX sockets. There is a handshake between both sides at first, and here is the thing:

[ERROR] build-wrapper: read signature: Success
build-wrapper: read signature: No such file or directory

The socket seems to be closed after the connection is established and in the middle of the handshake. My best understanding is that one error corresponds to build-wrapper and the other to the interceptor.

Reading from a closed socket is not, per se, an error; you just get 0 bytes, hence the “success” error code. The other one is a red herring, errno just happened to have ENOENT stored from before, but the error was the same, reading from a closed connection.

And because of this communication error, we do not see which process was running when this happened.

So, TL;DR; would you be able to share the logs for the successful build, the one without build-wrapper? It may help me identify the process that was spawned. I can send you a private message for it.

P.S. I have created a couple of tickets to improve the logging in this case: CPP-5703

1 Like

Hello @aalvarez !

Thanks for the quick reply, here are the logs from the successful build (starting from the unwrapped Maven clean install call) - the parts [MARKED LIKE THIS] have been redacted and the downloading of dozens of dependencies got removed to focus on what matters (but if needed, those can be published as well):

+ mvn -U clean install
Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="/JENKINS/workspace/[PROJECTNAME]_black_develop_2@tmp/withMaveneba4985b/pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="/JENKINS/workspace/[PROJECTNAME]_black_develop_2@tmp/withMaveneba4985b" 
[INFO] [jenkins-event-spy] Generate /JENKINS/workspace/[PROJECTNAME]_black_develop_2@tmp/withMaveneba4985b/maven-spy-20240920-115754-4067779707845675617376.log.tmp ...
[INFO] Scanning for projects...
[INFO] Downloading from nexus-download-releases: https://nexus-defence.app.de.corp.[COMPANYNAME]/nexus/repository/[DEPARTMENT]-[PRODUCT]-[FRAMEWORK]-releases/com/[COMPANYLONGNAME]/[DEPARTMENT]/[PRODUCT]/[FRAMEWORK]/Build/EnvironmentBuild/1.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading from nexus-download-snapshot: https://nexus-defence.app.de.corp.[COMPANYNAME]/nexus/repository/[DEPARTMENT]-[PRODUCT]-[FRAMEWORK]-snapshots/com/[COMPANYLONGNAME]/[DEPARTMENT]/[PRODUCT]/[FRAMEWORK]/Build/EnvironmentBuild/1.0.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from nexus-download-snapshot: https://nexus-defence.app.de.corp.[COMPANYNAME]/nexus/repository/[DEPARTMENT]-[PRODUCT]-[FRAMEWORK]-snapshots/com/[COMPANYLONGNAME]/[DEPARTMENT]/[PRODUCT]/[FRAMEWORK]/Build/EnvironmentBuild/1.0.0-SNAPSHOT/maven-metadata.xml (640 B at 2.6 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] BRphysical                                                         [nar]
[INFO] Black                                                              [pom]
[INFO] 
[INFO] --< com.[COMPANYLONGNAME].[DEPARTMENT].[PRODUCT].[FRAMEWORK].Training.[DEVELOPER]:BRphysical >--
[INFO] Building BRphysical 1.0.0-SNAPSHOT                                 [1/2]
[INFO]   from BRphysical/pom.xml
[INFO] --------------------------------[ nar ]---------------------------------
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml
[... 58 SIMILAR LINES REMOVED...]
[INFO] Downloaded from nexus-download-snapshot: https://nexus-defence.app.de.corp.[COMPANYNAME]/nexus/repository/[DEPARTMENT]-[PRODUCT]-[FRAMEWORK]-snapshots/com/[COMPANYLONGNAME]/[DEPARTMENT]/[PRODUCT]/libraries/Library-Poco/1.12.5-SNAPSHOT/maven-metadata.xml (1.0 kB at 85 kB/s)
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ BRphysical ---
[INFO] 
[INFO] --- nar:3.10.1:nar-validate (default-nar-validate) @ BRphysical ---
[INFO] Using AOL: ${nar.arch}-${nar.os}-gpp
[INFO] 
[INFO] --- nar:3.10.1:nar-download (default-nar-download) @ BRphysical ---
[INFO] Getting Nar dependencies
[INFO] Getting Nar dependencies
[INFO] 
[INFO] --- nar:3.10.1:nar-unpack (default-nar-unpack) @ BRphysical ---
[INFO] Getting Nar dependencies
[INFO] Unpacking 16 dependencies to /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/unpackage
[INFO] 
[INFO] --- nar:3.10.1:nar-gnu-configure (default-nar-gnu-configure) @ BRphysical ---
[INFO] Running GNU configure
[INFO] + chmod +x /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/src/configure
[INFO] args: [/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/src/configure, --prefix=/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/nar/gnu/amd64-Linux-gpp/target, --directory=/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical]
[INFO] + cd /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/nar/gnu/amd64-Linux-gpp/src
[INFO] + sh /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/src/configure --prefix=/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/nar/gnu/amd64-Linux-gpp/target --directory=/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical
[INFO] Start list of parameters:
[INFO] Directory: /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical
[INFO] End list of parameters
[INFO] Copy unpacked packages to /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/dependency
[INFO] Unpacked packages copied to /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/dependency
[INFO]  
[INFO] Finished configuration
[INFO] 
[INFO] --- nar:3.10.1:nar-system-generate (default-nar-system-generate) @ BRphysical ---
[INFO] 
[INFO] --- nar:3.10.1:nar-vcproj (default-nar-vcproj) @ BRphysical ---
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ BRphysical ---
[INFO] skip non existing resourceDirectory /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/src/main/resources
[INFO] 
[INFO] --- nar:3.10.1:nar-resources (default-nar-resources) @ BRphysical ---
[INFO] Copied 0 resources
[INFO] 
[INFO] --- nar:3.10.1:nar-gnu-resources (default-nar-gnu-resources) @ BRphysical ---
[INFO] 
[INFO] --- compiler:3.13.0:compile (default-compile) @ BRphysical ---
[INFO] No sources to compile
[INFO] 
[INFO] --- nar:3.10.1:nar-javah (default-nar-javah) @ BRphysical ---
[INFO] 
[INFO] --- nar:3.10.1:nar-gnu-make (default-nar-gnu-make) @ BRphysical ---
[INFO] Running GNU make
[INFO] + cd /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/nar/gnu/amd64-Linux-gpp/src
[INFO] + make --directory=/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical ARCHITECTURE=x86_64-Linux-gnu CONFIG_BUILD=debug
[INFO] make: Entering directory '/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical'
[INFO] command 'lsb_release' not availabe. Evaluating Linux distribution ...
[INFO] command ...to: 'SUSE'
[INFO] Creating directory holding object files: ./target/obj/x86_64-Linux-gnu/debug
[INFO] Directory holding object files created
[INFO] Creating directory holding target library: ./target/lib/x86_64-Linux-gnu/debug
[INFO] Directory holding target library created
[INFO] Creating object file: target/obj/x86_64-Linux-gnu/debug/BRphysical.o
[INFO] Start recompiling file: src/main/cpp/BRphysical.cpp
[INFO] g++  -I./src/main/API -I./src/main/interface -I./target/dependency/API -I./target/dependency/interface  -O0 -g3 -MMD -MP -fPIC -Wall -Wno-unknown-pragmas -Werror  -std=c++17 -std=c++17 -c src/main/cpp/BRphysical.cpp -o target/obj/x86_64-Linux-gnu/debug/BRphysical.o
[INFO] Finished recompiling file: src/main/cpp/BRphysical.cpp
[INFO] Creating object file: target/obj/x86_64-Linux-gnu/debug/SerialPort.o
[INFO] Start recompiling file: src/main/cpp/SerialPort.cpp
[INFO] g++  -I./src/main/API -I./src/main/interface -I./target/dependency/API -I./target/dependency/interface  -O0 -g3 -MMD -MP -fPIC -Wall -Wno-unknown-pragmas -Werror  -std=c++17 -std=c++17 -c src/main/cpp/SerialPort.cpp -o target/obj/x86_64-Linux-gnu/debug/SerialPort.o
[INFO] Finished recompiling file: src/main/cpp/SerialPort.cpp
[INFO] Start building static library: target/lib/x86_64-Linux-gnu/debug/libBRphysicald.a
[INFO] Invoking archiver: ar
[INFO] ar -rsc target/lib/x86_64-Linux-gnu/debug/libBRphysicald.a  ./target/obj/x86_64-Linux-gnu/debug/BRphysical.o  ./target/obj/x86_64-Linux-gnu/debug/SerialPort.o
[INFO] Finished building library target/lib/x86_64-Linux-gnu/debug/libBRphysicald.a
[INFO] make: Leaving directory '/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical'
[INFO] Running make install
[INFO] + cd /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/nar/gnu/amd64-Linux-gpp/src
[INFO] + make --directory=/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical ARCHITECTURE=x86_64-Linux-gnu CONFIG_BUILD=debug install
[INFO] make: Entering directory '/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical'
[INFO] command 'lsb_release' not availabe. Evaluating Linux distribution ...
[INFO] command ...to: 'SUSE'
[INFO] Create directory structure of package
[INFO] Directory structure of package created
[INFO]  
[INFO] Copying libraries into ./target/package/noarch
[INFO] Libraries copied to ./target/package/noarch
[INFO]  
[INFO] Copying 'API' and 'Interface' definitions into ./target/package/noarch
[INFO] 'API' and 'Interface' definitions copied into ./target/package/noarch
[INFO]  
[INFO] make: Leaving directory '/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical'
[INFO] 
[INFO] --- nar:3.10.1:nar-compile (default-nar-compile) @ BRphysical ---
[INFO] Compiling 2 native files
[INFO] 
[INFO] --- iterator:0.5.1:iterator (default) @ BRphysical ---
[INFO] ------ (ARCHITECTURE=x86_64-Linux-gnu CONFIG_BUILD=release) com.soebes.maven.plugins:echo-maven-plugin:0.3.0:echo
[INFO] Invoking nar-gnu-make of nar-Plugin with argument: ARCHITECTURE=x86_64-Linux-gnu CONFIG_BUILD=release
[INFO] ------ (ARCHITECTURE=x86_64-Linux-gnu CONFIG_BUILD=release) com.github.maven-nar:nar-maven-plugin:3.10.1:nar-gnu-make
[INFO] Running GNU make
[INFO] + cd /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/nar/gnu/amd64-Linux-gpp/src
[INFO] + make --directory=/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical ARCHITECTURE=x86_64-Linux-gnu CONFIG_BUILD=release
[INFO] make: Entering directory '/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical'
[INFO] command 'lsb_release' not availabe. Evaluating Linux distribution ...
[INFO] command ...to: 'SUSE'
[INFO] Creating directory holding object files: ./target/obj/x86_64-Linux-gnu/release
[INFO] Directory holding object files created
[INFO] Creating directory holding target library: ./target/lib/x86_64-Linux-gnu/release
[INFO] Directory holding target library created
[INFO] Creating object file: target/obj/x86_64-Linux-gnu/release/BRphysical.o
[INFO] Start recompiling file: src/main/cpp/BRphysical.cpp
[INFO] g++  -I./src/main/API -I./src/main/interface -I./target/dependency/API -I./target/dependency/interface  -O3 -MMD -MP -fPIC -Wall -Wno-unknown-pragmas -Werror  -std=c++17 -std=c++17 -c src/main/cpp/BRphysical.cpp -o target/obj/x86_64-Linux-gnu/release/BRphysical.o
[INFO] Finished recompiling file: src/main/cpp/BRphysical.cpp
[INFO] Creating object file: target/obj/x86_64-Linux-gnu/release/SerialPort.o
[INFO] Start recompiling file: src/main/cpp/SerialPort.cpp
[INFO] g++  -I./src/main/API -I./src/main/interface -I./target/dependency/API -I./target/dependency/interface  -O3 -MMD -MP -fPIC -Wall -Wno-unknown-pragmas -Werror  -std=c++17 -std=c++17 -c src/main/cpp/SerialPort.cpp -o target/obj/x86_64-Linux-gnu/release/SerialPort.o
[INFO] Finished recompiling file: src/main/cpp/SerialPort.cpp
[INFO] Start building static library: target/lib/x86_64-Linux-gnu/release/libBRphysical.a
[INFO] Invoking archiver: ar
[INFO] ar -rsc target/lib/x86_64-Linux-gnu/release/libBRphysical.a  ./target/obj/x86_64-Linux-gnu/release/BRphysical.o  ./target/obj/x86_64-Linux-gnu/release/SerialPort.o
[INFO] Finished building library target/lib/x86_64-Linux-gnu/release/libBRphysical.a
[INFO] make: Leaving directory '/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical'
[INFO] Running make install
[INFO] + cd /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/nar/gnu/amd64-Linux-gpp/src
[INFO] + make --directory=/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical ARCHITECTURE=x86_64-Linux-gnu CONFIG_BUILD=release install
[INFO] make: Entering directory '/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical'
[INFO] command 'lsb_release' not availabe. Evaluating Linux distribution ...
[INFO] command ...to: 'SUSE'
[INFO] Create directory structure of package
[INFO] Directory structure of package created
[INFO]  
[INFO] Copying libraries into ./target/package/noarch
[INFO] Libraries copied to ./target/package/noarch
[INFO]  
[INFO] Copying 'API' and 'Interface' definitions into ./target/package/noarch
[INFO] 'API' and 'Interface' definitions copied into ./target/package/noarch
[INFO]  
[INFO] make: Leaving directory '/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical'
[INFO] ------ (ARCHITECTURE=x86_64-Linux-gnu CONFIG_BUILD=coverage) com.soebes.maven.plugins:echo-maven-plugin:0.3.0:echo
[INFO] Invoking nar-gnu-make of nar-Plugin with argument: ARCHITECTURE=x86_64-Linux-gnu CONFIG_BUILD=coverage
[INFO] ------ (ARCHITECTURE=x86_64-Linux-gnu CONFIG_BUILD=coverage) com.github.maven-nar:nar-maven-plugin:3.10.1:nar-gnu-make
[INFO] Running GNU make
[INFO] + cd /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/nar/gnu/amd64-Linux-gpp/src
[INFO] + make --directory=/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical ARCHITECTURE=x86_64-Linux-gnu CONFIG_BUILD=coverage
[INFO] make: Entering directory '/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical'
[INFO] command 'lsb_release' not availabe. Evaluating Linux distribution ...
[INFO] command ...to: 'SUSE'
[INFO] Creating directory holding object files: ./target/obj/x86_64-Linux-gnu/coverage
[INFO] Directory holding object files created
[INFO] Creating directory holding target library: ./target/lib/x86_64-Linux-gnu/coverage
[INFO] Directory holding target library created
[INFO] Creating object file: target/obj/x86_64-Linux-gnu/coverage/BRphysical.o
[INFO] Start recompiling file: src/main/cpp/BRphysical.cpp
[INFO] g++  -I./src/main/API -I./src/main/interface -I./target/dependency/API -I./target/dependency/interface  -ftest-coverage -fprofile-arcs -O0 -g3 -MMD -MP -fPIC -Wall -Wno-unknown-pragmas -Werror  -std=c++17 -std=c++17 -c src/main/cpp/BRphysical.cpp -o target/obj/x86_64-Linux-gnu/coverage/BRphysical.o
[INFO] Finished recompiling file: src/main/cpp/BRphysical.cpp
[INFO] Creating object file: target/obj/x86_64-Linux-gnu/coverage/SerialPort.o
[INFO] Start recompiling file: src/main/cpp/SerialPort.cpp
[INFO] g++  -I./src/main/API -I./src/main/interface -I./target/dependency/API -I./target/dependency/interface  -ftest-coverage -fprofile-arcs -O0 -g3 -MMD -MP -fPIC -Wall -Wno-unknown-pragmas -Werror  -std=c++17 -std=c++17 -c src/main/cpp/SerialPort.cpp -o target/obj/x86_64-Linux-gnu/coverage/SerialPort.o
[INFO] Finished recompiling file: src/main/cpp/SerialPort.cpp
[INFO] Start building static library: target/lib/x86_64-Linux-gnu/coverage/libBRphysicalc.a
[INFO] Invoking archiver: ar
[INFO] ar -rsc target/lib/x86_64-Linux-gnu/coverage/libBRphysicalc.a  ./target/obj/x86_64-Linux-gnu/coverage/BRphysical.o  ./target/obj/x86_64-Linux-gnu/coverage/SerialPort.o
[INFO] Finished building library target/lib/x86_64-Linux-gnu/coverage/libBRphysicalc.a
[INFO] make: Leaving directory '/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical'
[INFO] Running make install
[INFO] + cd /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/nar/gnu/amd64-Linux-gpp/src
[INFO] + make --directory=/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical ARCHITECTURE=x86_64-Linux-gnu CONFIG_BUILD=coverage install
[INFO] make: Entering directory '/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical'
[INFO] command 'lsb_release' not availabe. Evaluating Linux distribution ...
[INFO] command ...to: 'SUSE'
[INFO] Create directory structure of package
[INFO] Directory structure of package created
[INFO]  
[INFO] Copying libraries into ./target/package/noarch
[INFO] Libraries copied to ./target/package/noarch
[INFO]  
[INFO] Copying 'API' and 'Interface' definitions into ./target/package/noarch
[INFO] 'API' and 'Interface' definitions copied into ./target/package/noarch
[INFO]  
[INFO] make: Leaving directory '/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical'
[INFO] ------ (ARCHITECTURE=ARM-Linux-gnu CONFIG_BUILD=debug) com.soebes.maven.plugins:echo-maven-plugin:0.3.0:echo
[INFO] Invoking nar-gnu-make of nar-Plugin with argument: ARCHITECTURE=ARM-Linux-gnu CONFIG_BUILD=debug
[INFO] ------ (ARCHITECTURE=ARM-Linux-gnu CONFIG_BUILD=debug) com.github.maven-nar:nar-maven-plugin:3.10.1:nar-gnu-make
[INFO] Running GNU make
[INFO] + cd /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/nar/gnu/amd64-Linux-gpp/src
[INFO] + make --directory=/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical ARCHITECTURE=ARM-Linux-gnu CONFIG_BUILD=debug
[INFO] make: Entering directory '/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical'
[INFO] command 'lsb_release' not availabe. Evaluating Linux distribution ...
[INFO] command ...to: 'SUSE'
[INFO] Creating directory holding object files: ./target/obj/ARM-Linux-gnu/debug
[INFO] Directory holding object files created
[INFO] Creating directory holding target library: ./target/lib/ARM-Linux-gnu/debug
[INFO] Directory holding target library created
[INFO] Creating object file: target/obj/ARM-Linux-gnu/debug/BRphysical.o
[INFO] Start recompiling file: src/main/cpp/BRphysical.cpp
[INFO] arm-buildroot-linux-gnueabihf-g++  -I./src/main/API -I./src/main/interface -I./target/dependency/API -I./target/dependency/interface  -O0 -g3 -MMD -MP -fPIC -Wall -Wno-unknown-pragmas -Werror  -std=c++17 -std=c++17 -c src/main/cpp/BRphysical.cpp -o target/obj/ARM-Linux-gnu/debug/BRphysical.o
[INFO] Finished recompiling file: src/main/cpp/BRphysical.cpp
[INFO] Creating object file: target/obj/ARM-Linux-gnu/debug/SerialPort.o
[INFO] Start recompiling file: src/main/cpp/SerialPort.cpp
[INFO] arm-buildroot-linux-gnueabihf-g++  -I./src/main/API -I./src/main/interface -I./target/dependency/API -I./target/dependency/interface  -O0 -g3 -MMD -MP -fPIC -Wall -Wno-unknown-pragmas -Werror  -std=c++17 -std=c++17 -c src/main/cpp/SerialPort.cpp -o target/obj/ARM-Linux-gnu/debug/SerialPort.o
[INFO] Finished recompiling file: src/main/cpp/SerialPort.cpp
[INFO] Start building static library: target/lib/ARM-Linux-gnu/debug/libBRphysicald.a
[INFO] Invoking archiver: arm-buildroot-linux-gnueabihf-ar
[INFO] arm-buildroot-linux-gnueabihf-ar -rsc target/lib/ARM-Linux-gnu/debug/libBRphysicald.a  ./target/obj/ARM-Linux-gnu/debug/BRphysical.o  ./target/obj/ARM-Linux-gnu/debug/SerialPort.o
[INFO] Finished building library target/lib/ARM-Linux-gnu/debug/libBRphysicald.a
[INFO] make: Leaving directory '/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical'
[INFO] Running make install
[INFO] + cd /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/nar/gnu/amd64-Linux-gpp/src
[INFO] + make --directory=/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical ARCHITECTURE=ARM-Linux-gnu CONFIG_BUILD=debug install
[INFO] make: Entering directory '/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical'
[INFO] command 'lsb_release' not availabe. Evaluating Linux distribution ...
[INFO] command ...to: 'SUSE'
[INFO] Create directory structure of package
[INFO] Directory structure of package created
[INFO]  
[INFO] Copying libraries into ./target/package/noarch
[INFO] Libraries copied to ./target/package/noarch
[INFO]  
[INFO] Copying 'API' and 'Interface' definitions into ./target/package/noarch
[INFO] 'API' and 'Interface' definitions copied into ./target/package/noarch
[INFO]  
[INFO] make: Leaving directory '/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical'
[INFO] ------ (ARCHITECTURE=ARM-Linux-gnu CONFIG_BUILD=release) com.soebes.maven.plugins:echo-maven-plugin:0.3.0:echo
[INFO] Invoking nar-gnu-make of nar-Plugin with argument: ARCHITECTURE=ARM-Linux-gnu CONFIG_BUILD=release
[INFO] ------ (ARCHITECTURE=ARM-Linux-gnu CONFIG_BUILD=release) com.github.maven-nar:nar-maven-plugin:3.10.1:nar-gnu-make
[INFO] Running GNU make
[INFO] + cd /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/nar/gnu/amd64-Linux-gpp/src
[INFO] + make --directory=/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical ARCHITECTURE=ARM-Linux-gnu CONFIG_BUILD=release
[INFO] make: Entering directory '/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical'
[INFO] command 'lsb_release' not availabe. Evaluating Linux distribution ...
[INFO] command ...to: 'SUSE'
[INFO] Creating directory holding object files: ./target/obj/ARM-Linux-gnu/release
[INFO] Directory holding object files created
[INFO] Creating directory holding target library: ./target/lib/ARM-Linux-gnu/release
[INFO] Directory holding target library created
[INFO] Creating object file: target/obj/ARM-Linux-gnu/release/BRphysical.o
[INFO] Start recompiling file: src/main/cpp/BRphysical.cpp
[INFO] arm-buildroot-linux-gnueabihf-g++  -I./src/main/API -I./src/main/interface -I./target/dependency/API -I./target/dependency/interface  -O3 -MMD -MP -fPIC -Wall -Wno-unknown-pragmas -Werror  -std=c++17 -std=c++17 -c src/main/cpp/BRphysical.cpp -o target/obj/ARM-Linux-gnu/release/BRphysical.o
[INFO] Finished recompiling file: src/main/cpp/BRphysical.cpp
[INFO] Creating object file: target/obj/ARM-Linux-gnu/release/SerialPort.o
[INFO] Start recompiling file: src/main/cpp/SerialPort.cpp
[INFO] arm-buildroot-linux-gnueabihf-g++  -I./src/main/API -I./src/main/interface -I./target/dependency/API -I./target/dependency/interface  -O3 -MMD -MP -fPIC -Wall -Wno-unknown-pragmas -Werror  -std=c++17 -std=c++17 -c src/main/cpp/SerialPort.cpp -o target/obj/ARM-Linux-gnu/release/SerialPort.o
[INFO] Finished recompiling file: src/main/cpp/SerialPort.cpp
[INFO] Start building static library: target/lib/ARM-Linux-gnu/release/libBRphysical.a
[INFO] Invoking archiver: arm-buildroot-linux-gnueabihf-ar
[INFO] arm-buildroot-linux-gnueabihf-ar -rsc target/lib/ARM-Linux-gnu/release/libBRphysical.a  ./target/obj/ARM-Linux-gnu/release/BRphysical.o  ./target/obj/ARM-Linux-gnu/release/SerialPort.o
[INFO] Finished building library target/lib/ARM-Linux-gnu/release/libBRphysical.a
[INFO] make: Leaving directory '/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical'
[INFO] Running make install
[INFO] + cd /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/nar/gnu/amd64-Linux-gpp/src
[INFO] + make --directory=/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical ARCHITECTURE=ARM-Linux-gnu CONFIG_BUILD=release install
[INFO] make: Entering directory '/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical'
[INFO] command 'lsb_release' not availabe. Evaluating Linux distribution ...
[INFO] command ...to: 'SUSE'
[INFO] Create directory structure of package
[INFO] Directory structure of package created
[INFO]  
[INFO] Copying libraries into ./target/package/noarch
[INFO] Libraries copied to ./target/package/noarch
[INFO]  
[INFO] Copying 'API' and 'Interface' definitions into ./target/package/noarch
[INFO] 'API' and 'Interface' definitions copied into ./target/package/noarch
[INFO]  
[INFO] make: Leaving directory '/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical'
[INFO] 
[INFO] --- nar:3.10.1:nar-gnu-process (default-nar-gnu-process) @ BRphysical ---
[INFO] 
[INFO] --- nar:3.10.1:nar-process-libraries (default-nar-process-libraries) @ BRphysical ---
[info] Running process libraries
[INFO] 
[INFO] --- nar:3.10.1:nar-test-unpack (default-nar-test-unpack) @ BRphysical ---
[INFO] Getting Nar dependencies
[INFO] Unpacking 16 dependencies to /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/test-nar
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ BRphysical ---
[INFO] skip non existing resourceDirectory /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/src/test/resources
[INFO] 
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ BRphysical ---
[INFO] No sources to compile
[INFO] 
[INFO] --- nar:3.10.1:nar-testCompile (default-nar-testCompile) @ BRphysical ---
[WARNING] No file matching pattern (libpthread.so) for library name "pthread" was found.
[WARNING] No file matching pattern (libgtest.a) for library name "gtest" was found.
[INFO] 1 total files to be compiled.
[INFO] Found 12 processors available
[INFO] Limited used processors to 1
[INFO] 
Starting Core 0 with 1 source files...
[INFO] Linking...
[INFO] 
[INFO] --- surefire:3.5.0:test (default-test) @ BRphysical ---
[INFO] No tests to run.
[INFO] 
[INFO] --- nar:3.10.1:nar-test (default-nar-test) @ BRphysical ---
[INFO] Copied 0 test resources
[INFO] Running test BRphysical-UTest in /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/test-nar/test-reports
[INFO] + cd /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/test-nar/test-reports
[INFO] + /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/test-nar/bin/amd64-Linux-gpp/BRphysical-UTest
[INFO] Math-UTest
[INFO] [==========] Running 3 tests from 1 test suite.
[INFO] [----------] Global test environment set-up.
[INFO] [----------] 3 tests from CBRphysicalTest
[INFO] [ RUN      ] CBRphysicalTest.SendHelloWorld
[INFO] CBRphysical constructor
[INFO] CBRphysical-UTest: SetUp()
[INFO] CBRphysical-UTest: TearDown()
[INFO] CBRphysical destructor
[INFO] readLoop started!
[INFO] [       OK ] CBRphysicalTest.SendHelloWorld (0 ms)
[INFO] [ RUN      ] CBRphysicalTest.SendRequest
[INFO] CBRphysical constructor
[INFO] CBRphysical-UTest: SetUp()
[INFO] CBRphysical-UTest: TearDown()
[INFO] CBRphysical destructorreadLoop started!
[INFO] 
[INFO] [       OK ] CBRphysicalTest.SendRequest (50 ms)
[INFO] [ RUN      ] CBRphysicalTest.ReceiveIndication
[INFO] CBRphysical constructor
[INFO] CBRphysical-UTest: SetUp()
[INFO] readLoop started!
[INFO]  WAIT_FOR_START: STX
[INFO]  DATA: 1
[INFO]  DATA: ESC
[INFO]  ESC_DATA: 2
[INFO]  DATA: ESC
[INFO]  ESC_DATA: 3
[INFO]  DATA: 4
[INFO]  DATA: 5
[INFO]  DATA: 6
[INFO]  DATA: 7
[INFO]  DATA: 8
[INFO]  DATA: 9
[INFO]  DATA: 10
[INFO]  DATA: ETX
[INFO] CBRphysical-UTest: TearDown()
[INFO] CBRphysical destructor
[INFO] [       OK ] CBRphysicalTest.ReceiveIndication (1001 ms)
[INFO] [----------] 3 tests from CBRphysicalTest (1052 ms total)
[INFO] 
[INFO] [----------] Global test environment tear-down
[INFO] [==========] 3 tests from 1 test suite ran. (1052 ms total)
[INFO] [  PASSED  ] 3 tests.
[ERROR] profiling:/JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/test-nar/obj/amd64-Linux-gpp/BRphysical-UTest.6930d2b.gcda:Cannot open
[INFO] 
[INFO] --- nar:3.10.1:nar-resources (packNar) @ BRphysical ---
[INFO] Copied 6 resources
[INFO] 
[INFO] --- nar:3.10.1:nar-prepare-package (default-nar-prepare-package) @ BRphysical ---
[INFO] 
[INFO] --- nar:3.10.1:nar-package (default-nar-package) @ BRphysical ---
[INFO] Building zip: /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/BRphysical-1.0.0-SNAPSHOT-noarch.nar
[INFO] 
[INFO] --- jar:3.4.2:jar (default-jar) @ BRphysical ---
[INFO] Building jar: /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/BRphysical-1.0.0-SNAPSHOT.jar
[INFO] 
[INFO] --- nar:3.10.1:nar-integration-test (default-nar-integration-test) @ BRphysical ---
[INFO] No tests to run.
[INFO] 
[INFO] --- install:3.1.3:install (default-install) @ BRphysical ---
[INFO] Installing /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/pom.xml to /root/.m2/repository/com/[COMPANYLONGNAME]/[DEPARTMENT]/[PRODUCT]/[FRAMEWORK]/Training/[DEVELOPER]/BRphysical/1.0.0-SNAPSHOT/BRphysical-1.0.0-SNAPSHOT.pom
[INFO] Installing /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/BRphysical-1.0.0-SNAPSHOT.jar to /root/.m2/repository/com/[COMPANYLONGNAME]/[DEPARTMENT]/[PRODUCT]/[FRAMEWORK]/Training/[DEVELOPER]/BRphysical/1.0.0-SNAPSHOT/BRphysical-1.0.0-SNAPSHOT.nar
[INFO] Installing /JENKINS/workspace/[PROJECTNAME]_black_develop_2/BRphysical/target/BRphysical-1.0.0-SNAPSHOT-noarch.nar to /root/.m2/repository/com/[COMPANYLONGNAME]/[DEPARTMENT]/[PRODUCT]/[FRAMEWORK]/Training/[DEVELOPER]/BRphysical/1.0.0-SNAPSHOT/BRphysical-1.0.0-SNAPSHOT-noarch.nar
[INFO] 
[INFO] ---------------< com.[COMPANYLONGNAME].[DEPARTMENT].[PRODUCT].[VARIANT]:Black >----------------
[INFO] Building Black 1.0.0-SNAPSHOT                                      [2/2]
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ Black ---
[INFO] 
[INFO] --- iterator:0.5.1:iterator (default) @ Black ---
[INFO] ------ (ARCHITECTURE=x86_64-Linux-gnu CONFIG_BUILD=release) com.soebes.maven.plugins:echo-maven-plugin:0.3.0:echo
[INFO] Invoking nar-gnu-make of nar-Plugin with argument: ARCHITECTURE=x86_64-Linux-gnu CONFIG_BUILD=release
[INFO] ------ (ARCHITECTURE=x86_64-Linux-gnu CONFIG_BUILD=release) com.github.maven-nar:nar-maven-plugin:3.10.1:nar-gnu-make
[INFO] ------ (ARCHITECTURE=x86_64-Linux-gnu CONFIG_BUILD=coverage) com.soebes.maven.plugins:echo-maven-plugin:0.3.0:echo
[INFO] Invoking nar-gnu-make of nar-Plugin with argument: ARCHITECTURE=x86_64-Linux-gnu CONFIG_BUILD=coverage
[INFO] ------ (ARCHITECTURE=x86_64-Linux-gnu CONFIG_BUILD=coverage) com.github.maven-nar:nar-maven-plugin:3.10.1:nar-gnu-make
[INFO] ------ (ARCHITECTURE=ARM-Linux-gnu CONFIG_BUILD=debug) com.soebes.maven.plugins:echo-maven-plugin:0.3.0:echo
[INFO] Invoking nar-gnu-make of nar-Plugin with argument: ARCHITECTURE=ARM-Linux-gnu CONFIG_BUILD=debug
[INFO] ------ (ARCHITECTURE=ARM-Linux-gnu CONFIG_BUILD=debug) com.github.maven-nar:nar-maven-plugin:3.10.1:nar-gnu-make
[INFO] ------ (ARCHITECTURE=ARM-Linux-gnu CONFIG_BUILD=release) com.soebes.maven.plugins:echo-maven-plugin:0.3.0:echo
[INFO] Invoking nar-gnu-make of nar-Plugin with argument: ARCHITECTURE=ARM-Linux-gnu CONFIG_BUILD=release
[INFO] ------ (ARCHITECTURE=ARM-Linux-gnu CONFIG_BUILD=release) com.github.maven-nar:nar-maven-plugin:3.10.1:nar-gnu-make
[INFO] 
[INFO] --- nar:3.10.1:nar-resources (packNar) @ Black ---
[INFO] Copied 0 resources
[INFO] 
[INFO] --- install:3.1.1:install (default-install) @ Black ---
[INFO] Installing /JENKINS/workspace/[PROJECTNAME]_black_develop_2/pom.xml to /root/.m2/repository/com/[COMPANYLONGNAME]/[DEPARTMENT]/[PRODUCT]/[VARIANT]/Black/1.0.0-SNAPSHOT/Black-1.0.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Black 1.0.0-SNAPSHOT:
[INFO] 
[INFO] BRphysical ......................................... SUCCESS [ 17.643 s]
[INFO] Black .............................................. SUCCESS [  0.058 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  18.962 s
[INFO] Finished at: 2024-09-20T11:58:13Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated /JENKINS/workspace/[PROJECTNAME]_black_develop_2@tmp/withMaveneba4985b/maven-spy-20240920-115754-4067779707845675617376.log

Can you spot here anything suspicious?

Thanks! I think it may be BRphysical-UTest, because that’s the last thing I saw on the logs from the failing run with build-wrapper.

From the looks of it, it seems to be doing some sort of data communication? I wonder if there may be some conflicts with connect, and if the connection does not go the way we were anticipating.
This conflict should happen early on since the interceptor runs during dynamic linking, so I think some sort of symbol not coming from libc or some interception of those symbols by a third library (or the test itself?).

I’d suggest trying a run without tests and see if build-wrapper succeeds.

1 Like

Thanks for the suggestion, your hunch was correct: running the step as .sonar/build-wrapper-linux-x86/build-wrapper-linux-x86-64 --out-dir bw-output mvn -U -Dmaven.test.skip=true clean install does indeed succeed. The test itself does use a serial port, so that might well be the component which conflicts with the wrapper. During the test a second thread is started to simulate the asynchronous data reception, and the threads are not properly joined at the end of the unit test. This leads to passing test results when run alone, but could also cause the failure of the wrapper. That’s all I can tell for now, since the source code of the test cannot be shared due to legal reasons.

Glad it helped! I am kind of disappointed not to be able to debug further :slight_smile: but at least it is working now.

Thanks for the feedback!

It is not working yet, we are working on resolving the threading on our side to see if that solves the crash. I’ll get back with the result in either case.

Update: yes, it was the threading. It works now.

Thanks for the update! Glad it is working now.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.