Back to build
Raw log | Switch to full mode | Login

Test: unittests/DateCache.AdoptDefaultMixed Flags: --random-seed=-1302541941 --nohard-abort --gtest_filter=DateCache.AdoptDefaultMixed --gtest_random_seed=-1302541941 --gtest_print_time=0 Command: out/Release/unittests --random-seed=-1302541941 --nohard-abort --gtest_filter=DateCache.AdoptDefaultMixed --gtest_random_seed=-1302541941 --gtest_print_time=0 Variant: default Build environment: gn_args: is_component_build = false is_debug = false is_tsan = true symbol_level = 1 target_cpu = "x64" use_goma = true v8_enable_test_features = true Run #1 Exit code: 66 Result: FAIL Expected outcomes: PASS Duration: 00:05:042 Stdout: Note: Google Test filter = DateCache.AdoptDefaultMixed [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from DateCache [ RUN ] DateCache.AdoptDefaultMixed AdoptDefaultThread Start GetLocalOffsetFromOSThread Start GetLocalOffsetFromOSThread Start LocalTimezoneThread Start GetLocalOffsetFromOSThread End GetLocalOffsetFromOSThread End AdoptDefaultThread End LocalTimezoneThread End [ OK ] DateCache.AdoptDefaultMixed [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. [ PASSED ] 1 test. Stderr: ================== WARNING: ThreadSanitizer: data race (pid=9525) Read of size 8 at 0x555630d07b80 by thread T9: #0 icu_64::TimeZone::createDefault() third_party/icu/source/i18n/timezone.cpp:580:9 (unittests+0x1e6506f) #1 GetTimeZone src/objects/intl-objects.cc:1796:17 (unittests+0x13316da) #2 GetOffsets src/objects/intl-objects.cc (unittests+0x13316da) #3 v8::internal::ICUTimezoneCache::LocalTimeOffset(double, bool) src/objects/intl-objects.cc:1834 (unittests+0x13316da) #4 v8::internal::DateCache::GetLocalOffsetFromOS(long, bool) src/date.cc:227:25 (unittests+0xfdcbfa) #5 v8::internal::GetLocalOffsetFromOSThread::Run() test/unittests/date-cache-unittest.cc:48:18 (unittests+0x9ce798) #6 NotifyStartedAndRun src/base/platform/platform.h:394:5 (unittests+0x1d30bc2) #7 v8::base::ThreadEntry(void*) src/base/platform/platform-posix.cc:748 (unittests+0x1d30bc2) Previous write of size 8 at 0x555630d07b80 by thread T8 (mutexes: write M23216239560187984): #0 icu_64::TimeZone::adoptDefault(icu_64::TimeZone*) third_party/icu/source/i18n/timezone.cpp:597:26 (unittests+0x1e65223) #1 v8::internal::AdoptDefaultThread::Run() test/unittests/date-cache-unittest.cc:30:9 (unittests+0x9ce69f) #2 NotifyStartedAndRun src/base/platform/platform.h:394:5 (unittests+0x1d30bc2) #3 v8::base::ThreadEntry(void*) src/base/platform/platform-posix.cc:748 (unittests+0x1d30bc2) Location is global 'DEFAULT_ZONE' of size 8 at 0x555630d07b80 (unittests+0x000002acab80) Mutex M23216239560187984 is already destroyed. Thread T9 'GetLocalOffsetF' (tid=9609, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (unittests+0x538eeb) #1 v8::base::Thread::Start() src/base/platform/platform-posix.cc:781:14 (unittests+0x1d30b19) #2 v8::internal::DateCache_AdoptDefaultMixed_Test::TestBody() test/unittests/date-cache-unittest.cc:108:6 (unittests+0x9ce4b5) #3 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unittests+0x1c80c16) #4 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (unittests+0x1c80c16) #5 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (unittests+0x1c81ba8) #6 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unittests+0x1c82666) #7 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unittests+0x1c94af6) #8 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unittests+0x1c93f59) #9 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unittests+0x1c93f59) #10 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unittests+0xb1635f) #11 main test/unittests/run-all-unittests.cc:46 (unittests+0xb1635f) Thread T8 'AdoptDefault' (tid=9606, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (unittests+0x538eeb) #1 v8::base::Thread::Start() src/base/platform/platform-posix.cc:781:14 (unittests+0x1d30b19) #2 v8::internal::DateCache_AdoptDefaultMixed_Test::TestBody() test/unittests/date-cache-unittest.cc:107:6 (unittests+0x9ce4ad) #3 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unittests+0x1c80c16) #4 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (unittests+0x1c80c16) #5 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (unittests+0x1c81ba8) #6 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unittests+0x1c82666) #7 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unittests+0x1c94af6) #8 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unittests+0x1c93f59) #9 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unittests+0x1c93f59) #10 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unittests+0xb1635f) #11 main test/unittests/run-all-unittests.cc:46 (unittests+0xb1635f) SUMMARY: ThreadSanitizer: data race third_party/icu/source/i18n/timezone.cpp:580:9 in icu_64::TimeZone::createDefault() ================== ThreadSanitizer: reported 1 warnings Run #2 Exit code: 66 Result: FAIL Expected outcomes: PASS Duration: 00:05:021 Stdout: Note: Google Test filter = DateCache.AdoptDefaultMixed [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from DateCache [ RUN ] DateCache.AdoptDefaultMixed AdoptDefaultThread Start GetLocalOffsetFromOSThread Start GetLocalOffsetFromOSThread Start LocalTimezoneThread Start GetLocalOffsetFromOSThread End AdoptDefaultThread End GetLocalOffsetFromOSThread End LocalTimezoneThread End [ OK ] DateCache.AdoptDefaultMixed [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. [ PASSED ] 1 test. Stderr: ================== WARNING: ThreadSanitizer: data race (pid=10668) Read of size 8 at 0x564e798eeb80 by thread T9: #0 icu_64::TimeZone::createDefault() third_party/icu/source/i18n/timezone.cpp:580:9 (unittests+0x1e6506f) #1 GetTimeZone src/objects/intl-objects.cc:1796:17 (unittests+0x13316da) #2 GetOffsets src/objects/intl-objects.cc (unittests+0x13316da) #3 v8::internal::ICUTimezoneCache::LocalTimeOffset(double, bool) src/objects/intl-objects.cc:1834 (unittests+0x13316da) #4 v8::internal::DateCache::GetLocalOffsetFromOS(long, bool) src/date.cc:227:25 (unittests+0xfdcbfa) #5 v8::internal::GetLocalOffsetFromOSThread::Run() test/unittests/date-cache-unittest.cc:48:18 (unittests+0x9ce798) #6 NotifyStartedAndRun src/base/platform/platform.h:394:5 (unittests+0x1d30bc2) #7 v8::base::ThreadEntry(void*) src/base/platform/platform-posix.cc:748 (unittests+0x1d30bc2) Previous write of size 8 at 0x564e798eeb80 by thread T8 (mutexes: write M23216239560187984): #0 icu_64::TimeZone::adoptDefault(icu_64::TimeZone*) third_party/icu/source/i18n/timezone.cpp:597:26 (unittests+0x1e65223) #1 v8::internal::AdoptDefaultThread::Run() test/unittests/date-cache-unittest.cc:30:9 (unittests+0x9ce69f) #2 NotifyStartedAndRun src/base/platform/platform.h:394:5 (unittests+0x1d30bc2) #3 v8::base::ThreadEntry(void*) src/base/platform/platform-posix.cc:748 (unittests+0x1d30bc2) Location is global 'DEFAULT_ZONE' of size 8 at 0x564e798eeb80 (unittests+0x000002acab80) Mutex M23216239560187984 is already destroyed. Thread T9 'GetLocalOffsetF' (tid=10753, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (unittests+0x538eeb) #1 v8::base::Thread::Start() src/base/platform/platform-posix.cc:781:14 (unittests+0x1d30b19) #2 v8::internal::DateCache_AdoptDefaultMixed_Test::TestBody() test/unittests/date-cache-unittest.cc:108:6 (unittests+0x9ce4b5) #3 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unittests+0x1c80c16) #4 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (unittests+0x1c80c16) #5 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (unittests+0x1c81ba8) #6 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unittests+0x1c82666) #7 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unittests+0x1c94af6) #8 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unittests+0x1c93f59) #9 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unittests+0x1c93f59) #10 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unittests+0xb1635f) #11 main test/unittests/run-all-unittests.cc:46 (unittests+0xb1635f) Thread T8 'AdoptDefault' (tid=10751, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (unittests+0x538eeb) #1 v8::base::Thread::Start() src/base/platform/platform-posix.cc:781:14 (unittests+0x1d30b19) #2 v8::internal::DateCache_AdoptDefaultMixed_Test::TestBody() test/unittests/date-cache-unittest.cc:107:6 (unittests+0x9ce4ad) #3 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unittests+0x1c80c16) #4 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (unittests+0x1c80c16) #5 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (unittests+0x1c81ba8) #6 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unittests+0x1c82666) #7 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unittests+0x1c94af6) #8 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unittests+0x1c93f59) #9 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unittests+0x1c93f59) #10 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unittests+0xb1635f) #11 main test/unittests/run-all-unittests.cc:46 (unittests+0xb1635f) SUMMARY: ThreadSanitizer: data race third_party/icu/source/i18n/timezone.cpp:580:9 in icu_64::TimeZone::createDefault() ================== ThreadSanitizer: reported 1 warnings Run #3 Exit code: 66 Result: FAIL Expected outcomes: PASS Duration: 00:05:249 Stdout: Note: Google Test filter = DateCache.AdoptDefaultMixed [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from DateCache [ RUN ] DateCache.AdoptDefaultMixed AdoptDefaultThread Start GetLocalOffsetFromOSThread Start GetLocalOffsetFromOSThread Start LocalTimezoneThread Start GetLocalOffsetFromOSThread End GetLocalOffsetFromOSThread End AdoptDefaultThread End LocalTimezoneThread End [ OK ] DateCache.AdoptDefaultMixed [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. [ PASSED ] 1 test. Stderr: ================== WARNING: ThreadSanitizer: data race (pid=11699) Write of size 8 at 0x55f198edab80 by thread T8 (mutexes: write M23216239560187984): #0 icu_64::TimeZone::adoptDefault(icu_64::TimeZone*) third_party/icu/source/i18n/timezone.cpp:597:26 (unittests+0x1e65223) #1 v8::internal::AdoptDefaultThread::Run() test/unittests/date-cache-unittest.cc:30:9 (unittests+0x9ce69f) #2 NotifyStartedAndRun src/base/platform/platform.h:394:5 (unittests+0x1d30bc2) #3 v8::base::ThreadEntry(void*) src/base/platform/platform-posix.cc:748 (unittests+0x1d30bc2) Previous read of size 8 at 0x55f198edab80 by thread T9: #0 icu_64::TimeZone::createDefault() third_party/icu/source/i18n/timezone.cpp:580:9 (unittests+0x1e6506f) #1 GetTimeZone src/objects/intl-objects.cc:1796:17 (unittests+0x13316da) #2 GetOffsets src/objects/intl-objects.cc (unittests+0x13316da) #3 v8::internal::ICUTimezoneCache::LocalTimeOffset(double, bool) src/objects/intl-objects.cc:1834 (unittests+0x13316da) #4 v8::internal::DateCache::GetLocalOffsetFromOS(long, bool) src/date.cc:227:25 (unittests+0xfdcbfa) #5 v8::internal::GetLocalOffsetFromOSThread::Run() test/unittests/date-cache-unittest.cc:48:18 (unittests+0x9ce798) #6 NotifyStartedAndRun src/base/platform/platform.h:394:5 (unittests+0x1d30bc2) #7 v8::base::ThreadEntry(void*) src/base/platform/platform-posix.cc:748 (unittests+0x1d30bc2) Location is global 'DEFAULT_ZONE' of size 8 at 0x55f198edab80 (unittests+0x000002acab80) Mutex M23216239560187984 is already destroyed. Thread T8 'AdoptDefault' (tid=11786, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (unittests+0x538eeb) #1 v8::base::Thread::Start() src/base/platform/platform-posix.cc:781:14 (unittests+0x1d30b19) #2 v8::internal::DateCache_AdoptDefaultMixed_Test::TestBody() test/unittests/date-cache-unittest.cc:107:6 (unittests+0x9ce4ad) #3 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unittests+0x1c80c16) #4 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (unittests+0x1c80c16) #5 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (unittests+0x1c81ba8) #6 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unittests+0x1c82666) #7 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unittests+0x1c94af6) #8 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unittests+0x1c93f59) #9 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unittests+0x1c93f59) #10 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unittests+0xb1635f) #11 main test/unittests/run-all-unittests.cc:46 (unittests+0xb1635f) Thread T9 'GetLocalOffsetF' (tid=11791, running) created by main thread at: #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:989:3 (unittests+0x538eeb) #1 v8::base::Thread::Start() src/base/platform/platform-posix.cc:781:14 (unittests+0x1d30b19) #2 v8::internal::DateCache_AdoptDefaultMixed_Test::TestBody() test/unittests/date-cache-unittest.cc:108:6 (unittests+0x9ce4b5) #3 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (unittests+0x1c80c16) #4 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2522 (unittests+0x1c80c16) #5 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2698:11 (unittests+0x1c81ba8) #6 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2828:28 (unittests+0x1c82666) #7 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5285:44 (unittests+0x1c94af6) #8 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (unittests+0x1c93f59) #9 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4873 (unittests+0x1c93f59) #10 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2453:46 (unittests+0xb1635f) #11 main test/unittests/run-all-unittests.cc:46 (unittests+0xb1635f) SUMMARY: ThreadSanitizer: data race third_party/icu/source/i18n/timezone.cpp:597:26 in icu_64::TimeZone::adoptDefault(icu_64::TimeZone*) ================== ThreadSanitizer: reported 1 warnings