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

{ "shards": [ { "bot_dimensions": [ { "key": "caches", "value": [ "swarming_module_cache_vpython" ] }, { "key": "cores", "value": [ "8" ] }, { "key": "cpu", "value": [ "x86", "x86-64", "x86-64-Broadwell_GCE", "x86-64-avx2" ] }, { "key": "gce", "value": [ "1" ] }, { "key": "gpu", "value": [ "none" ] }, { "key": "id", "value": [ "chrome-trusty-us-west1-a-72-fww0" ] }, { "key": "image", "value": [ "chrome-trusty-19041600-95c8804d634" ] }, { "key": "inside_docker", "value": [ "0" ] }, { "key": "kvm", "value": [ "1" ] }, { "key": "machine_type", "value": [ "n1-standard-8" ] }, { "key": "os", "value": [ "Linux", "Ubuntu", "Ubuntu-14.04" ] }, { "key": "pool", "value": [ "Chrome" ] }, { "key": "python", "value": [ "2.7.6" ] }, { "key": "server_version", "value": [ "4267-53b17d5" ] }, { "key": "zone", "value": [ "us", "us-west", "us-west1", "us-west1-a" ] } ], "bot_id": "chrome-trusty-us-west1-a-72-fww0", "bot_version": "bd68e04e43fc4d1b7b5b65890a29c5d5bae55ab1423851733f92abd7e13dda14", "cipd_pins": { "client_package": { "package_name": "infra/tools/cipd/linux-amd64", "version": "nFftZl2kFquaI2EUmPGwzbc5sIbCocl9L55UeASqlLsC" }, "packages": [ { "package_name": "infra/python/cpython/linux-amd64", "path": ".swarming_module", "version": "46c0c897ca0f053799ee41fd148bb7a47232df47" }, { "package_name": "infra/tools/luci/logdog/butler/linux-amd64", "path": ".swarming_module", "version": "2737ea8ed9b958f4d5aa9ffe106115a649ada241" }, { "package_name": "infra/tools/luci/vpython-native/linux-amd64", "path": ".swarming_module", "version": "tfTmX4aGCfFtfQucj_nEfwiNisK0RmpKrITkZMBBq3cC" }, { "package_name": "infra/tools/luci/vpython/linux-amd64", "path": ".swarming_module", "version": "bmnYyAg9mbM_538s1dIP1hZZmOtc8C7ssF41ztN2cr0C" } ] }, "completed_ts": "2019-04-20T08:39:36.819855", "cost_saved_usd": 0.018873262740201648, "created_ts": "2019-04-20T10:20:22.984098", "deduped_from": "4452b5aa5a4d1611", "duration": 148.20752096176147, "modified_ts": "2019-04-20T10:20:23.011991", "name": "services_unittests/Ubuntu-14.04/3c5e7ebe4e/Linux TSan Tests/37299", "output": "/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:354: SNIMissingWarning: An HTTPS request has been made, but the SNI (Server Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n/b/s/swarming_bot.1.zip/third_party/urllib3/util/ssl_.py:150: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\nInitializing built-in extension Generic Event Extension\nInitializing built-in extension SHAPE\nInitializing built-in extension MIT-SHM\nInitializing built-in extension XInputExtension\nInitializing built-in extension XTEST\nInitializing built-in extension BIG-REQUESTS\nInitializing built-in extension SYNC\nInitializing built-in extension XKEYBOARD\nInitializing built-in extension XC-MISC\nInitializing built-in extension SECURITY\nInitializing built-in extension XINERAMA\nInitializing built-in extension XFIXES\nInitializing built-in extension RENDER\nInitializing built-in extension RANDR\nInitializing built-in extension COMPOSITE\nInitializing built-in extension DAMAGE\nInitializing built-in extension MIT-SCREEN-SAVER\nInitializing built-in extension DOUBLE-BUFFER\nInitializing built-in extension RECORD\nInitializing built-in extension DPMS\nInitializing built-in extension Present\nInitializing built-in extension DRI3\nInitializing built-in extension X-Resource\nInitializing built-in extension XVideo\nInitializing built-in extension XVideo-MotionCompensation\nInitializing built-in extension SELinux\nInitializing built-in extension GLX\n[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!\n[dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list!\n[dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list!\n[dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list!\n[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!\nAdditional test environment:\n CHROME_DEVEL_SANDBOX=/opt/chromium/chrome_sandbox\n CHROME_HEADLESS=1\n G_SLICE=always-malloc\n LANG=en_US.UTF-8\n NSS_DISABLE_ARENA_FREE_LIST=1\n NSS_DISABLE_UNLOAD=1\n TSAN_OPTIONS=symbolize=1 external_symbolizer_path=/b/s/w/ir/third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer handle_abort=1\nCommand: ./services_unittests --test-launcher-bot-mode --cfi-diag=0 --test-launcher-print-test-stdio=always --test-launcher-summary-output=/b/s/w/ioHVqYQ3/output.json --no-sandbox\n\nObt-Message: Xinerama extension is not present on the server\nObt-Message: XRandR extension is not present on the server\nOpenbox-Message: Unable to find a valid menu file \"/var/lib/openbox/debian-menu.xml\"\nIMPORTANT DEBUGGING NOTE: batches of tests are run inside their\nown process. For debugging a test inside a debugger, use the\n--gtest_filter=<your_test_name> flag along with\n--single-process-tests.\nUsing sharding settings from environment. This is shard 0/1\nUsing 8 parallel jobs.\n[ RUN ] IdentityManagerTest.HasPrimaryAccount\n[12525:12525:0420/013708.647706:18890432606:INFO:signin_manager.cc(122)] Revoking all refresh tokens on server. Reason: sign out, IsSigninAllowed: 1\n[ OK ] IdentityManagerTest.HasPrimaryAccount (2 ms)\n[1/3090] IdentityManagerTest.HasPrimaryAccount (2 ms)\n[ RUN ] IdentityManagerTest.GetAccountsInteractionWithPrimaryAccount\n[ OK ] IdentityManagerTest.GetAccountsInteractionWithPrimaryAccount (1 ms)\n[2/3090] IdentityManagerTest.GetAccountsInteractionWithPrimaryAccount (1 ms)\n[ RUN ] IdentityManagerTest.QueryingOfRefreshTokensInteractionWithPrimaryAccount\n[ OK ] IdentityManagerTest.QueryingOfRefreshTokensInteractionWithPrimaryAccount (1 ms)\n[3/3090] IdentityManagerTest.QueryingOfRefreshTokensInteractionWithPrimaryAccount (1 ms)\n[ RUN ] IdentityManagerTest.QueryingOfRefreshTokensReflectsEmptyInitialState\n[ OK ] IdentityManagerTest.QueryingOfRefreshTokensReflectsEmptyInitialState (1 ms)\n[4/3090] IdentityManagerTest.QueryingOfRefreshTokensReflectsEmptyInitialState (1 ms)\n[ RUN ] IdentityManagerTest.GetAccountsInteractionWithSecondaryAccounts\n[ OK ] IdentityManagerTest.GetAccountsInteractionWithSecondaryAccounts (2 ms)\n[5/3090] IdentityManagerTest.GetAccountsInteractionWithSecondaryAccounts (2 ms)\n[ RUN ] IdentityManagerTest.HasPrimaryAccountWithRefreshTokenInteractionWithSecondaryAccounts\n[ OK ] IdentityManagerTest.HasPrimaryAccountWithRefreshTokenInteractionWithSecondaryAccounts (1 ms)\n[6/3090] IdentityManagerTest.HasPrimaryAccountWithRefreshTokenInteractionWithSecondaryAccounts (1 ms)\n[ RUN ] IdentityManagerTest.HasAccountWithRefreshTokenInteractionWithSecondaryAccounts\n[ OK ] IdentityManagerTest.HasAccountWithRefreshTokenInteractionWithSecondaryAccounts (1 ms)\n[7/3090] IdentityManagerTest.HasAccountWithRefreshTokenInteractionWithSecondaryAccounts (1 ms)\n[ RUN ] IdentityManagerTest.GetAccountsInteractionBetweenPrimaryAndSecondaryAccounts\n[ OK ] IdentityManagerTest.GetAccountsInteractionBetweenPrimaryAndSecondaryAccounts (1 ms)\n[8/3090] IdentityManagerTest.GetAccountsInteractionBetweenPrimaryAndSecondaryAccounts (1 ms)\n[ RUN ] IdentityManagerTest.HasPrimaryAccountWithRefreshTokenInteractionBetweenPrimaryAndSecondaryAccounts\n[ OK ] IdentityManagerTest.HasPrimaryAccountWithRefreshTokenInteractionBetweenPrimaryAndSecondaryAccounts (1 ms)\n[9/3090] IdentityManagerTest.HasPrimaryAccountWithRefreshTokenInteractionBetweenPrimaryAndSecondaryAccounts (1 ms)\n[ RUN ] IdentityManagerTest.HasAccountWithRefreshTokenInteractionBetweenPrimaryAndSecondaryAccounts\n[ OK ] IdentityManagerTest.HasAccountWithRefreshTokenInteractionBetweenPrimaryAndSecondaryAccounts (1 ms)\n[10/3090] IdentityManagerTest.HasAccountWithRefreshTokenInteractionBetweenPrimaryAndSecondaryAccounts (1 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnSuccessfulAdditionOfAccountToCookie\n[ OK ] IdentityManagerTest.CallbackSentOnSuccessfulAdditionOfAccountToCookie (2 ms)\n[11/3090] IdentityManagerTest.CallbackSentOnSuccessfulAdditionOfAccountToCookie (2 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnFailureAdditionOfAccountToCookie\n[ OK ] IdentityManagerTest.CallbackSentOnFailureAdditionOfAccountToCookie (1 ms)\n[12/3090] IdentityManagerTest.CallbackSentOnFailureAdditionOfAccountToCookie (1 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnSetAccountsInCookieCompleted_Success\n[ OK ] IdentityManagerTest.CallbackSentOnSetAccountsInCookieCompleted_Success (1 ms)\n[13/3090] IdentityManagerTest.CallbackSentOnSetAccountsInCookieCompleted_Success (1 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnSetAccountsInCookieCompleted_Failure\n[ OK ] IdentityManagerTest.CallbackSentOnSetAccountsInCookieCompleted_Failure (1 ms)\n[14/3090] IdentityManagerTest.CallbackSentOnSetAccountsInCookieCompleted_Failure (1 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnAccountsCookieDeletedByUserAction\n[ OK ] IdentityManagerTest.CallbackSentOnAccountsCookieDeletedByUserAction (4 ms)\n[15/3090] IdentityManagerTest.CallbackSentOnAccountsCookieDeletedByUserAction (4 ms)\n[ RUN ] IdentityManagerTest.OnNetworkInitialized\n[ OK ] IdentityManagerTest.OnNetworkInitialized (5 ms)\n[16/3090] IdentityManagerTest.OnNetworkInitialized (5 ms)\n[ RUN ] IdentityManagerTest.BatchChangeObserversAreNotifiedOnCredentialsUpdate\n[ OK ] IdentityManagerTest.BatchChangeObserversAreNotifiedOnCredentialsUpdate (1 ms)\n[17/3090] IdentityManagerTest.BatchChangeObserversAreNotifiedOnCredentialsUpdate (1 ms)\n[ RUN ] IdentityManagerTest.FindAccountInfoForAccountWithRefreshTokenByAccountId\n[ OK ] IdentityManagerTest.FindAccountInfoForAccountWithRefreshTokenByAccountId (1 ms)\n[18/3090] IdentityManagerTest.FindAccountInfoForAccountWithRefreshTokenByAccountId (1 ms)\n[ RUN ] IdentityManagerTest.FindAccountInfoForAccountWithRefreshTokenByEmailAddress\n[ OK ] IdentityManagerTest.FindAccountInfoForAccountWithRefreshTokenByEmailAddress (1 ms)\n[19/3090] IdentityManagerTest.FindAccountInfoForAccountWithRefreshTokenByEmailAddress (1 ms)\n[ RUN ] IdentityManagerTest.FindAccountInfoForAccountWithRefreshTokenByGaiaId\n[ OK ] IdentityManagerTest.FindAccountInfoForAccountWithRefreshTokenByGaiaId (1 ms)\n[20/3090] IdentityManagerTest.FindAccountInfoForAccountWithRefreshTokenByGaiaId (1 ms)\n[ RUN ] IdentityManagerTest.DeprecatedLoadCredentialsForSupervisedUser\n[ OK ] IdentityManagerTest.DeprecatedLoadCredentialsForSupervisedUser (2 ms)\n[21/3090] IdentityManagerTest.DeprecatedLoadCredentialsForSupervisedUser (2 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnPrimaryAccountRefreshTokenUpdateWithValidToken\n[ OK ] IdentityManagerTest.CallbackSentOnPrimaryAccountRefreshTokenUpdateWithValidToken (1 ms)\n[22/3090] IdentityManagerTest.CallbackSentOnPrimaryAccountRefreshTokenUpdateWithValidToken (1 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnPrimaryAccountRefreshTokenUpdateWithInvalidToken\n[ OK ] IdentityManagerTest.CallbackSentOnPrimaryAccountRefreshTokenUpdateWithInvalidToken (1 ms)\n[23/3090] IdentityManagerTest.CallbackSentOnPrimaryAccountRefreshTokenUpdateWithInvalidToken (1 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnPrimaryAccountRefreshTokenRemoval\n[ OK ] IdentityManagerTest.CallbackSentOnPrimaryAccountRefreshTokenRemoval (1 ms)\n[24/3090] IdentityManagerTest.CallbackSentOnPrimaryAccountRefreshTokenRemoval (1 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenUpdateWithValidToken\n[ OK ] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenUpdateWithValidToken (2 ms)\n[25/3090] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenUpdateWithValidToken (2 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenUpdateWithInvalidToken\n[ OK ] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenUpdateWithInvalidToken (1 ms)\n[26/3090] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenUpdateWithInvalidToken (1 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenRemoval\n[ OK ] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenRemoval (2 ms)\n[27/3090] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenRemoval (2 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenUpdateWithValidTokenWhenNoPrimaryAccount\n[12527:12527:0420/013708.683937:18890468841:INFO:signin_manager.cc(122)] Revoking all refresh tokens on server. Reason: sign out, IsSigninAllowed: 1\n[ OK ] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenUpdateWithValidTokenWhenNoPrimaryAccount (1 ms)\n[28/3090] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenUpdateWithValidTokenWhenNoPrimaryAccount (1 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenUpdateWithInvalidTokenWhenNoPrimaryAccount\n[12527:12527:0420/013708.685567:18890470466:INFO:signin_manager.cc(122)] Revoking all refresh tokens on server. Reason: sign out, IsSigninAllowed: 1\n[ OK ] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenUpdateWithInvalidTokenWhenNoPrimaryAccount (2 ms)\n[29/3090] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenUpdateWithInvalidTokenWhenNoPrimaryAccount (2 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenRemovalWhenNoPrimaryAccount\n[12527:12527:0420/013708.687157:18890472054:INFO:signin_manager.cc(122)] Revoking all refresh tokens on server. Reason: sign out, IsSigninAllowed: 1\n[ OK ] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenRemovalWhenNoPrimaryAccount (1 ms)\n[30/3090] IdentityManagerTest.CallbackSentOnSecondaryAccountRefreshTokenRemovalWhenNoPrimaryAccount (1 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnUpdateToErrorStateOfRefreshTokenForAccount\n[ OK ] IdentityManagerTest.CallbackSentOnUpdateToErrorStateOfRefreshTokenForAccount (2 ms)\n[31/3090] IdentityManagerTest.CallbackSentOnUpdateToErrorStateOfRefreshTokenForAccount (2 ms)\n[ RUN ] IdentityManagerTest.GetErrorStateOfRefreshTokenForAccount\n[ OK ] IdentityManagerTest.GetErrorStateOfRefreshTokenForAccount (1 ms)\n[32/3090] IdentityManagerTest.GetErrorStateOfRefreshTokenForAccount (1 ms)\n[ RUN ] IdentityManagerTest.RemoveAccessTokenFromCache\n[ OK ] IdentityManagerTest.RemoveAccessTokenFromCache (1 ms)\n[33/3090] IdentityManagerTest.RemoveAccessTokenFromCache (1 ms)\n[ RUN ] IdentityManagerTest.CreateAccessTokenFetcher\n[ OK ] IdentityManagerTest.CreateAccessTokenFetcher (1 ms)\n[34/3090] IdentityManagerTest.CreateAccessTokenFetcher (1 ms)\n[ RUN ] IdentityManagerTest.CreateAccessTokenFetcherWithCustomURLLoaderFactory\n[ OK ] IdentityManagerTest.CreateAccessTokenFetcherWithCustomURLLoaderFactory (2 ms)\n[35/3090] IdentityManagerTest.CreateAccessTokenFetcherWithCustomURLLoaderFactory (2 ms)\n[ RUN ] IdentityManagerTest.ObserveAccessTokenFetch\n[ OK ] IdentityManagerTest.ObserveAccessTokenFetch (1 ms)\n[36/3090] IdentityManagerTest.ObserveAccessTokenFetch (1 ms)\n[ RUN ] IdentityManagerTest.ObserveAccessTokenRequestCompletionWithoutRefreshToken\n[ OK ] IdentityManagerTest.ObserveAccessTokenRequestCompletionWithoutRefreshToken (1 ms)\n[37/3090] IdentityManagerTest.ObserveAccessTokenRequestCompletionWithoutRefreshToken (1 ms)\n[ RUN ] IdentityManagerTest.ObserveAccessTokenRequestCompletionWithRefreshToken\n[ OK ] IdentityManagerTest.ObserveAccessTokenRequestCompletionWithRefreshToken (1 ms)\n[38/3090] IdentityManagerTest.ObserveAccessTokenRequestCompletionWithRefreshToken (1 ms)\n[ RUN ] IdentityManagerTest.ObserveAccessTokenRequestCompletionAfterRevokingRefreshToken\n[ OK ] IdentityManagerTest.ObserveAccessTokenRequestCompletionAfterRevokingRefreshToken (2 ms)\n[39/3090] IdentityManagerTest.ObserveAccessTokenRequestCompletionAfterRevokingRefreshToken (2 ms)\n[ RUN ] IdentityManagerTest.GetAccountsCookieMutator\n[ OK ] IdentityManagerTest.GetAccountsCookieMutator (1 ms)\n[40/3090] IdentityManagerTest.GetAccountsCookieMutator (1 ms)\n[ RUN ] AccessTokenFetcherTest.RefreshTokenRevoked\n[ OK ] AccessTokenFetcherTest.RefreshTokenRevoked (1 ms)\n[41/3090] AccessTokenFetcherTest.RefreshTokenRevoked (1 ms)\n[ RUN ] AccessTokenFetcherTest.FailedAccessTokenRequest\n[ OK ] AccessTokenFetcherTest.FailedAccessTokenRequest (1 ms)\n[42/3090] AccessTokenFetcherTest.FailedAccessTokenRequest (1 ms)\n[ RUN ] AccessTokenFetcherTest.MultipleRequestsForSameAccountFulfilled\n[ OK ] AccessTokenFetcherTest.MultipleRequestsForSameAccountFulfilled (1 ms)\n[43/3090] AccessTokenFetcherTest.MultipleRequestsForSameAccountFulfilled (1 ms)\n[ RUN ] AccessTokenFetcherTest.MultipleRequestsForDifferentAccountsFulfilled\n[ OK ] AccessTokenFetcherTest.MultipleRequestsForDifferentAccountsFulfilled (2 ms)\n[44/3090] AccessTokenFetcherTest.MultipleRequestsForDifferentAccountsFulfilled (2 ms)\n[ RUN ] AccessTokenFetcherTest.MultipleRequestsForDifferentAccountsCanceledAndFulfilled\n[ OK ] AccessTokenFetcherTest.MultipleRequestsForDifferentAccountsCanceledAndFulfilled (2 ms)\n[45/3090] AccessTokenFetcherTest.MultipleRequestsForDifferentAccountsCanceledAndFulfilled (2 ms)\n[ RUN ] AccessTokenFetcherTest.FetcherWithCustomURLLoaderFactory\n[ OK ] AccessTokenFetcherTest.FetcherWithCustomURLLoaderFactory (1 ms)\n[46/3090] AccessTokenFetcherTest.FetcherWithCustomURLLoaderFactory (1 ms)\n[ RUN ] IdentityManagerTest.PrimaryAccountInfoAtStartup\n[ OK ] IdentityManagerTest.PrimaryAccountInfoAtStartup (1 ms)\n[47/3090] IdentityManagerTest.PrimaryAccountInfoAtStartup (1 ms)\n[ RUN ] IdentityManagerTest.PrimaryAccountInfoAfterSignin\n[12520:12520:0420/013708.683713:18890468618:INFO:signin_manager.cc(122)] Revoking all refresh tokens on server. Reason: sign out, IsSigninAllowed: 1\n[ OK ] IdentityManagerTest.PrimaryAccountInfoAfterSignin (2 ms)\n[48/3090] IdentityManagerTest.PrimaryAccountInfoAfterSignin (2 ms)\n[ RUN ] IdentityManagerTest.PrimaryAccountInfoAfterSigninAndSignout\n[12520:12520:0420/013708.685187:18890470086:INFO:signin_manager.cc(122)] Revoking all refresh tokens on server. Reason: sign out, IsSigninAllowed: 1\n[12520:12520:0420/013708.685659:18890470556:INFO:signin_manager.cc(122)] Revoking all refresh tokens on server. Reason: sign out, IsSigninAllowed: 1\n[ OK ] IdentityManagerTest.PrimaryAccountInfoAfterSigninAndSignout (1 ms)\n[49/3090] IdentityManagerTest.PrimaryAccountInfoAfterSigninAndSignout (1 ms)\n[ RUN ] IdentityManagerTest.PrimaryAccountInfoAfterSigninAndAccountRemoval\n[12520:12520:0420/013708.686773:18890471681:INFO:signin_manager.cc(122)] Revoking all refresh tokens on server. Reason: sign out, IsSigninAllowed: 1\n[ OK ] IdentityManagerTest.PrimaryAccountInfoAfterSigninAndAccountRemoval (1 ms)\n[50/3090] IdentityManagerTest.PrimaryAccountInfoAfterSigninAndAccountRemoval (1 ms)\n[ RUN ] IdentityAccessorImplTest.GetAccessTokenNotSignedIn\n[ OK ] IdentityAccessorImplTest.GetAccessTokenNotSignedIn (14 ms)\n[51/3090] IdentityAccessorImplTest.GetAccessTokenNotSignedIn (14 ms)\n[ RUN ] IdentityAccessorImplTest.GetAccessTokenSignedIn\n[ OK ] IdentityAccessorImplTest.GetAccessTokenSignedIn (11 ms)\n[52/3090] IdentityAccessorImplTest.GetAccessTokenSignedIn (11 ms)\n[ RUN ] AccessTokenFetcherTest.OneShotShouldCallBackOnFulfilledRequest\n[ OK ] AccessTokenFetcherTest.OneShotShouldCallBackOnFulfilledRequest (1 ms)\n[53/3090] AccessTokenFetcherTest.OneShotShouldCallBackOnFulfilledRequest (1 ms)\n[ RUN ] AccessTokenFetcherTest.WaitUntilAvailableShouldCallBackOnFulfilledRequest\n[ OK ] AccessTokenFetcherTest.WaitUntilAvailableShouldCallBackOnFulfilledRequest (1 ms)\n[54/3090] AccessTokenFetcherTest.WaitUntilAvailableShouldCallBackOnFulfilledRequest (1 ms)\n[ RUN ] AccessTokenFetcherTest.WaitUntilAvailableShouldCallBackOnFulfilledRequestAfterTokenAvailable\n[ OK ] AccessTokenFetcherTest.WaitUntilAvailableShouldCallBackOnFulfilledRequestAfterTokenAvailable (1 ms)\n[55/3090] AccessTokenFetcherTest.WaitUntilAvailableShouldCallBackOnFulfilledRequestAfterTokenAvailable (1 ms)\n[ RUN ] AccessTokenFetcherTest.WaitUntilAvailableShouldIgnoreRefreshTokenForDifferentAccount\n[ OK ] AccessTokenFetcherTest.WaitUntilAvailableShouldIgnoreRefreshTokenForDifferentAccount (1 ms)\n[56/3090] AccessTokenFetcherTest.WaitUntilAvailableShouldIgnoreRefreshTokenForDifferentAccount (1 ms)\n[ RUN ] AccessTokenFetcherTest.ShouldNotReplyIfDestroyed\n[ OK ] AccessTokenFetcherTest.ShouldNotReplyIfDestroyed (0 ms)\n[57/3090] AccessTokenFetcherTest.ShouldNotReplyIfDestroyed (0 ms)\n[ RUN ] AccessTokenFetcherTest.ReturnsErrorWhenAccountIsUnknown\n[ OK ] AccessTokenFetcherTest.ReturnsErrorWhenAccountIsUnknown (0 ms)\n[58/3090] AccessTokenFetcherTest.ReturnsErrorWhenAccountIsUnknown (0 ms)\n[ RUN ] AccessTokenFetcherTest.ReturnsErrorWhenAccountHasNoRefreshToken\n[ OK ] AccessTokenFetcherTest.ReturnsErrorWhenAccountHasNoRefreshToken (1 ms)\n[59/3090] AccessTokenFetcherTest.ReturnsErrorWhenAccountHasNoRefreshToken (1 ms)\n[ RUN ] AccessTokenFetcherTest.CanceledAccessTokenRequest\n[ OK ] AccessTokenFetcherTest.CanceledAccessTokenRequest (1 ms)\n[60/3090] AccessTokenFetcherTest.CanceledAccessTokenRequest (1 ms)\n[ RUN ] ContentServiceTest.NavigableContentsCreation\n[ OK ] ContentServiceTest.NavigableContentsCreation (34 ms)\n[61/3090] ContentServiceTest.NavigableContentsCreation (34 ms)\n[ RUN ] IdentityAccessorImplTest.GetPrimaryAccountInfoNotSignedIn\n[ OK ] IdentityAccessorImplTest.GetPrimaryAccountInfoNotSignedIn (9 ms)\n[62/3090] IdentityAccessorImplTest.GetPrimaryAccountInfoNotSignedIn (9 ms)\n[ RUN ] IdentityAccessorImplTest.GetPrimaryAccountInfoSignedInNoRefreshToken\n[ OK ] IdentityAccessorImplTest.GetPrimaryAccountInfoSignedInNoRefreshToken (20 ms)\n[63/3090] IdentityAccessorImplTest.GetPrimaryAccountInfoSignedInNoRefreshToken (20 ms)\n[ RUN ] IdentityAccessorImplTest.GetPrimaryAccountInfoSignedInRefreshToken\n[ OK ] IdentityAccessorImplTest.GetPrimaryAccountInfoSignedInRefreshToken (11 ms)\n[64/3090] IdentityAccessorImplTest.GetPrimaryAccountInfoSignedInRefreshToken (11 ms)\n[ RUN ] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableSignedIn\n[ OK ] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableSignedIn (10 ms)\n[65/3090] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableSignedIn (10 ms)\n[ RUN ] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableSignInLater\n[ OK ] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableSignInLater (10 ms)\n[66/3090] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableSignInLater (10 ms)\n[ RUN ] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableTokenAvailableLater\n[ OK ] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableTokenAvailableLater (11 ms)\n[67/3090] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableTokenAvailableLater (11 ms)\n[ RUN ] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableAuthenticationAvailableLater\n[ OK ] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableAuthenticationAvailableLater (10 ms)\n[68/3090] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableAuthenticationAvailableLater (10 ms)\n[ RUN ] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableOverlappingCalls\n[ OK ] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableOverlappingCalls (19 ms)\n[69/3090] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableOverlappingCalls (19 ms)\n[ RUN ] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableRefreshTokenHasAuthError\n[ OK ] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableRefreshTokenHasAuthError (24 ms)\n[70/3090] IdentityAccessorImplTest.GetPrimaryAccountWhenAvailableRefreshTokenHasAuthError (24 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnRefreshTokenRemovalOfUnknownAccount\n[ OK ] IdentityManagerTest.CallbackSentOnRefreshTokenRemovalOfUnknownAccount (1 ms)\n[71/3090] IdentityManagerTest.CallbackSentOnRefreshTokenRemovalOfUnknownAccount (1 ms)\n[ RUN ] IdentityManagerTest.IdentityManagerGetsTokensLoadedEvent\n[ OK ] IdentityManagerTest.IdentityManagerGetsTokensLoadedEvent (1 ms)\n[72/3090] IdentityManagerTest.IdentityManagerGetsTokensLoadedEvent (1 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnUpdateToAccountsInCookieWithNoAccounts\n[ OK ] IdentityManagerTest.CallbackSentOnUpdateToAccountsInCookieWithNoAccounts (7 ms)\n[73/3090] IdentityManagerTest.CallbackSentOnUpdateToAccountsInCookieWithNoAccounts (7 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnUpdateToAccountsInCookieWithOneAccount\n[ OK ] IdentityManagerTest.CallbackSentOnUpdateToAccountsInCookieWithOneAccount (4 ms)\n[74/3090] IdentityManagerTest.CallbackSentOnUpdateToAccountsInCookieWithOneAccount (4 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnUpdateToAccountsInCookieWithTwoAccounts\n[ OK ] IdentityManagerTest.CallbackSentOnUpdateToAccountsInCookieWithTwoAccounts (6 ms)\n[75/3090] IdentityManagerTest.CallbackSentOnUpdateToAccountsInCookieWithTwoAccounts (6 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnUpdateToSignOutAccountsInCookie\n[ OK ] IdentityManagerTest.CallbackSentOnUpdateToSignOutAccountsInCookie (22 ms)\n[76/3090] IdentityManagerTest.CallbackSentOnUpdateToSignOutAccountsInCookie (22 ms)\n[ RUN ] IdentityManagerTest.CallbackSentOnUpdateToAccountsInCookieWithStaleAccounts\n[ OK ] IdentityManagerTest.CallbackSentOnUpdateToAccountsInCookieWithStaleAccounts (7 ms)\n[77/3090] IdentityManagerTest.CallbackSentOnUpdateToAccountsInCookieWithStaleAccounts (7 ms)\n[ RUN ] IdentityManagerTest.GetAccountsInCookieJarWithNoAccounts\n[ OK ] IdentityManagerTest.GetAccountsInCookieJarWithNoAccounts (7 ms)\n[78/3090] IdentityManagerTest.GetAccountsInCookieJarWithNoAccounts (7 ms)\n[ RUN ] IdentityManagerTest.GetAccountsInCookieJarWithOneAccount\n[ OK ] IdentityManagerTest.GetAccountsInCookieJarWithOneAccount (5 ms)\n[79/3090] IdentityManagerTest.GetAccountsInCookieJarWithOneAccount (5 ms)\n[ RUN ] IdentityManagerTest.GetAccountsInCookieJarWithTwoAccounts\n[ OK ] IdentityManagerTest.GetAccountsInCookieJarWithTwoAccounts (5 ms)\n[80/3090] IdentityManagerTest.GetAccountsInCookieJarWithTwoAccounts (5 ms)\n[ RUN ] PrimaryAccountAccessTokenFetcherTest.OneShotCallsBackWhenSignedOut\n[ OK ] PrimaryAccountAccessTokenFetcherTest.OneShotCallsBackWhenSignedOut (1 ms)\n[81/3090] PrimaryAccountAccessTokenFetcherTest.OneShotCallsBackWhenSignedOut (1 ms)\n[ RUN ] PrimaryAccountAccessTokenFetcherTest.OneShotCallsBackWhenNoRefreshToken\n[ OK ] PrimaryAccountAccessTokenFetcherTest.OneShotCallsBackWhenNoRefreshToken (1 ms)\n[82/3090] PrimaryAccountAccessTokenFetcherTest.OneShotCallsBackWhenNoRefreshToken (1 ms)\n[ RUN ] PrimaryAccountAccessTokenFetcherTest.WaitAndRetryNoCallbackWhenSignedOut\n[ OK ] PrimaryAccountAccessTokenFetcherTest.WaitAndRetryNoCallbackWhenSignedOut (0 ms)\n[83/3090] PrimaryAccountAccessTokenFetcherTest.WaitAndRetryNoCallbackWhenSignedOut (0 ms)\n[ RUN ] PrimaryAccountAccessTokenFetcherTest.ShouldWaitForSignIn\n[ OK ] PrimaryAccountAccessTokenFetcherTest.ShouldWaitForSignIn (1 ms)\n[84/3090] PrimaryAccountAccessTokenFetcherTest.ShouldWaitForSignIn (1 ms)\n[ RUN ] PrimaryAccountAccessTokenFetcherTest.ShouldWaitForRefreshToken\n[ OK ] PrimaryAccountAccessTokenFetcherTest.ShouldWaitForRefreshToken (2 ms)\n[85/3090] PrimaryAccountAccessTokenFetcherTest.ShouldWaitForRefreshToken (2 ms)\n[ RUN ] PrimaryAccountAccessTokenFetcherTest.ShouldIgnoreRefreshTokensForOtherAccounts\n[ OK ] PrimaryAccountAccessTokenFetcherTest.ShouldIgnoreRefreshTokensForOtherAccounts (1 ms)\n[86/3090] PrimaryAccountAccessTokenFetcherTest.ShouldIgnoreRefreshTokensForOtherAccounts (1 ms)\n[ RUN ] PrimaryAccountAccessTokenFetcherTest.OneShotCanceledAccessTokenRequest\n[ OK ] PrimaryAccountAccessTokenFetcherTest.OneShotCanceledAccessTokenRequest (1 ms)\n[87/3090] PrimaryAccountAccessTokenFetcherTest.OneShotCanceledAccessTokenRequest (1 ms)\n[ RUN ] PrimaryAccountAccessTokenFetcherTest.WaitAndRetryCanceledAccessTokenRequest\n[ OK ] PrimaryAccountAccessTokenFetcherTest.WaitAndRetryCanceledAccessTokenRequest (1 ms)\n[88/3090] PrimaryAccountAccessTokenFetcherTest.WaitAndRetryCanceledAccessTokenRequest (1 ms)\n[ RUN ] PrimaryAccountAccessTokenFetcherTest.ShouldRetryCanceledAccessTokenRequestOnlyOnce\n[ OK ] PrimaryAccountAccessTokenFetcherTest.ShouldRetryCanceledAccessTokenRequestOnlyOnce (2 ms)\n[89/3090] PrimaryAccountAccessTokenFetcherTest.ShouldRetryCanceledAccessTokenRequestOnlyOnce (2 ms)\n[ RUN ] PrimaryAccountAccessTokenFetcherTest.ShouldNotRetryCanceledAccessTokenRequestIfSignedOut\n[12566:12566:0420/013709.009695:18890794594:INFO:signin_manager.cc(122)] Revoking all refresh tokens on server. Reason: sign out, IsSigninAllowed: 1\n[ OK ] PrimaryAccountAccessTokenFetcherTest.ShouldNotRetryCanceledAccessTokenRequestIfSignedOut (2 ms)\n[90/3090] PrimaryAccountAccessTokenFetcherTest.ShouldNotRetryCanceledAccessTokenRequestIfSignedOut (2 ms)\n[ RUN ] IdentityManagerTest.AreRefreshTokensLoaded\n[ OK ] IdentityManagerTest.AreRefreshTokensLoaded (2 ms)\n[91/3090] IdentityManagerTest.AreRefreshTokensLoaded (2 ms)\n[ RUN ] IdentityManagerTest.AccountIdMigration_DoneOnInitialization\n[ OK ] IdentityManagerTest.AccountIdMigration_DoneOnInitialization (1 ms)\n[92/3090] IdentityManagerTest.AccountIdMigration_DoneOnInitialization (1 ms)\n[ RUN ] IdentityManagerTest.ObserveOnAccountUpdated\n[ OK ] IdentityManagerTest.ObserveOnAccountUpdated (1 ms)\n[93/3090] IdentityManagerTest.ObserveOnAccountUpdated (1 ms)\n[ RUN ] IdentityManagerTest.TestOnAccountRemovedWithInfoCallback\n[ OK ] IdentityManagerTest.TestOnAccountRemovedWithInfoCallback (1 ms)\n[94/3090] IdentityManagerTest.TestOnAccountRemovedWithInfoCallback (1 ms)\n[ RUN ] IdentityManagerTest.TestPickAccountIdForAccount\n[ OK ] IdentityManagerTest.TestPickAccountIdForAccount (1 ms)\n[95/3090] IdentityManagerTest.TestPickAccountIdForAccount (1 ms)\n[ RUN ] IdentityManagerTest.FindExtendedAccountInfoForAccount\n[ OK ] IdentityManagerTest.FindExtendedAccountInfoForAccount (1 ms)\n[96/3090] IdentityManagerTest.FindExtendedAccountInfoForAccount (1 ms)\n[ RUN ] IdentityTestEnvironmentTest.IdentityTestEnvironmentCancelsPendingRequestsOnDestruction\n[ OK ] IdentityTestEnvironmentTest.IdentityTestEnvironmentCancelsPendingRequestsOnDestruction (7 ms)\n[97/3090] IdentityTestEnvironmentTest.IdentityTestEnvironmentCancelsPendingRequestsOnDestruction (7 ms)\n[ RUN ] PrimaryAccountAccessTokenFetcherTest.OneShotShouldReturnAccessToken\n[ OK ] PrimaryAccountAccessTokenFetcherTest.OneShotShouldReturnAccessToken (2 ms)\n[98/3090] PrimaryAccountAccessTokenFetcherTest.OneShotShouldReturnAccessToken (2 ms)\n[ RUN ] PrimaryAccountAccessTokenFetcherTest.WaitAndRetryShouldReturnAccessToken\n[ OK ] PrimaryAccountAccessTokenFetcherTest.WaitAndRetryShouldReturnAccessToken (2 ms)\n[99/3090] PrimaryAccountAccessTokenFetcherTest.WaitAndRetryShouldReturnAccessToken (2 ms)\n[ RUN ] PrimaryAccountAccessTokenFetcherTest.ShouldNotReplyIfDestroyed\n[ OK ] PrimaryAccountAccessTokenFetcherTest.ShouldNotReplyIfDestroyed (1 ms)\n[100/3090] PrimaryAccountAccessTokenFetcherTest.ShouldNotReplyIfDestroyed (1 ms)\n[ RUN ] PrimaryAccountAccessTokenFetcherTest.ShouldNotRetryCanceledAccessTokenRequestIfRefreshTokenRevoked\n[ OK ] PrimaryAccountAccessTokenFetcherTest.ShouldNotRetryCanceledAccessTokenRequestIfRefreshTokenRevoked (3 ms)\n[101/3090] PrimaryAccountAccessTokenFetcherTest.ShouldNotRetryCanceledAccessTokenRequestIfRefreshTokenRevoked (3 ms)\n[ RUN ] PrimaryAccountAccessTokenFetcherTest.ShouldNotRetryFailedAccessTokenRequest\n[ OK ] PrimaryAccountAccessTokenFetcherTest.ShouldNotRetryFailedAccessTokenRequest (1 ms)\n[102/3090] PrimaryAccountAccessTokenFetcherTest.ShouldNotRetryFailedAccessTokenRequest (1 ms)\n[ RUN ] MetricsUtilsTest.GetLinearBucketMin\n[ OK ] MetricsUtilsTest.GetLinearBucketMin (0 ms)\n[103/3090] MetricsUtilsTest.GetLinearBucketMin (0 ms)\n[ RUN ] MetricsUtilsTest.GetExponentialBucketMinForUserTiming\n[ OK ] MetricsUtilsTest.GetExponentialBucketMinForUserTiming (0 ms)\n[104/3090] MetricsUtilsTest.GetExponentialBucketMinForUserTiming (0 ms)\n[ RUN ] UkmSourceIdTest.AssignSourceIds\n[ OK ] UkmSourceIdTest.AssignSourceIds (0 ms)\n[105/3090] UkmSourceIdTest.AssignSourceIds (0 ms)\n[ RUN ] UkmSourceIdTest.ConvertToSourceId\n[ OK ] UkmSourceIdTest.ConvertToSourceId (0 ms)\n[106/3090] UkmSourceIdTest.ConvertToSourceId (0 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.ReadBeforeDataReady\n[ OK ] ChunkedDataPipeUploadDataStreamTest.ReadBeforeDataReady (17 ms)\n[107/3090] ChunkedDataPipeUploadDataStreamTest.ReadBeforeDataReady (17 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.ReadAfterDataReady\n[ OK ] ChunkedDataPipeUploadDataStreamTest.ReadAfterDataReady (17 ms)\n[108/3090] ChunkedDataPipeUploadDataStreamTest.ReadAfterDataReady (17 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.MultipleReadThrough\n[ OK ] ChunkedDataPipeUploadDataStreamTest.MultipleReadThrough (3 ms)\n[109/3090] ChunkedDataPipeUploadDataStreamTest.MultipleReadThrough (3 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.MultiplePartialReadThroughWithKnownSize\n[ OK ] ChunkedDataPipeUploadDataStreamTest.MultiplePartialReadThroughWithKnownSize (9 ms)\n[110/3090] ChunkedDataPipeUploadDataStreamTest.MultiplePartialReadThroughWithKnownSize (9 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeTruncation3\n[ OK ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeTruncation3 (4 ms)\n[111/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeTruncation3 (4 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeFailure1\n[ OK ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeFailure1 (3 ms)\n[112/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeFailure1 (3 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeFailure2\n[ OK ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeFailure2 (3 ms)\n[113/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeFailure2 (3 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeFailure3\n[ OK ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeFailure3 (3 ms)\n[114/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeFailure3 (3 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeCloseGetter1\n[ OK ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeCloseGetter1 (3 ms)\n[115/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeCloseGetter1 (3 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeCloseGetter2\n[ OK ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeCloseGetter2 (3 ms)\n[116/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeCloseGetter2 (3 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeCloseGetter3\n[ OK ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeCloseGetter3 (3 ms)\n[117/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeCloseGetter3 (3 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.ExtraBytes1\n[ OK ] ChunkedDataPipeUploadDataStreamTest.ExtraBytes1 (2 ms)\n[118/3090] ChunkedDataPipeUploadDataStreamTest.ExtraBytes1 (2 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.ExtraBytes2\n[ OK ] ChunkedDataPipeUploadDataStreamTest.ExtraBytes2 (2 ms)\n[119/3090] ChunkedDataPipeUploadDataStreamTest.ExtraBytes2 (2 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.ClosePipeGetterBeforeInit\n[ OK ] ChunkedDataPipeUploadDataStreamTest.ClosePipeGetterBeforeInit (3 ms)\n[120/3090] ChunkedDataPipeUploadDataStreamTest.ClosePipeGetterBeforeInit (3 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.MultiplePartialReadThroughSizeNotKnown\n[ OK ] ChunkedDataPipeUploadDataStreamTest.MultiplePartialReadThroughSizeNotKnown (10 ms)\n[121/3090] ChunkedDataPipeUploadDataStreamTest.MultiplePartialReadThroughSizeNotKnown (10 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.GetSizeSucceedsBeforeInit\n[ OK ] ChunkedDataPipeUploadDataStreamTest.GetSizeSucceedsBeforeInit (5 ms)\n[122/3090] ChunkedDataPipeUploadDataStreamTest.GetSizeSucceedsBeforeInit (5 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.GetSizeSucceedsAfterReset\n[ OK ] ChunkedDataPipeUploadDataStreamTest.GetSizeSucceedsAfterReset (4 ms)\n[123/3090] ChunkedDataPipeUploadDataStreamTest.GetSizeSucceedsAfterReset (4 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.GetSizeFailsBeforeInit\n[ OK ] ChunkedDataPipeUploadDataStreamTest.GetSizeFailsBeforeInit (4 ms)\n[124/3090] ChunkedDataPipeUploadDataStreamTest.GetSizeFailsBeforeInit (4 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.GetSizeFailsAfterReset\n[ OK ] ChunkedDataPipeUploadDataStreamTest.GetSizeFailsAfterReset (3 ms)\n[125/3090] ChunkedDataPipeUploadDataStreamTest.GetSizeFailsAfterReset (3 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeSuccess1\n[ OK ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeSuccess1 (3 ms)\n[126/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeSuccess1 (3 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeSuccess2\n[ OK ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeSuccess2 (2 ms)\n[127/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeSuccess2 (2 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeSuccess3\n[ OK ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeSuccess3 (3 ms)\n[128/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeSuccess3 (3 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeTruncation1\n[ OK ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeTruncation1 (2 ms)\n[129/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeTruncation1 (2 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeTruncation2\n[ OK ] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeTruncation2 (3 ms)\n[130/3090] ChunkedDataPipeUploadDataStreamTest.CloseBodyPipeBeforeTruncation2 (3 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.ClosePipeGetterWithoutCallingGetSizeCallbackNoPendingRead\n[ OK ] ChunkedDataPipeUploadDataStreamTest.ClosePipeGetterWithoutCallingGetSizeCallbackNoPendingRead (3 ms)\n[131/3090] ChunkedDataPipeUploadDataStreamTest.ClosePipeGetterWithoutCallingGetSizeCallbackNoPendingRead (3 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.ClosePipeGetterWithoutCallingGetSizeCallbackPendingRead\n[ OK ] ChunkedDataPipeUploadDataStreamTest.ClosePipeGetterWithoutCallingGetSizeCallbackPendingRead (2 ms)\n[132/3090] ChunkedDataPipeUploadDataStreamTest.ClosePipeGetterWithoutCallingGetSizeCallbackPendingRead (2 ms)\n[ RUN ] ChunkedDataPipeUploadDataStreamTest.ClosePipeGetterAfterCallingGetSizeCallback\n[ OK ] ChunkedDataPipeUploadDataStreamTest.ClosePipeGetterAfterCallingGetSizeCallback (2 ms)\n[133/3090] ChunkedDataPipeUploadDataStreamTest.ClosePipeGetterAfterCallingGetSizeCallback (2 ms)\n[ RUN ] CookieManagerTest.GetAllCookies\n[ OK ] CookieManagerTest.GetAllCookies (8 ms)\n[134/3090] CookieManagerTest.GetAllCookies (8 ms)\n[ RUN ] CookieManagerTest.GetCookieList\n[ OK ] CookieManagerTest.GetCookieList (8 ms)\n[135/3090] CookieManagerTest.GetCookieList (8 ms)\n[ RUN ] CookieManagerTest.GetCookieListHttpOnly\n[ OK ] CookieManagerTest.GetCookieListHttpOnly (12 ms)\n[136/3090] CookieManagerTest.GetCookieListHttpOnly (12 ms)\n[ RUN ] CookieManagerTest.GetCookieListSameSite\n[ OK ] CookieManagerTest.GetCookieListSameSite (21 ms)\n[137/3090] CookieManagerTest.GetCookieListSameSite (21 ms)\n[ RUN ] CookieManagerTest.GetCookieListAccessTime\n[ OK ] CookieManagerTest.GetCookieListAccessTime (5 ms)\n[138/3090] CookieManagerTest.GetCookieListAccessTime (5 ms)\n[ RUN ] CookieManagerTest.DeleteCanonicalCookie\n[ OK ] CookieManagerTest.DeleteCanonicalCookie (8 ms)\n[139/3090] CookieManagerTest.DeleteCanonicalCookie (8 ms)\n[ RUN ] CookieManagerTest.DeleteThroughSet\n[ OK ] CookieManagerTest.DeleteThroughSet (4 ms)\n[140/3090] CookieManagerTest.DeleteThroughSet (4 ms)\n[ RUN ] CookieManagerTest.ConfirmSecureSetFails\n[ OK ] CookieManagerTest.ConfirmSecureSetFails (6 ms)\n[141/3090] CookieManagerTest.ConfirmSecureSetFails (6 ms)\n[ RUN ] CookieManagerTest.ConfirmHttpOnlySetFails\n[ OK ] CookieManagerTest.ConfirmHttpOnlySetFails (12 ms)\n[142/3090] CookieManagerTest.ConfirmHttpOnlySetFails (12 ms)\n[ RUN ] CookieManagerTest.ConfirmSecureOverwriteFails\n[ OK ] CookieManagerTest.ConfirmSecureOverwriteFails (4 ms)\n[143/3090] CookieManagerTest.ConfirmSecureOverwriteFails (4 ms)\n[ RUN ] CookieManagerTest.ConfirmHttpOnlyOverwriteFails\n[ OK ] CookieManagerTest.ConfirmHttpOnlyOverwriteFails (12 ms)\n[144/3090] CookieManagerTest.ConfirmHttpOnlyOverwriteFails (12 ms)\n[ RUN ] CookieManagerTest.DeleteEverything\n[ OK ] CookieManagerTest.DeleteEverything (8 ms)\n[145/3090] CookieManagerTest.DeleteEverything (8 ms)\n[ RUN ] CookieManagerTest.DeleteByTime\n[ OK ] CookieManagerTest.DeleteByTime (4 ms)\n[146/3090] CookieManagerTest.DeleteByTime (4 ms)\n[ RUN ] CookieManagerTest.DeleteByExcludingDomains\n[ OK ] CookieManagerTest.DeleteByExcludingDomains (6 ms)\n[147/3090] CookieManagerTest.DeleteByExcludingDomains (6 ms)\n[ RUN ] CookieManagerTest.DeleteByIncludingDomains\n[ OK ] CookieManagerTest.DeleteByIncludingDomains (5 ms)\n[148/3090] CookieManagerTest.DeleteByIncludingDomains (5 ms)\n[ RUN ] CookieManagerTest.DeleteDetails_eTLD\n[ OK ] CookieManagerTest.DeleteDetails_eTLD (8 ms)\n[149/3090] CookieManagerTest.DeleteDetails_eTLD (8 ms)\n[ RUN ] CookieManagerTest.DeleteDetails_HostDomain\n[ OK ] CookieManagerTest.DeleteDetails_HostDomain (5 ms)\n[150/3090] CookieManagerTest.DeleteDetails_HostDomain (5 ms)\n[ RUN ] CookieManagerTest.DeleteDetails_eTLDvsPrivateRegistry\n[ OK ] CookieManagerTest.DeleteDetails_eTLDvsPrivateRegistry (10 ms)\n[151/3090] CookieManagerTest.DeleteDetails_eTLDvsPrivateRegistry (10 ms)\n[ RUN ] CookieManagerTest.DeleteDetails_PrivateRegistry\n[ OK ] CookieManagerTest.DeleteDetails_PrivateRegistry (5 ms)\n[152/3090] CookieManagerTest.DeleteDetails_PrivateRegistry (5 ms)\n[ RUN ] CookieManagerTest.DeleteDetails_IgnoredFields\n[ OK ] CookieManagerTest.DeleteDetails_IgnoredFields (6 ms)\n[153/3090] CookieManagerTest.DeleteDetails_IgnoredFields (6 ms)\n[ RUN ] CookieManagerTest.DeleteDetails_Consumer\n[ OK ] CookieManagerTest.DeleteDetails_Consumer (32 ms)\n[154/3090] CookieManagerTest.DeleteDetails_Consumer (32 ms)\n[ RUN ] CookieManagerTest.DeleteByName\n[ OK ] CookieManagerTest.DeleteByName (19 ms)\n[155/3090] CookieManagerTest.DeleteByName (19 ms)\n[ RUN ] CookieManagerTest.DeleteByURL\n[ OK ] CookieManagerTest.DeleteByURL (19 ms)\n[156/3090] CookieManagerTest.DeleteByURL (19 ms)\n[ RUN ] CookieManagerTest.DeleteBySessionStatus\n[ OK ] CookieManagerTest.DeleteBySessionStatus (6 ms)\n[157/3090] CookieManagerTest.DeleteBySessionStatus (6 ms)\n[ RUN ] CookieManagerTest.DeleteByAll\n[ OK ] CookieManagerTest.DeleteByAll (5 ms)\n[158/3090] CookieManagerTest.DeleteByAll (5 ms)\n[ RUN ] CookieManagerTest.AddCookieChangeListener\n[ OK ] CookieManagerTest.AddCookieChangeListener (17 ms)\n[159/3090] CookieManagerTest.AddCookieChangeListener (17 ms)\n[ RUN ] CookieManagerTest.AddGlobalChangeListener\n[ OK ] CookieManagerTest.AddGlobalChangeListener (7 ms)\n[160/3090] CookieManagerTest.AddGlobalChangeListener (7 ms)\n[ RUN ] SessionCleanupCookieManagerTest.ForceKeepSessionState\n[ OK ] SessionCleanupCookieManagerTest.ForceKeepSessionState (47 ms)\n[161/3090] SessionCleanupCookieManagerTest.ForceKeepSessionState (47 ms)\n[ RUN ] SessionCleanupCookieManagerTest.HttpCookieAllowedOnHttps\n[ OK ] SessionCleanupCookieManagerTest.HttpCookieAllowedOnHttps (41 ms)\n[162/3090] SessionCleanupCookieManagerTest.HttpCookieAllowedOnHttps (41 ms)\n[ RUN ] CookieSettingsTest.GetCookieSettingDefault\n[ OK ] CookieSettingsTest.GetCookieSettingDefault (1 ms)\n[163/3090] CookieSettingsTest.GetCookieSettingDefault (1 ms)\n[ RUN ] CookieSettingsTest.GetCookieSettingDefault\n[ OK ] CookieSettingsTest.GetCookieSettingDefault (1 ms)\n[164/3090] CookieSettingsTest.GetCookieSetting (0 ms)\n[ RUN ] CookieSettingsTest.GetCookieSettingMustMatchBothPatterns\n[ OK ] CookieSettingsTest.GetCookieSettingMustMatchBothPatterns (0 ms)\n[165/3090] CookieSettingsTest.GetCookieSettingMustMatchBothPatterns (0 ms)\n[ RUN ] CookieSettingsTest.GetCookieSettingGetsFirstSetting\n[ OK ] CookieSettingsTest.GetCookieSettingGetsFirstSetting (0 ms)\n[166/3090] CookieSettingsTest.GetCookieSettingGetsFirstSetting (0 ms)\n[ RUN ] CookieSettingsTest.GetCookieSettingDontBlockThirdParty\n[ OK ] CookieSettingsTest.GetCookieSettingDontBlockThirdParty (0 ms)\n[167/3090] CookieSettingsTest.GetCookieSettingDontBlockThirdParty (0 ms)\n[ RUN ] CookieSettingsTest.GetCookieSettingBlockThirdParty\n[ OK ] CookieSettingsTest.GetCookieSettingBlockThirdParty (0 ms)\n[168/3090] CookieSettingsTest.GetCookieSettingBlockThirdParty (0 ms)\n[ RUN ] CookieSettingsTest.GetCookieSettingDontBlockThirdPartyWithException\n[ OK ] CookieSettingsTest.GetCookieSettingDontBlockThirdPartyWithException (1 ms)\n[169/3090] CookieSettingsTest.GetCookieSettingDontBlockThirdPartyWithException (1 ms)\n[ RUN ] CookieSettingsTest.CreateDeleteCookieOnExitPredicateNoSettings\n[ OK ] CookieSettingsTest.CreateDeleteCookieOnExitPredicateNoSettings (0 ms)\n[170/3090] CookieSettingsTest.CreateDeleteCookieOnExitPredicateNoSettings (0 ms)\n[ RUN ] CookieManagerTest.ListenerDestroyed\n[ OK ] CookieManagerTest.ListenerDestroyed (11 ms)\n[171/3090] CookieManagerTest.ListenerDestroyed (11 ms)\n[ RUN ] CookieManagerTest.ServiceDestructVisible\n[ OK ] CookieManagerTest.ServiceDestructVisible (4 ms)\n[172/3090] CookieManagerTest.ServiceDestructVisible (4 ms)\n[ RUN ] CookieManagerTest.CloningAndClientDestructVisible\n[ OK ] CookieManagerTest.CloningAndClientDestructVisible (6 ms)\n[173/3090] CookieManagerTest.CloningAndClientDestructVisible (6 ms)\n[ RUN ] CookieManagerTest.BlockThirdPartyCookies\n[ OK ] CookieManagerTest.BlockThirdPartyCookies (4 ms)\n[174/3090] CookieManagerTest.BlockThirdPartyCookies (4 ms)\n[ RUN ] FlushableCookieManagerTest.FlushCookieStore\n[ OK ] FlushableCookieManagerTest.FlushCookieStore (11 ms)\n[175/3090] FlushableCookieManagerTest.FlushCookieStore (11 ms)\n[ RUN ] FlushableCookieManagerTest.DeletionFilterToInfo\n[ OK ] FlushableCookieManagerTest.DeletionFilterToInfo (5 ms)\n[176/3090] FlushableCookieManagerTest.DeletionFilterToInfo (5 ms)\n[ RUN ] SessionCleanupCookieManagerTest.PersistSessionCookies\n[ OK ] SessionCleanupCookieManagerTest.PersistSessionCookies (43 ms)\n[177/3090] SessionCleanupCookieManagerTest.PersistSessionCookies (43 ms)\n[ RUN ] SessionCleanupCookieManagerTest.DeleteSessionCookies\n[ OK ] SessionCleanupCookieManagerTest.DeleteSessionCookies (39 ms)\n[178/3090] SessionCleanupCookieManagerTest.DeleteSessionCookies (39 ms)\n[ RUN ] SessionCleanupCookieManagerTest.SettingMustMatchDomain\n[ OK ] SessionCleanupCookieManagerTest.SettingMustMatchDomain (35 ms)\n[179/3090] SessionCleanupCookieManagerTest.SettingMustMatchDomain (35 ms)\n[ RUN ] SessionCleanupCookieManagerTest.FirstSettingTakesPrecedence\n[ OK ] SessionCleanupCookieManagerTest.FirstSettingTakesPrecedence (53 ms)\n[180/3090] SessionCleanupCookieManagerTest.FirstSettingTakesPrecedence (53 ms)\n[ RUN ] CrossOriginReadBlockingTest.SniffForHTML\n[ OK ] CrossOriginReadBlockingTest.SniffForHTML (1 ms)\n[181/3090] CrossOriginReadBlockingTest.SniffForHTML (1 ms)\n[ RUN ] CrossOriginReadBlockingTest.SniffForXML\n[ OK ] CrossOriginReadBlockingTest.SniffForXML (0 ms)\n[182/3090] CrossOriginReadBlockingTest.SniffForXML (0 ms)\n[ RUN ] CrossOriginReadBlockingTest.SniffForJSON\n[ OK ] CrossOriginReadBlockingTest.SniffForJSON (0 ms)\n[183/3090] CrossOriginReadBlockingTest.SniffForJSON (0 ms)\n[ RUN ] CrossOriginReadBlockingTest.GetCanonicalMimeType\n[ OK ] CrossOriginReadBlockingTest.GetCanonicalMimeType (0 ms)\n[184/3090] CrossOriginReadBlockingTest.GetCanonicalMimeType (0 ms)\n[ RUN ] CrossOriginResourcePolicyTest.ParseHeader\n[ OK ] CrossOriginResourcePolicyTest.ParseHeader (1 ms)\n[185/3090] CrossOriginResourcePolicyTest.ParseHeader (1 ms)\n[ RUN ] CrossOriginResourcePolicyTest.ShouldAllowSameSite\n[ OK ] CrossOriginResourcePolicyTest.ShouldAllowSameSite (1 ms)\n[186/3090] CrossOriginResourcePolicyTest.ShouldAllowSameSite (1 ms)\n[ RUN ] DataPipeElementReaderTest.InitInterruptsInit\n[ OK ] DataPipeElementReaderTest.InitInterruptsInit (3 ms)\n[187/3090] DataPipeElementReaderTest.InitInterruptsInit (3 ms)\n[ RUN ] DataPipeElementReaderTest.InitInterruptsRead\n[ OK ] DataPipeElementReaderTest.InitInterruptsRead (3 ms)\n[188/3090] DataPipeElementReaderTest.InitInterruptsRead (3 ms)\n[ RUN ] DnsConfigChangeManagerTest.Notification\n[ OK ] DnsConfigChangeManagerTest.Notification (7 ms)\n[189/3090] DnsConfigChangeManagerTest.Notification (7 ms)\n[ RUN ] DnsConfigChangeManagerTest.Notification_InitialRead\n[ OK ] DnsConfigChangeManagerTest.Notification_InitialRead (5 ms)\n[190/3090] DnsConfigChangeManagerTest.Notification_InitialRead (5 ms)\n[ RUN ] DnsConfigChangeManagerTest.MultipleNotification\n[ OK ] DnsConfigChangeManagerTest.MultipleNotification (7 ms)\n[191/3090] DnsConfigChangeManagerTest.MultipleNotification (7 ms)\n[ RUN ] DnsConfigChangeManagerTest.MultipleClients\n[ OK ] DnsConfigChangeManagerTest.MultipleClients (7 ms)\n[192/3090] DnsConfigChangeManagerTest.MultipleClients (7 ms)\n[ RUN ] HostResolverTest.Sync\n[ OK ] HostResolverTest.Sync (4 ms)\n[193/3090] HostResolverTest.Sync (4 ms)\n[ RUN ] HostResolverTest.Async\n[ OK ] HostResolverTest.Async (4 ms)\n[194/3090] HostResolverTest.Async (4 ms)\n[ RUN ] HostResolverTest.DnsQueryType\n[ OK ] HostResolverTest.DnsQueryType (5 ms)\n[195/3090] HostResolverTest.DnsQueryType (5 ms)\n[ RUN ] HostResolverTest.InitialPriority\n[ OK ] HostResolverTest.InitialPriority (4 ms)\n[196/3090] HostResolverTest.InitialPriority (4 ms)\n[ RUN ] HostResolverTest.Source\n[ OK ] HostResolverTest.Source (6 ms)\n[197/3090] HostResolverTest.Source (6 ms)\n[ RUN ] HostResolverTest.SeparateCacheBySource\n[ OK ] HostResolverTest.SeparateCacheBySource (6 ms)\n[198/3090] HostResolverTest.SeparateCacheBySource (6 ms)\n[ RUN ] HostResolverTest.CacheDisabled\n[ OK ] HostResolverTest.CacheDisabled (5 ms)\n[199/3090] HostResolverTest.CacheDisabled (5 ms)\n[ RUN ] HostResolverTest.CacheDisabled_ErrorResults\n[ OK ] HostResolverTest.CacheDisabled_ErrorResults (4 ms)\n[200/3090] HostResolverTest.CacheDisabled_ErrorResults (4 ms)\n[ RUN ] HostResolverTest.IncludeCanonicalName\n[ OK ] HostResolverTest.IncludeCanonicalName (8 ms)\n[201/3090] HostResolverTest.IncludeCanonicalName (8 ms)\n[ RUN ] HostResolverTest.LoopbackOnly\n[ OK ] HostResolverTest.LoopbackOnly (5 ms)\n[202/3090] HostResolverTest.LoopbackOnly (5 ms)\n[ RUN ] HostResolverTest.Failure_Sync\n[ OK ] HostResolverTest.Failure_Sync (4 ms)\n[203/3090] HostResolverTest.Failure_Sync (4 ms)\n[ RUN ] HostResolverTest.Failure_Async\n[ OK ] HostResolverTest.Failure_Async (5 ms)\n[204/3090] HostResolverTest.Failure_Async (5 ms)\n[ RUN ] HostResolverTest.NoOptionalParameters\n[ OK ] HostResolverTest.NoOptionalParameters (5 ms)\n[205/3090] HostResolverTest.NoOptionalParameters (5 ms)\n[ RUN ] HostResolverTest.NoControlHandle\n[ OK ] HostResolverTest.NoControlHandle (4 ms)\n[206/3090] HostResolverTest.NoControlHandle (4 ms)\n[ RUN ] HostResolverTest.CloseControlHandle\n[ OK ] HostResolverTest.CloseControlHandle (5 ms)\n[207/3090] HostResolverTest.CloseControlHandle (5 ms)\n[ RUN ] HostResolverTest.Cancellation\n[ OK ] HostResolverTest.Cancellation (5 ms)\n[208/3090] HostResolverTest.Cancellation (5 ms)\n[ RUN ] HostResolverTest.Cancellation_SubsequentRequest\n[ OK ] HostResolverTest.Cancellation_SubsequentRequest (6 ms)\n[209/3090] HostResolverTest.Cancellation_SubsequentRequest (6 ms)\n[ RUN ] HostResolverTest.DestroyResolver\n[ OK ] HostResolverTest.DestroyResolver (4 ms)\n[210/3090] HostResolverTest.DestroyResolver (4 ms)\n[ RUN ] HostResolverTest.CloseClient\n[ OK ] HostResolverTest.CloseClient (7 ms)\n[211/3090] HostResolverTest.CloseClient (7 ms)\n[ RUN ] HostResolverTest.CloseClient_SubsequentRequest\n[ OK ] HostResolverTest.CloseClient_SubsequentRequest (5 ms)\n[212/3090] HostResolverTest.CloseClient_SubsequentRequest (5 ms)\n[ RUN ] HostResolverTest.Binding\n[ OK ] HostResolverTest.Binding (6 ms)\n[213/3090] HostResolverTest.Binding (6 ms)\n[ RUN ] HostResolverTest.CloseBinding\n[ OK ] HostResolverTest.CloseBinding (5 ms)\n[214/3090] HostResolverTest.CloseBinding (5 ms)\n[ RUN ] HostResolverTest.CloseBinding_SubsequentRequest\n[ OK ] HostResolverTest.CloseBinding_SubsequentRequest (6 ms)\n[215/3090] HostResolverTest.CloseBinding_SubsequentRequest (6 ms)\n[ RUN ] HostResolverTest.IsSpeculative\n[ OK ] HostResolverTest.IsSpeculative (5 ms)\n[216/3090] HostResolverTest.IsSpeculative (5 ms)\n[ RUN ] HostResolverTest.TextResults\n[ OK ] HostResolverTest.TextResults (6 ms)\n[217/3090] HostResolverTest.TextResults (6 ms)\n[ RUN ] HostResolverTest.HostResults\n[ OK ] HostResolverTest.HostResults (4 ms)\n[218/3090] HostResolverTest.HostResults (4 ms)\n[ RUN ] HostResolverTest.MdnsListener_AddressResult\n[ OK ] HostResolverTest.MdnsListener_AddressResult (3 ms)\n[219/3090] HostResolverTest.MdnsListener_AddressResult (3 ms)\n[ RUN ] HostResolverTest.MdnsListener_TextResult\n[ OK ] HostResolverTest.MdnsListener_TextResult (2 ms)\n[220/3090] HostResolverTest.MdnsListener_TextResult (2 ms)\n[ RUN ] CookieSettingsTest.CreateDeleteCookieOnExitPredicateNoSessionOnly\n[ OK ] CookieSettingsTest.CreateDeleteCookieOnExitPredicateNoSessionOnly (1 ms)\n[221/3090] CookieSettingsTest.CreateDeleteCookieOnExitPredicateNoSessionOnly (1 ms)\n[ RUN ] CookieSettingsTest.CreateDeleteCookieOnExitPredicateSessionOnly\n[ OK ] CookieSettingsTest.CreateDeleteCookieOnExitPredicateSessionOnly (0 ms)\n[222/3090] CookieSettingsTest.CreateDeleteCookieOnExitPredicateSessionOnly (0 ms)\n[ RUN ] CookieSettingsTest.CreateDeleteCookieOnExitPredicateAllow\n[ OK ] CookieSettingsTest.CreateDeleteCookieOnExitPredicateAllow (0 ms)\n[223/3090] CookieSettingsTest.CreateDeleteCookieOnExitPredicateAllow (0 ms)\n[ RUN ] CookieSettingsTest.GetCookieSettingSecureOriginCookiesAllowed\n[ OK ] CookieSettingsTest.GetCookieSettingSecureOriginCookiesAllowed (0 ms)\n[224/3090] CookieSettingsTest.GetCookieSettingSecureOriginCookiesAllowed (0 ms)\n[ RUN ] CookieSettingsTest.GetCookieSettingWithThirdPartyCookiesAllowedScheme\n[ OK ] CookieSettingsTest.GetCookieSettingWithThirdPartyCookiesAllowedScheme (0 ms)\n[225/3090] CookieSettingsTest.GetCookieSettingWithThirdPartyCookiesAllowedScheme (0 ms)\n[ RUN ] CookieSettingsTest.GetCookieSettingMatchingSchemeCookiesAllowed\n[ OK ] CookieSettingsTest.GetCookieSettingMatchingSchemeCookiesAllowed (0 ms)\n[226/3090] CookieSettingsTest.GetCookieSettingMatchingSchemeCookiesAllowed (0 ms)\n[ RUN ] CorsURLLoaderFactoryTest.DestructionOrder\n[ OK ] CorsURLLoaderFactoryTest.DestructionOrder (22 ms)\n[227/3090] CorsURLLoaderFactoryTest.DestructionOrder (22 ms)\n[ RUN ] CorsURLLoaderTest.SameOriginWithoutInitiator\n[12607:12607:0420/013709.429350:18891214252:WARNING:cors_url_loader_factory.cc(130)] |fetch_request_mode| is FetchRequestMode::kSameOrigin, but |request_initiator| is not set.\n[ OK ] CorsURLLoaderTest.SameOriginWithoutInitiator (28 ms)\n[228/3090] CorsURLLoaderTest.SameOriginWithoutInitiator (28 ms)\n[ RUN ] CorsURLLoaderTest.NoCorsWithoutInitiator\n[ OK ] CorsURLLoaderTest.NoCorsWithoutInitiator (17 ms)\n[229/3090] CorsURLLoaderTest.NoCorsWithoutInitiator (17 ms)\n[ RUN ] CorsURLLoaderTest.CorsWithoutInitiator\n[12607:12607:0420/013709.462125:18891247027:WARNING:cors_url_loader_factory.cc(130)] |fetch_request_mode| is FetchRequestMode::kCors, but |request_initiator| is not set.\n[ OK ] CorsURLLoaderTest.CorsWithoutInitiator (18 ms)\n[230/3090] CorsURLLoaderTest.CorsWithoutInitiator (18 ms)\n[ RUN ] CorsURLLoaderTest.CrossOriginRequestFetchRequestWithCorsModeButMismatchedCorsHeader\n[ OK ] CorsURLLoaderTest.CrossOriginRequestFetchRequestWithCorsModeButMismatchedCorsHeader (43 ms)\n[231/3090] CorsURLLoaderTest.CrossOriginRequestFetchRequestWithCorsModeButMismatchedCorsHeader (43 ms)\n[ RUN ] CorsURLLoaderTest.StripUsernameAndPassword\n[ OK ] CorsURLLoaderTest.StripUsernameAndPassword (18 ms)\n[232/3090] CorsURLLoaderTest.StripUsernameAndPassword (18 ms)\n[ RUN ] CorsURLLoaderTest.CorsCheckPassOnRedirect\n[ OK ] CorsURLLoaderTest.CorsCheckPassOnRedirect (16 ms)\n[233/3090] CorsURLLoaderTest.CorsCheckPassOnRedirect (16 ms)\n[ RUN ] CorsURLLoaderTest.CorsCheckFailOnRedirect\n[ OK ] CorsURLLoaderTest.CorsCheckFailOnRedirect (15 ms)\n[234/3090] CorsURLLoaderTest.CorsCheckFailOnRedirect (15 ms)\n[ RUN ] CorsURLLoaderTest.NetworkLoaderErrorDuringRedirect\n[ OK ] CorsURLLoaderTest.NetworkLoaderErrorDuringRedirect (31 ms)\n[235/3090] CorsURLLoaderTest.NetworkLoaderErrorDuringRedirect (31 ms)\n[ RUN ] CorsURLLoaderTest.SameOriginToSameOriginRedirect\n[ OK ] CorsURLLoaderTest.SameOriginToSameOriginRedirect (38 ms)\n[236/3090] CorsURLLoaderTest.SameOriginToSameOriginRedirect (38 ms)\n[ RUN ] CorsURLLoaderTest.SameOriginToCrossOriginRedirect\n[ OK ] CorsURLLoaderTest.SameOriginToCrossOriginRedirect (48 ms)\n[237/3090] CorsURLLoaderTest.SameOriginToCrossOriginRedirect (48 ms)\n[ RUN ] CorsURLLoaderTest.CrossOriginToCrossOriginRedirect\n[ OK ] CorsURLLoaderTest.CrossOriginToCrossOriginRedirect (30 ms)\n[238/3090] CorsURLLoaderTest.CrossOriginToCrossOriginRedirect (30 ms)\n[ RUN ] CorsURLLoaderTest.CrossOriginToOriginalOriginRedirect\n[ OK ] CorsURLLoaderTest.CrossOriginToOriginalOriginRedirect (31 ms)\n[239/3090] CorsURLLoaderTest.CrossOriginToOriginalOriginRedirect (31 ms)\n[ RUN ] CorsURLLoaderTest.CrossOriginToAnotherCrossOriginRedirect\n[ OK ] CorsURLLoaderTest.CrossOriginToAnotherCrossOriginRedirect (18 ms)\n[240/3090] CorsURLLoaderTest.CrossOriginToAnotherCrossOriginRedirect (18 ms)\n[ RUN ] CorsURLLoaderTest.304ForSimpleGet\n[ OK ] CorsURLLoaderTest.304ForSimpleGet (53 ms)\n[241/3090] CorsURLLoaderTest.304ForSimpleGet (53 ms)\n[ RUN ] CorsURLLoaderTest.200ForSimpleRevalidation\n[ OK ] CorsURLLoaderTest.200ForSimpleRevalidation (22 ms)\n[242/3090] CorsURLLoaderTest.200ForSimpleRevalidation (22 ms)\n[ RUN ] CorsURLLoaderTest.RevalidationAndPreflight\n[ OK ] CorsURLLoaderTest.RevalidationAndPreflight (26 ms)\n[243/3090] CorsURLLoaderTest.RevalidationAndPreflight (26 ms)\n[ RUN ] CorsURLLoaderTaintingTest.CalculateResponseTainting\n[ OK ] CorsURLLoaderTaintingTest.CalculateResponseTainting (0 ms)\n[244/3090] CorsURLLoaderTaintingTest.CalculateResponseTainting (0 ms)\n[ RUN ] PreflightControllerCreatePreflightRequestTest.LexicographicalOrder\n[ OK ] PreflightControllerCreatePreflightRequestTest.LexicographicalOrder (0 ms)\n[245/3090] PreflightControllerCreatePreflightRequestTest.LexicographicalOrder (0 ms)\n[ RUN ] PreflightControllerCreatePreflightRequestTest.ExcludeSimpleHeaders\n[ OK ] PreflightControllerCreatePreflightRequestTest.ExcludeSimpleHeaders (0 ms)\n[246/3090] PreflightControllerCreatePreflightRequestTest.ExcludeSimpleHeaders (0 ms)\n[ RUN ] PreflightControllerCreatePreflightRequestTest.Credentials\n[ OK ] PreflightControllerCreatePreflightRequestTest.Credentials (0 ms)\n[247/3090] PreflightControllerCreatePreflightRequestTest.Credentials (0 ms)\n[ RUN ] PreflightControllerCreatePreflightRequestTest.ExcludeSimpleContentTypeHeader\n[ OK ] PreflightControllerCreatePreflightRequestTest.ExcludeSimpleContentTypeHeader (1 ms)\n[248/3090] PreflightControllerCreatePreflightRequestTest.ExcludeSimpleContentTypeHeader (1 ms)\n[ RUN ] PreflightControllerCreatePreflightRequestTest.IncludeNonSimpleHeader\n[ OK ] PreflightControllerCreatePreflightRequestTest.IncludeNonSimpleHeader (0 ms)\n[249/3090] PreflightControllerCreatePreflightRequestTest.IncludeNonSimpleHeader (0 ms)\n[ RUN ] PreflightControllerCreatePreflightRequestTest.IncludeNonSimpleContentTypeHeader\n[ OK ] PreflightControllerCreatePreflightRequestTest.IncludeNonSimpleContentTypeHeader (0 ms)\n[250/3090] PreflightControllerCreatePreflightRequestTest.IncludeNonSimpleContentTypeHeader (0 ms)\n[ RUN ] PreflightControllerCreatePreflightRequestTest.ExcludeForbiddenHeaders\n[ OK ] PreflightControllerCreatePreflightRequestTest.ExcludeForbiddenHeaders (0 ms)\n[251/3090] PreflightControllerCreatePreflightRequestTest.ExcludeForbiddenHeaders (0 ms)\n[ RUN ] PreflightControllerCreatePreflightRequestTest.Tainted\n[ OK ] PreflightControllerCreatePreflightRequestTest.Tainted (0 ms)\n[252/3090] PreflightControllerCreatePreflightRequestTest.Tainted (0 ms)\n[ RUN ] PreflightControllerCreatePreflightRequestTest.FetchWindowId\n[ OK ] PreflightControllerCreatePreflightRequestTest.FetchWindowId (1 ms)\n[253/3090] PreflightControllerCreatePreflightRequestTest.FetchWindowId (1 ms)\n[ RUN ] PreflightControllerCreatePreflightRequestTest.RenderFrameId\n[ OK ] PreflightControllerCreatePreflightRequestTest.RenderFrameId (0 ms)\n[254/3090] PreflightControllerCreatePreflightRequestTest.RenderFrameId (0 ms)\n[ RUN ] PreflightControllerTest.CheckInvalidRequest\n[ OK ] PreflightControllerTest.CheckInvalidRequest (44 ms)\n[255/3090] PreflightControllerTest.CheckInvalidRequest (44 ms)\n[ RUN ] PreflightControllerTest.CheckValidRequest\n[ OK ] PreflightControllerTest.CheckValidRequest (48 ms)\n[256/3090] PreflightControllerTest.CheckValidRequest (48 ms)\n[ RUN ] PreflightControllerTest.CheckTaintedRequest\n[ OK ] PreflightControllerTest.CheckTaintedRequest (58 ms)\n[257/3090] PreflightControllerTest.CheckTaintedRequest (58 ms)\n[ RUN ] PreflightControllerTest.CheckResponseWithNullHeaders\n[ OK ] PreflightControllerTest.CheckResponseWithNullHeaders (16 ms)\n[258/3090] PreflightControllerTest.CheckResponseWithNullHeaders (16 ms)\n[ RUN ] CrossOriginReadBlockingTest.IsBlockableScheme\n[ OK ] CrossOriginReadBlockingTest.IsBlockableScheme (0 ms)\n[259/3090] CrossOriginReadBlockingTest.IsBlockableScheme (0 ms)\n[ RUN ] CrossOriginReadBlockingTest.IsValidCorsHeaderSet\n[ OK ] CrossOriginReadBlockingTest.IsValidCorsHeaderSet (0 ms)\n[260/3090] CrossOriginReadBlockingTest.IsValidCorsHeaderSet (0 ms)\n[ RUN ] CorsURLLoaderTest.CrossOriginToAnotherCrossOriginRedirectWithPreflight\n[ OK ] CorsURLLoaderTest.CrossOriginToAnotherCrossOriginRedirectWithPreflight (54 ms)\n[261/3090] CorsURLLoaderTest.CrossOriginToAnotherCrossOriginRedirectWithPreflight (54 ms)\n[ RUN ] CorsURLLoaderTest.RedirectInfoShouldBeUsed\n[ OK ] CorsURLLoaderTest.RedirectInfoShouldBeUsed (22 ms)\n[262/3090] CorsURLLoaderTest.RedirectInfoShouldBeUsed (22 ms)\n[ RUN ] CorsURLLoaderTest.TooManyRedirects\n[ OK ] CorsURLLoaderTest.TooManyRedirects (44 ms)\n[263/3090] CorsURLLoaderTest.TooManyRedirects (44 ms)\n[ RUN ] CorsURLLoaderTest.FollowErrorRedirect\n[ OK ] CorsURLLoaderTest.FollowErrorRedirect (44 ms)\n[264/3090] CorsURLLoaderTest.FollowErrorRedirect (44 ms)\n[ RUN ] CorsURLLoaderTest.OriginAccessList_Allowed\n[ OK ] CorsURLLoaderTest.OriginAccessList_Allowed (43 ms)\n[265/3090] CorsURLLoaderTest.OriginAccessList_Allowed (43 ms)\n[ RUN ] CorsURLLoaderTest.OriginAccessList_Blocked\n[ OK ] CorsURLLoaderTest.OriginAccessList_Blocked (16 ms)\n[266/3090] CorsURLLoaderTest.OriginAccessList_Blocked (16 ms)\n[ RUN ] CorsURLLoaderTest.OriginAccessList_AllowedByFactoryList\n[ OK ] CorsURLLoaderTest.OriginAccessList_AllowedByFactoryList (38 ms)\n[267/3090] CorsURLLoaderTest.OriginAccessList_AllowedByFactoryList (38 ms)\n[ RUN ] CorsURLLoaderTest.OriginAccessList_AllowedByFactoryListButBlocked\n[ OK ] CorsURLLoaderTest.OriginAccessList_AllowedByFactoryListButBlocked (12 ms)\n[268/3090] CorsURLLoaderTest.OriginAccessList_AllowedByFactoryListButBlocked (12 ms)\n[ RUN ] CorsURLLoaderTest.OriginAccessList_NoCors\n[ OK ] CorsURLLoaderTest.OriginAccessList_NoCors (12 ms)\n[269/3090] CorsURLLoaderTest.OriginAccessList_NoCors (12 ms)\n[ RUN ] CorsURLLoaderTest.304ForSimpleRevalidation\n[ OK ] CorsURLLoaderTest.304ForSimpleRevalidation (12 ms)\n[270/3090] CorsURLLoaderTest.304ForSimpleRevalidation (12 ms)\n[ RUN ] IgnoreErrorsCertVerifierTest.TestMatch\n[13074:13074:0420/013710.965701:18892750599:ERROR:ignore_errors_cert_verifier.cc(55)] Invalid SPKI: foobar\n[ OK ] IgnoreErrorsCertVerifierTest.TestMatch (4 ms)\n[271/3090] IgnoreErrorsCertVerifierTest.TestMatch (4 ms)\n[ RUN ] InitiatorLockCompatibilityTest.VerifyRequestInitiatorSiteLock\n[ OK ] InitiatorLockCompatibilityTest.VerifyRequestInitiatorSiteLock (0 ms)\n[272/3090] InitiatorLockCompatibilityTest.VerifyRequestInitiatorSiteLock (0 ms)\n[ RUN ] KeepaliveStatisticsRecorderTest.InitialState\n[ OK ] KeepaliveStatisticsRecorderTest.InitialState (0 ms)\n[273/3090] KeepaliveStatisticsRecorderTest.InitialState (0 ms)\n[ RUN ] KeepaliveStatisticsRecorderTest.Register\n[ OK ] KeepaliveStatisticsRecorderTest.Register (0 ms)\n[274/3090] KeepaliveStatisticsRecorderTest.Register (0 ms)\n[ RUN ] KeepaliveStatisticsRecorderTest.Unregister\n[ OK ] KeepaliveStatisticsRecorderTest.Unregister (0 ms)\n[275/3090] KeepaliveStatisticsRecorderTest.Unregister (0 ms)\n[ RUN ] KeepaliveStatisticsRecorderTest.MultipleRegistration\n[ OK ] KeepaliveStatisticsRecorderTest.MultipleRegistration (0 ms)\n[276/3090] KeepaliveStatisticsRecorderTest.MultipleRegistration (0 ms)\n[ RUN ] KeepaliveStatisticsRecorderTest.IssueOneRequest\n[ OK ] KeepaliveStatisticsRecorderTest.IssueOneRequest (0 ms)\n[277/3090] KeepaliveStatisticsRecorderTest.IssueOneRequest (0 ms)\n[ RUN ] KeepaliveStatisticsRecorderTest.IssueRequests\n[ OK ] KeepaliveStatisticsRecorderTest.IssueRequests (0 ms)\n[278/3090] KeepaliveStatisticsRecorderTest.IssueRequests (0 ms)\n[ RUN ] KeepaliveStatisticsRecorderTest.ProcessReuse\n[ OK ] KeepaliveStatisticsRecorderTest.ProcessReuse (0 ms)\n[279/3090] KeepaliveStatisticsRecorderTest.ProcessReuse (0 ms)\n[ RUN ] MojoHostResolverImplTest.Resolve\n[ OK ] MojoHostResolverImplTest.Resolve (6 ms)\n[280/3090] MojoHostResolverImplTest.Resolve (6 ms)\n[ RUN ] MojoHostResolverImplTest.ResolveSynchronous\n[ OK ] MojoHostResolverImplTest.ResolveSynchronous (6 ms)\n[281/3090] MojoHostResolverImplTest.ResolveSynchronous (6 ms)\n[ RUN ] MojoHostResolverImplTest.ResolveMultiple\n[ OK ] MojoHostResolverImplTest.ResolveMultiple (5 ms)\n[282/3090] MojoHostResolverImplTest.ResolveMultiple (5 ms)\n[ RUN ] MojoHostResolverImplTest.ResolveDuplicate\n[ OK ] MojoHostResolverImplTest.ResolveDuplicate (5 ms)\n[283/3090] MojoHostResolverImplTest.ResolveDuplicate (5 ms)\n[ RUN ] MojoHostResolverImplTest.ResolveFailure\n[ OK ] MojoHostResolverImplTest.ResolveFailure (5 ms)\n[284/3090] MojoHostResolverImplTest.ResolveFailure (5 ms)\n[ RUN ] MojoHostResolverImplTest.ResolveEx\n[ OK ] MojoHostResolverImplTest.ResolveEx (5 ms)\n[285/3090] MojoHostResolverImplTest.ResolveEx (5 ms)\n[ RUN ] MojoHostResolverImplTest.DestroyClient\n[ OK ] MojoHostResolverImplTest.DestroyClient (5 ms)\n[286/3090] MojoHostResolverImplTest.DestroyClient (5 ms)\n[ RUN ] NetworkChangeManagerTest.ClientNotified\n[ OK ] NetworkChangeManagerTest.ClientNotified (6 ms)\n[287/3090] NetworkChangeManagerTest.ClientNotified (6 ms)\n[ RUN ] NetworkChangeManagerTest.OneClientPipeBroken\n[ OK ] NetworkChangeManagerTest.OneClientPipeBroken (8 ms)\n[288/3090] NetworkChangeManagerTest.OneClientPipeBroken (8 ms)\n[ RUN ] NetworkChangeManagerTest.NewClientReceivesCurrentType\n[ OK ] NetworkChangeManagerTest.NewClientReceivesCurrentType (6 ms)\n[289/3090] NetworkChangeManagerTest.NewClientReceivesCurrentType (6 ms)\n[ RUN ] NetworkChangeConnectionTypeTest.ConnectionTypeEnumMatch\n[ OK ] NetworkChangeConnectionTypeTest.ConnectionTypeEnumMatch (0 ms)\n[290/3090] NetworkChangeConnectionTypeTest.ConnectionTypeEnumMatch (0 ms)\n[ RUN ] NetworkContextTest.DestroyContextWithLiveRequest\n[ OK ] NetworkContextTest.DestroyContextWithLiveRequest (20 ms)\n[291/3090] NetworkContextTest.DestroyContextWithLiveRequest (20 ms)\n[ RUN ] NetworkContextTest.DisableQuic\n[ OK ] NetworkContextTest.DisableQuic (7 ms)\n[292/3090] NetworkContextTest.DisableQuic (7 ms)\n[ RUN ] NetworkContextTest.UserAgentAndLanguage\n[ OK ] NetworkContextTest.UserAgentAndLanguage (6 ms)\n[293/3090] NetworkContextTest.UserAgentAndLanguage (6 ms)\n[ RUN ] NetworkContextTest.EnableBrotli\n[ OK ] NetworkContextTest.EnableBrotli (9 ms)\n[294/3090] NetworkContextTest.EnableBrotli (9 ms)\n[ RUN ] NetworkContextTest.ContextName\n[ OK ] NetworkContextTest.ContextName (6 ms)\n[295/3090] NetworkContextTest.ContextName (6 ms)\n[ RUN ] NetworkContextTest.QuicUserAgentId\n[ OK ] NetworkContextTest.QuicUserAgentId (7 ms)\n[296/3090] NetworkContextTest.QuicUserAgentId (7 ms)\n[ RUN ] NetworkContextTest.DataUrlSupportEnabled\n[ OK ] NetworkContextTest.DataUrlSupportEnabled (5 ms)\n[297/3090] NetworkContextTest.DataUrlSupportEnabled (5 ms)\n[ RUN ] NetworkContextTest.FileUrlSupportDisabled\n[ OK ] NetworkContextTest.FileUrlSupportDisabled (5 ms)\n[298/3090] NetworkContextTest.FileUrlSupportDisabled (5 ms)\n[ RUN ] NetworkContextTest.DisableFtpUrlSupport\n[ OK ] NetworkContextTest.DisableFtpUrlSupport (6 ms)\n[299/3090] NetworkContextTest.DisableFtpUrlSupport (6 ms)\n[ RUN ] NetworkContextTest.EnableFtpUrlSupport\n[ OK ] NetworkContextTest.EnableFtpUrlSupport (5 ms)\n[300/3090] NetworkContextTest.EnableFtpUrlSupport (5 ms)\n[ RUN ] NetworkContextTest.DisableReporting\n[ OK ] NetworkContextTest.DisableReporting (12 ms)\n[301/3090] NetworkContextTest.DisableReporting (12 ms)\n[ RUN ] NetworkContextTest.EnableReporting\n[ OK ] NetworkContextTest.EnableReporting (5 ms)\n[302/3090] NetworkContextTest.EnableReporting (5 ms)\n[ RUN ] NetworkContextTest.DisableNetworkErrorLogging\n[ OK ] NetworkContextTest.DisableNetworkErrorLogging (6 ms)\n[303/3090] NetworkContextTest.DisableNetworkErrorLogging (6 ms)\n[ RUN ] NetworkContextTest.EnableNetworkErrorLogging\n[ OK ] NetworkContextTest.EnableNetworkErrorLogging (5 ms)\n[304/3090] NetworkContextTest.EnableNetworkErrorLogging (5 ms)\n[ RUN ] NetworkContextTest.Http09Disabled\n[ OK ] NetworkContextTest.Http09Disabled (7 ms)\n[305/3090] NetworkContextTest.Http09Disabled (7 ms)\n[ RUN ] NetworkContextTest.Http09Enabled\n[ OK ] NetworkContextTest.Http09Enabled (6 ms)\n[306/3090] NetworkContextTest.Http09Enabled (6 ms)\n[ RUN ] NetworkContextTest.DefaultHttpNetworkSessionParams\n[ OK ] NetworkContextTest.DefaultHttpNetworkSessionParams (6 ms)\n[307/3090] NetworkContextTest.DefaultHttpNetworkSessionParams (6 ms)\n[ RUN ] NetworkContextTest.FixedHttpPort\n[ OK ] NetworkContextTest.FixedHttpPort (4 ms)\n[308/3090] NetworkContextTest.FixedHttpPort (4 ms)\n[ RUN ] NetworkContextTest.NoCache\n[ OK ] NetworkContextTest.NoCache (4 ms)\n[309/3090] NetworkContextTest.NoCache (4 ms)\n[ RUN ] NetworkContextTest.MemoryCache\n[ OK ] NetworkContextTest.MemoryCache (4 ms)\n[310/3090] NetworkContextTest.MemoryCache (4 ms)\n[ RUN ] NetworkContextTest.ClearHttpCache\n[ OK ] NetworkContextTest.ClearHttpCache (28 ms)\n[311/3090] NetworkContextTest.ClearHttpCache (28 ms)\n[ RUN ] NetworkContextTest.MultipleClearHttpCacheCalls\n[ OK ] NetworkContextTest.MultipleClearHttpCacheCalls (12 ms)\n[312/3090] NetworkContextTest.MultipleClearHttpCacheCalls (12 ms)\n[ RUN ] NetworkContextTest.NotifyExternalCacheHit\n[ OK ] NetworkContextTest.NotifyExternalCacheHit (7 ms)\n[313/3090] NetworkContextTest.NotifyExternalCacheHit (7 ms)\n[ RUN ] NetworkContextTest.NotifyExternalCacheHit_Split\n[ OK ] NetworkContextTest.NotifyExternalCacheHit_Split (6 ms)\n[314/3090] NetworkContextTest.NotifyExternalCacheHit_Split (6 ms)\n[ RUN ] NetworkContextTest.CountHttpCache\n[ OK ] NetworkContextTest.CountHttpCache (6 ms)\n[315/3090] NetworkContextTest.CountHttpCache (6 ms)\n[ RUN ] NetworkContextTest.ClearHostCache\n[ OK ] NetworkContextTest.ClearHostCache (15 ms)\n[316/3090] NetworkContextTest.ClearHostCache (15 ms)\n[ RUN ] NetworkContextTest.ClearHttpAuthCache\n[ OK ] NetworkContextTest.ClearHttpAuthCache (6 ms)\n[317/3090] NetworkContextTest.ClearHttpAuthCache (6 ms)\n[ RUN ] NetworkContextTest.ClearAllHttpAuthCache\n[ OK ] NetworkContextTest.ClearAllHttpAuthCache (6 ms)\n[318/3090] NetworkContextTest.ClearAllHttpAuthCache (6 ms)\n[ RUN ] NetworkContextTest.ClearEmptyHttpAuthCache\n[ OK ] NetworkContextTest.ClearEmptyHttpAuthCache (5 ms)\n[319/3090] NetworkContextTest.ClearEmptyHttpAuthCache (5 ms)\n[ RUN ] NetworkContextTest.LookupBasicAuthCredentials\n[ OK ] NetworkContextTest.LookupBasicAuthCredentials (5 ms)\n[320/3090] NetworkContextTest.LookupBasicAuthCredentials (5 ms)\n[ RUN ] NetworkContextTest.ClearReportingCacheReports\n[ OK ] NetworkContextTest.ClearReportingCacheReports (11 ms)\n[321/3090] NetworkContextTest.ClearReportingCacheReports (11 ms)\n[ RUN ] NetworkContextTest.ClearReportingCacheReportsWithFilter\n[ OK ] NetworkContextTest.ClearReportingCacheReportsWithFilter (7 ms)\n[322/3090] NetworkContextTest.ClearReportingCacheReportsWithFilter (7 ms)\n[ RUN ] NetworkContextTest.ClearReportingCacheReportsWithNonRegisterableFilter\n[ OK ] NetworkContextTest.ClearReportingCacheReportsWithNonRegisterableFilter (6 ms)\n[323/3090] NetworkContextTest.ClearReportingCacheReportsWithNonRegisterableFilter (6 ms)\n[ RUN ] NetworkContextTest.ClearEmptyReportingCacheReports\n[ OK ] NetworkContextTest.ClearEmptyReportingCacheReports (6 ms)\n[324/3090] NetworkContextTest.ClearEmptyReportingCacheReports (6 ms)\n[ RUN ] NetworkContextTest.ClearReportingCacheReportsWithNoService\n[ OK ] NetworkContextTest.ClearReportingCacheReportsWithNoService (6 ms)\n[325/3090] NetworkContextTest.ClearReportingCacheReportsWithNoService (6 ms)\n[ RUN ] NetworkContextTest.ClearReportingCacheClients\n[ OK ] NetworkContextTest.ClearReportingCacheClients (6 ms)\n[326/3090] NetworkContextTest.ClearReportingCacheClients (6 ms)\n[ RUN ] NetworkContextTest.ClearReportingCacheClientsWithFilter\n[ OK ] NetworkContextTest.ClearReportingCacheClientsWithFilter (6 ms)\n[327/3090] NetworkContextTest.ClearReportingCacheClientsWithFilter (6 ms)\n[ RUN ] NetworkContextTest.ClearEmptyReportingCacheClients\n[ OK ] NetworkContextTest.ClearEmptyReportingCacheClients (5 ms)\n[328/3090] NetworkContextTest.ClearEmptyReportingCacheClients (5 ms)\n[ RUN ] NetworkContextTest.ClearReportingCacheClientsWithNoService\n[ OK ] NetworkContextTest.ClearReportingCacheClientsWithNoService (4 ms)\n[329/3090] NetworkContextTest.ClearReportingCacheClientsWithNoService (4 ms)\n[ RUN ] NetworkContextTest.ClearNetworkErrorLogging\n[ OK ] NetworkContextTest.ClearNetworkErrorLogging (5 ms)\n[330/3090] NetworkContextTest.ClearNetworkErrorLogging (5 ms)\n[ RUN ] NetworkContextTest.ClearNetworkErrorLoggingWithFilter\n[ OK ] NetworkContextTest.ClearNetworkErrorLoggingWithFilter (9 ms)\n[331/3090] NetworkContextTest.ClearNetworkErrorLoggingWithFilter (9 ms)\n[ RUN ] NetworkContextTest.ClearEmptyNetworkErrorLogging\n[ OK ] NetworkContextTest.ClearEmptyNetworkErrorLogging (13 ms)\n[332/3090] NetworkContextTest.ClearEmptyNetworkErrorLogging (13 ms)\n[ RUN ] NetworkContextTest.ClearEmptyNetworkErrorLoggingWithNoService\n[ OK ] NetworkContextTest.ClearEmptyNetworkErrorLoggingWithNoService (7 ms)\n[333/3090] NetworkContextTest.ClearEmptyNetworkErrorLoggingWithNoService (7 ms)\n[ RUN ] NetworkContextTest.CookieManager\n[ OK ] NetworkContextTest.CookieManager (9 ms)\n[334/3090] NetworkContextTest.CookieManager (9 ms)\n[ RUN ] NetworkContextTest.ProxyConfig\n[ OK ] NetworkContextTest.ProxyConfig (40 ms)\n[335/3090] NetworkContextTest.ProxyConfig (40 ms)\n[ RUN ] NetworkContextTest.StaticProxyConfig\n[ OK ] NetworkContextTest.StaticProxyConfig (7 ms)\n[336/3090] NetworkContextTest.StaticProxyConfig (7 ms)\n[ RUN ] NetworkContextTest.NoInitialProxyConfig\n[ OK ] NetworkContextTest.NoInitialProxyConfig (10 ms)\n[337/3090] NetworkContextTest.NoInitialProxyConfig (10 ms)\n[ RUN ] NetworkContextTest.DestroyedWithoutProxyConfig\n[ OK ] NetworkContextTest.DestroyedWithoutProxyConfig (9 ms)\n[338/3090] NetworkContextTest.DestroyedWithoutProxyConfig (9 ms)\n[ RUN ] NetworkContextTest.CancelPendingProxyLookup\n[ OK ] NetworkContextTest.CancelPendingProxyLookup (7 ms)\n[339/3090] NetworkContextTest.CancelPendingProxyLookup (7 ms)\n[ RUN ] NetworkContextTest.PacQuickCheck\n[ OK ] NetworkContextTest.PacQuickCheck (7 ms)\n[340/3090] NetworkContextTest.PacQuickCheck (7 ms)\n[ RUN ] NetworkContextTest.DiskCache\n[ OK ] NetworkContextTest.DiskCache (19 ms)\n[341/3090] NetworkContextTest.DiskCache (19 ms)\n[ RUN ] NetworkContextTest.SimpleCache\n[ OK ] NetworkContextTest.SimpleCache (12 ms)\n[342/3090] NetworkContextTest.SimpleCache (12 ms)\n[ RUN ] NetworkContextTest.HttpServerPropertiesToDisk\n[ OK ] NetworkContextTest.HttpServerPropertiesToDisk (18 ms)\n[343/3090] NetworkContextTest.HttpServerPropertiesToDisk (18 ms)\n[ RUN ] NetworkContextTest.ClearHttpServerPropertiesInMemory\n[ OK ] NetworkContextTest.ClearHttpServerPropertiesInMemory (6 ms)\n[344/3090] NetworkContextTest.ClearHttpServerPropertiesInMemory (6 ms)\n[ RUN ] NetworkContextTest.ClearingNetworkingHistoryClearNetworkQualityPrefs\n[ OK ] NetworkContextTest.ClearingNetworkingHistoryClearNetworkQualityPrefs (7 ms)\n[345/3090] NetworkContextTest.ClearingNetworkingHistoryClearNetworkQualityPrefs (7 ms)\n[ RUN ] NetworkContextTest.TransportSecurityStatePersisted\n[ OK ] NetworkContextTest.TransportSecurityStatePersisted (15 ms)\n[346/3090] NetworkContextTest.TransportSecurityStatePersisted (15 ms)\n[ RUN ] NetworkContextTest.CertReporting\n[13132:13132:0420/013711.463156:18893248087:ERROR:ssl_client_socket_impl.cc(947)] handshake failed; returned -1, SSL error code 1, net_error -150\n[13132:13308:0420/013711.463204:18893248121:ERROR:ssl_server_socket_impl.cc(686)] handshake failed; returned -1, SSL error code 1, net_error -117\n[13132:13132:0420/013711.514742:18893299654:ERROR:ssl_client_socket_impl.cc(947)] handshake failed; returned -1, SSL error code 1, net_error -150\n[13132:13311:0420/013711.514820:18893299734:ERROR:ssl_server_socket_impl.cc(686)] handshake failed; returned -1, SSL error code 1, net_error -117\n[ OK ] NetworkContextTest.CertReporting (193 ms)\n[347/3090] NetworkContextTest.CertReporting (193 ms)\n[ RUN ] NetworkContextTest.Referrers\n[13132:13132:0420/013711.555527:18893340440:ERROR:network_context.cc(436)] Cancelling request to http://127.0.0.1:37143/echoheader?Referer with invalid referrer http://referrer/\n[ OK ] NetworkContextTest.Referrers (37 ms)\n[348/3090] NetworkContextTest.Referrers (37 ms)\n[ RUN ] NetworkContextTest.HttpRequestCompletionErrorCodes\n[13132:13341:0420/013711.590178:18893375096:WARNING:embedded_test_server.cc(238)] Request not handled. Returning 404: /\n[13132:13341:0420/013711.610390:18893395304:WARNING:embedded_test_server.cc(238)] Request not handled. Returning 404: /\n[13132:13351:0420/013711.637831:18893422742:WARNING:embedded_test_server.cc(238)] Request not handled. Returning 404: /\n[ OK ] NetworkContextTest.HttpRequestCompletionErrorCodes (85 ms)\n[349/3090] NetworkContextTest.HttpRequestCompletionErrorCodes (85 ms)\n[ RUN ] NetworkContextTest.ClearHttpCacheWithNoCache\n[ OK ] NetworkContextTest.ClearHttpCacheWithNoCache (5 ms)\n[350/3090] NetworkContextTest.ClearHttpCacheWithNoCache (5 ms)\n[ RUN ] NetworkContextTest.CreateUDPSocket\n[ OK ] NetworkContextTest.CreateUDPSocket (17 ms)\n[351/3090] NetworkContextTest.CreateUDPSocket (17 ms)\n[ RUN ] NetworkContextTest.CreateNetLogExporter\n[ OK ] NetworkContextTest.CreateNetLogExporter (35 ms)\n[352/3090] NetworkContextTest.CreateNetLogExporter (35 ms)\n[ RUN ] NetworkContextTest.CreateNetLogExporterUnbounded\n[ OK ] NetworkContextTest.CreateNetLogExporterUnbounded (31 ms)\n[353/3090] NetworkContextTest.CreateNetLogExporterUnbounded (31 ms)\n[ RUN ] NetworkContextTest.CreateNetLogExporterErrors\n[ OK ] NetworkContextTest.CreateNetLogExporterErrors (39 ms)\n[354/3090] NetworkContextTest.CreateNetLogExporterErrors (39 ms)\n[ RUN ] NetworkContextTest.DestroyNetLogExporterWhileCreatingScratchDir\n[ OK ] NetworkContextTest.DestroyNetLogExporterWhileCreatingScratchDir (8 ms)\n[355/3090] NetworkContextTest.DestroyNetLogExporterWhileCreatingScratchDir (8 ms)\n[ RUN ] NetworkContextTest.ResolveHost_Sync\n[ OK ] NetworkContextTest.ResolveHost_Sync (8 ms)\n[356/3090] NetworkContextTest.ResolveHost_Sync (8 ms)\n[ RUN ] NetworkContextTest.ResolveHost_Async\n[ OK ] NetworkContextTest.ResolveHost_Async (9 ms)\n[357/3090] NetworkContextTest.ResolveHost_Async (9 ms)\n[ RUN ] NetworkContextTest.ResolveHost_Failure_Sync\n[ OK ] NetworkContextTest.ResolveHost_Failure_Sync (7 ms)\n[358/3090] NetworkContextTest.ResolveHost_Failure_Sync (7 ms)\n[ RUN ] NetworkContextTest.ResolveHost_Failure_Async\n[ OK ] NetworkContextTest.ResolveHost_Failure_Async (8 ms)\n[359/3090] NetworkContextTest.ResolveHost_Failure_Async (8 ms)\n[ RUN ] NetworkContextTest.ResolveHost_NoControlHandle\n[ OK ] NetworkContextTest.ResolveHost_NoControlHandle (7 ms)\n[360/3090] NetworkContextTest.ResolveHost_NoControlHandle (7 ms)\n[ RUN ] HostResolverTest.MdnsListener_HostnameResult\n[ OK ] HostResolverTest.MdnsListener_HostnameResult (6 ms)\n[361/3090] HostResolverTest.MdnsListener_HostnameResult (6 ms)\n[ RUN ] HostResolverTest.MdnsListener_UnhandledResult\n[ OK ] HostResolverTest.MdnsListener_UnhandledResult (4 ms)\n[362/3090] HostResolverTest.MdnsListener_UnhandledResult (4 ms)\n[ RUN ] HttpCacheDataCounterTest.Basic\n[ OK ] HttpCacheDataCounterTest.Basic (23 ms)\n[363/3090] HttpCacheDataCounterTest.Basic (23 ms)\n[ RUN ] HttpCacheDataCounterTestNoCache.BeSensible\n[ OK ] HttpCacheDataCounterTestNoCache.BeSensible (7 ms)\n[364/3090] HttpCacheDataCounterTestNoCache.BeSensible (7 ms)\n[ RUN ] HttpCacheDataRemoverTest.ClearAll\n[ OK ] HttpCacheDataRemoverTest.ClearAll (8 ms)\n[365/3090] HttpCacheDataRemoverTest.ClearAll (8 ms)\n[ RUN ] HttpCacheDataRemoverTest.FilterDeleteByDomain\n[ OK ] HttpCacheDataRemoverTest.FilterDeleteByDomain (9 ms)\n[366/3090] HttpCacheDataRemoverTest.FilterDeleteByDomain (9 ms)\n[ RUN ] HttpCacheDataRemoverTest.FilterKeepByDomain\n[ OK ] HttpCacheDataRemoverTest.FilterKeepByDomain (9 ms)\n[367/3090] HttpCacheDataRemoverTest.FilterKeepByDomain (9 ms)\n[ RUN ] HttpCacheDataRemoverTest.FilterDeleteByOrigin\n[ OK ] HttpCacheDataRemoverTest.FilterDeleteByOrigin (8 ms)\n[368/3090] HttpCacheDataRemoverTest.FilterDeleteByOrigin (8 ms)\n[ RUN ] HttpCacheDataRemoverTest.FilterKeepByOrigin\n[ OK ] HttpCacheDataRemoverTest.FilterKeepByOrigin (9 ms)\n[369/3090] HttpCacheDataRemoverTest.FilterKeepByOrigin (9 ms)\n[ RUN ] HttpCacheDataRemoverTest.FilterDeleteByDomainAndOrigin\n[ OK ] HttpCacheDataRemoverTest.FilterDeleteByDomainAndOrigin (8 ms)\n[370/3090] HttpCacheDataRemoverTest.FilterDeleteByDomainAndOrigin (8 ms)\n[ RUN ] HttpCacheDataRemoverTest.FilterKeepByDomainAndOrigin\n[ OK ] HttpCacheDataRemoverTest.FilterKeepByDomainAndOrigin (14 ms)\n[371/3090] HttpCacheDataRemoverTest.FilterKeepByDomainAndOrigin (14 ms)\n[ RUN ] HttpCacheDataRemoverTest.FilterByDateFromUnbounded\n[ OK ] HttpCacheDataRemoverTest.FilterByDateFromUnbounded (10 ms)\n[372/3090] HttpCacheDataRemoverTest.FilterByDateFromUnbounded (10 ms)\n[ RUN ] HttpCacheDataRemoverTest.FilterByDateToUnbounded\n[ OK ] HttpCacheDataRemoverTest.FilterByDateToUnbounded (11 ms)\n[373/3090] HttpCacheDataRemoverTest.FilterByDateToUnbounded (11 ms)\n[ RUN ] HttpCacheDataRemoverTest.FilterByDateRange\n[ OK ] HttpCacheDataRemoverTest.FilterByDateRange (9 ms)\n[374/3090] HttpCacheDataRemoverTest.FilterByDateRange (9 ms)\n[ RUN ] HttpCacheDataRemoverTest.FilterDeleteByDomainAndDate\n[ OK ] HttpCacheDataRemoverTest.FilterDeleteByDomainAndDate (8 ms)\n[375/3090] HttpCacheDataRemoverTest.FilterDeleteByDomainAndDate (8 ms)\n[ RUN ] HttpCacheDataRemoverTest.FilterKeepByDomainAndDate\n[ OK ] HttpCacheDataRemoverTest.FilterKeepByDomainAndDate (7 ms)\n[376/3090] HttpCacheDataRemoverTest.FilterKeepByDomainAndDate (7 ms)\n[ RUN ] HttpCacheDataRemoverTest.DeleteHttpRemover\n[ OK ] HttpCacheDataRemoverTest.DeleteHttpRemover (8 ms)\n[377/3090] HttpCacheDataRemoverTest.DeleteHttpRemover (8 ms)\n[ RUN ] HttpCacheDataRemoverTest.TestDelayedBackend\n[ OK ] HttpCacheDataRemoverTest.TestDelayedBackend (9 ms)\n[378/3090] HttpCacheDataRemoverTest.TestDelayedBackend (9 ms)\n[ RUN ] IgnoreErrorsCertVerifierTest.TestNoMatchCertOk\n[12975:12975:0420/013710.541397:18892326306:ERROR:ignore_errors_cert_verifier.cc(55)] Invalid SPKI: foobar\n[ OK ] IgnoreErrorsCertVerifierTest.TestNoMatchCertOk (3 ms)\n[379/3090] IgnoreErrorsCertVerifierTest.TestNoMatchCertOk (3 ms)\n[ RUN ] IgnoreErrorsCertVerifierTest.TestNoMatchCertError\n[12975:12975:0420/013710.544208:18892329104:ERROR:ignore_errors_cert_verifier.cc(55)] Invalid SPKI: foobar\n[ OK ] IgnoreErrorsCertVerifierTest.TestNoMatchCertError (3 ms)\n[380/3090] IgnoreErrorsCertVerifierTest.TestNoMatchCertError (3 ms)\n[ RUN ] NetworkContextTest.ResolveHost_CloseControlHandle\n[ OK ] NetworkContextTest.ResolveHost_CloseControlHandle (11 ms)\n[381/3090] NetworkContextTest.ResolveHost_CloseControlHandle (11 ms)\n[ RUN ] NetworkContextTest.ResolveHost_Cancellation\n[ OK ] NetworkContextTest.ResolveHost_Cancellation (28 ms)\n[382/3090] NetworkContextTest.ResolveHost_Cancellation (28 ms)\n[ RUN ] NetworkContextTest.ResolveHost_DestroyContext\n[ OK ] NetworkContextTest.ResolveHost_DestroyContext (12 ms)\n[383/3090] NetworkContextTest.ResolveHost_DestroyContext (12 ms)\n[ RUN ] NetworkContextTest.ResolveHost_CloseClient\n[ OK ] NetworkContextTest.ResolveHost_CloseClient (12 ms)\n[384/3090] NetworkContextTest.ResolveHost_CloseClient (12 ms)\n[ RUN ] NetworkContextTest.CreateHostResolver\n[ OK ] NetworkContextTest.CreateHostResolver (8 ms)\n[385/3090] NetworkContextTest.CreateHostResolver (8 ms)\n[ RUN ] NetworkContextTest.CreateHostResolver_CloseResolver\n[ OK ] NetworkContextTest.CreateHostResolver_CloseResolver (9 ms)\n[386/3090] NetworkContextTest.CreateHostResolver_CloseResolver (9 ms)\n[ RUN ] NetworkContextTest.CreateHostResolver_CloseContext\n[ OK ] NetworkContextTest.CreateHostResolver_CloseContext (13 ms)\n[387/3090] NetworkContextTest.CreateHostResolver_CloseContext (13 ms)\n[ RUN ] NetworkContextTest.CreateHostResolverWithConfigOverrides\n[ OK ] NetworkContextTest.CreateHostResolverWithConfigOverrides (9 ms)\n[388/3090] NetworkContextTest.CreateHostResolverWithConfigOverrides (9 ms)\n[ RUN ] NetworkContextTest.PrivacyModeDisabledByDefault\n[ OK ] NetworkContextTest.PrivacyModeDisabledByDefault (8 ms)\n[389/3090] NetworkContextTest.PrivacyModeDisabledByDefault (8 ms)\n[ RUN ] NetworkContextTest.PrivacyModeEnabledIfCookiesBlocked\n[ OK ] NetworkContextTest.PrivacyModeEnabledIfCookiesBlocked (9 ms)\n[390/3090] NetworkContextTest.PrivacyModeEnabledIfCookiesBlocked (9 ms)\n[ RUN ] NetworkContextTest.PrivacyModeDisabledIfCookiesAllowed\n[ OK ] NetworkContextTest.PrivacyModeDisabledIfCookiesAllowed (14 ms)\n[391/3090] NetworkContextTest.PrivacyModeDisabledIfCookiesAllowed (14 ms)\n[ RUN ] NetworkContextTest.PrivacyModeDisabledIfCookiesSettingForOtherURL\n[ OK ] NetworkContextTest.PrivacyModeDisabledIfCookiesSettingForOtherURL (8 ms)\n[392/3090] NetworkContextTest.PrivacyModeDisabledIfCookiesSettingForOtherURL (8 ms)\n[ RUN ] NetworkContextTest.PrivacyModeEnabledIfThirdPartyCookiesBlocked\n[ OK ] NetworkContextTest.PrivacyModeEnabledIfThirdPartyCookiesBlocked (8 ms)\n[393/3090] NetworkContextTest.PrivacyModeEnabledIfThirdPartyCookiesBlocked (8 ms)\n[ RUN ] NetworkContextTest.CanSetCookieFalseIfCookiesBlocked\n[ OK ] NetworkContextTest.CanSetCookieFalseIfCookiesBlocked (19 ms)\n[394/3090] NetworkContextTest.CanSetCookieFalseIfCookiesBlocked (19 ms)\n[ RUN ] NetworkContextTest.CanSetCookieTrueIfCookiesAllowed\n[ OK ] NetworkContextTest.CanSetCookieTrueIfCookiesAllowed (25 ms)\n[395/3090] NetworkContextTest.CanSetCookieTrueIfCookiesAllowed (25 ms)\n[ RUN ] NetworkContextTest.CanGetCookiesFalseIfCookiesBlocked\n[ OK ] NetworkContextTest.CanGetCookiesFalseIfCookiesBlocked (7 ms)\n[396/3090] NetworkContextTest.CanGetCookiesFalseIfCookiesBlocked (7 ms)\n[ RUN ] NetworkContextTest.CanGetCookiesTrueIfCookiesAllowed\n[ OK ] NetworkContextTest.CanGetCookiesTrueIfCookiesAllowed (6 ms)\n[397/3090] NetworkContextTest.CanGetCookiesTrueIfCookiesAllowed (6 ms)\n[ RUN ] NetworkContextTest.PreconnectOne\n[ OK ] NetworkContextTest.PreconnectOne (11 ms)\n[398/3090] NetworkContextTest.PreconnectOne (11 ms)\n[ RUN ] NetworkContextTest.PreconnectHSTS\n[13317:13317:0420/013712.014154:18893799065:ERROR:ssl_client_socket_impl.cc(947)] handshake failed; returned -1, SSL error code 1, net_error -100\n[ OK ] NetworkContextTest.PreconnectHSTS (131 ms)\n[399/3090] NetworkContextTest.PreconnectHSTS (131 ms)\n[ RUN ] NetworkContextTest.PreconnectZero\n[ OK ] NetworkContextTest.PreconnectZero (8 ms)\n[400/3090] NetworkContextTest.PreconnectZero (8 ms)\n[ RUN ] CorsURLLoaderTest.NavigateWithoutInitiator\n[ OK ] CorsURLLoaderTest.NavigateWithoutInitiator (23 ms)\n[ RUN ] CorsURLLoaderTest.CredentialsModeAndLoadFlagsContradictEachOther1\n[12612:12612:0420/013709.492320:18891277233:WARNING:cors_url_loader_factory.cc(141)] |fetch_credentials_mode| and |load_flags| contradict each other.\n[ OK ] CorsURLLoaderTest.CredentialsModeAndLoadFlagsContradictEachOther1 (26 ms)\n[ RUN ] CorsURLLoaderTest.CredentialsModeAndLoadFlagsContradictEachOther2\n[12612:12612:0420/013709.505730:18891290630:WARNING:cors_url_loader_factory.cc(141)] |fetch_credentials_mode| and |load_flags| contradict each other.\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b18000078f8 by main thread:\n #0 reset buildtools/third_party/libc++/trunk/include/memory:2649:20 (services_unittests+0x4e981a0)\n #1 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981a0)\n #2 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981a0)\n #3 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #4 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #5 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #6 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #7 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #8 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #9 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #10 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #11 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #12 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #13 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #14 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #15 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #16 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #17 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #18 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #19 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #21 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #22 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #23 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #24 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #25 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #26 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #27 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #28 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #29 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #30 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #31 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #32 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #33 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #34 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #35 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous read of size 8 at 0x7b18000078f8 by thread T16:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (services_unittests+0x4e9743b)\n #1 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e9743b)\n #2 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #3 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #4 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #5 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #6 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #7 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #8 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #9 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #10 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #11 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #12 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #13 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #14 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #15 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #16 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #17 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #18 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #19 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #20 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #21 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #22 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #23 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #24 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #25 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #26 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #27 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #28 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #29 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #30 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #31 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #32 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Location is heap block of size 96 at 0x7b18000078c0 allocated by main thread:\n #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (services_unittests+0x1b42c5b)\n #1 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:10 (services_unittests+0x4e9511f)\n #2 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:108:29 (services_unittests+0x5f37133)\n #3 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:285 (services_unittests+0x5f37133)\n #4 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #5 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #6 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #7 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #8 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #9 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #10 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #11 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #12 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #13 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #14 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #15 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #16 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #17 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #18 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #19 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #20 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #21 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #22 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #23 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #24 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #25 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2649:20 in reset\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Read of size 8 at 0x7b30000004e8 by main thread:\n #0 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539:37 (services_unittests+0x29c008d)\n #1 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29c008d)\n #2 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29c008d)\n #3 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4e981b6)\n #4 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4e981b6)\n #5 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981b6)\n #6 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981b6)\n #7 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981b6)\n #8 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #9 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #10 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #11 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #12 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #13 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #14 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #15 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #16 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #17 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #18 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #19 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #20 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #21 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #22 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #23 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #24 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #25 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #26 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #27 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #28 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #29 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #30 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #31 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #32 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #33 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #34 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #35 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #36 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #37 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #38 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #39 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #40 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 8 at 0x7b30000004e8 by thread T16 (mutexes: write M436421659990164608):\n #0 __node_insert_multi_perform buildtools/third_party/libc++/trunk/include/__hash_table:2014:23 (services_unittests+0x29c1db9)\n #1 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2042 (services_unittests+0x29c1db9)\n #2 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29c18fe)\n #3 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c18fe)\n #4 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c18fe)\n #5 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #6 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #7 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #8 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #9 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #10 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #11 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #12 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #13 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #14 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #15 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #16 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #17 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #18 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #19 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #20 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #21 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #22 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #23 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #24 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #25 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #26 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #27 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #28 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #29 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #30 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #31 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #32 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #33 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #34 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #35 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #36 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #37 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #38 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #39 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #40 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Location is heap block of size 184 at 0x7b3000000480 allocated by main thread:\n #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (services_unittests+0x1b42c5b)\n #1 net::NetworkChangeNotifier::NetworkChangeNotifier(net::NetworkChangeNotifier::NetworkChangeCalculatorParams const&) net/base/network_change_notifier.cc:643:22 (services_unittests+0x4e96f7f)\n #2 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:92:7 (services_unittests+0x4e9f44c)\n #3 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (services_unittests+0x4e95147)\n #4 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:108:29 (services_unittests+0x5f37133)\n #5 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:285 (services_unittests+0x5f37133)\n #6 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #7 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #8 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #9 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #10 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #11 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #12 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #13 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #14 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #15 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #16 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #17 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #18 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #19 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #20 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #21 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #22 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #23 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #24 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #27 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__hash_table:1539:37 in ~__hash_table\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Read of size 8 at 0x7b140001e050 by main thread:\n #0 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1583:39 (services_unittests+0x29c00a7)\n #1 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29c00a7)\n #2 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29c00a7)\n #3 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29c00a7)\n #4 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4e981b6)\n #5 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4e981b6)\n #6 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981b6)\n #7 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981b6)\n #8 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981b6)\n #9 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #10 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #11 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #12 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #13 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #14 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #15 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #16 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #17 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #18 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #19 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #20 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #21 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #22 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #23 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #24 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #25 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #26 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #27 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #28 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #29 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #30 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #31 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #32 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #33 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #34 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #35 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #36 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #37 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #38 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #39 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #40 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #41 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 8 at 0x7b140001e050 by thread T16 (mutexes: write M436421659990164608):\n #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (services_unittests+0x1b42c5b)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29c1921)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29c1921)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29c1921)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29c1921)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29c1921)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c1921)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c1921)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #17 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #26 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #32 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Location is heap block of size 72 at 0x7b140001e050 allocated by thread T16:\n #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (services_unittests+0x1b42c5b)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29c1921)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29c1921)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29c1921)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29c1921)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29c1921)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c1921)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c1921)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #17 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #26 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #32 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__hash_table:1583:39 in __deallocate_node\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Read of size 1 at 0x7b140001e077 by main thread:\n #0 __is_long buildtools/third_party/libc++/trunk/include/string:1426:39 (services_unittests+0x29c00bc)\n #1 ~basic_string buildtools/third_party/libc++/trunk/include/string:2137 (services_unittests+0x29c00bc)\n #2 ~pair buildtools/third_party/libc++/trunk/include/utility:315 (services_unittests+0x29c00bc)\n #3 ~pair buildtools/third_party/libc++/trunk/include/utility:315 (services_unittests+0x29c00bc)\n #4 __destroy<std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> > buildtools/third_party/libc++/trunk/include/memory:1747 (services_unittests+0x29c00bc)\n #5 destroy<std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> > buildtools/third_party/libc++/trunk/include/memory:1595 (services_unittests+0x29c00bc)\n #6 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1600 (services_unittests+0x29c00bc)\n #7 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29c00bc)\n #8 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29c00bc)\n #9 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29c00bc)\n #10 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4e981b6)\n #11 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4e981b6)\n #12 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981b6)\n #13 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981b6)\n #14 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981b6)\n #15 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #20 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #22 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #23 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #24 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #25 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #27 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #28 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #29 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #30 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #31 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #32 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #33 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #34 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #35 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #36 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #37 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #38 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #39 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #40 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #41 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #42 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #43 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #44 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #45 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #46 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #47 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 8 at 0x7b140001e070 by thread T16 (mutexes: write M436421659990164608):\n #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (services_unittests+0x1b42c5b)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29c1921)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29c1921)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29c1921)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29c1921)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29c1921)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c1921)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c1921)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #17 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #26 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #32 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Location is heap block of size 72 at 0x7b140001e050 allocated by thread T16:\n #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (services_unittests+0x1b42c5b)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29c1921)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29c1921)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29c1921)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29c1921)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29c1921)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c1921)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c1921)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #17 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #26 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #32 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/string:1426:39 in __is_long\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b140001e060 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (services_unittests+0x29c00de)\n #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (services_unittests+0x29c00de)\n #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (services_unittests+0x29c00de)\n #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (services_unittests+0x29c00de)\n #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (services_unittests+0x29c00de)\n #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (services_unittests+0x29c00de)\n #7 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1601 (services_unittests+0x29c00de)\n #8 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29c00de)\n #9 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29c00de)\n #10 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29c00de)\n #11 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4e981b6)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4e981b6)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981b6)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981b6)\n #15 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981b6)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #17 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #18 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #19 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #20 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #22 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #23 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #24 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #25 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #27 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #28 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #29 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #30 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #31 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #32 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #33 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #34 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #35 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #36 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #37 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #38 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #39 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #40 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #41 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #42 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #43 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #44 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #45 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #46 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #47 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #48 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous read of size 1 at 0x7b140001e064 by thread T16 (mutexes: write M436421659990164608):\n #0 operator() base/strings/string_piece.h:536:17 (services_unittests+0x29c1c06)\n #1 operator() net/dns/dns_hosts.h:28 (services_unittests+0x29c1c06)\n #2 operator() buildtools/third_party/libc++/trunk/include/unordered_map:440 (services_unittests+0x29c1c06)\n #3 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2040 (services_unittests+0x29c1c06)\n #4 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29c18fe)\n #5 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c18fe)\n #6 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c18fe)\n #7 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #8 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #9 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #10 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #11 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #12 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #13 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #14 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #15 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #16 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #17 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #18 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #19 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #20 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #21 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #22 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #23 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #24 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #25 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #26 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #27 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #28 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #29 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #30 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #31 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #32 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #33 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #34 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #35 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #36 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #37 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #38 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #39 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #40 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #41 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #42 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b140001e010 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (services_unittests+0x29c00de)\n #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (services_unittests+0x29c00de)\n #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (services_unittests+0x29c00de)\n #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (services_unittests+0x29c00de)\n #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (services_unittests+0x29c00de)\n #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (services_unittests+0x29c00de)\n #7 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1601 (services_unittests+0x29c00de)\n #8 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29c00de)\n #9 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29c00de)\n #10 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29c00de)\n #11 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4e981b6)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4e981b6)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981b6)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981b6)\n #15 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981b6)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #17 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #18 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #19 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #20 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #22 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #23 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #24 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #25 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #27 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #28 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #29 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #30 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #31 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #32 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #33 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #34 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #35 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #36 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #37 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #38 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #39 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #40 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #41 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #42 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #43 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #44 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #45 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #46 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #47 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #48 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous read of size 1 at 0x7b140001e015 by thread T16 (mutexes: write M436421659990164608):\n #0 operator() base/strings/string_piece.h:536:17 (services_unittests+0x29c1c1e)\n #1 operator() net/dns/dns_hosts.h:28 (services_unittests+0x29c1c1e)\n #2 operator() buildtools/third_party/libc++/trunk/include/unordered_map:440 (services_unittests+0x29c1c1e)\n #3 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2040 (services_unittests+0x29c1c1e)\n #4 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29c18fe)\n #5 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c18fe)\n #6 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_ty\n<truncated (1013095 bytes)>\nnal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #31 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #32 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #33 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #34 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #35 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #36 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #37 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #38 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #39 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #40 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #41 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #42 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b30000004f0 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4e981c6)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981c6)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981c6)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981c6)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #20 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #21 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #34 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 8 at 0x7b30000004f0 by thread T16 (mutexes: write M436421659990164608):\n #0 __node_insert_multi_perform buildtools/third_party/libc++/trunk/include/__hash_table:2032:5 (services_unittests+0x29c1e68)\n #1 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2042 (services_unittests+0x29c1e68)\n #2 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29c18fe)\n #3 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c18fe)\n #4 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c18fe)\n #5 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #6 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #7 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #8 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #9 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #10 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #11 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #12 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #13 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #14 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #15 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #16 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #17 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #18 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #19 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #20 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #21 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #22 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #23 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #24 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #25 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #26 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #27 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #28 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #29 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #30 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #31 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #32 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #33 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #34 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #35 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #36 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #37 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #38 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #39 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #40 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b30000004f8 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4e981c6)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981c6)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981c6)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981c6)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #20 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #21 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #34 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 4 at 0x7b30000004f8 by thread T16 (mutexes: write M436421659990164608):\n #0 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1569:27 (services_unittests+0x29c0298)\n #1 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c0298)\n #2 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c0298)\n #3 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #4 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #5 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #6 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #7 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #8 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #9 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #10 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #11 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #12 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #13 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #14 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #15 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #16 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #17 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #18 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #19 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #20 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #21 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #22 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #23 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #24 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #25 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #26 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #27 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #28 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #29 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #30 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #31 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #32 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #33 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #34 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #35 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b3000000500 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4e981c6)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981c6)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981c6)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981c6)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #20 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #21 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #34 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 8 at 0x7b3000000500 by thread T16 (mutexes: write M436421659990164608):\n #0 memcpy /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:801:5 (services_unittests+0x1add307)\n #1 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31:55 (services_unittests+0x29c02c5)\n #2 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #3 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #4 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #5 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #6 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #7 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #8 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #9 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #10 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #11 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #12 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #13 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #14 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #15 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #16 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #17 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #18 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #19 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #20 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #21 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #22 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #23 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #24 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #25 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #26 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #27 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #28 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #29 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #30 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #31 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #32 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #33 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #34 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b3000000518 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4e981c6)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981c6)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981c6)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981c6)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #20 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #21 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #34 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous read of size 8 at 0x7b3000000518 by thread T16 (mutexes: write M436421659990164608):\n #0 capacity buildtools/third_party/libc++/trunk/include/vector:372:54 (services_unittests+0x29c2286)\n #1 capacity buildtools/third_party/libc++/trunk/include/vector:659 (services_unittests+0x29c2286)\n #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1439 (services_unittests+0x29c2286)\n #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29c02ee)\n #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02ee)\n #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #11 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #20 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #26 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #33 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #34 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #35 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #36 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b3000000520 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4e981c6)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981c6)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981c6)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981c6)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #20 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #21 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #34 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 8 at 0x7b3000000520 by thread T16 (mutexes: write M436421659990164608):\n #0 __destruct_at_end buildtools/third_party/libc++/trunk/include/vector:427:12 (services_unittests+0x29c2434)\n #1 __destruct_at_end buildtools/third_party/libc++/trunk/include/vector:833 (services_unittests+0x29c2434)\n #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1453 (services_unittests+0x29c2434)\n #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29c02ee)\n #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02ee)\n #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #11 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #20 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #26 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #33 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #34 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #35 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #36 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b3000000528 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4e981c6)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981c6)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981c6)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981c6)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #20 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #21 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #34 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous read of size 8 at 0x7b3000000528 by thread T16 (mutexes: write M436421659990164608):\n #0 capacity buildtools/third_party/libc++/trunk/include/vector:372:40 (services_unittests+0x29c227a)\n #1 capacity buildtools/third_party/libc++/trunk/include/vector:659 (services_unittests+0x29c227a)\n #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1439 (services_unittests+0x29c227a)\n #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29c02ee)\n #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02ee)\n #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #11 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #20 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #26 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #33 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #34 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #35 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #36 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b3000000530 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4e981c6)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981c6)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981c6)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981c6)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #20 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #21 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #34 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 1 at 0x7b3000000530 by thread T16 (mutexes: write M436421659990164608):\n #0 SetDnsConfig net/base/network_change_notifier.cc:79:10 (services_unittests+0x4e97466)\n #1 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97466)\n #2 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #3 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #4 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #5 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #6 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #7 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #8 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #9 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #10 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #11 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #12 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #13 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #14 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #15 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #16 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #17 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #18 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #19 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #20 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #21 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #22 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #23 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #24 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #25 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #26 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #27 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #28 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #29 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #30 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #31 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #32 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n[ OK ] CorsURLLoaderTest.CredentialsModeAndLoadFlagsContradictEachOther2 (1408 ms)\n[ RUN ] CorsURLLoaderTest.CredentialsModeAndLoadFlagsContradictEachOther3\n[12612:12612:0420/013710.913701:18892698603:WARNING:cors_url_loader_factory.cc(141)] |fetch_credentials_mode| and |load_flags| contradict each other.\n[ OK ] CorsURLLoaderTest.CredentialsModeAndLoadFlagsContradictEachOther3 (14 ms)\n[ RUN ] CorsURLLoaderTest.SameOriginRequest\n[ OK ] CorsURLLoaderTest.SameOriginRequest (21 ms)\n[ RUN ] CorsURLLoaderTest.CrossOriginRequestWithNoCorsMode\n[ OK ] CorsURLLoaderTest.CrossOriginRequestWithNoCorsMode (13 ms)\n[ RUN ] CorsURLLoaderTest.CrossOriginRequestWithNoCorsModeAndPatchMethod\n[ OK ] CorsURLLoaderTest.CrossOriginRequestWithNoCorsModeAndPatchMethod (18 ms)\n[ RUN ] CorsURLLoaderTest.CrossOriginRequestFetchRequestModeSameOrigin\n[ OK ] CorsURLLoaderTest.CrossOriginRequestFetchRequestModeSameOrigin (13 ms)\n[ RUN ] CorsURLLoaderTest.CrossOriginRequestWithCorsModeButMissingCorsHeader\n[ OK ] CorsURLLoaderTest.CrossOriginRequestWithCorsModeButMissingCorsHeader (15 ms)\n[ RUN ] CorsURLLoaderTest.CrossOriginRequestWithCorsMode\n[ OK ] CorsURLLoaderTest.CrossOriginRequestWithCorsMode (12 ms)\n[----------] 10 tests from CorsURLLoaderTest (1565 ms total)\n\n[----------] Global test environment tear-down\n[==========] 10 tests from 1 test suite ran. (1567 ms total)\n[ PASSED ] 10 tests.\nThreadSanitizer: reported 40 warnings\nThreadSanitizer: Matched 2 suppressions (pid=12612):\n2 race:net::(anonymous namespace)::g_network_change_notifier\n\n[401/3090] CorsURLLoaderTest.NavigateWithoutInitiator (23 ms)\n[ RUN ] CorsURLLoaderTest.CredentialsModeAndLoadFlagsContradictEachOther1\n[12612:12612:0420/013709.492320:18891277233:WARNING:cors_url_loader_factory.cc(141)] |fetch_credentials_mode| and |load_flags| contradict each other.\n[ OK ] CorsURLLoaderTest.CredentialsModeAndLoadFlagsContradictEachOther1 (26 ms)\n[ RUN ] CorsURLLoaderTest.CredentialsModeAndLoadFlagsContradictEachOther2\n[12612:12612:0420/013709.505730:18891290630:WARNING:cors_url_loader_factory.cc(141)] |fetch_credentials_mode| and |load_flags| contradict each other.\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b18000078f8 by main thread:\n #0 reset buildtools/third_party/libc++/trunk/include/memory:2649:20 (services_unittests+0x4e981a0)\n #1 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981a0)\n #2 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981a0)\n #3 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #4 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #5 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #6 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #7 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #8 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #9 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #10 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #11 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #12 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #13 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #14 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #15 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #16 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #17 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #18 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #19 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #21 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #22 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #23 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #24 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #25 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #26 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #27 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #28 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #29 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #30 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #31 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #32 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #33 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #34 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #35 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous read of size 8 at 0x7b18000078f8 by thread T16:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (services_unittests+0x4e9743b)\n #1 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e9743b)\n #2 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #3 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #4 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #5 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #6 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #7 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #8 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #9 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #10 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #11 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #12 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #13 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #14 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #15 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #16 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #17 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #18 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #19 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #20 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #21 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #22 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #23 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #24 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #25 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #26 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #27 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #28 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #29 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #30 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #31 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #32 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Location is heap block of size 96 at 0x7b18000078c0 allocated by main thread:\n #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (services_unittests+0x1b42c5b)\n #1 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:10 (services_unittests+0x4e9511f)\n #2 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:108:29 (services_unittests+0x5f37133)\n #3 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:285 (services_unittests+0x5f37133)\n #4 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #5 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #6 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #7 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #8 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #9 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #10 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #11 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #12 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #13 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #14 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #15 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #16 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #17 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #18 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #19 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #20 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #21 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #22 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #23 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #24 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #25 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2649:20 in reset\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Read of size 8 at 0x7b30000004e8 by main thread:\n #0 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539:37 (services_unittests+0x29c008d)\n #1 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29c008d)\n #2 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29c008d)\n #3 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4e981b6)\n #4 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4e981b6)\n #5 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981b6)\n #6 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981b6)\n #7 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981b6)\n #8 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #9 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #10 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #11 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #12 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #13 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #14 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #15 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #16 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #17 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #18 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #19 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #20 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #21 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #22 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #23 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #24 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #25 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #26 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #27 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #28 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #29 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #30 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #31 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #32 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #33 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #34 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #35 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #36 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #37 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #38 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #39 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #40 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 8 at 0x7b30000004e8 by thread T16 (mutexes: write M436421659990164608):\n #0 __node_insert_multi_perform buildtools/third_party/libc++/trunk/include/__hash_table:2014:23 (services_unittests+0x29c1db9)\n #1 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2042 (services_unittests+0x29c1db9)\n #2 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29c18fe)\n #3 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c18fe)\n #4 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c18fe)\n #5 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #6 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #7 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #8 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #9 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #10 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #11 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #12 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #13 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #14 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #15 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #16 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #17 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #18 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #19 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #20 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #21 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #22 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #23 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #24 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #25 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #26 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #27 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #28 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #29 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #30 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #31 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #32 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #33 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #34 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #35 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #36 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #37 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #38 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #39 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #40 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Location is heap block of size 184 at 0x7b3000000480 allocated by main thread:\n #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (services_unittests+0x1b42c5b)\n #1 net::NetworkChangeNotifier::NetworkChangeNotifier(net::NetworkChangeNotifier::NetworkChangeCalculatorParams const&) net/base/network_change_notifier.cc:643:22 (services_unittests+0x4e96f7f)\n #2 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:92:7 (services_unittests+0x4e9f44c)\n #3 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (services_unittests+0x4e95147)\n #4 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:108:29 (services_unittests+0x5f37133)\n #5 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:285 (services_unittests+0x5f37133)\n #6 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #7 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #8 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #9 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #10 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #11 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #12 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #13 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #14 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #15 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #16 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #17 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #18 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #19 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #20 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #21 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #22 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #23 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #24 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #27 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__hash_table:1539:37 in ~__hash_table\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Read of size 8 at 0x7b140001e050 by main thread:\n #0 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1583:39 (services_unittests+0x29c00a7)\n #1 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29c00a7)\n #2 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29c00a7)\n #3 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29c00a7)\n #4 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4e981b6)\n #5 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4e981b6)\n #6 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981b6)\n #7 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981b6)\n #8 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981b6)\n #9 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #10 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #11 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #12 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #13 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #14 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #15 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #16 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #17 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #18 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #19 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #20 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #21 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #22 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #23 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #24 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #25 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #26 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #27 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #28 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #29 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #30 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #31 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #32 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #33 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #34 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #35 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #36 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #37 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #38 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #39 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #40 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #41 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 8 at 0x7b140001e050 by thread T16 (mutexes: write M436421659990164608):\n #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (services_unittests+0x1b42c5b)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29c1921)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29c1921)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29c1921)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29c1921)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29c1921)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c1921)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c1921)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #17 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #26 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #32 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Location is heap block of size 72 at 0x7b140001e050 allocated by thread T16:\n #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (services_unittests+0x1b42c5b)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29c1921)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29c1921)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29c1921)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29c1921)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29c1921)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c1921)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c1921)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #17 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #26 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #32 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__hash_table:1583:39 in __deallocate_node\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Read of size 1 at 0x7b140001e077 by main thread:\n #0 __is_long buildtools/third_party/libc++/trunk/include/string:1426:39 (services_unittests+0x29c00bc)\n #1 ~basic_string buildtools/third_party/libc++/trunk/include/string:2137 (services_unittests+0x29c00bc)\n #2 ~pair buildtools/third_party/libc++/trunk/include/utility:315 (services_unittests+0x29c00bc)\n #3 ~pair buildtools/third_party/libc++/trunk/include/utility:315 (services_unittests+0x29c00bc)\n #4 __destroy<std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> > buildtools/third_party/libc++/trunk/include/memory:1747 (services_unittests+0x29c00bc)\n #5 destroy<std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> > buildtools/third_party/libc++/trunk/include/memory:1595 (services_unittests+0x29c00bc)\n #6 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1600 (services_unittests+0x29c00bc)\n #7 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29c00bc)\n #8 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29c00bc)\n #9 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29c00bc)\n #10 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4e981b6)\n #11 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4e981b6)\n #12 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981b6)\n #13 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981b6)\n #14 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981b6)\n #15 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #20 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #22 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #23 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #24 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #25 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #27 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #28 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #29 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #30 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #31 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #32 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #33 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #34 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #35 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #36 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #37 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #38 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #39 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #40 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #41 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #42 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #43 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #44 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #45 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #46 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #47 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 8 at 0x7b140001e070 by thread T16 (mutexes: write M436421659990164608):\n #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (services_unittests+0x1b42c5b)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29c1921)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29c1921)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29c1921)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29c1921)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29c1921)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c1921)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c1921)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #17 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #26 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #32 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Location is heap block of size 72 at 0x7b140001e050 allocated by thread T16:\n #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (services_unittests+0x1b42c5b)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29c1921)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29c1921)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29c1921)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29c1921)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29c1921)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c1921)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c1921)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #17 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #26 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #32 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/string:1426:39 in __is_long\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b140001e060 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (services_unittests+0x29c00de)\n #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (services_unittests+0x29c00de)\n #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (services_unittests+0x29c00de)\n #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (services_unittests+0x29c00de)\n #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (services_unittests+0x29c00de)\n #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (services_unittests+0x29c00de)\n #7 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1601 (services_unittests+0x29c00de)\n #8 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29c00de)\n #9 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29c00de)\n #10 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29c00de)\n #11 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4e981b6)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4e981b6)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981b6)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981b6)\n #15 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981b6)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #17 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #18 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #19 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #20 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #22 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #23 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #24 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #25 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #27 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #28 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #29 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #30 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #31 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #32 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #33 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #34 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #35 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #36 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #37 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #38 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #39 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #40 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #41 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #42 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #43 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #44 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #45 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #46 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #47 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #48 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous read of size 1 at 0x7b140001e064 by thread T16 (mutexes: write M436421659990164608):\n #0 operator() base/strings/string_piece.h:536:17 (services_unittests+0x29c1c06)\n #1 operator() net/dns/dns_hosts.h:28 (services_unittests+0x29c1c06)\n #2 operator() buildtools/third_party/libc++/trunk/include/unordered_map:440 (services_unittests+0x29c1c06)\n #3 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2040 (services_unittests+0x29c1c06)\n #4 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29c18fe)\n #5 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c18fe)\n #6 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c18fe)\n #7 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #8 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #9 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #10 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #11 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #12 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #13 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #14 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #15 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #16 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #17 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #18 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #19 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #20 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #21 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #22 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #23 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #24 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #25 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #26 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #27 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #28 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #29 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #30 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #31 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #32 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #33 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #34 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #35 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #36 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #37 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #38 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #39 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #40 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #41 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #42 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b140001e010 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (services_unittests+0x29c00de)\n #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (services_unittests+0x29c00de)\n #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (services_unittests+0x29c00de)\n #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (services_unittests+0x29c00de)\n #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (services_unittests+0x29c00de)\n #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (services_unittests+0x29c00de)\n #7 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1601 (services_unittests+0x29c00de)\n #8 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29c00de)\n #9 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29c00de)\n #10 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29c00de)\n #11 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4e981b6)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4e981b6)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981b6)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981b6)\n #15 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981b6)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #17 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #18 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #19 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #20 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #22 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #23 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #24 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #25 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #27 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #28 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #29 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #30 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #31 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #32 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #33 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #34 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #35 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #36 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #37 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #38 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #39 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #40 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #41 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #42 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #43 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #44 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #45 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #46 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #47 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #48 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous read of size 1 at 0x7b140001e015 by thread T16 (mutexes: write M436421659990164608):\n #0 operator() base/strings/string_piece.h:536:17 (services_unittests+0x29c1c1e)\n #1 operator() net/dns/dns_hosts.h:28 (services_unittests+0x29c1c1e)\n #2 operator() buildtools/third_party/libc++/trunk/include/unordered_map:440 (services_unittests+0x29c1c1e)\n #3 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2040 (services_unittests+0x29c1c1e)\n #4 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29c18fe)\n #5 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c18fe)\n #6 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFam\n<truncated (1012975 bytes)>\nnal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #31 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #32 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #33 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #34 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #35 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #36 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #37 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #38 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #39 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #40 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #41 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #42 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b30000004f0 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4e981c6)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981c6)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981c6)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981c6)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #20 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #21 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #34 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 8 at 0x7b30000004f0 by thread T16 (mutexes: write M436421659990164608):\n #0 __node_insert_multi_perform buildtools/third_party/libc++/trunk/include/__hash_table:2032:5 (services_unittests+0x29c1e68)\n #1 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2042 (services_unittests+0x29c1e68)\n #2 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29c18fe)\n #3 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c18fe)\n #4 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c18fe)\n #5 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #6 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #7 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #8 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #9 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #10 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #11 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #12 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #13 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #14 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #15 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #16 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #17 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #18 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #19 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #20 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #21 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #22 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #23 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #24 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #25 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #26 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #27 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #28 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #29 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #30 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #31 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #32 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #33 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #34 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #35 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #36 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #37 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #38 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #39 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #40 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b30000004f8 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4e981c6)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981c6)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981c6)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981c6)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #20 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #21 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #34 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 4 at 0x7b30000004f8 by thread T16 (mutexes: write M436421659990164608):\n #0 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1569:27 (services_unittests+0x29c0298)\n #1 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c0298)\n #2 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c0298)\n #3 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #4 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #5 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #6 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #7 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #8 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #9 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #10 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #11 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #12 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #13 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #14 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #15 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #16 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #17 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #18 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #19 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #20 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #21 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #22 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #23 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #24 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #25 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #26 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #27 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #28 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #29 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #30 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #31 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #32 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #33 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #34 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #35 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b3000000500 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4e981c6)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981c6)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981c6)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981c6)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #20 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #21 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #34 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 8 at 0x7b3000000500 by thread T16 (mutexes: write M436421659990164608):\n #0 memcpy /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:801:5 (services_unittests+0x1add307)\n #1 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31:55 (services_unittests+0x29c02c5)\n #2 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #3 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #4 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #5 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #6 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #7 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #8 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #9 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #10 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #11 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #12 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #13 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #14 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #15 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #16 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #17 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #18 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #19 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #20 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #21 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #22 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #23 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #24 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #25 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #26 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #27 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #28 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #29 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #30 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #31 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #32 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #33 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #34 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b3000000518 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4e981c6)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981c6)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981c6)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981c6)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #20 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #21 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #34 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous read of size 8 at 0x7b3000000518 by thread T16 (mutexes: write M436421659990164608):\n #0 capacity buildtools/third_party/libc++/trunk/include/vector:372:54 (services_unittests+0x29c2286)\n #1 capacity buildtools/third_party/libc++/trunk/include/vector:659 (services_unittests+0x29c2286)\n #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1439 (services_unittests+0x29c2286)\n #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29c02ee)\n #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02ee)\n #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #11 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #20 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #26 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #33 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #34 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #35 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #36 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b3000000520 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4e981c6)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981c6)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981c6)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981c6)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #20 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #21 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #34 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 8 at 0x7b3000000520 by thread T16 (mutexes: write M436421659990164608):\n #0 __destruct_at_end buildtools/third_party/libc++/trunk/include/vector:427:12 (services_unittests+0x29c2434)\n #1 __destruct_at_end buildtools/third_party/libc++/trunk/include/vector:833 (services_unittests+0x29c2434)\n #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1453 (services_unittests+0x29c2434)\n #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29c02ee)\n #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02ee)\n #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #11 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #20 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #26 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #33 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #34 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #35 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #36 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b3000000528 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4e981c6)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981c6)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981c6)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981c6)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #20 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #21 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #34 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous read of size 8 at 0x7b3000000528 by thread T16 (mutexes: write M436421659990164608):\n #0 capacity buildtools/third_party/libc++/trunk/include/vector:372:40 (services_unittests+0x29c227a)\n #1 capacity buildtools/third_party/libc++/trunk/include/vector:659 (services_unittests+0x29c227a)\n #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1439 (services_unittests+0x29c227a)\n #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29c02ee)\n #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02ee)\n #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #11 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #20 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #26 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #33 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #34 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #35 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #36 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b3000000530 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4e981c6)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981c6)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981c6)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981c6)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #20 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #21 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #34 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 1 at 0x7b3000000530 by thread T16 (mutexes: write M436421659990164608):\n #0 SetDnsConfig net/base/network_change_notifier.cc:79:10 (services_unittests+0x4e97466)\n #1 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97466)\n #2 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #3 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #4 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #5 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #6 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #7 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #8 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #9 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #10 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #11 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #12 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #13 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #14 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #15 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #16 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #17 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #18 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #19 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #20 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #21 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #22 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #23 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #24 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #25 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #26 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #27 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #28 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #29 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #30 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #31 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #32 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n[ OK ] CorsURLLoaderTest.CredentialsModeAndLoadFlagsContradictEachOther2 (1408 ms)\n[ RUN ] CorsURLLoaderTest.CredentialsModeAndLoadFlagsContradictEachOther3\n[12612:12612:0420/013710.913701:18892698603:WARNING:cors_url_loader_factory.cc(141)] |fetch_credentials_mode| and |load_flags| contradict each other.\n[ OK ] CorsURLLoaderTest.CredentialsModeAndLoadFlagsContradictEachOther3 (14 ms)\n[ RUN ] CorsURLLoaderTest.SameOriginRequest\n[ OK ] CorsURLLoaderTest.SameOriginRequest (21 ms)\n[ RUN ] CorsURLLoaderTest.CrossOriginRequestWithNoCorsMode\n[ OK ] CorsURLLoaderTest.CrossOriginRequestWithNoCorsMode (13 ms)\n[ RUN ] CorsURLLoaderTest.CrossOriginRequestWithNoCorsModeAndPatchMethod\n[ OK ] CorsURLLoaderTest.CrossOriginRequestWithNoCorsModeAndPatchMethod (18 ms)\n[ RUN ] CorsURLLoaderTest.CrossOriginRequestFetchRequestModeSameOrigin\n[ OK ] CorsURLLoaderTest.CrossOriginRequestFetchRequestModeSameOrigin (13 ms)\n[ RUN ] CorsURLLoaderTest.CrossOriginRequestWithCorsModeButMissingCorsHeader\n[ OK ] CorsURLLoaderTest.CrossOriginRequestWithCorsModeButMissingCorsHeader (15 ms)\n[ RUN ] CorsURLLoaderTest.CrossOriginRequestWithCorsMode\n[ OK ] CorsURLLoaderTest.CrossOriginRequestWithCorsMode (12 ms)\n[----------] 10 tests from CorsURLLoaderTest (1565 ms total)\n\n[----------] Global test environment tear-down\n[==========] 10 tests from 1 test suite ran. (1567 ms total)\n[ PASSED ] 10 tests.\nThreadSanitizer: reported 40 warnings\nThreadSanitizer: Matched 2 suppressions (pid=12612):\n2 race:net::(anonymous namespace)::g_network_change_notifier\n\n[402/3090] CorsURLLoaderTest.CredentialsModeAndLoadFlagsContradictEachOther1 (26 ms)\n[ RUN ] CorsURLLoaderTest.CredentialsModeAndLoadFlagsContradictEachOther2\n[12612:12612:0420/013709.505730:18891290630:WARNING:cors_url_loader_factory.cc(141)] |fetch_credentials_mode| and |load_flags| contradict each other.\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b18000078f8 by main thread:\n #0 reset buildtools/third_party/libc++/trunk/include/memory:2649:20 (services_unittests+0x4e981a0)\n #1 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981a0)\n #2 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981a0)\n #3 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #4 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #5 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #6 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #7 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #8 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #9 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #10 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #11 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #12 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #13 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #14 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #15 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #16 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #17 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #18 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #19 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #20 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #21 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #22 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #23 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #24 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #25 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #26 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #27 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #28 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #29 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #30 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #31 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #32 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #33 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #34 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #35 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous read of size 8 at 0x7b18000078f8 by thread T16:\n #0 operator-> buildtools/third_party/libc++/trunk/include/memory:2620:19 (services_unittests+0x4e9743b)\n #1 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e9743b)\n #2 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #3 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #4 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #5 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #6 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #7 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #8 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #9 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #10 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #11 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #12 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #13 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #14 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #15 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #16 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #17 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #18 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #19 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #20 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #21 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #22 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #23 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #24 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #25 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #26 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #27 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #28 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #29 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #30 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #31 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #32 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Location is heap block of size 96 at 0x7b18000078c0 allocated by main thread:\n #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (services_unittests+0x1b42c5b)\n #1 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:10 (services_unittests+0x4e9511f)\n #2 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:108:29 (services_unittests+0x5f37133)\n #3 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:285 (services_unittests+0x5f37133)\n #4 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #5 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #6 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #7 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #8 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #9 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #10 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #11 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #12 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #13 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #14 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #15 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #16 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #17 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #18 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #19 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #20 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #21 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #22 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #23 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #24 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #25 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/memory:2649:20 in reset\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Read of size 8 at 0x7b30000004e8 by main thread:\n #0 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539:37 (services_unittests+0x29c008d)\n #1 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29c008d)\n #2 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29c008d)\n #3 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4e981b6)\n #4 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4e981b6)\n #5 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981b6)\n #6 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981b6)\n #7 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981b6)\n #8 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #9 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #10 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #11 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #12 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #13 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #14 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #15 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #16 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #17 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #18 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #19 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #20 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #21 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #22 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #23 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #24 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #25 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #26 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #27 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #28 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #29 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #30 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #31 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #32 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #33 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #34 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #35 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #36 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #37 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #38 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #39 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #40 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 8 at 0x7b30000004e8 by thread T16 (mutexes: write M436421659990164608):\n #0 __node_insert_multi_perform buildtools/third_party/libc++/trunk/include/__hash_table:2014:23 (services_unittests+0x29c1db9)\n #1 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2042 (services_unittests+0x29c1db9)\n #2 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29c18fe)\n #3 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c18fe)\n #4 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c18fe)\n #5 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #6 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #7 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #8 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #9 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #10 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #11 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #12 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #13 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #14 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #15 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #16 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #17 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #18 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #19 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #20 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #21 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #22 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #23 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #24 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #25 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #26 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #27 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #28 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #29 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #30 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #31 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #32 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #33 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #34 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #35 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #36 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #37 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #38 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #39 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #40 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Location is heap block of size 184 at 0x7b3000000480 allocated by main thread:\n #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (services_unittests+0x1b42c5b)\n #1 net::NetworkChangeNotifier::NetworkChangeNotifier(net::NetworkChangeNotifier::NetworkChangeCalculatorParams const&) net/base/network_change_notifier.cc:643:22 (services_unittests+0x4e96f7f)\n #2 net::NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(std::__1::unordered_set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) net/base/network_change_notifier_linux.cc:92:7 (services_unittests+0x4e9f44c)\n #3 net::NetworkChangeNotifier::Create() net/base/network_change_notifier.cc:212:14 (services_unittests+0x4e95147)\n #4 CreateNetworkChangeNotifierIfNeeded services/network/network_service.cc:108:29 (services_unittests+0x5f37133)\n #5 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:285 (services_unittests+0x5f37133)\n #6 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #7 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #8 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #9 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #10 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #11 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #12 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #13 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #14 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #15 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #16 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #17 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #18 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #19 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #20 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #21 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #22 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #23 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #24 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #25 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #26 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #27 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__hash_table:1539:37 in ~__hash_table\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Read of size 8 at 0x7b140001e050 by main thread:\n #0 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1583:39 (services_unittests+0x29c00a7)\n #1 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29c00a7)\n #2 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29c00a7)\n #3 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29c00a7)\n #4 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4e981b6)\n #5 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4e981b6)\n #6 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981b6)\n #7 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981b6)\n #8 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981b6)\n #9 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #10 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #11 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #12 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #13 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #14 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #15 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #16 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #17 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #18 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #19 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #20 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #21 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #22 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #23 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #24 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #25 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #26 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #27 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #28 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #29 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #30 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #31 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #32 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #33 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #34 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #35 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #36 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #37 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #38 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #39 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #40 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #41 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 8 at 0x7b140001e050 by thread T16 (mutexes: write M436421659990164608):\n #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (services_unittests+0x1b42c5b)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29c1921)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29c1921)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29c1921)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29c1921)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29c1921)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c1921)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c1921)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #17 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #26 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #32 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Location is heap block of size 72 at 0x7b140001e050 allocated by thread T16:\n #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (services_unittests+0x1b42c5b)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29c1921)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29c1921)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29c1921)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29c1921)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29c1921)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c1921)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c1921)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #17 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #26 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #32 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/__hash_table:1583:39 in __deallocate_node\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Read of size 1 at 0x7b140001e077 by main thread:\n #0 __is_long buildtools/third_party/libc++/trunk/include/string:1426:39 (services_unittests+0x29c00bc)\n #1 ~basic_string buildtools/third_party/libc++/trunk/include/string:2137 (services_unittests+0x29c00bc)\n #2 ~pair buildtools/third_party/libc++/trunk/include/utility:315 (services_unittests+0x29c00bc)\n #3 ~pair buildtools/third_party/libc++/trunk/include/utility:315 (services_unittests+0x29c00bc)\n #4 __destroy<std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> > buildtools/third_party/libc++/trunk/include/memory:1747 (services_unittests+0x29c00bc)\n #5 destroy<std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> > buildtools/third_party/libc++/trunk/include/memory:1595 (services_unittests+0x29c00bc)\n #6 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1600 (services_unittests+0x29c00bc)\n #7 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29c00bc)\n #8 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29c00bc)\n #9 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29c00bc)\n #10 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4e981b6)\n #11 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4e981b6)\n #12 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981b6)\n #13 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981b6)\n #14 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981b6)\n #15 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #20 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #22 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #23 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #24 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #25 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #27 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #28 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #29 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #30 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #31 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #32 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #33 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #34 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #35 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #36 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #37 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #38 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #39 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #40 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #41 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #42 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #43 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #44 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #45 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #46 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #47 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 8 at 0x7b140001e070 by thread T16 (mutexes: write M436421659990164608):\n #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (services_unittests+0x1b42c5b)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29c1921)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29c1921)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29c1921)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29c1921)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29c1921)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c1921)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c1921)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #17 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #26 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #32 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Location is heap block of size 72 at 0x7b140001e050 allocated by thread T16:\n #0 operator new(unsigned long) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:64:3 (services_unittests+0x1b42c5b)\n #1 __libcpp_allocate buildtools/third_party/libc++/trunk/include/new:238:10 (services_unittests+0x29c1921)\n #2 allocate buildtools/third_party/libc++/trunk/include/memory:1813 (services_unittests+0x29c1921)\n #3 allocate buildtools/third_party/libc++/trunk/include/memory:1546 (services_unittests+0x29c1921)\n #4 __construct_node<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2524 (services_unittests+0x29c1921)\n #5 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2186 (services_unittests+0x29c1921)\n #6 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c1921)\n #7 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c1921)\n #8 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #9 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #10 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #11 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #12 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #13 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #14 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #15 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #16 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #17 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #18 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #19 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #20 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #21 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #22 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #23 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #24 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #25 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #26 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #27 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #28 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #29 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #30 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #31 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #32 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #33 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #34 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #35 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #36 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #37 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #38 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #39 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #40 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #41 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #42 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #43 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race buildtools/third_party/libc++/trunk/include/string:1426:39 in __is_long\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b140001e060 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (services_unittests+0x29c00de)\n #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (services_unittests+0x29c00de)\n #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (services_unittests+0x29c00de)\n #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (services_unittests+0x29c00de)\n #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (services_unittests+0x29c00de)\n #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (services_unittests+0x29c00de)\n #7 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1601 (services_unittests+0x29c00de)\n #8 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29c00de)\n #9 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29c00de)\n #10 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29c00de)\n #11 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4e981b6)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4e981b6)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981b6)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981b6)\n #15 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981b6)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #17 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #18 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #19 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #20 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #22 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #23 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #24 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #25 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #27 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #28 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #29 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #30 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #31 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #32 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #33 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #34 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #35 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #36 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #37 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #38 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #39 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #40 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #41 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #42 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #43 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #44 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #45 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #46 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #47 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #48 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous read of size 1 at 0x7b140001e064 by thread T16 (mutexes: write M436421659990164608):\n #0 operator() base/strings/string_piece.h:536:17 (services_unittests+0x29c1c06)\n #1 operator() net/dns/dns_hosts.h:28 (services_unittests+0x29c1c06)\n #2 operator() buildtools/third_party/libc++/trunk/include/unordered_map:440 (services_unittests+0x29c1c06)\n #3 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2040 (services_unittests+0x29c1c06)\n #4 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29c18fe)\n #5 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c18fe)\n #6 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c18fe)\n #7 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #8 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #9 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #10 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #11 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #12 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #13 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #14 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #15 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #16 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #17 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #18 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #19 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #20 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #21 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #22 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #23 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #24 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #25 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #26 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #27 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #28 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #29 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #30 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #31 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #32 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #33 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #34 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #35 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #36 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #37 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #38 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #39 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #40 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #41 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #42 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b140001e010 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 __do_call buildtools/third_party/libc++/trunk/include/new:319:12 (services_unittests+0x29c00de)\n #2 __do_deallocate_handle_size buildtools/third_party/libc++/trunk/include/new:277 (services_unittests+0x29c00de)\n #3 __do_deallocate_handle_size_align buildtools/third_party/libc++/trunk/include/new:247 (services_unittests+0x29c00de)\n #4 __libcpp_deallocate buildtools/third_party/libc++/trunk/include/new:325 (services_unittests+0x29c00de)\n #5 deallocate buildtools/third_party/libc++/trunk/include/memory:1816 (services_unittests+0x29c00de)\n #6 deallocate buildtools/third_party/libc++/trunk/include/memory:1554 (services_unittests+0x29c00de)\n #7 __deallocate_node buildtools/third_party/libc++/trunk/include/__hash_table:1601 (services_unittests+0x29c00de)\n #8 ~__hash_table buildtools/third_party/libc++/trunk/include/__hash_table:1539 (services_unittests+0x29c00de)\n #9 ~unordered_map buildtools/third_party/libc++/trunk/include/unordered_map:968 (services_unittests+0x29c00de)\n #10 net::DnsConfig::~DnsConfig() net/dns/dns_config.cc:29 (services_unittests+0x29c00de)\n #11 ~NetworkState net/base/network_change_notifier.cc:68:27 (services_unittests+0x4e981b6)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338 (services_unittests+0x4e981b6)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981b6)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981b6)\n #15 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981b6)\n #16 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #17 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #18 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #19 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #20 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #21 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #22 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #23 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #24 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #25 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #26 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #27 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #28 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #29 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #30 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #31 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #32 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #33 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #34 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #35 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #36 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #37 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #38 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #39 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #40 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #41 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #42 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #43 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #44 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #45 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #46 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #47 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #48 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous read of size 1 at 0x7b140001e015 by thread T16 (mutexes: write M436421659990164608):\n #0 operator() base/strings/string_piece.h:536:17 (services_unittests+0x29c1c1e)\n #1 operator() net/dns/dns_hosts.h:28 (services_unittests+0x29c1c1e)\n #2 operator() buildtools/third_party/libc++/trunk/include/unordered_map:440 (services_unittests+0x29c1c1e)\n #3 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2040 (services_unittests+0x29c1c1e)\n #4 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29c18fe)\n #5 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c18fe)\n #6 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c18fe)\n #7 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #8 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974\n<truncated (1012659 bytes)>\nnal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #31 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #32 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #33 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #34 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #35 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #36 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #37 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #38 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #39 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #40 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #41 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #42 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b30000004f0 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4e981c6)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981c6)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981c6)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981c6)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #20 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #21 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #34 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 8 at 0x7b30000004f0 by thread T16 (mutexes: write M436421659990164608):\n #0 __node_insert_multi_perform buildtools/third_party/libc++/trunk/include/__hash_table:2032:5 (services_unittests+0x29c1e68)\n #1 std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__node_insert_multi(std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*) buildtools/third_party/libc++/trunk/include/__hash_table:2042 (services_unittests+0x29c1e68)\n #2 __emplace_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:2187:20 (services_unittests+0x29c18fe)\n #3 __insert_multi<const std::__1::pair<const std::__1::pair<std::__1::basic_string<char>, net::AddressFamily>, net::IPAddress> &> buildtools/third_party/libc++/trunk/include/__hash_table:1143 (services_unittests+0x29c18fe)\n #4 void std::__1::__hash_table<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::__unordered_map_hasher<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, net::DnsHostsKeyHash, true>, std::__1::__unordered_map_equal<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, true>, std::__1::allocator<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress> > >::__assign_multi<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*> >(std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>, std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress>, void*>*>) buildtools/third_party/libc++/trunk/include/__hash_table:1793 (services_unittests+0x29c18fe)\n #5 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1570:9 (services_unittests+0x29c02b3)\n #6 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c02b3)\n #7 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02b3)\n #8 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #9 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #10 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #11 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #12 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #13 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #14 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #15 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #16 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #17 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #18 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #19 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #20 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #21 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #22 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #23 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #24 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #25 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #26 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #27 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #28 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #29 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #30 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #31 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #32 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #33 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #34 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #35 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #36 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #37 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #38 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #39 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #40 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b30000004f8 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4e981c6)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981c6)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981c6)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981c6)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #20 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #21 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #34 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 4 at 0x7b30000004f8 by thread T16 (mutexes: write M436421659990164608):\n #0 operator= buildtools/third_party/libc++/trunk/include/__hash_table:1569:27 (services_unittests+0x29c0298)\n #1 operator= buildtools/third_party/libc++/trunk/include/unordered_map:974 (services_unittests+0x29c0298)\n #2 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c0298)\n #3 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #4 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #5 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #6 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #7 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #8 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #9 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #10 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #11 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #12 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #13 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #14 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #15 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #16 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #17 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #18 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #19 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #20 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #21 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #22 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #23 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #24 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #25 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #26 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #27 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #28 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #29 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #30 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #31 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #32 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #33 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #34 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #35 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b3000000500 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4e981c6)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981c6)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981c6)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981c6)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #20 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #21 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #34 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 8 at 0x7b3000000500 by thread T16 (mutexes: write M436421659990164608):\n #0 memcpy /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/../sanitizer_common/sanitizer_common_interceptors.inc:801:5 (services_unittests+0x1add307)\n #1 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31:55 (services_unittests+0x29c02c5)\n #2 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #3 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #4 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #5 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #6 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #7 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #8 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #9 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #10 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #11 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #12 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #13 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #14 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #15 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #16 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #17 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #18 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #19 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #20 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #21 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #22 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #23 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #24 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #25 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #26 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #27 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #28 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #29 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #30 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #31 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #32 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #33 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #34 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b3000000518 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4e981c6)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981c6)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981c6)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981c6)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #20 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #21 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #34 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous read of size 8 at 0x7b3000000518 by thread T16 (mutexes: write M436421659990164608):\n #0 capacity buildtools/third_party/libc++/trunk/include/vector:372:54 (services_unittests+0x29c2286)\n #1 capacity buildtools/third_party/libc++/trunk/include/vector:659 (services_unittests+0x29c2286)\n #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1439 (services_unittests+0x29c2286)\n #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29c02ee)\n #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02ee)\n #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #11 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #20 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #26 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #33 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #34 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #35 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #36 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b3000000520 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4e981c6)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981c6)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981c6)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981c6)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #20 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #21 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #34 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous write of size 8 at 0x7b3000000520 by thread T16 (mutexes: write M436421659990164608):\n #0 __destruct_at_end buildtools/third_party/libc++/trunk/include/vector:427:12 (services_unittests+0x29c2434)\n #1 __destruct_at_end buildtools/third_party/libc++/trunk/include/vector:833 (services_unittests+0x29c2434)\n #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1453 (services_unittests+0x29c2434)\n #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29c02ee)\n #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02ee)\n #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #11 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #20 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #26 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #33 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #34 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #35 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #36 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443efbf)\n #15 base::internal::PostTaskAndReplyImpl::PostTaskAndReply(base::Location const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/threading/post_task_and_reply_impl.cc:138:34 (services_unittests+0x447e2d2)\n #16 base::PostTaskWithTraitsAndReply(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::OnceCallback<void ()>) base/task/post_task.cc:93:55 (services_unittests+0x443ea19)\n #17 PostTaskWithTraitsAndReplyWithResult<bool, bool> base/task/post_task.h:158:10 (services_unittests+0x29e2995)\n #18 net::HostResolverManager::RunLoopbackProbeJob() net/dns/host_resolver_manager.cc:2940 (services_unittests+0x29e2995)\n #19 net::HostResolverManager::HostResolverManager(net::HostResolver::Options const&, net::NetLog*) net/dns/host_resolver_manager.cc:2264:3 (services_unittests+0x29de1f4)\n #20 make_unique<net::HostResolverManager, net::HostResolver::Options, net::NetLog *&> buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f37316)\n #21 network::NetworkService::Initialize(mojo::StructPtr<network::mojom::NetworkServiceParams>) services/network/network_service.cc:304 (services_unittests+0x5f37316)\n #22 network::NetworkService::NetworkService(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, mojo::InterfaceRequest<network::mojom::NetworkService>, net::NetLog*, mojo::InterfaceRequest<service_manager::mojom::Service>, bool) services/network/network_service.cc:245:5 (services_unittests+0x5f36ae3)\n #23 std::__1::__unique_if<network::NetworkService>::__unique_single std::__1::make_unique<network::NetworkService, std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >, std::nullptr_t, std::nullptr_t, mojo::InterfaceRequest<service_manager::mojom::Service> >(std::__1::unique_ptr<service_manager::BinderRegistryWithArgs<>, std::__1::default_delete<service_manager::BinderRegistryWithArgs<> > >&&, std::nullptr_t&&, std::nullptr_t&&, mojo::InterfaceRequest<service_manager::mojom::Service>&&) buildtools/third_party/libc++/trunk/include/memory:3131:32 (services_unittests+0x5f38104)\n #24 network::NetworkService::CreateForTesting(mojo::InterfaceRequest<service_manager::mojom::Service>) services/network/network_service.cc:370:10 (services_unittests+0x5f38015)\n #25 network::NetworkService::CreateForTesting() services/network/network_service.cc:365:10 (services_unittests+0x5f37f64)\n #26 network::cors::(anonymous namespace)::CorsURLLoaderTest::SetUp() services/network/cors/cors_url_loader_unittest.cc:149:24 (services_unittests+0x1bff24a)\n #27 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd0bd2)\n #28 testing::Test::Run() third_party/googletest/src/googletest/src/gtest.cc:2507 (services_unittests+0x2dd0bd2)\n #29 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2688:11 (services_unittests+0x2dd1f78)\n #30 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #31 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #32 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #33 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #34 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #35 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #36 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #37 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #38 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #39 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #40 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #41 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #42 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #43 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\nSUMMARY: ThreadSanitizer: data race /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 in operator delete(void*)\n==================\n==================\nWARNING: ThreadSanitizer: data race (pid=12612)\n Write of size 8 at 0x7b3000000528 by main thread:\n #0 operator delete(void*) /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:126:3 (services_unittests+0x1b433ae)\n #1 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x4e981c6)\n #2 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x4e981c6)\n #3 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x4e981c6)\n #4 net::NetworkChangeNotifier::~NetworkChangeNotifier() net/base/network_change_notifier.cc:181 (services_unittests+0x4e981c6)\n #5 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6a4)\n #6 net::NetworkChangeNotifierLinux::~NetworkChangeNotifierLinux() net/base/network_change_notifier_linux.cc:110:57 (services_unittests+0x4e9f6d9)\n #7 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5efc538)\n #8 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5efc538)\n #9 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5efc538)\n #10 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:27 (services_unittests+0x5efc538)\n #11 network::NetworkChangeManager::~NetworkChangeManager() services/network/network_change_manager.cc:25:47 (services_unittests+0x5efc599)\n #12 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x5f37921)\n #13 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x5f37921)\n #14 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x5f37921)\n #15 network::NetworkService::~NetworkService() services/network/network_service.cc:336 (services_unittests+0x5f37921)\n #16 network::NetworkService::~NetworkService() services/network/network_service.cc:319:35 (services_unittests+0x5f37d39)\n #17 operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 (services_unittests+0x1c087f6)\n #18 reset buildtools/third_party/libc++/trunk/include/memory:2651 (services_unittests+0x1c087f6)\n #19 ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605 (services_unittests+0x1c087f6)\n #20 network::cors::(anonymous namespace)::CorsURLLoaderTest::~CorsURLLoaderTest() services/network/cors/cors_url_loader_unittest.cc:129 (services_unittests+0x1c087f6)\n #21 network::cors::(anonymous namespace)::CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test::~CorsURLLoaderTest_CredentialsModeAndLoadFlagsContradictEachOther2_Test() services/network/cors/cors_url_loader_unittest.cc:452:1 (services_unittests+0x1c033c9)\n #22 HandleExceptionsInMethodIfSupported<testing::Test, void> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2dd200e)\n #23 testing::TestInfo::Run() third_party/googletest/src/googletest/src/gtest.cc:2694 (services_unittests+0x2dd200e)\n #24 testing::TestSuite::Run() third_party/googletest/src/googletest/src/gtest.cc:2818:28 (services_unittests+0x2dd2b56)\n #25 testing::internal::UnitTestImpl::RunAllTests() third_party/googletest/src/googletest/src/gtest.cc:5276:44 (services_unittests+0x2de4fd6)\n #26 HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> third_party/googletest/src/googletest/src/gtest.cc (services_unittests+0x2de4439)\n #27 testing::UnitTest::Run() third_party/googletest/src/googletest/src/gtest.cc:4864 (services_unittests+0x2de4439)\n #28 RUN_ALL_TESTS third_party/googletest/src/googletest/include/gtest/gtest.h:2448:46 (services_unittests+0x5de7392)\n #29 base::TestSuite::Run() base/test/test_suite.cc:316 (services_unittests+0x5de7392)\n #30 Invoke<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:499:12 (services_unittests+0x1fdba18)\n #31 MakeItSo<int (base::TestSuite::*)(), (anonymous namespace)::ServiceTestSuite *> base/bind_internal.h:599 (services_unittests+0x1fdba18)\n #32 RunImpl<int (base::TestSuite::*)(), std::__1::tuple<base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, 0> base/bind_internal.h:672 (services_unittests+0x1fdba18)\n #33 base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<(anonymous namespace)::ServiceTestSuite> >, int ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x1fdba18)\n #34 Run base/callback.h:97:12 (services_unittests+0x5df092d)\n #35 base::(anonymous namespace)::LaunchUnitTestsInternal(base::OnceCallback<int ()>, unsigned long, int, bool, base::OnceCallback<void ()>) base/test/launcher/unit_test_launcher.cc:225 (services_unittests+0x5df092d)\n #36 base::LaunchUnitTests(int, char**, base::OnceCallback<int ()>) base/test/launcher/unit_test_launcher.cc:575:10 (services_unittests+0x5df0790)\n #37 main services/test/run_all_unittests.cc:97:10 (services_unittests+0x1fdb64f)\n\n Previous read of size 8 at 0x7b3000000528 by thread T16 (mutexes: write M436421659990164608):\n #0 capacity buildtools/third_party/libc++/trunk/include/vector:372:40 (services_unittests+0x29c227a)\n #1 capacity buildtools/third_party/libc++/trunk/include/vector:659 (services_unittests+0x29c227a)\n #2 std::__1::enable_if<(__is_forward_iterator<net::DnsConfig::DnsOverHttpsServerConfig*>::value) && (is_constructible<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::iterator_traits<net::DnsConfig::DnsOverHttpsServerConfig*>::reference>::value), void>::type std::__1::vector<net::DnsConfig::DnsOverHttpsServerConfig, std::__1::allocator<net::DnsConfig::DnsOverHttpsServerConfig> >::assign<net::DnsConfig::DnsOverHttpsServerConfig*>(net::DnsConfig::DnsOverHttpsServerConfig*, net::DnsConfig::DnsOverHttpsServerConfig*) buildtools/third_party/libc++/trunk/include/vector:1439 (services_unittests+0x29c227a)\n #3 operator= buildtools/third_party/libc++/trunk/include/vector:1403:9 (services_unittests+0x29c02ee)\n #4 net::DnsConfig::operator=(net::DnsConfig const&) net/dns/dns_config.cc:31 (services_unittests+0x29c02ee)\n #5 SetDnsConfig net/base/network_change_notifier.cc:77:17 (services_unittests+0x4e97453)\n #6 net::NetworkChangeNotifier::SetDnsConfig(net::DnsConfig const&) net/base/network_change_notifier.cc:763 (services_unittests+0x4e97453)\n #7 Invoke<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:399:12 (services_unittests+0x4e9f844)\n #8 MakeItSo<void (*const &)(const net::DnsConfig &), const net::DnsConfig &> base/bind_internal.h:599 (services_unittests+0x4e9f844)\n #9 RunImpl<void (*const &)(const net::DnsConfig &), const std::__1::tuple<> &> base/bind_internal.h:672 (services_unittests+0x4e9f844)\n #10 base::internal::Invoker<base::internal::BindState<void (*)(net::DnsConfig const&)>, void (net::DnsConfig const&)>::Run(base::internal::BindStateBase*, net::DnsConfig const&) base/bind_internal.h:654 (services_unittests+0x4e9f844)\n #11 Run base/callback.h:136:12 (services_unittests+0x29c56d3)\n #12 OnCompleteConfig net/dns/dns_config_service.cc:158 (services_unittests+0x29c56d3)\n #13 net::DnsConfigService::OnHostsRead(std::__1::unordered_map<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily>, net::IPAddress, net::DnsHostsKeyHash, std::__1::equal_to<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> >, std::__1::allocator<std::__1::pair<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, net::AddressFamily> const, net::IPAddress> > > const&) net/dns/dns_config_service.cc:108 (services_unittests+0x29c56d3)\n #14 net::internal::DnsConfigServicePosix::HostsReader::OnWorkFinished() net/dns/dns_config_service_posix.cc:385:17 (services_unittests+0x29f960c)\n #15 net::SerialWorker::OnWorkJobFinished() net/dns/serial_worker.cc:63:13 (services_unittests+0x29f72db)\n #16 Invoke<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:499:12 (services_unittests+0x29f758a)\n #17 MakeItSo<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker>> base/bind_internal.h:619 (services_unittests+0x29f758a)\n #18 RunImpl<void (net::SerialWorker::*)(), std::__1::tuple<base::WeakPtr<net::SerialWorker> >, 0> base/bind_internal.h:672 (services_unittests+0x29f758a)\n #19 base::internal::Invoker<base::internal::BindState<void (net::SerialWorker::*)(), base::WeakPtr<net::SerialWorker> >, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x29f758a)\n #20 Run base/callback.h:97:12 (services_unittests+0x447e668)\n #21 base::(anonymous namespace)::PostTaskAndReplyRelay::RunReply(base::(anonymous namespace)::PostTaskAndReplyRelay) base/threading/post_task_and_reply_impl.cc:114 (services_unittests+0x447e668)\n #22 Invoke<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:399:12 (services_unittests+0x447e757)\n #23 MakeItSo<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> base/bind_internal.h:599 (services_unittests+0x447e757)\n #24 RunImpl<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::__1::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0> base/bind_internal.h:672 (services_unittests+0x447e757)\n #25 base::internal::Invoker<base::internal::BindState<void (*)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay>, void ()>::RunOnce(base::internal::BindStateBase*) base/bind_internal.h:641 (services_unittests+0x447e757)\n #26 Run base/callback.h:97:12 (services_unittests+0x443e6da)\n #27 base::TaskAnnotator::RunTask(char const*, base::PendingTask*) base/task/common/task_annotator.cc:114 (services_unittests+0x443e6da)\n #28 base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task*) base/task/thread_pool/task_tracker.cc:709:19 (services_unittests+0x4460cb1)\n #29 RunTaskWithShutdownBehavior base/task/thread_pool/task_tracker.cc:727:7 (services_unittests+0x44608fe)\n #30 base::internal::TaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker.cc:563 (services_unittests+0x44608fe)\n #31 base::internal::TaskTrackerPosix::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/task/thread_pool/task_tracker_posix.cc:24:16 (services_unittests+0x44d4f7f)\n #32 base::test::ScopedTaskEnvironment::TestTaskTracker::RunOrSkipTask(base::internal::Task, base::internal::Sequence*, base::TaskTraits const&, bool) base/test/scoped_task_environment.cc:663:46 (services_unittests+0x5de2a58)\n #33 base::internal::TaskTracker::RunAndPopNextTask(scoped_refptr<base::internal::Sequence>) base/task/thread_pool/task_tracker.cc:427:3 (services_unittests+0x4460087)\n #34 base::internal::SchedulerWorker::RunWorker() base/task/thread_pool/scheduler_worker.cc:340:31 (services_unittests+0x446e0e0)\n #35 base::internal::SchedulerWorker::RunPooledWorker() base/task/thread_pool/scheduler_worker.cc:233:3 (services_unittests+0x446dd11)\n #36 base::internal::SchedulerWorker::ThreadMain() base/task/thread_pool/scheduler_worker.cc:212:7 (services_unittests+0x446db7f)\n #37 base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 (services_unittests+0x44d59e4)\n\n Mutex M436421659990164608 is already destroyed.\n\n Thread T16 'ThreadPoolForeg' (tid=12758, running) created by main thread at:\n #0 pthread_create /b/swarming/w/ir/k/src/third_party/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:976:3 (services_unittests+0x1ad305b)\n #1 base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:120:13 (services_unittests+0x44d54d7)\n #2 base::PlatformThread::CreateWithPriority(unsigned long, base::PlatformThread::Delegate*, base::PlatformThreadHandle*, base::ThreadPriority) base/threading/platform_thread_posix.cc:246:10 (services_unittests+0x44d53d5)\n #3 base::internal::SchedulerWorker::Start(base::SchedulerWorkerObserver*) base/task/thread_pool/scheduler_worker.cc:79:3 (services_unittests+0x446d71d)\n #4 operator() base/task/thread_pool/scheduler_worker_pool_impl.cc:186:15 (services_unittests+0x446c23b)\n #5 ForEachWorker<(lambda at ../../base/task/thread_pool/scheduler_worker_pool_impl.cc:185:37)> base/task/thread_pool/scheduler_worker_pool_impl.cc:151 (services_unittests+0x446c23b)\n #6 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::FlushImpl() base/task/thread_pool/scheduler_worker_pool_impl.cc:185 (services_unittests+0x446c23b)\n #7 base::internal::SchedulerWorkerPoolImpl::ScopedWorkersExecutor::~ScopedWorkersExecutor() base/task/thread_pool/scheduler_worker_pool_impl.cc:104:30 (services_unittests+0x4468ce4)\n #8 base::internal::SchedulerWorkerPoolImpl::PushSequenceAndWakeUpWorkers(base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool_impl.cc:448:1 (services_unittests+0x446941d)\n #9 base::internal::SchedulerWorkerPool::PostTaskWithSequenceNow(base::internal::Task, base::internal::SequenceAndTransaction) base/task/thread_pool/scheduler_worker_pool.cc:88:5 (services_unittests+0x4466b84)\n #10 base::internal::ThreadPoolImpl::PostTaskWithSequence(base::internal::Task, scoped_refptr<base::internal::Sequence>) base/task/thread_pool/thread_pool_impl.cc:320:37 (services_unittests+0x445d838)\n #11 base::internal::ThreadPoolImpl::PostDelayedTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>, base::TimeDelta) base/task/thread_pool/thread_pool_impl.cc:198:10 (services_unittests+0x445cce1)\n #12 PostDelayedTaskWithTraits base/task/post_task.cc:85:9 (services_unittests+0x443eb89)\n #13 base::PostTaskWithTraits(base::Location const&, base::TaskTraits const&, base::OnceCallback<void ()>) base/task/post_task.cc:75 (services_unittests+0x443eb89)\n #14 base::(anonymous namespace)::PostTaskAndReplyWithTraitsTaskRunner::PostTask(base::Location const&, base::OnceCallback<void ()>) base/task/post_task.cc:27:5 (services_unittests+0x443ef