Failed
TestSuite.java-exec_remote (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_remote/exec_remote.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_remote.java.tesh:4] /usr/lib/jvm/java-22-openjdk-amd64/bin/java -Xcheck:jni -cp ../../simgrid.jar:exec_remote.jar exec_remote /builds/workspace/SimGrid-DynamicAnalysis-Sanitizer-Thread/label/DynamicAnalysis/examples/platforms/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n" Output of <exec_remote.java.tesh:4> mismatch: --- expected +++ obtained @@ -1,6 +1,58 @@ +================== +WARNING: ThreadSanitizer: data race (pid=3239087) + Atomic read of size 1 at 0x7f5a66011ad8 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 0x7f5a66011ad8 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=3239103, 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=3239089, 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@) Using regular java threads. [ 0.000000] (1:test@Fafard) I'm a wizard! I can run an activity on the Ginette host from the Fafard one! Look! [ 0.000000] (1:test@Fafard) It started. Running 48.492Mf takes exactly one second on Ginette (but not on Fafard). +================== +WARNING: ThreadSanitizer: data race (pid=3239087) + Atomic read of size 1 at 0x7f5a66134598 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 0x7f5a66134598 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=3239103, 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=3239106, 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> (0x7f5ab7144b3c) + +SUMMARY: ThreadSanitizer: data race (/usr/lib/jvm/java-22-openjdk-amd64/lib/server/libjvm.so+0xd0ca29) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7) in Mutex::lock() +================== [ 0.100000] (1:test@Fafard) Loads in flops/s: Boivin=0; Fafard=0; Ginette=48492000 [ 1.000000] (1:test@Fafard) Done! [ 1.000000] (1:test@Fafard) And now, harder. Start a remote activity on Ginette and move it to Boivin after 0.5 sec @@ -10,3 +62,18 @@ [ 2.000000] (1:test@Fafard) And now, even harder. Start a remote activity on Ginette and turn off the host after 0.5 sec [ 2.500000] (1:test@Fafard) Execution failed on Ginette [ 2.500000] (1:test@Fafard) Done! +================== +WARNING: ThreadSanitizer: thread leak (pid=3239087) + Thread T18 (tid=3239106, 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> (0x7f5ab7144b3c) + +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 `exec_remote.java.tesh': NOK (<exec_remote.java.tesh:4> output mismatch) In addition, <exec_remote.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_remote/exec_remote.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_remote.java.tesh:4] /usr/lib/jvm/java-22-openjdk-amd64/bin/java -Xcheck:jni -cp ../../simgrid.jar:exec_remote.jar exec_remote /builds/workspace/SimGrid-DynamicAnalysis-Sanitizer-Thread/label/DynamicAnalysis/examples/platforms/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n" Output of <exec_remote.java.tesh:4> mismatch: --- expected +++ obtained @@ -1,6 +1,58 @@ +================== +WARNING: ThreadSanitizer: data race (pid=3239087) + Atomic read of size 1 at 0x7f5a66011ad8 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 0x7f5a66011ad8 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=3239103, 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=3239089, 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@) Using regular java threads. [ 0.000000] (1:test@Fafard) I'm a wizard! I can run an activity on the Ginette host from the Fafard one! Look! [ 0.000000] (1:test@Fafard) It started. Running 48.492Mf takes exactly one second on Ginette (but not on Fafard). +================== +WARNING: ThreadSanitizer: data race (pid=3239087) + Atomic read of size 1 at 0x7f5a66134598 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 0x7f5a66134598 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=3239103, 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=3239106, 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> (0x7f5ab7144b3c) + +SUMMARY: ThreadSanitizer: data race (/usr/lib/jvm/java-22-openjdk-amd64/lib/server/libjvm.so+0xd0ca29) (BuildId: dfdb464a44944115544234599d4801c21ec8e3e7) in Mutex::lock() +================== [ 0.100000] (1:test@Fafard) Loads in flops/s: Boivin=0; Fafard=0; Ginette=48492000 [ 1.000000] (1:test@Fafard) Done! [ 1.000000] (1:test@Fafard) And now, harder. Start a remote activity on Ginette and move it to Boivin after 0.5 sec @@ -10,3 +62,18 @@ [ 2.000000] (1:test@Fafard) And now, even harder. Start a remote activity on Ginette and turn off the host after 0.5 sec [ 2.500000] (1:test@Fafard) Execution failed on Ginette [ 2.500000] (1:test@Fafard) Done! +================== +WARNING: ThreadSanitizer: thread leak (pid=3239087) + Thread T18 (tid=3239106, 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> (0x7f5ab7144b3c) + +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 `exec_remote.java.tesh': NOK (<exec_remote.java.tesh:4> output mismatch) In addition, <exec_remote.java.tesh:4> returned code 66.