Skip to content

Failed

TestSuite.java-energy_boot (from (CTestResults_thread.xml))

Failing for the past 20 builds (Since Unstable#2923 )
Took 3.8 sec.

Error Message

					Failed
				 (
					2
				)

Stacktrace

Ignore all cruft seen on SimGrid's continuous integration servers
Test suite '/builds/workspace/SimGrid-DynamicAnalysis-Sanitizer-Thread/label/DynamicAnalysis/examples/java/energy_boot/energy_boot.java.tesh'
[Tesh/INFO] setenv LD_PRELOAD=/lib/x86_64-linux-gnu/libtsan.so.2
[Tesh/INFO] setenv LD_LIBRARY_PATH=/builds/workspace/SimGrid-DynamicAnalysis-Sanitizer-Thread/label/DynamicAnalysis/build/lib:
[Tesh/INFO] setenv LC_CTYPE=C
[Tesh/INFO] setenv javacmd=/usr/lib/jvm/java-22-openjdk-amd64/bin/java -Xcheck:jni 
[Tesh/INFO] setenv platfdir=/builds/workspace/SimGrid-DynamicAnalysis-Sanitizer-Thread/label/DynamicAnalysis/examples/platforms
[Tesh/INFO] setenv srcdir=/builds/workspace/SimGrid-DynamicAnalysis-Sanitizer-Thread/label/DynamicAnalysis/examples/java
[energy_boot.java.tesh:3] Modeling the host energy consumption during boot and shutdown
[energy_boot.java.tesh:5] /usr/lib/jvm/java-22-openjdk-amd64/bin/java -Xcheck:jni  -cp ../../simgrid.jar:energy_boot.jar energy_boot /builds/workspace/SimGrid-DynamicAnalysis-Sanitizer-Thread/label/DynamicAnalysis/examples/platforms/energy_boot.xml "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
Output of <energy_boot.java.tesh:5> mismatch:
--- expected
+++ obtained
@@ -1,4 +1,35 @@
 [  0.000000] (0:maestro@) Using regular java threads.
+==================
+WARNING: ThreadSanitizer: data race (pid=3238635)
+  Atomic read of size 1 at 0x7f19f213a508 by thread T15:
+    #0 pthread_mutex_trylock ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1354 (libtsan.so.2+0x544ac) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 Mutex::lock() <null> (libjvm.so+0xd0ca29) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7)
+
+  Previous write of size 8 at 0x7f19f213a508 by thread T18:
+    #0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:87 (libtsan.so.2+0x824e8) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:85 (libtsan.so.2+0x824e8)
+    #2 Metaspace::allocate(ClassLoaderData*, unsigned long, MetaspaceObj::Type, JavaThread*) <null> (libjvm.so+0xcc7dc3) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7)
+    #3 <null> <null> (libsimgrid-java.so+0x52e28) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #4 <null> <null> (libsimgrid.so+0x272676) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #5 <null> <null> (libsimgrid.so+0x26e7af) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #6 <null> <null> (libstdc++.so.6+0xe0e63) (BuildId: 53ea02d39ab1982e365590c17d3f1ddfd8de904f)
+
+  Thread T15 'C1 CompilerThre' (tid=3238651, running) created by thread T1 at:
+    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 os::create_thread(Thread*, os::ThreadType, unsigned long) <null> (libjvm.so+0xd5c16a) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7)
+
+  Thread T18 (tid=3238654, running) created by thread T1 at:
+    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xe0f38) (BuildId: 53ea02d39ab1982e365590c17d3f1ddfd8de904f)
+    #2 <null> <null> (libsimgrid-java.so+0x1f92e) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #3 <null> <null> (libsimgrid-java.so+0x1f9c6) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #4 <null> <null> (libsimgrid.so+0x26cc0f) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #5 <null> <null> (libsimgrid.so+0x158604) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #6 <null> <null> (libsimgrid-java.so+0x261cd) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #7 <null> <null> (0x7f1a42944b3c)
+
+SUMMARY: ThreadSanitizer: data race (/usr/lib/jvm/java-22-openjdk-amd64/lib/server/libjvm.so+0xd0ca29) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7) in Mutex::lock()
+==================
 [  0.000000] (1:Boot Monitor@MyHost2) Initial pstate: 0; Energy dissipated so far:0E+00 J
 [  0.000000] (1:Boot Monitor@MyHost2) Sleep for 10 seconds
 [ 10.000000] (1:Boot Monitor@MyHost2) Done sleeping. Current pstate: 0; Energy dissipated so far: 950.00 J
