Test Suite 'All tests' started at 2024-12-11 15:47:51.142 Test Suite 'debug.xctest' started at 2024-12-11 15:47:51.144 Test Suite 'debug.xctest' passed at 2024-12-11 15:47:51.144 Executed 0 tests, with 0 failures (0 unexpected) in 0.0 (0.0) seconds Test Suite 'All tests' passed at 2024-12-11 15:47:51.144 Executed 0 tests, with 0 failures (0 unexpected) in 0.0 (0.0) seconds ◇ Test run started. ↳ Testing Library Version: 6.0.2 (cd448bbe5cc989d) ◇ Test idealSensor() started. ◇ Test edgeDeviceMean() started. ◇ Test dataAcquisition() started. ◇ Test workLoop1() started. ◇ Test stressLoop2() started. ◇ Test faultyIdealSensor() started. ◇ Test faultyRealSensor() started. ◇ Test stressLoop1() started. ◇ Test edgeDevice() started. ◇ Test realSensor() started. 22.3178 2.2604321e+09 ================== WARNING: ThreadSanitizer: Swift access race (pid=11985) Modifying access of Swift variable at 0xaaaadf6075b8 by thread T3: #0 $s18IoT_Simulator_Core0a10TSimulatorC0C6addEnv11environmentyAA19PhysicalEnvironmentC_tFZ /workspace/Sources/IoT-Simulator-Core/IoT_Simulator_Core.swift:14 (IoT-Simulator-CorePackageTests.xctest+0x45311c) #1 $s23IoT_Simulator_CoreTests11stressLoop2yyYaKFTY0_ /workspace/Tests/IoT-Simulator-CoreTests/IoTCore-Tests.swift:153 (IoT-Simulator-CorePackageTests.xctest+0x4a8d38) #2 swift::runJobInEstablishedExecutorContext(swift::Job*) crtstuff.c:? (libswift_Concurrency.so+0x62408) (BuildId: f862bde51482cfc431a0e088a3190536e988812e) #3 _dispatch_continuation_pop :? (libdispatch.so+0x2a740) Previous modifying access of Swift variable at 0xaaaadf6075b8 by thread T8: #0 $s18IoT_Simulator_Core0a10TSimulatorC0C6addEnv11environmentyAA19PhysicalEnvironmentC_tFZ /workspace/Sources/IoT-Simulator-Core/IoT_Simulator_Core.swift:14 (IoT-Simulator-CorePackageTests.xctest+0x45311c) #1 $s23IoT_Simulator_CoreTests9workLoop1yyYaKFTY0_ /workspace/Tests/IoT-Simulator-CoreTests/IoTCore-Tests.swift:15 (IoT-Simulator-CorePackageTests.xctest+0x4a5030) #2 swift::runJobInEstablishedExecutorContext(swift::Job*) crtstuff.c:? (libswift_Concurrency.so+0x62408) (BuildId: f862bde51482cfc431a0e088a3190536e988812e) #3 _dispatch_continuation_pop :? (libdispatch.so+0x2a740) Location is global '' at 0x000000000000 (IoT-Simulator-CorePackageTests.xctest+0x1c075b8) Thread T3 (tid=11991, running) created by thread T2 at: #0 pthread_create /home/build-user/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1020 (IoT-Simulator-CorePackageTests.xctest+0xb5600) #1 _dispatch_root_queue_poke_slow queue.c:? (libdispatch.so+0x32044) #2 _dispatch_continuation_pop :? (libdispatch.so+0x2a740) Thread T8 (tid=11996, running) created by thread T6 at: #0 pthread_create /home/build-user/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1020 (IoT-Simulator-CorePackageTests.xctest+0xb5600) #1 _dispatch_root_queue_poke_slow queue.c:? (libdispatch.so+0x32044) SUMMARY: ThreadSanitizer: Swift access race /workspace/Sources/IoT-Simulator-Core/IoT_Simulator_Core.swift:14 in $s18IoT_Simulator_Core0a10TSimulatorC0C6addEnv11environmentyAA19PhysicalEnvironmentC_tFZ ================== ✔ Test realSensor() passed after 0.001 seconds. ✔ Test idealSensor() passed after 0.001 seconds. ✔ Test dataAcquisition() passed after 0.001 seconds. ✔ Test faultyIdealSensor() passed after 0.524 seconds. ✔ Test faultyRealSensor() passed after 0.524 seconds. ThreadSanitizer:DEADLYSIGNAL ==11985==ERROR: ThreadSanitizer: SEGV on unknown address 0x000000000010 (pc 0xffffa40f30e0 bp 0xffff93c0d4d0 sp 0xffff93c0d4d0 T11996) ==11985==The signal is caused by a READ memory access. ==11985==Hint: address points to the zero page. Hi, at 0s 200 bytes MESSAGE ------- V: 1 Message Type: 1 Device Type: 0 RESERVED: 0 Signature Type: 12 Timestamp: 2024-12-11 15:47:51 +0000 Device ID: 1 Location: X: 20 Y: 10 Z: 0 Fields: data_type: Temperature mean_value: 2.1474836e+09 std_value: 8460.0 Signature: [242, 98, 65, 103, 103, 209, 212, 124, 116, 73, 110, 36, 189, 203, 34, 203