forked from yugabyte/yugabyte-db
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[yugabyte#13895] docdb: Switched to GoogleTest 1.12.1
Summary: BlockingQueueDeathTest.TestPointerParamsMustBeEmptyOnDestruct was failing under ASAN on Jenkins. ``` Result: died but not with expected error. Expected: BlockingQueue holds bare pointers Actual msg: [ DEATH ] ``` It turned out that `gtest-death-test_test` gtest's own unit-tests are also failing on Jenkins with the common failure pattern: ``` [ DEATH ] AddressSanitizer:DEADLYSIGNAL [ DEATH ] ================================================================= [ DEATH ] ==2262872==ERROR: AddressSanitizer: stack-overflow on address 0x7f823b324f80 (pc 0x7f823b2edc03 bp 0x7f823b325fb0 sp 0x7f823b324f80 T0) [ DEATH ] #0 0x7f823b2edc03 (/lib64/ld-linux-x86-64.so.2+0x1c03) [ DEATH ] #1 0x7f823a362684 (/nfusr/alma8-gcp-cloud/jenkins-worker-74vryc/jenkins/ty/yugabyte-db-thirdparty/build/asan/gmock-1.8.0/shared/googlemock/gtest/libgtest.so+0x134684) [ DEATH ] #2 0x7f8239900dd2 (/lib64/libc.so.6+0x39dd2) [ DEATH ] [ DEATH ] SUMMARY: AddressSanitizer: stack-overflow (/lib64/ld-linux-x86-64.so.2+0x1c03) [ DEATH ] ==2262872==ABORTING [ DEATH ] ``` Which is related to https://chromium.googlesource.com/external/github.com/pwnall/googletest/+/681454dae48f109abf68c424c9d2e6db9a092238. With ASAN on x86_64, ExecDeathTestChildMain has frame size of 1728 bytes. Call to `chdir()` in `ExecDeathTestChildMain` ends up in `_dl_runtime_resolve_xsavec`, which attempts to save register state on the stack. And `XSAVE register save area size` is larger than 1728 bytes on Jenkins nodes: ``` $ cpuid -i | grep -i xsave ... XSAVE features (0xd/0): bytes required by XSAVE/XRSTOR area = 0x00000a80 (2688) $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 85 model name : Intel(R) Xeon(R) CPU @ 2.80GHz ``` GoogleTest 1.11.0 has a fix for this issue: google/googletest@681454d. Decided to upgrade to latest GoogleTest 1.12.0 that also contains the fix. Test Plan: - Jenkins Reviewers: esheng, jhe, mbautin Reviewed By: esheng, jhe, mbautin Subscribers: bogdan, ybase Differential Revision: https://phabricator.dev.yugabyte.com/D19390
- Loading branch information
Showing
14 changed files
with
97 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,212 +1,212 @@ | ||
sha_for_local_checkout: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha_for_local_checkout: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
archives: | ||
- os_type: almalinux8 | ||
architecture: aarch64 | ||
compiler_type: clang12 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220913150632-ded72a9921-almalinux8-aarch64-clang12 | ||
tag: v20220920000517-7f25c9789a-almalinux8-aarch64-clang12 | ||
- os_type: almalinux8 | ||
architecture: aarch64 | ||
compiler_type: clang12 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: full | ||
tag: v20220913150547-ded72a9921-almalinux8-aarch64-clang12-full-lto | ||
tag: v20220920000516-7f25c9789a-almalinux8-aarch64-clang12-full-lto | ||
- os_type: almalinux8 | ||
architecture: x86_64 | ||
compiler_type: clang12 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 89d2bc5aa9fb17f33bb7a1b718a4df138ad1c3cf | ||
lto_type: | ||
tag: v20220913150508-ded72a9921-almalinux8-x86_64-clang12 | ||
tag: v20220920000443-7f25c9789a-almalinux8-x86_64-clang12 | ||
- os_type: almalinux8 | ||
architecture: x86_64 | ||
compiler_type: clang12 | ||
is_linuxbrew: true | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220913150545-ded72a9921-almalinux8-x86_64-clang12-linuxbrew | ||
tag: v20220920000440-7f25c9789a-almalinux8-x86_64-clang12-linuxbrew | ||
- os_type: almalinux8 | ||
architecture: x86_64 | ||
compiler_type: clang13 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220913150515-ded72a9921-almalinux8-x86_64-clang13 | ||
tag: v20220920000458-7f25c9789a-almalinux8-x86_64-clang13 | ||
- os_type: almalinux8 | ||
architecture: x86_64 | ||
compiler_type: clang13 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: full | ||
tag: v20220913150535-ded72a9921-almalinux8-x86_64-clang13-full-lto | ||
tag: v20220920000441-7f25c9789a-almalinux8-x86_64-clang13-full-lto | ||
- os_type: almalinux8 | ||
architecture: x86_64 | ||
compiler_type: clang13 | ||
is_linuxbrew: true | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220913150511-ded72a9921-almalinux8-x86_64-clang13-linuxbrew | ||
tag: v20220920000437-7f25c9789a-almalinux8-x86_64-clang13-linuxbrew | ||
- os_type: almalinux8 | ||
architecture: x86_64 | ||
compiler_type: clang13 | ||
is_linuxbrew: true | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: full | ||
tag: v20220913150519-ded72a9921-almalinux8-x86_64-clang13-linuxbrew-full-lto | ||
tag: v20220920000517-7f25c9789a-almalinux8-x86_64-clang13-linuxbrew-full-lto | ||
- os_type: almalinux8 | ||
architecture: x86_64 | ||
compiler_type: clang14 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220913150532-ded72a9921-almalinux8-x86_64-clang14 | ||
tag: v20220920000524-7f25c9789a-almalinux8-x86_64-clang14 | ||
- os_type: almalinux8 | ||
architecture: x86_64 | ||
compiler_type: clang14 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: full | ||
tag: v20220913150515-ded72a9921-almalinux8-x86_64-clang14-full-lto | ||
tag: v20220920000520-7f25c9789a-almalinux8-x86_64-clang14-full-lto | ||
- os_type: almalinux8 | ||
architecture: x86_64 | ||
compiler_type: clang14 | ||
is_linuxbrew: true | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220913150511-ded72a9921-almalinux8-x86_64-clang14-linuxbrew | ||
tag: v20220920000508-7f25c9789a-almalinux8-x86_64-clang14-linuxbrew | ||
- os_type: almalinux8 | ||
architecture: x86_64 | ||
compiler_type: clang14 | ||
is_linuxbrew: true | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: full | ||
tag: v20220913150523-ded72a9921-almalinux8-x86_64-clang14-linuxbrew-full-lto | ||
tag: v20220920000440-7f25c9789a-almalinux8-x86_64-clang14-linuxbrew-full-lto | ||
- os_type: almalinux8 | ||
architecture: x86_64 | ||
compiler_type: gcc11 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220913150541-ded72a9921-almalinux8-x86_64-gcc11 | ||
tag: v20220920000527-7f25c9789a-almalinux8-x86_64-gcc11 | ||
- os_type: centos7 | ||
architecture: x86_64 | ||
compiler_type: clang12 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220913150533-ded72a9921-centos7-x86_64-clang12 | ||
tag: v20220920000632-7f25c9789a-centos7-x86_64-clang12 | ||
- os_type: centos7 | ||
architecture: x86_64 | ||
compiler_type: clang13 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220913150546-ded72a9921-centos7-x86_64-clang13 | ||
tag: v20220920000458-7f25c9789a-centos7-x86_64-clang13 | ||
- os_type: centos7 | ||
architecture: x86_64 | ||
compiler_type: clang13 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: full | ||
tag: v20220913150620-ded72a9921-centos7-x86_64-clang13-full-lto | ||
tag: v20220920000543-7f25c9789a-centos7-x86_64-clang13-full-lto | ||
- os_type: centos7 | ||
architecture: x86_64 | ||
compiler_type: clang14 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220913150608-ded72a9921-centos7-x86_64-clang14 | ||
tag: v20220920000530-7f25c9789a-centos7-x86_64-clang14 | ||
- os_type: centos7 | ||
architecture: x86_64 | ||
compiler_type: clang14 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: full | ||
tag: v20220913150523-ded72a9921-centos7-x86_64-clang14-full-lto | ||
tag: v20220920000543-7f25c9789a-centos7-x86_64-clang14-full-lto | ||
- os_type: centos7 | ||
architecture: x86_64 | ||
compiler_type: gcc11 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220913150611-ded72a9921-centos7-x86_64-gcc11 | ||
tag: v20220920000610-7f25c9789a-centos7-x86_64-gcc11 | ||
- os_type: macos | ||
architecture: arm64 | ||
compiler_type: clang | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220915100628-ded72a9921-macos-arm64 | ||
tag: v20220921072723-7f25c9789a-macos-arm64 | ||
- os_type: macos | ||
architecture: x86_64 | ||
compiler_type: clang | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220913150512-ded72a9921-macos-x86_64 | ||
tag: v20220920000444-7f25c9789a-macos-x86_64 | ||
- os_type: ubuntu20.04 | ||
architecture: aarch64 | ||
compiler_type: clang12 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220913150559-ded72a9921-ubuntu2004-aarch64-clang12 | ||
tag: v20220920000448-7f25c9789a-ubuntu2004-aarch64-clang12 | ||
- os_type: ubuntu20.04 | ||
architecture: aarch64 | ||
compiler_type: clang12 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: full | ||
tag: v20220913150536-ded72a9921-ubuntu2004-aarch64-clang12-full-lto | ||
tag: v20220920000453-7f25c9789a-ubuntu2004-aarch64-clang12-full-lto | ||
- os_type: ubuntu20.04 | ||
architecture: x86_64 | ||
compiler_type: clang12 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220913150506-ded72a9921-ubuntu2004-x86_64-clang12 | ||
tag: v20220920000446-7f25c9789a-ubuntu2004-x86_64-clang12 | ||
- os_type: ubuntu20.04 | ||
architecture: x86_64 | ||
compiler_type: clang13 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220913150509-ded72a9921-ubuntu2004-x86_64-clang13 | ||
tag: v20220920000421-7f25c9789a-ubuntu2004-x86_64-clang13 | ||
- os_type: ubuntu20.04 | ||
architecture: x86_64 | ||
compiler_type: clang14 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220913150511-ded72a9921-ubuntu2004-x86_64-clang14 | ||
tag: v20220920000430-7f25c9789a-ubuntu2004-x86_64-clang14 | ||
- os_type: ubuntu22.04 | ||
architecture: x86_64 | ||
compiler_type: clang12 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220913150503-ded72a9921-ubuntu2204-x86_64-clang12 | ||
tag: v20220920000446-7f25c9789a-ubuntu2004-x86_64-clang12 | ||
- os_type: ubuntu22.04 | ||
architecture: x86_64 | ||
compiler_type: clang13 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220913150505-ded72a9921-ubuntu2204-x86_64-clang13 | ||
tag: v20220920000454-7f25c9789a-ubuntu2204-x86_64-clang13 | ||
- os_type: ubuntu22.04 | ||
architecture: x86_64 | ||
compiler_type: clang14 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220913150502-ded72a9921-ubuntu2204-x86_64-clang14 | ||
tag: v20220920000436-7f25c9789a-ubuntu2204-x86_64-clang14 | ||
- os_type: ubuntu22.04 | ||
architecture: x86_64 | ||
compiler_type: gcc11 | ||
is_linuxbrew: false | ||
sha: ded72a9921d08cdd9f802dbe3c9a0069da7402f0 | ||
sha: 7f25c9789abad31b4c22c7395879209cfb83d694 | ||
lto_type: | ||
tag: v20220913150504-ded72a9921-ubuntu2204-x86_64-gcc11 | ||
tag: v20220920000436-7f25c9789a-ubuntu2204-x86_64-gcc11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.