@@ -18,3 +49,18 @@
 [177.000000] (0:maestro@) End of simulation.
 [177.000000] (0:maestro@) Energy consumption of host MyHost1: 19820.000000 Joules
 [177.000000] (0:maestro@) Energy consumption of host MyHost2: 17700.000000 Joules
+==================
+WARNING: ThreadSanitizer: thread leak (pid=3238635)
+  Thread T18 (tid=3238654, finished) created by thread T1 at:
+    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xe0f38) (BuildId: 53ea02d39ab1982e365590c17d3f1ddfd8de904f)
+    #2 <null> <null> (libsimgrid-java.so+0x1f92e) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #3 <null> <null> (libsimgrid-java.so+0x1f9c6) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #4 <null> <null> (libsimgrid.so+0x26cc0f) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #5 <null> <null> (libsimgrid.so+0x158604) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #6 <null> <null> (libsimgrid-java.so+0x261cd) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #7 <null> <null> (0x7f1a42944b3c)
+
+SUMMARY: ThreadSanitizer: thread leak (/lib/x86_64-linux-gnu/libstdc++.so.6+0xe0f38) (BuildId: 53ea02d39ab1982e365590c17d3f1ddfd8de904f) in std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)())
+==================
+ThreadSanitizer: reported 2 warnings
Test suite `energy_boot.java.tesh': NOK (<energy_boot.java.tesh:5> output mismatch)
In addition, <energy_boot.java.tesh:5> returned code 66.
[energy_boot.java.tesh:27] /usr/lib/jvm/java-22-openjdk-amd64/bin/java -Xcheck:jni  -cp ../../simgrid.jar:energy_boot.jar energy_boot /builds/workspace/SimGrid-DynamicAnalysis-Sanitizer-Thread/label/DynamicAnalysis/examples/platforms/energy_boot.xml "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n" --cfg=host/model:ptask_L07
Output of <energy_boot.java.tesh:27> mismatch:
--- expected
+++ obtained
@@ -1,6 +1,58 @@
+==================
+WARNING: ThreadSanitizer: data race (pid=3238655)
+  Atomic read of size 1 at 0x7fba4c07dcf8 by thread T15:
+    #0 pthread_mutex_trylock ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1354 (libtsan.so.2+0x544ac) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 Mutex::lock() <null> (libjvm.so+0xd0ca29) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7)
+
+  Previous write of size 8 at 0x7fba4c07dcf8 by thread T1:
+    #0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:87 (libtsan.so.2+0x824e8) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:85 (libtsan.so.2+0x824e8)
+    #2 Metaspace::allocate(ClassLoaderData*, unsigned long, MetaspaceObj::Type, JavaThread*) <null> (libjvm.so+0xcc7dc3) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7)
+
+  Thread T15 'C1 CompilerThre' (tid=3238671, running) created by thread T1 at:
+    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 os::create_thread(Thread*, os::ThreadType, unsigned long) <null> (libjvm.so+0xd5c16a) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7)
+
+  Thread T1 (tid=3238657, running) created by main thread at:
+    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 CallJavaMainInNewThread <null> (libjli.so+0x9021) (BuildId: ef1d7ab967b8604cdfc788dd65df3e5bc1baca67)
+
+SUMMARY: ThreadSanitizer: data race (/usr/lib/jvm/java-22-openjdk-amd64/lib/server/libjvm.so+0xd0ca29) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7) in Mutex::lock()
+==================
 [  0.000000] (0:maestro@) Configuration change: Set 'host/model' to 'ptask_L07'
 [  0.000000] (0:maestro@) Using regular java threads.
 [  0.000000] (0:maestro@) Switching to the L07 model to handle parallel tasks.
+==================
+WARNING: ThreadSanitizer: data race (pid=3238655)
+  Atomic read of size 1 at 0x7fba4c12a1b0 by thread T15:
+    #0 pthread_mutex_trylock ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1354 (libtsan.so.2+0x544ac) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 Mutex::lock() <null> (libjvm.so+0xd0ca29) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7)
+
+  Previous write of size 8 at 0x7fba4c12a1b0 by thread T18:
+    #0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:87 (libtsan.so.2+0x824e8) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:85 (libtsan.so.2+0x824e8)
+    #2 Metaspace::allocate(ClassLoaderData*, unsigned long, MetaspaceObj::Type, JavaThread*) <null> (libjvm.so+0xcc7dc3) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7)
+    #3 <null> <null> (libsimgrid-java.so+0x52e28) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #4 <null> <null> (libsimgrid.so+0x272676) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #5 <null> <null> (libsimgrid.so+0x26e7af) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #6 <null> <null> (libstdc++.so.6+0xe0e63) (BuildId: 53ea02d39ab1982e365590c17d3f1ddfd8de904f)
+
+  Thread T15 'C1 CompilerThre' (tid=3238671, running) created by thread T1 at:
+    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 os::create_thread(Thread*, os::ThreadType, unsigned long) <null> (libjvm.so+0xd5c16a) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7)
+
+  Thread T18 (tid=3238674, running) created by thread T1 at:
+    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xe0f38) (BuildId: 53ea02d39ab1982e365590c17d3f1ddfd8de904f)
+    #2 <null> <null> (libsimgrid-java.so+0x1f92e) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #3 <null> <null> (libsimgrid-java.so+0x1f9c6) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #4 <null> <null> (libsimgrid.so+0x26cc0f) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #5 <null> <null> (libsimgrid.so+0x158604) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #6 <null> <null> (libsimgrid-java.so+0x261cd) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #7 <null> <null> (0x7fba9cb44b3c)
+
+SUMMARY: ThreadSanitizer: data race (/usr/lib/jvm/java-22-openjdk-amd64/lib/server/libjvm.so+0xd0ca29) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7) in Mutex::lock()
+==================
 [  0.000000] (1:Boot Monitor@MyHost2) Initial pstate: 0; Energy dissipated so far:0E+00 J
 [  0.000000] (1:Boot Monitor@MyHost2) Sleep for 10 seconds
 [ 10.000000] (1:Boot Monitor@MyHost2) Done sleeping. Current pstate: 0; Energy dissipated so far: 950.00 J
@@ -20,3 +72,18 @@
 [177.000000] (0:maestro@) End of simulation.
 [177.000000] (0:maestro@) Energy consumption of host MyHost1: 19820.000000 Joules
 [177.000000] (0:maestro@) Energy consumption of host MyHost2: 17700.000000 Joules
+==================
+WARNING: ThreadSanitizer: thread leak (pid=3238655)
+  Thread T18 (tid=3238674, finished) created by thread T1 at:
+    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xe0f38) (BuildId: 53ea02d39ab1982e365590c17d3f1ddfd8de904f)
+    #2 <null> <null> (libsimgrid-java.so+0x1f92e) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #3 <null> <null> (libsimgrid-java.so+0x1f9c6) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #4 <null> <null> (libsimgrid.so+0x26cc0f) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #5 <null> <null> (libsimgrid.so+0x158604) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #6 <null> <null> (libsimgrid-java.so+0x261cd) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #7 <null> <null> (0x7fba9cb44b3c)
+
+SUMMARY: ThreadSanitizer: thread leak (/lib/x86_64-linux-gnu/libstdc++.so.6+0xe0f38) (BuildId: 53ea02d39ab1982e365590c17d3f1ddfd8de904f) in std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)())
+==================
+ThreadSanitizer: reported 3 warnings
Test suite `energy_boot.java.tesh': NOK (<energy_boot.java.tesh:27> output mismatch)
In addition, <energy_boot.java.tesh:27> returned code 66.

