bind_unittest_nc fails to compile |
|||
Issue descriptionIf I do "ninja build all", the bind NC test in my tree fails: gen/base/bind_unittest_nc.cc:24:2: error: "NCTEST_DISALLOW_ASSIGN_DIFFERENT_TYPES Failed: Compile timed out. Started 1528317476.947482 ended 1528317537.857620." #error "NCTEST_DISALLOW_ASSIGN_DIFFERENT_TYPES Failed: Compile timed out. Started 1528317476.947482 ended 1528317537.857620." ^ gen/base/bind_unittest_nc.cc:25:2: error: "compile line: /Volumes/src/chrome-git/src/tools/../third_party/llvm-build/Release+Asserts/bin/clang++ -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -std=c++14 -Wall -Werror -Wfatal-errors -Wthread-safety -I../../ --sysroot ../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -MMD -MF gen/base/bind_unittest_nc.cc.d -MT gen/base/bind_unittest_nc.cc -DNCTEST_DISALLOW_ASSIGN_DIFFERENT_TYPES -o /dev/null -c -x c++ ../../base/bind_unittest.nc" #error "compile line: /Volumes/src/chrome-git/src/tools/../third_party/llvm-build/Release+Asserts/bin/clang++ -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -std=c++14 -Wall -Werror -Wfatal-errors -Wthread-safety -I../../ --sysroot ../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -MMD -MF gen/base/bind_unittest_nc.cc.d -MT gen/base/bind_unittest_nc.cc -DNCTEST_DISALLOW_ASSIGN_DIFFERENT_TYPES -o /dev/null -c -x c++ ../../base/bind_unittest.nc" ^ gen/base/bind_unittest_nc.cc:35:2: error: "NCTEST_DISALLOW_CAPTURING_LAMBDA Failed: Compile timed out. Started 1528317477.348363 ended 1528317537.857620." #error "NCTEST_DISALLOW_CAPTURING_LAMBDA Failed: Compile timed out. Started 1528317477.348363 ended 1528317537.857620." ^ gen/base/bind_unittest_nc.cc:36:2: error: "compile line: /Volumes/src/chrome-git/src/tools/../third_party/llvm-build/Release+Asserts/bin/clang++ -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -std=c++14 -Wall -Werror -Wfatal-errors -Wthread-safety -I../../ --sysroot ../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -MMD -MF gen/base/bind_unittest_nc.cc.d -MT gen/base/bind_unittest_nc.cc -DNCTEST_DISALLOW_CAPTURING_LAMBDA -o /dev/null -c -x c++ ../../base/bind_unittest.nc" #error "compile line: /Volumes/src/chrome-git/src/tools/../third_party/llvm-build/Release+Asserts/bin/clang++ -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -std=c++14 -Wall -Werror -Wfatal-errors -Wthread-safety -I../../ --sysroot ../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -MMD -MF gen/base/bind_unittest_nc.cc.d -MT gen/base/bind_unittest_nc.cc -DNCTEST_DISALLOW_CAPTURING_LAMBDA -o /dev/null -c -x c++ ../../base/bind_unittest.nc" ^ gen/base/bind_unittest_nc.cc:42:2: error: "NCTEST_DISALLOW_ONCECALLBACK_RUN_ON_LVALUE Failed: Compile timed out. Started 1528317477.849658 ended 1528317537.857620." #error "NCTEST_DISALLOW_ONCECALLBACK_RUN_ON_LVALUE Failed: Compile timed out. Started 1528317477.849658 ended 1528317537.857620." ^ gen/base/bind_unittest_nc.cc:43:2: error: "compile line: /Volumes/src/chrome-git/src/tools/../third_party/llvm-build/Release+Asserts/bin/clang++ -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -std=c++14 -Wall -Werror -Wfatal-errors -Wthread-safety -I../../ --sysroot ../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -MMD -MF gen/base/bind_unittest_nc.cc.d -MT gen/base/bind_unittest_nc.cc -DNCTEST_DISALLOW_ONCECALLBACK_RUN_ON_LVALUE -o /dev/null -c -x c++ ../../base/bind_unittest.nc" #error "compile line: /Volumes/src/chrome-git/src/tools/../third_party/llvm-build/Release+Asserts/bin/clang++ -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -std=c++14 -Wall -Werror -Wfatal-errors -Wthread-safety -I../../ --sysroot ../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -MMD -MF gen/base/bind_unittest_nc.cc.d -MT gen/base/bind_unittest_nc.cc -DNCTEST_DISALLOW_ONCECALLBACK_RUN_ON_LVALUE -o /dev/null -c -x c++ ../../base/bind_unittest.nc" ^ gen/base/bind_unittest_nc.cc:59:2: error: "NCTEST_WEAKPTR_BIND_MUST_RETURN_VOID Failed: Compile timed out. Started 1528317476.501995 ended 1528317537.857620." #error "NCTEST_WEAKPTR_BIND_MUST_RETURN_VOID Failed: Compile timed out. Started 1528317476.501995 ended 1528317537.857620." ^ gen/base/bind_unittest_nc.cc:60:2: error: "compile line: /Volumes/src/chrome-git/src/tools/../third_party/llvm-build/Release+Asserts/bin/clang++ -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -std=c++14 -Wall -Werror -Wfatal-errors -Wthread-safety -I../../ --sysroot ../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -MMD -MF gen/base/bind_unittest_nc.cc.d -MT gen/base/bind_unittest_nc.cc -DNCTEST_WEAKPTR_BIND_MUST_RETURN_VOID -o /dev/null -c -x c++ ../../base/bind_unittest.nc" #error "compile line: /Volumes/src/chrome-git/src/tools/../third_party/llvm-build/Release+Asserts/bin/clang++ -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -std=c++14 -Wall -Werror -Wfatal-errors -Wthread-safety -I../../ --sysroot ../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -MMD -MF gen/base/bind_unittest_nc.cc.d -MT gen/base/bind_unittest_nc.cc -DNCTEST_WEAKPTR_BIND_MUST_RETURN_VOID -o /dev/null -c -x c++ ../../base/bind_unittest.nc" ^ 8 errors generated. Assigning to you, Nico. Probably not you but you'll know who should look at it.
,
Jun 11 2018
I always do "ninja -C out/debug all" all the time, as I do refactors and I want to make sure *everything* works. I've never had NC test issues before. This NC test failure issue is new the past week or two.
,
Jun 11 2018
The nc tests are covered by buildbots, but not all configurations. thakis@ is right on the maintenance issue. Since it's one of its kind, it does cause some issues from time to time. Call me a hoarder, but I'm a bit reluctant to let go this, given this is the first incident in 2018. Is this Mac only? I couldn't repro on linux.
,
Jun 12 2018
I just gave it a try on my Macbook, but couldn't reproduce it. Is this timeout a flaky failure? Could it be that your machine was overloaded or thrashing so that the compilation couldn't finish within the 60s timeout?
,
Jun 12 2018
It's consistently that one file. No other file has an issue. I'll try a clean build tomorrow.
,
Jun 12 2018
This has gone away after a clean build. |
|||
►
Sign in to add a comment |
|||
Comment 1 by thakis@chromium.org
, Jun 11 2018Components: Build
Owner: ----
Status: Untriaged (was: Assigned)