Chromedriver fails to link due to missing references to OCSPVerifyResult |
||
Issue descriptionAll Chromedriver bots are failing since yesterday evening Failure started from the builds :- https://build.chromium.org/p/chromium.chromedriver/builders/Linux/builds/20143 https://build.chromium.org/p/chromium.chromedriver/builders/Linux32/builds/19277 https://build.chromium.org/p/chromium.chromedriver/builders/Mac%2010.6/builds/8785 https://build.chromium.org/p/chromium.chromedriver/builders/Win7/builds/17224 [189/191] LINK chromedriver FAILED: chromedriver ../../third_party/llvm-build/Release+Asserts/bin/clang++ -Wl,-z,now -Wl,-z,relro -Wl,--fatal-warnings -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC -fuse-ld=gold -B/b/build/slave/Linux/build/src/third_party/binutils/Linux_x64/Release/bin -Wl,--disable-new-dtags -L. -L. -Wl,-uIsHeapProfilerRunning,-uProfilerStart -Wl,-u_Z21InitialMallocHook_NewPKvj,-u_Z22InitialMallocHook_MMapPKvS0_jiiix,-u_Z22InitialMallocHook_SbrkPKvi -Wl,-u_Z21InitialMallocHook_NewPKvm,-u_Z22InitialMallocHook_MMapPKvS0_miiil,-u_Z22InitialMallocHook_SbrkPKvl -Wl,-u_ZN15HeapLeakChecker12IgnoreObjectEPKv,-u_ZN15HeapLeakChecker14UnIgnoreObjectEPKv -m64 --sysroot=/b/build/slave/Linux/build/src/build/linux/debian_wheezy_amd64-sysroot -L/b/build/slave/Linux/build/src/build/linux/debian_wheezy_amd64-sysroot/lib/x86_64-linux-gnu -Wl,-rpath-link=/b/build/slave/Linux/build/src/build/linux/debian_wheezy_amd64-sysroot/lib/x86_64-linux-gnu -L/b/build/slave/Linux/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/x86_64-linux-gnu -Wl,-rpath-link=/b/build/slave/Linux/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/x86_64-linux-gnu -L/b/build/slave/Linux/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/4.6 -Wl,-rpath-link=/b/build/slave/Linux/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/4.6 -L/b/build/slave/Linux/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib -Wl,-rpath-link=/b/build/slave/Linux/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib -Wl,--threads -Wl,--thread-count=4 -Wl,--icf=all -fwhole-program-vtables -Wl,--plugin-opt,O1 -Wl,--plugin-opt,-function-sections -flto -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--no-as-needed -lpthread -Wl,--as-needed -o chromedriver -Wl,--start-group obj/chrome/test/chromedriver/server/chromedriver.chromedriver_server.o obj/chrome/libchromedriver_lib.a obj/chrome/libautomation_client_lib.a obj/base/libbase.a obj/base/allocator/liballocator.a obj/base/third_party/dynamic_annotations/libdynamic_annotations.a obj/base/libbase_static.a obj/third_party/modp_b64/libmodp_b64.a obj/base/libsymbolize.a obj/base/libxdg_mime.a obj/base/third_party/libevent/libevent.a obj/base/allocator/libunified_allocator_shim.a obj/net/libnet.a obj/url/liburl_lib.a obj/third_party/icu/libicui18n.a obj/third_party/icu/libicuuc.a obj/crypto/libcrcrypto.a obj/third_party/boringssl/libboringssl.a obj/third_party/boringssl/libboringssl_asm.a obj/sdch/libsdch.a obj/third_party/zlib/libchrome_zlib.a obj/third_party/zlib/libzlib_x86_simd.a obj/third_party/protobuf/libprotobuf_lite.a obj/net/libnet_quic_proto.a obj/base/libbase_i18n.a obj/third_party/brotli/libbrotli.a obj/build/linux/libgio.a obj/third_party/zlib/libminizip.a obj/ui/accessibility/libax_gen.a obj/tools/json_schema_compiler/libapi_gen_util.a obj/ui/base/libui_base.a obj/ui/base/libui_data_pack.a obj/skia/libskia_library.a obj/skia/libskia_opts.a obj/skia/libskia_opts_ssse3.a obj/skia/libskia_opts_sse41.a obj/skia/libskia_opts_sse42.a obj/skia/libskia_opts_avx.a obj/skia/libskia_opts_avx2.a obj/third_party/sfntly/libsfntly.a obj/skia/libskia_chrome.a obj/ui/display/libdisplay.a obj/ui/gfx/libgfx.a obj/third_party/harfbuzz-ng/libharfbuzz-ng.a obj/third_party/libpng/libpng.a obj/ui/gfx/libgfx_geometry.a obj/ui/gfx/libgfx_range.a obj/third_party/libjpeg_turbo/libjpeg_turbo.a obj/ui/gfx/x/libgfx_x11.a obj/ui/display/libdisplay_util.a obj/ui/events/platform/libevents_platform.a obj/ui/events/libevents.a obj/ui/events/libdom_keycode_converter.a obj/ui/events/libevents_base.a obj/ui/events/keycodes/libkeycodes_x11.a obj/ui/events/keycodes/libkeycodes_xkb.a obj/ui/events/libgesture_detection.a obj/ui/events/devices/libevents_devices.a obj/ui/events/devices/x11/libevents_devices_x11.a obj/ui/events/x/libevents_x.a obj/ui/events/platform/x11/libx11_events_platform.a obj/ui/base/x/libui_base_x.a obj/net/libhttp_server.a obj/third_party/zlib/google/libzip.a obj/ui/events/ozone/libevents_ozone_layout.a -Wl,--end-group -lrt -ldl -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lnss3 -lnssutil3 -lsmime3 -lplds4 -lplc4 -lnspr4 -lgconf-2 -lgio-2.0 -lresolv -lfontconfig -lfreetype -lexpat -lpangocairo-1.0 -lpango-1.0 -lcairo -lX11 -lXi -lXrandr -lXext -lXcursor -lXfixes -lXrender -lXss /tmp/lto-llvm-37d738.o:ld-temp.o:function net::SSLInfo::SSLInfo(): error: undefined reference to 'net::OCSPVerifyResult::OCSPVerifyResult()' /tmp/lto-llvm-37d738.o:ld-temp.o:function net::SSLInfo::Reset(): error: undefined reference to 'net::OCSPVerifyResult::OCSPVerifyResult()' /tmp/lto-llvm-37d738.o:ld-temp.o:function net::SSLInfo::Reset(): error: undefined reference to 'net::OCSPVerifyResult::~OCSPVerifyResult()' /tmp/lto-llvm-37d738.o:ld-temp.o:function net::SSLInfo::SSLInfo(net::SSLInfo const&): error: undefined reference to 'net::OCSPVerifyResult::OCSPVerifyResult()' /tmp/lto-llvm-37d738.o:ld-temp.o:function net::SSLInfo::~SSLInfo(): error: undefined reference to 'net::OCSPVerifyResult::~OCSPVerifyResult()' /tmp/lto-llvm-37d738.o:ld-temp.o:function net::CertVerifyProc::Verify(net::X509Certificate*, std::string const&, std::string const&, int, net::CRLSet*, std::vector<scoped_refptr<net::X509Certificate>, std::allocator<scoped_refptr<net::X509Certificate> > > const&, net::CertVerifyResult*): error: undefined reference to 'net::OCSPVerifyResult::OCSPVerifyResult()' /tmp/lto-llvm-37d738.o:ld-temp.o:function net::CertVerifyProc::Verify(net::X509Certificate*, std::string const&, std::string const&, int, net::CRLSet*, std::vector<scoped_refptr<net::X509Certificate>, std::allocator<scoped_refptr<net::X509Certificate> > > const&, net::CertVerifyResult*): error: undefined reference to 'net::OCSPVerifyResult::~OCSPVerifyResult()' /tmp/lto-llvm-37d738.o:ld-temp.o:function net::CertVerifyResult::Reset(): error: undefined reference to 'net::OCSPVerifyResult::~OCSPVerifyResult()' /tmp/lto-llvm-37d738.o:ld-temp.o:function net::CertVerifyResult::CertVerifyResult(net::CertVerifyResult const&): error: undefined reference to 'net::OCSPVerifyResult::OCSPVerifyResult(net::OCSPVerifyResult const&)' clang: error: linker command failed with exit code 1 (use -v to see invocation) [190/191] LINK chromedriver_tests FAILED: chromedriver_tests ../../third_party/llvm-build/Release+Asserts/bin/clang++ -Wl,-z,now -Wl,-z,relro -Wl,--fatal-warnings -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC -fuse-ld=gold -B/b/build/slave/Linux/build/src/third_party/binutils/Linux_x64/Release/bin -Wl,--disable-new-dtags -L. -L. -Wl,-uIsHeapProfilerRunning,-uProfilerStart -Wl,-u_Z21InitialMallocHook_NewPKvj,-u_Z22InitialMallocHook_MMapPKvS0_jiiix,-u_Z22InitialMallocHook_SbrkPKvi -Wl,-u_Z21InitialMallocHook_NewPKvm,-u_Z22InitialMallocHook_MMapPKvS0_miiil,-u_Z22InitialMallocHook_SbrkPKvl -Wl,-u_ZN15HeapLeakChecker12IgnoreObjectEPKv,-u_ZN15HeapLeakChecker14UnIgnoreObjectEPKv -m64 --sysroot=/b/build/slave/Linux/build/src/build/linux/debian_wheezy_amd64-sysroot -L/b/build/slave/Linux/build/src/build/linux/debian_wheezy_amd64-sysroot/lib/x86_64-linux-gnu -Wl,-rpath-link=/b/build/slave/Linux/build/src/build/linux/debian_wheezy_amd64-sysroot/lib/x86_64-linux-gnu -L/b/build/slave/Linux/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/x86_64-linux-gnu -Wl,-rpath-link=/b/build/slave/Linux/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/x86_64-linux-gnu -L/b/build/slave/Linux/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/4.6 -Wl,-rpath-link=/b/build/slave/Linux/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/4.6 -L/b/build/slave/Linux/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib -Wl,-rpath-link=/b/build/slave/Linux/build/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib -Wl,--threads -Wl,--thread-count=4 -Wl,--icf=all -fwhole-program-vtables -Wl,--plugin-opt,O1 -Wl,--plugin-opt,-function-sections -flto -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--no-as-needed -lpthread -Wl,--as-needed -o chromedriver_tests -Wl,--start-group obj/chrome/test/chromedriver/chromedriver_tests.key_converter_unittest.o obj/chrome/test/chromedriver/chromedriver_tests.keycode_text_conversion_unittest.o obj/chrome/test/chromedriver/net/chromedriver_tests.net_util_unittest.o obj/chrome/test/chromedriver/net/chromedriver_tests.port_server_unittest.o obj/chrome/test/chromedriver/net/chromedriver_tests.sync_websocket_impl_unittest.o obj/chrome/test/chromedriver/net/chromedriver_tests.test_http_server.o obj/chrome/test/chromedriver/net/chromedriver_tests.websocket_unittest.o obj/chrome/test/chromedriver/chromedriver_tests.test_util.o obj/chrome/libchromedriver_lib.a obj/base/libbase.a obj/base/librun_all_unittests.a obj/net/libhttp_server.a obj/net/libnet.a obj/testing/libgtest.a obj/url/liburl_lib.a obj/chrome/libautomation_client_lib.a obj/base/allocator/liballocator.a obj/base/third_party/dynamic_annotations/libdynamic_annotations.a obj/base/libbase_static.a obj/third_party/modp_b64/libmodp_b64.a obj/base/libsymbolize.a obj/base/libxdg_mime.a obj/base/third_party/libevent/libevent.a obj/base/allocator/libunified_allocator_shim.a obj/third_party/icu/libicui18n.a obj/third_party/icu/libicuuc.a obj/crypto/libcrcrypto.a obj/third_party/boringssl/libboringssl.a obj/third_party/boringssl/libboringssl_asm.a obj/sdch/libsdch.a obj/third_party/zlib/libchrome_zlib.a obj/third_party/zlib/libzlib_x86_simd.a obj/third_party/protobuf/libprotobuf_lite.a obj/net/libnet_quic_proto.a obj/base/libbase_i18n.a obj/third_party/brotli/libbrotli.a obj/build/linux/libgio.a obj/third_party/zlib/libminizip.a obj/ui/accessibility/libax_gen.a obj/tools/json_schema_compiler/libapi_gen_util.a obj/ui/base/libui_base.a obj/ui/base/libui_data_pack.a obj/skia/libskia_library.a obj/skia/libskia_opts.a obj/skia/libskia_opts_ssse3.a obj/skia/libskia_opts_sse41.a obj/skia/libskia_opts_sse42.a obj/skia/libskia_opts_avx.a obj/skia/libskia_opts_avx2.a obj/third_party/sfntly/libsfntly.a obj/skia/libskia_chrome.a obj/ui/display/libdisplay.a obj/ui/gfx/libgfx.a obj/third_party/harfbuzz-ng/libharfbuzz-ng.a obj/third_party/libpng/libpng.a obj/ui/gfx/libgfx_geometry.a obj/ui/gfx/libgfx_range.a obj/third_party/libjpeg_turbo/libjpeg_turbo.a obj/ui/gfx/x/libgfx_x11.a obj/ui/display/libdisplay_util.a obj/ui/events/platform/libevents_platform.a obj/ui/events/libevents.a obj/ui/events/libdom_keycode_converter.a obj/ui/events/libevents_base.a obj/ui/events/keycodes/libkeycodes_x11.a obj/ui/events/keycodes/libkeycodes_xkb.a obj/ui/events/libgesture_detection.a obj/ui/events/devices/libevents_devices.a obj/ui/events/devices/x11/libevents_devices_x11.a obj/ui/events/x/libevents_x.a obj/ui/events/platform/x11/libx11_events_platform.a obj/ui/base/x/libui_base_x.a obj/third_party/zlib/google/libzip.a obj/ui/events/ozone/libevents_ozone_layout.a obj/base/libtest_support_base.a obj/testing/libgmock.a obj/third_party/libxml/libxml2.a -Wl,--end-group -lrt -ldl -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lnss3 -lnssutil3 -lsmime3 -lplds4 -lplc4 -lnspr4 -lgconf-2 -lgio-2.0 -lresolv -lfontconfig -lfreetype -lexpat -lpangocairo-1.0 -lpango-1.0 -lcairo -lX11 -lXi -lXrandr -lXext -lXcursor -lXfixes -lXrender -lXss -lm /tmp/lto-llvm-d0fed2.o:ld-temp.o:function net::SSLInfo::SSLInfo(): error: undefined reference to 'net::OCSPVerifyResult::OCSPVerifyResult()' /tmp/lto-llvm-d0fed2.o:ld-temp.o:function net::SSLInfo::Reset(): error: undefined reference to 'net::OCSPVerifyResult::OCSPVerifyResult()' /tmp/lto-llvm-d0fed2.o:ld-temp.o:function net::SSLInfo::Reset(): error: undefined reference to 'net::OCSPVerifyResult::~OCSPVerifyResult()' /tmp/lto-llvm-d0fed2.o:ld-temp.o:function net::SSLInfo::SSLInfo(net::SSLInfo const&): error: undefined reference to 'net::OCSPVerifyResult::OCSPVerifyResult()' /tmp/lto-llvm-d0fed2.o:ld-temp.o:function net::SSLInfo::~SSLInfo(): error: undefined reference to 'net::OCSPVerifyResult::~OCSPVerifyResult()' /tmp/lto-llvm-d0fed2.o:ld-temp.o:function net::CertVerifyProc::Verify(net::X509Certificate*, std::string const&, std::string const&, int, net::CRLSet*, std::vector<scoped_refptr<net::X509Certificate>, std::allocator<scoped_refptr<net::X509Certificate> > > const&, net::CertVerifyResult*): error: undefined reference to 'net::OCSPVerifyResult::OCSPVerifyResult()' /tmp/lto-llvm-d0fed2.o:ld-temp.o:function net::CertVerifyProc::Verify(net::X509Certificate*, std::string const&, std::string const&, int, net::CRLSet*, std::vector<scoped_refptr<net::X509Certificate>, std::allocator<scoped_refptr<net::X509Certificate> > > const&, net::CertVerifyResult*): error: undefined reference to 'net::OCSPVerifyResult::~OCSPVerifyResult()' /tmp/lto-llvm-d0fed2.o:ld-temp.o:function net::CertVerifyResult::Reset(): error: undefined reference to 'net::OCSPVerifyResult::~OCSPVerifyResult()' /tmp/lto-llvm-d0fed2.o:ld-temp.o:function net::CertVerifyResult::CertVerifyResult(net::CertVerifyResult const&): error: undefined reference to 'net::OCSPVerifyResult::OCSPVerifyResult(net::OCSPVerifyResult const&)' clang: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed.
,
Jul 21 2016
If that's something that was newly added, you might be being affected by the fact that GYP doesn't run as part of `gclient runhooks` any more. If that's the case, you either need to invoke gyp_chromium directly as a step in the recipe, or set GYP_CHROMIUM_NO_ACTION=0 in the environment when calling runhooks, or switch to GN.
,
Jul 21 2016
I have no idea, perhaps there's an incomplete dependency somewhere? I've seen Linux mask issues like this before. I'm trying to chase down what exactly is being built here. Is your local machine running Linux?
,
Jul 21 2016
Yes, I'm running Linux. It looks like the GYP/GN change is now the problem - the compile step started failing in 20143 but we're no longer running gyp as of build 20183. I'll work on setting GYP_CHROMIUM_NO_ACTION, and then switching us over to GN. We've got a separate issue filed for this (https://bugs.chromium.org/p/chromedriver/issues/detail?id=1384) so I'm closing this one. |
||
►
Sign in to add a comment |
||
Comment 1 by samu...@chromium.org
, Jul 21 2016Status: Available (was: Untriaged)
Summary: Chromedriver fails to link due to missing references to OCSPVerifyResult (was: Chromedriver bots are failing at compile step)