Standard Output

Ignore all cruft seen on SimGrid's continuous integration servers
Test suite '/builds/workspace/SimGrid-DynamicAnalysis-Sanitizer-Thread/label/DynamicAnalysis/examples/java/energy_boot/energy_boot.java.tesh'
[Tesh/INFO] setenv LD_PRELOAD=/lib/x86_64-linux-gnu/libtsan.so.2
[Tesh/INFO] setenv LD_LIBRARY_PATH=/builds/workspace/SimGrid-DynamicAnalysis-Sanitizer-Thread/label/DynamicAnalysis/build/lib:
[Tesh/INFO] setenv LC_CTYPE=C
[Tesh/INFO] setenv javacmd=/usr/lib/jvm/java-22-openjdk-amd64/bin/java -Xcheck:jni 
[Tesh/INFO] setenv platfdir=/builds/workspace/SimGrid-DynamicAnalysis-Sanitizer-Thread/label/DynamicAnalysis/examples/platforms
[Tesh/INFO] setenv srcdir=/builds/workspace/SimGrid-DynamicAnalysis-Sanitizer-Thread/label/DynamicAnalysis/examples/java
[energy_boot.java.tesh:3] Modeling the host energy consumption during boot and shutdown
[energy_boot.java.tesh:5] /usr/lib/jvm/java-22-openjdk-amd64/bin/java -Xcheck:jni  -cp ../../simgrid.jar:energy_boot.jar energy_boot /builds/workspace/SimGrid-DynamicAnalysis-Sanitizer-Thread/label/DynamicAnalysis/examples/platforms/energy_boot.xml "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
Output of <energy_boot.java.tesh:5> mismatch:
--- expected
+++ obtained
@@ -1,4 +1,35 @@
 [  0.000000] (0:maestro@) Using regular java threads.
