Failed
TestSuite.java-exec_unassigned (from (CTestResults_thread.xml))
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/exec_unassigned/exec_unassigned.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 [exec_unassigned.java.tesh:4] /usr/lib/jvm/java-22-openjdk-amd64/bin/java -Xcheck:jni -cp ../../simgrid.jar:exec_unassigned.jar exec_unassigned /builds/workspace/SimGrid-DynamicAnalysis-Sanitizer-Thread/label/DynamicAnalysis/examples/platforms/small_platform.xml --log=s4u_activity.t:verbose "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n" --- expected +++ obtained @@ -1,4 +1,40 @@ + + + + + + #0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:87 (libtsan.so.2+0x824e8) (BuildId: 99ef88596cb10a8ccf307fe1a9070f66a44b1624) + #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 99ef88596cb10a8ccf307fe1a9070f66a44b1624) + #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 99ef88596cb10a8ccf307fe1a9070f66a44b1624) + #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 99ef88596cb10a8ccf307fe1a9070f66a44b1624) + #0 pthread_mutex_trylock ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1354 (libtsan.so.2+0x544ac) (BuildId: 99ef88596cb10a8ccf307fe1a9070f66a44b1624) + #1 CallJavaMainInNewThread <null> (libjli.so+0x9021) (BuildId: ef1d7ab967b8604cdfc788dd65df3e5bc1baca67) + #1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:85 (libtsan.so.2+0x824e8) + #1 Mutex::lock() <null> (libjvm.so+0xd0ca29) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7) + #1 os::create_thread(Thread*, os::ThreadType, unsigned long) <null> (libjvm.so+0xd5c16a) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7) + #1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xe12f8) (BuildId: 133b71e0013695cc7832680a74edb51008c4fc4c) + #2 <null> <null> (libsimgrid-java.so+0x1fc3e) (BuildId: 2c0a53571afc05794a405671c22d172dc1c3c9ab) + #2 Metaspace::allocate(ClassLoaderData*, unsigned long, MetaspaceObj::Type, JavaThread*) <null> (libjvm.so+0xcc7dc3) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7) + #3 <null> <null> (libsimgrid-java.so+0x1fcd6) (BuildId: 2c0a53571afc05794a405671c22d172dc1c3c9ab) + #4 <null> <null> (libsimgrid.so+0x264e3f) (BuildId: 350490e1a88ca1a1ec5d8f6bece1463c92026db1) + #5 <null> <null> (libsimgrid.so+0x15be14) (BuildId: 350490e1a88ca1a1ec5d8f6bece1463c92026db1) + #6 <null> <null> (libsimgrid-java.so+0x263ad) (BuildId: 2c0a53571afc05794a405671c22d172dc1c3c9ab) + #7 <null> <null> (0x7fef53144b3c) + Atomic read of size 1 at 0x7fef020a5db0 by thread T15: + Previous write of size 8 at 0x7fef020a5db0 by thread T1: + Thread T1 (tid=483145, running) created by main thread at: + Thread T15 'C1 CompilerThre' (tid=483159, running) created by thread T1 at: + Thread T18 (tid=483162, finished) created by thread T1 at: +================== +================== +================== +================== [ 0.000000] (0:maestro@) Using regular java threads. [ 10.000000] (1:worker@Fafard) 'exec' is assigned to a resource and all dependencies are solved. Let's start [ 11.000000] (0:maestro@) Simulation ends. [ 11.000000] (1:worker@Fafard) Exec 'exec' is complete +SUMMARY: ThreadSanitizer: data race (/usr/lib/jvm/java-22-openjdk-amd64/lib/server/libjvm.so+0xd0ca29) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7) in Mutex::lock() +SUMMARY: ThreadSanitizer: thread leak (/lib/x86_64-linux-gnu/libstdc++.so.6+0xe12f8) (BuildId: 133b71e0013695cc7832680a74edb51008c4fc4c) in std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) +ThreadSanitizer: reported 2 warnings +WARNING: ThreadSanitizer: data race (pid=483143) +WARNING: ThreadSanitizer: thread leak (pid=483143) Output of <exec_unassigned.java.tesh:4> mismatch: Unsorted observed output: ================== WARNING: ThreadSanitizer: data race (pid=483143) Atomic read of size 1 at 0x7fef020a5db0 by thread T15: #0 pthread_mutex_trylock ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1354 (libtsan.so.2+0x544ac) (BuildId: 99ef88596cb10a8ccf307fe1a9070f66a44b1624) #1 Mutex::lock() <null> (libjvm.so+0xd0ca29) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7) Previous write of size 8 at 0x7fef020a5db0 by thread T1: #0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:87 (libtsan.so.2+0x824e8) (BuildId: 99ef88596cb10a8ccf307fe1a9070f66a44b1624) #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=483159, running) created by thread T1 at: #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 99ef88596cb10a8ccf307fe1a9070f66a44b1624) #1 os::create_thread(Thread*, os::ThreadType, unsigned long) <null> (libjvm.so+0xd5c16a) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7) Thread T1 (tid=483145, running) created by main thread at: #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 99ef88596cb10a8ccf307fe1a9070f66a44b1624) #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@) Using regular java threads. [ 10.000000] (1:worker@Fafard) 'exec' is assigned to a resource and all dependencies are solved. Let's start [ 11.000000] (1:worker@Fafard) Exec 'exec' is complete [ 11.000000] (0:maestro@) Simulation ends. ================== WARNING: ThreadSanitizer: thread leak (pid=483143) Thread T18 (tid=483162, finished) created by thread T1 at: #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 99ef88596cb10a8ccf307fe1a9070f66a44b1624) #1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xe12f8) (BuildId: 133b71e0013695cc7832680a74edb51008c4fc4c) #2 <null> <null> (libsimgrid-java.so+0x1fc3e) (BuildId: 2c0a53571afc05794a405671c22d172dc1c3c9ab) #3 <null> <null> (libsimgrid-java.so+0x1fcd6) (BuildId: 2c0a53571afc05794a405671c22d172dc1c3c9ab) #4 <null> <null> (libsimgrid.so+0x264e3f) (BuildId: 350490e1a88ca1a1ec5d8f6bece1463c92026db1) #5 <null> <null> (libsimgrid.so+0x15be14) (BuildId: 350490e1a88ca1a1ec5d8f6bece1463c92026db1) #6 <null> <null> (libsimgrid-java.so+0x263ad) (BuildId: 2c0a53571afc05794a405671c22d172dc1c3c9ab) #7 <null> <null> (0x7fef53144b3c) SUMMARY: ThreadSanitizer: thread leak (/lib/x86_64-linux-gnu/libstdc++.so.6+0xe12f8) (BuildId: 133b71e0013695cc7832680a74edb51008c4fc4c) 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 `exec_unassigned.java.tesh': NOK (<exec_unassigned.java.tesh:4> output mismatch) In addition, <exec_unassigned.java.tesh:4> 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/exec_unassigned/exec_unassigned.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 [exec_unassigned.java.tesh:4] /usr/lib/jvm/java-22-openjdk-amd64/bin/java -Xcheck:jni -cp ../../simgrid.jar:exec_unassigned.jar exec_unassigned /builds/workspace/SimGrid-DynamicAnalysis-Sanitizer-Thread/label/DynamicAnalysis/examples/platforms/small_platform.xml --log=s4u_activity.t:verbose "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n" --- expected +++ obtained @@ -1,4 +1,40 @@ + + + + + + #0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:87 (libtsan.so.2+0x824e8) (BuildId: 99ef88596cb10a8ccf307fe1a9070f66a44b1624) + #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 99ef88596cb10a8ccf307fe1a9070f66a44b1624) + #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 99ef88596cb10a8ccf307fe1a9070f66a44b1624) + #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 99ef88596cb10a8ccf307fe1a9070f66a44b1624) + #0 pthread_mutex_trylock ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1354 (libtsan.so.2+0x544ac) (BuildId: 99ef88596cb10a8ccf307fe1a9070f66a44b1624) + #1 CallJavaMainInNewThread <null> (libjli.so+0x9021) (BuildId: ef1d7ab967b8604cdfc788dd65df3e5bc1baca67) + #1 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:85 (libtsan.so.2+0x824e8) + #1 Mutex::lock() <null> (libjvm.so+0xd0ca29) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7) + #1 os::create_thread(Thread*, os::ThreadType, unsigned long) <null> (libjvm.so+0xd5c16a) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7) + #1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xe12f8) (BuildId: 133b71e0013695cc7832680a74edb51008c4fc4c) + #2 <null> <null> (libsimgrid-java.so+0x1fc3e) (BuildId: 2c0a53571afc05794a405671c22d172dc1c3c9ab) + #2 Metaspace::allocate(ClassLoaderData*, unsigned long, MetaspaceObj::Type, JavaThread*) <null> (libjvm.so+0xcc7dc3) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7) + #3 <null> <null> (libsimgrid-java.so+0x1fcd6) (BuildId: 2c0a53571afc05794a405671c22d172dc1c3c9ab) + #4 <null> <null> (libsimgrid.so+0x264e3f) (BuildId: 350490e1a88ca1a1ec5d8f6bece1463c92026db1) + #5 <null> <null> (libsimgrid.so+0x15be14) (BuildId: 350490e1a88ca1a1ec5d8f6bece1463c92026db1) + #6 <null> <null> (libsimgrid-java.so+0x263ad) (BuildId: 2c0a53571afc05794a405671c22d172dc1c3c9ab) + #7 <null> <null> (0x7fef53144b3c) + Atomic read of size 1 at 0x7fef020a5db0 by thread T15: + Previous write of size 8 at 0x7fef020a5db0 by thread T1: + Thread T1 (tid=483145, running) created by main thread at: + Thread T15 'C1 CompilerThre' (tid=483159, running) created by thread T1 at: + Thread T18 (tid=483162, finished) created by thread T1 at: +================== +================== +================== +================== [ 0.000000] (0:maestro@) Using regular java threads. [ 10.000000] (1:worker@Fafard) 'exec' is assigned to a resource and all dependencies are solved. Let's start [ 11.000000] (0:maestro@) Simulation ends. [ 11.000000] (1:worker@Fafard) Exec 'exec' is complete +SUMMARY: ThreadSanitizer: data race (/usr/lib/jvm/java-22-openjdk-amd64/lib/server/libjvm.so+0xd0ca29) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7) in Mutex::lock() +SUMMARY: ThreadSanitizer: thread leak (/lib/x86_64-linux-gnu/libstdc++.so.6+0xe12f8) (BuildId: 133b71e0013695cc7832680a74edb51008c4fc4c) in std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) +ThreadSanitizer: reported 2 warnings +WARNING: ThreadSanitizer: data race (pid=483143) +WARNING: ThreadSanitizer: thread leak (pid=483143) Output of <exec_unassigned.java.tesh:4> mismatch: Unsorted observed output: ================== WARNING: ThreadSanitizer: data race (pid=483143) Atomic read of size 1 at 0x7fef020a5db0 by thread T15: #0 pthread_mutex_trylock ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1354 (libtsan.so.2+0x544ac) (BuildId: 99ef88596cb10a8ccf307fe1a9070f66a44b1624) #1 Mutex::lock() <null> (libjvm.so+0xd0ca29) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7) Previous write of size 8 at 0x7fef020a5db0 by thread T1: #0 memset ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:87 (libtsan.so.2+0x824e8) (BuildId: 99ef88596cb10a8ccf307fe1a9070f66a44b1624) #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=483159, running) created by thread T1 at: #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 99ef88596cb10a8ccf307fe1a9070f66a44b1624) #1 os::create_thread(Thread*, os::ThreadType, unsigned long) <null> (libjvm.so+0xd5c16a) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7) Thread T1 (tid=483145, running) created by main thread at: #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 99ef88596cb10a8ccf307fe1a9070f66a44b1624) #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@) Using regular java threads. [ 10.000000] (1:worker@Fafard) 'exec' is assigned to a resource and all dependencies are solved. Let's start [ 11.000000] (1:worker@Fafard) Exec 'exec' is complete [ 11.000000] (0:maestro@) Simulation ends. ================== WARNING: ThreadSanitizer: thread leak (pid=483143) Thread T18 (tid=483162, finished) created by thread T1 at: #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x568a6) (BuildId: 99ef88596cb10a8ccf307fe1a9070f66a44b1624) #1 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) <null> (libstdc++.so.6+0xe12f8) (BuildId: 133b71e0013695cc7832680a74edb51008c4fc4c) #2 <null> <null> (libsimgrid-java.so+0x1fc3e) (BuildId: 2c0a53571afc05794a405671c22d172dc1c3c9ab) #3 <null> <null> (libsimgrid-java.so+0x1fcd6) (BuildId: 2c0a53571afc05794a405671c22d172dc1c3c9ab) #4 <null> <null> (libsimgrid.so+0x264e3f) (BuildId: 350490e1a88ca1a1ec5d8f6bece1463c92026db1) #5 <null> <null> (libsimgrid.so+0x15be14) (BuildId: 350490e1a88ca1a1ec5d8f6bece1463c92026db1) #6 <null> <null> (libsimgrid-java.so+0x263ad) (BuildId: 2c0a53571afc05794a405671c22d172dc1c3c9ab) #7 <null> <null> (0x7fef53144b3c) SUMMARY: ThreadSanitizer: thread leak (/lib/x86_64-linux-gnu/libstdc++.so.6+0xe12f8) (BuildId: 133b71e0013695cc7832680a74edb51008c4fc4c) 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 `exec_unassigned.java.tesh': NOK (<exec_unassigned.java.tesh:4> output mismatch) In addition, <exec_unassigned.java.tesh:4> returned code 66.