+==================
+WARNING: ThreadSanitizer: data race (pid=3238635)
+  Atomic read of size 1 at 0x7f19f213a508 by thread T15:
+    #0 pthread_mutex_trylock ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1354 (libtsan.so.2+0x544ac) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 Mutex::lock() <null> (libjvm.so+0xd0ca29) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7)
+
+  Previous write of size 8 at 0x7f19f213a508 by thread T18:
+    #0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:87 (libtsan.so.2+0x824e8) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:85 (libtsan.so.2+0x824e8)
+    #2 Metaspace::allocate(ClassLoaderData*, unsigned long, MetaspaceObj::Type, JavaThread*) <null> (libjvm.so+0xcc7dc3) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7)
+    #3 <null> <null> (libsimgrid-java.so+0x52e28) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #4 <null> <null> (libsimgrid.so+0x272676) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #5 <null> <null> (libsimgrid.so+0x26e7af) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #6 <null> <null> (libstdc++.so.6+0xe0e63) (BuildId: 53ea02d39ab1982e365590c17d3f1ddfd8de904f)
+
+  Thread T15 'C1 CompilerThre' (tid=3238651, running) created by thread T1 at:
+    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 os::create_thread(Thread*, os::ThreadType, unsigned long) <null> (libjvm.so+0xd5c16a) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7)
+
+  Thread T18 (tid=3238654, running) created by thread T1 at:
+    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xe0f38) (BuildId: 53ea02d39ab1982e365590c17d3f1ddfd8de904f)
+    #2 <null> <null> (libsimgrid-java.so+0x1f92e) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #3 <null> <null> (libsimgrid-java.so+0x1f9c6) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #4 <null> <null> (libsimgrid.so+0x26cc0f) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #5 <null> <null> (libsimgrid.so+0x158604) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #6 <null> <null> (libsimgrid-java.so+0x261cd) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #7 <null> <null> (0x7f1a42944b3c)
+
+SUMMARY: ThreadSanitizer: data race (/usr/lib/jvm/java-22-openjdk-amd64/lib/server/libjvm.so+0xd0ca29) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7) in Mutex::lock()
+==================
 [  0.000000] (1:Boot Monitor@MyHost2) Initial pstate: 0; Energy dissipated so far:0E+00 J
 [  0.000000] (1:Boot Monitor@MyHost2) Sleep for 10 seconds
 [ 10.000000] (1:Boot Monitor@MyHost2) Done sleeping. Current pstate: 0; Energy dissipated so far: 950.00 J
@@ -18,3 +49,18 @@
 [177.000000] (0:maestro@) End of simulation.
 [177.000000] (0:maestro@) Energy consumption of host MyHost1: 19820.000000 Joules
 [177.000000] (0:maestro@) Energy consumption of host MyHost2: 17700.000000 Joules
+==================
+WARNING: ThreadSanitizer: thread leak (pid=3238635)
+  Thread T18 (tid=3238654, finished) created by thread T1 at:
+    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xe0f38) (BuildId: 53ea02d39ab1982e365590c17d3f1ddfd8de904f)
+    #2 <null> <null> (libsimgrid-java.so+0x1f92e) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #3 <null> <null> (libsimgrid-java.so+0x1f9c6) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #4 <null> <null> (libsimgrid.so+0x26cc0f) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #5 <null> <null> (libsimgrid.so+0x158604) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #6 <null> <null> (libsimgrid-java.so+0x261cd) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #7 <null> <null> (0x7f1a42944b3c)
+
+SUMMARY: ThreadSanitizer: thread leak (/lib/x86_64-linux-gnu/libstdc++.so.6+0xe0f38) (BuildId: 53ea02d39ab1982e365590c17d3f1ddfd8de904f) in std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)())
+==================
+ThreadSanitizer: reported 2 warnings
Test suite `energy_boot.java.tesh': NOK (<energy_boot.java.tesh:5> output mismatch)
In addition, <energy_boot.java.tesh:5> returned code 66.
[energy_boot.java.tesh:27] /usr/lib/jvm/java-22-openjdk-amd64/bin/java -Xcheck:jni  -cp ../../simgrid.jar:energy_boot.jar energy_boot /builds/workspace/SimGrid-DynamicAnalysis-Sanitizer-Thread/label/DynamicAnalysis/examples/platforms/energy_boot.xml "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n" --cfg=host/model:ptask_L07
Output of <energy_boot.java.tesh:27> mismatch:
--- expected
+++ obtained
@@ -1,6 +1,58 @@
+==================
+WARNING: ThreadSanitizer: data race (pid=3238655)
+  Atomic read of size 1 at 0x7fba4c07dcf8 by thread T15:
+    #0 pthread_mutex_trylock ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1354 (libtsan.so.2+0x544ac) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 Mutex::lock() <null> (libjvm.so+0xd0ca29) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7)
+
+  Previous write of size 8 at 0x7fba4c07dcf8 by thread T1:
+    #0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:87 (libtsan.so.2+0x824e8) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:85 (libtsan.so.2+0x824e8)
+    #2 Metaspace::allocate(ClassLoaderData*, unsigned long, MetaspaceObj::Type, JavaThread*) <null> (libjvm.so+0xcc7dc3) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7)
+
+  Thread T15 'C1 CompilerThre' (tid=3238671, running) created by thread T1 at:
+    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 os::create_thread(Thread*, os::ThreadType, unsigned long) <null> (libjvm.so+0xd5c16a) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7)
+
+  Thread T1 (tid=3238657, running) created by main thread at:
+    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 CallJavaMainInNewThread <null> (libjli.so+0x9021) (BuildId: ef1d7ab967b8604cdfc788dd65df3e5bc1baca67)
+
+SUMMARY: ThreadSanitizer: data race (/usr/lib/jvm/java-22-openjdk-amd64/lib/server/libjvm.so+0xd0ca29) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7) in Mutex::lock()
+==================
 [  0.000000] (0:maestro@) Configuration change: Set 'host/model' to 'ptask_L07'
 [  0.000000] (0:maestro@) Using regular java threads.
 [  0.000000] (0:maestro@) Switching to the L07 model to handle parallel tasks.
+==================
+WARNING: ThreadSanitizer: data race (pid=3238655)
+  Atomic read of size 1 at 0x7fba4c12a1b0 by thread T15:
+    #0 pthread_mutex_trylock ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1354 (libtsan.so.2+0x544ac) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 Mutex::lock() <null> (libjvm.so+0xd0ca29) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7)
+
+  Previous write of size 8 at 0x7fba4c12a1b0 by thread T18:
+    #0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:87 (libtsan.so.2+0x824e8) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:85 (libtsan.so.2+0x824e8)
+    #2 Metaspace::allocate(ClassLoaderData*, unsigned long, MetaspaceObj::Type, JavaThread*) <null> (libjvm.so+0xcc7dc3) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7)
+    #3 <null> <null> (libsimgrid-java.so+0x52e28) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #4 <null> <null> (libsimgrid.so+0x272676) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #5 <null> <null> (libsimgrid.so+0x26e7af) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #6 <null> <null> (libstdc++.so.6+0xe0e63) (BuildId: 53ea02d39ab1982e365590c17d3f1ddfd8de904f)
+
+  Thread T15 'C1 CompilerThre' (tid=3238671, running) created by thread T1 at:
+    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 os::create_thread(Thread*, os::ThreadType, unsigned long) <null> (libjvm.so+0xd5c16a) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7)
+
+  Thread T18 (tid=3238674, running) created by thread T1 at:
+    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xe0f38) (BuildId: 53ea02d39ab1982e365590c17d3f1ddfd8de904f)
+    #2 <null> <null> (libsimgrid-java.so+0x1f92e) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #3 <null> <null> (libsimgrid-java.so+0x1f9c6) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #4 <null> <null> (libsimgrid.so+0x26cc0f) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #5 <null> <null> (libsimgrid.so+0x158604) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #6 <null> <null> (libsimgrid-java.so+0x261cd) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #7 <null> <null> (0x7fba9cb44b3c)
+
+SUMMARY: ThreadSanitizer: data race (/usr/lib/jvm/java-22-openjdk-amd64/lib/server/libjvm.so+0xd0ca29) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7) in Mutex::lock()
+==================
 [  0.000000] (1:Boot Monitor@MyHost2) Initial pstate: 0; Energy dissipated so far:0E+00 J
 [  0.000000] (1:Boot Monitor@MyHost2) Sleep for 10 seconds
 [ 10.000000] (1:Boot Monitor@MyHost2) Done sleeping. Current pstate: 0; Energy dissipated so far: 950.00 J
@@ -20,3 +72,18 @@
 [177.000000] (0:maestro@) End of simulation.
 [177.000000] (0:maestro@) Energy consumption of host MyHost1: 19820.000000 Joules
 [177.000000] (0:maestro@) Energy consumption of host MyHost2: 17700.000000 Joules
+==================
+WARNING: ThreadSanitizer: thread leak (pid=3238655)
+  Thread T18 (tid=3238674, finished) created by thread T1 at:
+    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 1574cdd7e62a695a67a89aeffe9d3d098b82e895)
+    #1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xe0f38) (BuildId: 53ea02d39ab1982e365590c17d3f1ddfd8de904f)
+    #2 <null> <null> (libsimgrid-java.so+0x1f92e) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #3 <null> <null> (libsimgrid-java.so+0x1f9c6) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #4 <null> <null> (libsimgrid.so+0x26cc0f) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #5 <null> <null> (libsimgrid.so+0x158604) (BuildId: e12dd0711aa95a58869161e244cafbf8f97cdc1c)
+    #6 <null> <null> (libsimgrid-java.so+0x261cd) (BuildId: b5d7a0b7dc060c66c3f5e4b8e091f2f093bb00fa)
+    #7 <null> <null> (0x7fba9cb44b3c)
+
+SUMMARY: ThreadSanitizer: thread leak (/lib/x86_64-linux-gnu/libstdc++.so.6+0xe0f38) (BuildId: 53ea02d39ab1982e365590c17d3f1ddfd8de904f) in std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)())
+==================
+ThreadSanitizer: reported 3 warnings
Test suite `energy_boot.java.tesh': NOK (<energy_boot.java.tesh:27> output mismatch)
In addition, <energy_boot.java.tesh:27> returned code 66.