The whole AdminService class is of questionable quality, if it's easier to rewrite it that's ok too.
=================================================================
==17681==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 240 byte(s) in 12 object(s) allocated from:
#0 0x4cf5bd in strdup /build/llvm-toolchain-7-ZvxGT8/llvm-toolchain-7-7.0.1/projects/compiler-rt/lib/asan/asan_interceptors.cc:447:3
#1 0x7f37c0f72989 in stratum::hal::AdminService::ValidatePackageMessage(gnoi::system::Package const&) /proc/self/cwd/stratum/hal/lib/common/admin_service.cc:185:27
#2 0x7f37c0f7321a in stratum::hal::AdminService::SetPackage(grpc::ServerContext*, grpc::ServerReader<gnoi::system::SetPackageRequest>*, gnoi::system::SetPackageResponse*) /proc/self/cwd/stratum/hal/lib/common/admin_service.cc:215:17
#3 0x7f37c0d22af6 in grpc::Status std::__invoke_impl<grpc::Status, grpc::Status (gnoi::system::System::Service::* const&)(grpc::ServerContext*, grpc::ServerReader<gnoi::system::SetPackageRequest>*, gnoi::system::SetPackageResponse*), gnoi::system::System::Service*, grpc::ServerContext*, grpc::ServerReader<gnoi::system::SetPackageRequest>*, gnoi::system::SetPackageResponse*>(std::__invoke_memfun_deref, grpc::Status (gnoi::system::System::Service::* const&)(grpc::ServerContext*, grpc::ServerReader<gnoi::system::SetPackageRequest>*, gnoi::system::SetPackageResponse*), gnoi::system::System::Service*&&, grpc::ServerContext*&&, grpc::ServerReader<gnoi::system::SetPackageRequest>*&&, gnoi::system::SetPackageResponse*&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/functional:227:14
#4 0x7f37c0d229be in std::result_of<grpc::Status (gnoi::system::System::Service::* const& (gnoi::system::System::Service*&&, grpc::ServerContext*&&, grpc::ServerReader<gnoi::system::SetPackageRequest>*&&, gnoi::system::SetPackageResponse*&&))(grpc::ServerContext*, grpc::ServerReader<gnoi::system::SetPackageRequest>*, gnoi::system::SetPackageResponse*)>::type std::__invoke<grpc::Status (gnoi::system::System::Service::* const&)(grpc::ServerContext*, grpc::ServerReader<gnoi::system::SetPackageRequest>*, gnoi::system::SetPackageResponse*), gnoi::system::System::Service*, grpc::ServerContext*, grpc::ServerReader<gnoi::system::SetPackageRequest>*, gnoi::system::SetPackageResponse*>(grpc::Status (gnoi::system::System::Service::* const&)(grpc::ServerContext*, grpc::ServerReader<gnoi::system::SetPackageRequest>*, gnoi::system::SetPackageResponse*), gnoi::system::System::Service*&&, grpc::ServerContext*&&, grpc::ServerReader<gnoi::system::SetPackageRequest>*&&, gnoi::system::SetPackageResponse*&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/functional:250:14
#5 0x7f37c0d228f3 in _ZNKSt12_Mem_fn_baseIMN4gnoi6system6System7ServiceEFN4grpc6StatusEPNS4_13ServerContextEPNS4_12ServerReaderINS1_17SetPackageRequestEEEPNS1_18SetPackageResponseEELb1EEclIJPS3_S7_SB_SD_EEEDTclsr3stdE8__invokedtdefpT6_M_pmfspclsr3stdE7forwardIT_Efp_EEEDpOSJ_ /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/functional:604:11
#6 0x7f37c0d2277e in std::_Function_handler<grpc::Status (gnoi::system::System::Service*, grpc::ServerContext*, grpc::ServerReader<gnoi::system::SetPackageRequest>*, gnoi::system::SetPackageResponse*), std::_Mem_fn<grpc::Status (gnoi::system::System::Service::*)(grpc::ServerContext*, grpc::ServerReader<gnoi::system::SetPackageRequest>*, gnoi::system::SetPackageResponse*)> >::_M_invoke(std::_Any_data const&, gnoi::system::System::Service*&&, grpc::ServerContext*&&, grpc::ServerReader<gnoi::system::SetPackageRequest>*&&, gnoi::system::SetPackageResponse*&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/functional:1716:9
#7 0x7f37c0d25f5e in std::function<grpc::Status (gnoi::system::System::Service*, grpc::ServerContext*, grpc::ServerReader<gnoi::system::SetPackageRequest>*, gnoi::system::SetPackageResponse*)>::operator()(gnoi::system::System::Service*, grpc::ServerContext*, grpc::ServerReader<gnoi::system::SetPackageRequest>*, gnoi::system::SetPackageResponse*) const /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/functional:2127:14
#8 0x7f37c0d25d53 in grpc::internal::ClientStreamingHandler<gnoi::system::System::Service, gnoi::system::SetPackageRequest, gnoi::system::SetPackageResponse>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&)::'lambda'()::operator()() const /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/method_handler_impl.h:128:14
#9 0x7f37c0d234b3 in grpc::Status grpc::internal::CatchingFunctionHandler<grpc::internal::ClientStreamingHandler<gnoi::system::System::Service, gnoi::system::SetPackageRequest, gnoi::system::SetPackageResponse>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&)::'lambda'()>(grpc::internal::ClientStreamingHandler<gnoi::system::System::Service, gnoi::system::SetPackageRequest, gnoi::system::SetPackageResponse>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&)::'lambda'()&&) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/method_handler_impl.h:42:12
#10 0x7f37c0d22f74 in grpc::internal::ClientStreamingHandler<gnoi::system::System::Service, gnoi::system::SetPackageRequest, gnoi::system::SetPackageResponse>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/method_handler_impl.h:127:21
#11 0x7f37bfe58322 in grpc_impl::Server::SyncRequest::CallData::ContinueRunAfterInterception() /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/server/server_cc.cc:479:18
#12 0x7f37bfe57c79 in grpc_impl::Server::SyncRequest::CallData::Run(std::shared_ptr<grpc_impl::Server::GlobalCallbacks> const&, bool) /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/server/server_cc.cc:466:9
#13 0x7f37bfe6faf1 in grpc::ThreadManager::MainWorkLoop() /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/thread_manager/thread_manager.cc:200:9
#14 0x7f37bfe6f7b1 in grpc::ThreadManager::WorkerThread::Run() /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/thread_manager/thread_manager.cc:42:13
#15 0x7f37bf127b5c in grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::operator()(void*) const /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gprpp/thd_posix.cc:114:27
#16 0x7f37bf1278f8 in grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::__invoke(void*) /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gprpp/thd_posix.cc:84:25
#17 0x7f37be0734a3 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x74a3)
Indirect leak of 21813 byte(s) in 3 object(s) allocated from:
#0 0x4e4943 in malloc /build/llvm-toolchain-7-ZvxGT8/llvm-toolchain-7-7.0.1/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f37bf11e9ce in gpr_malloc /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gpr/alloc.cc:57:7
#2 0x7f37bf11ea7d in gpr_malloc_aligned /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gpr/alloc.cc:93:13
#3 0x7f37bf124d9b in grpc_core::Arena::CreateWithAlloc(unsigned long, unsigned long) /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gprpp/arena.cc:72:12
#4 0x7f37bf240a9a in grpc_call_create(grpc_call_create_args const*, grpc_call**) /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/surface/call.cc:338:7
#5 0x7f37bf24df51 in grpc_channel_create_call_internal(grpc_channel*, grpc_call*, unsigned int, grpc_completion_queue*, grpc_pollset_set*, grpc_mdelem, grpc_mdelem, long) /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/surface/channel.cc:337:3
#6 0x7f37bf24e825 in grpc_channel_create_registered_call /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/surface/channel.cc:416:21
#7 0x7f37bfde7bcb in grpc_impl::Channel::CreateCallInternal(grpc::internal::RpcMethod const&, grpc::ClientContext*, grpc_impl::CompletionQueue*, unsigned long) /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/channel_cc.cc:117:14
#8 0x7f37bfde80a0 in grpc_impl::Channel::CreateCall(grpc::internal::RpcMethod const&, grpc::ClientContext*, grpc_impl::CompletionQueue*) /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/channel_cc.cc:160:10
#9 0x7f37c0d009b1 in grpc::internal::BlockingUnaryCallImpl<gnoi::system::RebootRequest, gnoi::system::RebootResponse>::BlockingUnaryCallImpl(grpc::ChannelInterface*, grpc::internal::RpcMethod const&, grpc::ClientContext*, gnoi::system::RebootRequest const&, gnoi::system::RebootResponse*) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/client_unary_call.h:53:24
#10 0x7f37c0cbbddf in grpc::Status grpc::internal::BlockingUnaryCall<gnoi::system::RebootRequest, gnoi::system::RebootResponse>(grpc::ChannelInterface*, grpc::internal::RpcMethod const&, grpc::ClientContext*, gnoi::system::RebootRequest const&, gnoi::system::RebootResponse*) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/client_unary_call.h:39:10
#11 0x7f37c0cb5a70 in gnoi::system::System::Stub::Reboot(grpc::ClientContext*, gnoi::system::RebootRequest const&, gnoi::system::RebootResponse*) /proc/self/cwd/bazel-out/k8-fastbuild/genfiles/external/com_github_openconfig_gnoi/gnoi/system/system.grpc.pb.cc:155:10
#12 0x5161dd in stratum::hal::AdminServiceTest_CancelReboot_Test::TestBody() /proc/self/cwd/stratum/hal/lib/common/admin_service_test.cc:173:34
#13 0x7f37bf0581b7 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#14 0x7f37bf03a394 in testing::Test::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2522:5
#15 0x7f37bf03b227 in testing::TestInfo::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2698:11
#16 0x7f37bf03bb91 in testing::TestSuite::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2828:28
#17 0x7f37bf04cbf2 in testing::internal::UnitTestImpl::RunAllTests() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:5285:44
#18 0x7f37bf05b567 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#19 0x7f37bf04c4a2 in testing::UnitTest::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:4873:10
#20 0x7f37bff8f44e in main /proc/self/cwd/stratum/hal/lib/common/test_main.cc:40:16
#21 0x7f37bd0422e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
Indirect leak of 21813 byte(s) in 3 object(s) allocated from:
#0 0x4e4943 in malloc /build/llvm-toolchain-7-ZvxGT8/llvm-toolchain-7-7.0.1/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f37bf11e9ce in gpr_malloc /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gpr/alloc.cc:57:7
#2 0x7f37bf11ea7d in gpr_malloc_aligned /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gpr/alloc.cc:93:13
#3 0x7f37bf124d9b in grpc_core::Arena::CreateWithAlloc(unsigned long, unsigned long) /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gprpp/arena.cc:72:12
#4 0x7f37bf240a9a in grpc_call_create(grpc_call_create_args const*, grpc_call**) /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/surface/call.cc:338:7
#5 0x7f37bf24df51 in grpc_channel_create_call_internal(grpc_channel*, grpc_call*, unsigned int, grpc_completion_queue*, grpc_pollset_set*, grpc_mdelem, grpc_mdelem, long) /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/surface/channel.cc:337:3
#6 0x7f37bf24e825 in grpc_channel_create_registered_call /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/surface/channel.cc:416:21
#7 0x7f37bfde7bcb in grpc_impl::Channel::CreateCallInternal(grpc::internal::RpcMethod const&, grpc::ClientContext*, grpc_impl::CompletionQueue*, unsigned long) /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/channel_cc.cc:117:14
#8 0x7f37bfde80a0 in grpc_impl::Channel::CreateCall(grpc::internal::RpcMethod const&, grpc::ClientContext*, grpc_impl::CompletionQueue*) /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/channel_cc.cc:160:10
#9 0x7f37c0d0ee11 in grpc::internal::BlockingUnaryCallImpl<gnoi::system::CancelRebootRequest, gnoi::system::CancelRebootResponse>::BlockingUnaryCallImpl(grpc::ChannelInterface*, grpc::internal::RpcMethod const&, grpc::ClientContext*, gnoi::system::CancelRebootRequest const&, gnoi::system::CancelRebootResponse*) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/client_unary_call.h:53:24
#10 0x7f37c0cbddff in grpc::Status grpc::internal::BlockingUnaryCall<gnoi::system::CancelRebootRequest, gnoi::system::CancelRebootResponse>(grpc::ChannelInterface*, grpc::internal::RpcMethod const&, grpc::ClientContext*, gnoi::system::CancelRebootRequest const&, gnoi::system::CancelRebootResponse*) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/client_unary_call.h:39:10
#11 0x7f37c0cb6730 in gnoi::system::System::Stub::CancelReboot(grpc::ClientContext*, gnoi::system::CancelRebootRequest const&, gnoi::system::CancelRebootResponse*) /proc/self/cwd/bazel-out/k8-fastbuild/genfiles/external/com_github_openconfig_gnoi/gnoi/system/system.grpc.pb.cc:211:10
#12 0x51639e in stratum::hal::AdminServiceTest_CancelReboot_Test::TestBody() /proc/self/cwd/stratum/hal/lib/common/admin_service_test.cc:180:19
#13 0x7f37bf0581b7 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#14 0x7f37bf03a394 in testing::Test::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2522:5
#15 0x7f37bf03b227 in testing::TestInfo::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2698:11
#16 0x7f37bf03bb91 in testing::TestSuite::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2828:28
#17 0x7f37bf04cbf2 in testing::internal::UnitTestImpl::RunAllTests() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:5285:44
#18 0x7f37bf05b567 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#19 0x7f37bf04c4a2 in testing::UnitTest::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:4873:10
#20 0x7f37bff8f44e in main /proc/self/cwd/stratum/hal/lib/common/test_main.cc:40:16
#21 0x7f37bd0422e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
Indirect leak of 21621 byte(s) in 3 object(s) allocated from:
#0 0x4e4943 in malloc /build/llvm-toolchain-7-ZvxGT8/llvm-toolchain-7-7.0.1/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f37bf11e9ce in gpr_malloc /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gpr/alloc.cc:57:7
#2 0x7f37bf11ea7d in gpr_malloc_aligned /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gpr/alloc.cc:93:13
#3 0x7f37bf124edb in grpc_core::Arena::AllocZone(unsigned long) /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gprpp/arena.cc:93:18
#4 0x7f37bf983045 in grpc_core::ConnectedSubchannel::CreateCall(grpc_core::ConnectedSubchannel::CallArgs const&, grpc_error**) /proc/self/cwd/external/com_github_grpc_grpc/src/core/ext/filters/client_channel/subchannel.cc:124:24
#5 0x7f37bf94bd1a in grpc_core::(anonymous namespace)::CallData::CreateSubchannelCall(grpc_call_element*) /proc/self/cwd/external/com_github_grpc_grpc/src/core/ext/filters/client_channel/client_channel.cc:3142:40
#6 0x7f37bf200e8b in exec_ctx_run(grpc_closure*, grpc_error*) /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/iomgr/exec_ctx.cc:40:3
#7 0x7f37bf200c9a in grpc_core::ExecCtx::Flush() /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/iomgr/exec_ctx.cc:148:9
#8 0x7f37bfe1046b in grpc_core::ExecCtx::~ExecCtx() /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/iomgr/exec_ctx.h:121:5
#9 0x7f37bf24348d in grpc_call_start_batch /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/surface/call.cc:1924:3
#10 0x7f37c0d0fe1e in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<gnoi::system::CancelRebootResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::ContinueFillOpsAfterInterception() /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/call_op_set.h:940:5
#11 0x7f37c0d0ef29 in grpc::internal::BlockingUnaryCallImpl<gnoi::system::CancelRebootRequest, gnoi::system::CancelRebootResponse>::BlockingUnaryCallImpl(grpc::ChannelInterface*, grpc::internal::RpcMethod const&, grpc::ClientContext*, gnoi::system::CancelRebootRequest const&, gnoi::system::CancelRebootResponse*) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/client_unary_call.h:69:10
#12 0x7f37c0cbddff in grpc::Status grpc::internal::BlockingUnaryCall<gnoi::system::CancelRebootRequest, gnoi::system::CancelRebootResponse>(grpc::ChannelInterface*, grpc::internal::RpcMethod const&, grpc::ClientContext*, gnoi::system::CancelRebootRequest const&, gnoi::system::CancelRebootResponse*) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/client_unary_call.h:39:10
#13 0x7f37c0cb6730 in gnoi::system::System::Stub::CancelReboot(grpc::ClientContext*, gnoi::system::CancelRebootRequest const&, gnoi::system::CancelRebootResponse*) /proc/self/cwd/bazel-out/k8-fastbuild/genfiles/external/com_github_openconfig_gnoi/gnoi/system/system.grpc.pb.cc:211:10
#14 0x51639e in stratum::hal::AdminServiceTest_CancelReboot_Test::TestBody() /proc/self/cwd/stratum/hal/lib/common/admin_service_test.cc:180:19
#15 0x7f37bf0581b7 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#16 0x7f37bf03a394 in testing::Test::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2522:5
#17 0x7f37bf03b227 in testing::TestInfo::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2698:11
#18 0x7f37bf03bb91 in testing::TestSuite::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2828:28
#19 0x7f37bf04cbf2 in testing::internal::UnitTestImpl::RunAllTests() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:5285:44
#20 0x7f37bf05b567 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#21 0x7f37bf04c4a2 in testing::UnitTest::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:4873:10
#22 0x7f37bff8f44e in main /proc/self/cwd/stratum/hal/lib/common/test_main.cc:40:16
#23 0x7f37bd0422e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
Indirect leak of 21621 byte(s) in 3 object(s) allocated from:
#0 0x4e4943 in malloc /build/llvm-toolchain-7-ZvxGT8/llvm-toolchain-7-7.0.1/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f37bf11e9ce in gpr_malloc /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gpr/alloc.cc:57:7
#2 0x7f37bf11ea7d in gpr_malloc_aligned /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gpr/alloc.cc:93:13
#3 0x7f37bf124edb in grpc_core::Arena::AllocZone(unsigned long) /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gprpp/arena.cc:93:18
#4 0x7f37bf983045 in grpc_core::ConnectedSubchannel::CreateCall(grpc_core::ConnectedSubchannel::CallArgs const&, grpc_error**) /proc/self/cwd/external/com_github_grpc_grpc/src/core/ext/filters/client_channel/subchannel.cc:124:24
#5 0x7f37bf94bd1a in grpc_core::(anonymous namespace)::CallData::CreateSubchannelCall(grpc_call_element*) /proc/self/cwd/external/com_github_grpc_grpc/src/core/ext/filters/client_channel/client_channel.cc:3142:40
#6 0x7f37bf200e8b in exec_ctx_run(grpc_closure*, grpc_error*) /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/iomgr/exec_ctx.cc:40:3
#7 0x7f37bf200c9a in grpc_core::ExecCtx::Flush() /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/iomgr/exec_ctx.cc:148:9
#8 0x7f37bf1f2bc2 in pollset_work(grpc_pollset*, grpc_pollset_worker**, long) /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/iomgr/ev_epollex_linux.cc:1151:34
#9 0x7f37bf200159 in pollset_work(grpc_pollset*, grpc_pollset_worker**, long) /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/iomgr/ev_posix.cc:322:21
#10 0x7f37bf25370b in cq_pluck(grpc_completion_queue*, void*, gpr_timespec, void*) /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/surface/completion_queue.cc:1273:9
#11 0x7f37c0f78424 in grpc_impl::CompletionQueue::Pluck(grpc::internal::CompletionQueueTag*) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/completion_queue_impl.h:316:51
#12 0x7f37c0d00ad5 in grpc::internal::BlockingUnaryCallImpl<gnoi::system::RebootRequest, gnoi::system::RebootResponse>::BlockingUnaryCallImpl(grpc::ChannelInterface*, grpc::internal::RpcMethod const&, grpc::ClientContext*, gnoi::system::RebootRequest const&, gnoi::system::RebootResponse*) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/client_unary_call.h:70:8
#13 0x7f37c0cbbddf in grpc::Status grpc::internal::BlockingUnaryCall<gnoi::system::RebootRequest, gnoi::system::RebootResponse>(grpc::ChannelInterface*, grpc::internal::RpcMethod const&, grpc::ClientContext*, gnoi::system::RebootRequest const&, gnoi::system::RebootResponse*) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/client_unary_call.h:39:10
#14 0x7f37c0cb5a70 in gnoi::system::System::Stub::Reboot(grpc::ClientContext*, gnoi::system::RebootRequest const&, gnoi::system::RebootResponse*) /proc/self/cwd/bazel-out/k8-fastbuild/genfiles/external/com_github_openconfig_gnoi/gnoi/system/system.grpc.pb.cc:155:10
#15 0x5161dd in stratum::hal::AdminServiceTest_CancelReboot_Test::TestBody() /proc/self/cwd/stratum/hal/lib/common/admin_service_test.cc:173:34
#16 0x7f37bf0581b7 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#17 0x7f37bf03a394 in testing::Test::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2522:5
#18 0x7f37bf03b227 in testing::TestInfo::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2698:11
#19 0x7f37bf03bb91 in testing::TestSuite::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2828:28
#20 0x7f37bf04cbf2 in testing::internal::UnitTestImpl::RunAllTests() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:5285:44
#21 0x7f37bf05b567 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#22 0x7f37bf04c4a2 in testing::UnitTest::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:4873:10
#23 0x7f37bff8f44e in main /proc/self/cwd/stratum/hal/lib/common/test_main.cc:40:16
#24 0x7f37bd0422e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
Indirect leak of 3072 byte(s) in 6 object(s) allocated from:
#0 0x4e4943 in malloc /build/llvm-toolchain-7-ZvxGT8/llvm-toolchain-7-7.0.1/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f37bda757a7 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x8f7a7)
#2 0x7f37bf0581b7 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#3 0x7f37bf03a394 in testing::Test::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2522:5
#4 0x7f37bf03b227 in testing::TestInfo::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2698:11
#5 0x7f37bf03bb91 in testing::TestSuite::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2828:28
#6 0x7f37bf04cbf2 in testing::internal::UnitTestImpl::RunAllTests() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:5285:44
#7 0x7f37bf05b567 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#8 0x7f37bf04c4a2 in testing::UnitTest::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:4873:10
#9 0x7f37bff8f44e in main /proc/self/cwd/stratum/hal/lib/common/test_main.cc:40:16
#10 0x7f37bd0422e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
Indirect leak of 1272 byte(s) in 3 object(s) allocated from:
#0 0x4e4b3a in calloc /build/llvm-toolchain-7-ZvxGT8/llvm-toolchain-7-7.0.1/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:155:3
#1 0x7f37bf11e9fe in gpr_zalloc /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gpr/alloc.cc:68:7
#2 0x7f37bf250c69 in grpc_completion_queue_create_internal(grpc_cq_completion_type, grpc_cq_polling_type, grpc_experimental_completion_queue_functor*) /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/surface/completion_queue.cc:516:7
#3 0x7f37c0cc3e9c in grpc_impl::CompletionQueue::CompletionQueue(grpc_completion_queue_attributes const&) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/completion_queue_impl.h:248:45
#4 0x7f37c0d0eda7 in grpc::internal::BlockingUnaryCallImpl<gnoi::system::CancelRebootRequest, gnoi::system::CancelRebootResponse>::BlockingUnaryCallImpl(grpc::ChannelInterface*, grpc::internal::RpcMethod const&, grpc::ClientContext*, gnoi::system::CancelRebootRequest const&, gnoi::system::CancelRebootResponse*) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/client_unary_call.h:50:21
#5 0x7f37c0cbddff in grpc::Status grpc::internal::BlockingUnaryCall<gnoi::system::CancelRebootRequest, gnoi::system::CancelRebootResponse>(grpc::ChannelInterface*, grpc::internal::RpcMethod const&, grpc::ClientContext*, gnoi::system::CancelRebootRequest const&, gnoi::system::CancelRebootResponse*) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/client_unary_call.h:39:10
#6 0x7f37c0cb6730 in gnoi::system::System::Stub::CancelReboot(grpc::ClientContext*, gnoi::system::CancelRebootRequest const&, gnoi::system::CancelRebootResponse*) /proc/self/cwd/bazel-out/k8-fastbuild/genfiles/external/com_github_openconfig_gnoi/gnoi/system/system.grpc.pb.cc:211:10
#7 0x51639e in stratum::hal::AdminServiceTest_CancelReboot_Test::TestBody() /proc/self/cwd/stratum/hal/lib/common/admin_service_test.cc:180:19
#8 0x7f37bf0581b7 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#9 0x7f37bf03a394 in testing::Test::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2522:5
#10 0x7f37bf03b227 in testing::TestInfo::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2698:11
#11 0x7f37bf03bb91 in testing::TestSuite::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2828:28
#12 0x7f37bf04cbf2 in testing::internal::UnitTestImpl::RunAllTests() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:5285:44
#13 0x7f37bf05b567 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#14 0x7f37bf04c4a2 in testing::UnitTest::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:4873:10
#15 0x7f37bff8f44e in main /proc/self/cwd/stratum/hal/lib/common/test_main.cc:40:16
#16 0x7f37bd0422e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
Indirect leak of 504 byte(s) in 3 object(s) allocated from:
#0 0x4e4943 in malloc /build/llvm-toolchain-7-ZvxGT8/llvm-toolchain-7-7.0.1/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f37bda757a7 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x8f7a7)
#2 0x7f37bfefa206 in grpc_impl::(anonymous namespace)::InsecureChannelCredentialsImpl::CreateChannelWithInterceptors(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, grpc_impl::ChannelArguments const&, std::vector<std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface, std::default_delete<grpc::experimental::ClientInterceptorFactoryInterface> >, std::allocator<std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface, std::default_delete<grpc::experimental::ClientInterceptorFactoryInterface> > > >) /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/insecure_credentials.cc:49:12
#3 0x7f37bfef9fa0 in grpc_impl::(anonymous namespace)::InsecureChannelCredentialsImpl::CreateChannelImpl(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, grpc_impl::ChannelArguments const&) /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/insecure_credentials.cc:36:12
#4 0x7f37bfdf1ad7 in grpc_impl::CreateCustomChannelImpl(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<grpc_impl::ChannelCredentials> const&, grpc_impl::ChannelArguments const&) /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/create_channel.cc:42:25
#5 0x7f37bfdf18a2 in grpc_impl::CreateChannelImpl(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<grpc_impl::ChannelCredentials> const&) /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/create_channel.cc:33:10
#6 0x522a4d in grpc::CreateChannel(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<grpc_impl::ChannelCredentials> const&) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/create_channel.h:30:10
#7 0x52daa4 in stratum::hal::AdminServiceTest::SetUp() /proc/self/cwd/stratum/hal/lib/common/admin_service_test.cc:85:9
#8 0x7f37bf0581b7 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#9 0x7f37bf03a330 in testing::Test::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2517:3
#10 0x7f37bf03b227 in testing::TestInfo::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2698:11
#11 0x7f37bf03bb91 in testing::TestSuite::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2828:28
#12 0x7f37bf04cbf2 in testing::internal::UnitTestImpl::RunAllTests() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:5285:44
#13 0x7f37bf05b567 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#14 0x7f37bf04c4a2 in testing::UnitTest::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:4873:10
#15 0x7f37bff8f44e in main /proc/self/cwd/stratum/hal/lib/common/test_main.cc:40:16
#16 0x7f37bd0422e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
Indirect leak of 264 byte(s) in 3 object(s) allocated from:
#0 0x4e4943 in malloc /build/llvm-toolchain-7-ZvxGT8/llvm-toolchain-7-7.0.1/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f37bf11e9ce in gpr_malloc /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gpr/alloc.cc:57:7
#2 0x7f37bf94c203 in grpc_core::(anonymous namespace)::CallData::QueuedPickCanceller* grpc_core::New<grpc_core::(anonymous namespace)::CallData::QueuedPickCanceller, grpc_call_element*&>(grpc_call_element*&) /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gprpp/memory.h:46:13
#3 0x7f37bf94b19b in grpc_core::(anonymous namespace)::CallData::AddCallToQueuedPicksLocked(grpc_call_element*) /proc/self/cwd/external/com_github_grpc_grpc/src/core/ext/filters/client_channel/client_channel.cc:3236:21
#4 0x7f37bf943d33 in grpc_core::(anonymous namespace)::CallData::StartPickLocked(void*, grpc_error*) /proc/self/cwd/external/com_github_grpc_grpc/src/core/ext/filters/client_channel/client_channel.cc:3394:40
#5 0x7f37bf1e5fe1 in grpc_combiner_continue_exec_ctx() /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/iomgr/combiner.cc:268:5
#6 0x7f37bf200c20 in grpc_core::ExecCtx::Flush() /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/iomgr/exec_ctx.cc:151:17
#7 0x7f37bfe1046b in grpc_core::ExecCtx::~ExecCtx() /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/iomgr/exec_ctx.h:121:5
#8 0x7f37bf24348d in grpc_call_start_batch /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/surface/call.cc:1924:3
#9 0x7f37c0d019be in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<gnoi::system::RebootResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::ContinueFillOpsAfterInterception() /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/call_op_set.h:940:5
#10 0x7f37c0d00ac9 in grpc::internal::BlockingUnaryCallImpl<gnoi::system::RebootRequest, gnoi::system::RebootResponse>::BlockingUnaryCallImpl(grpc::ChannelInterface*, grpc::internal::RpcMethod const&, grpc::ClientContext*, gnoi::system::RebootRequest const&, gnoi::system::RebootResponse*) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/client_unary_call.h:69:10
#11 0x7f37c0cbbddf in grpc::Status grpc::internal::BlockingUnaryCall<gnoi::system::RebootRequest, gnoi::system::RebootResponse>(grpc::ChannelInterface*, grpc::internal::RpcMethod const&, grpc::ClientContext*, gnoi::system::RebootRequest const&, gnoi::system::RebootResponse*) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/client_unary_call.h:39:10
#12 0x7f37c0cb5a70 in gnoi::system::System::Stub::Reboot(grpc::ClientContext*, gnoi::system::RebootRequest const&, gnoi::system::RebootResponse*) /proc/self/cwd/bazel-out/k8-fastbuild/genfiles/external/com_github_openconfig_gnoi/gnoi/system/system.grpc.pb.cc:155:10
#13 0x5161dd in stratum::hal::AdminServiceTest_CancelReboot_Test::TestBody() /proc/self/cwd/stratum/hal/lib/common/admin_service_test.cc:173:34
#14 0x7f37bf0581b7 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#15 0x7f37bf03a394 in testing::Test::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2522:5
#16 0x7f37bf03b227 in testing::TestInfo::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2698:11
#17 0x7f37bf03bb91 in testing::TestSuite::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2828:28
#18 0x7f37bf04cbf2 in testing::internal::UnitTestImpl::RunAllTests() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:5285:44
#19 0x7f37bf05b567 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#20 0x7f37bf04c4a2 in testing::UnitTest::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:4873:10
#21 0x7f37bff8f44e in main /proc/self/cwd/stratum/hal/lib/common/test_main.cc:40:16
#22 0x7f37bd0422e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
Indirect leak of 96 byte(s) in 3 object(s) allocated from:
#0 0x4e4d62 in realloc /build/llvm-toolchain-7-ZvxGT8/llvm-toolchain-7-7.0.1/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:165:3
#1 0x7f37bf11ea47 in gpr_realloc /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gpr/alloc.cc:83:7
#2 0x7f37bf2510f2 in grpc_cq_begin_op(grpc_completion_queue*, void*) /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/surface/completion_queue.cc:664:48
#3 0x7f37bf2453b3 in call_start_batch(grpc_call*, grpc_op const*, unsigned long, void*, int) /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/surface/call.cc:1867:5
#4 0x7f37bf243481 in grpc_call_start_batch /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/surface/call.cc:1923:11
#5 0x7f37c0d0fe1e in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<gnoi::system::CancelRebootResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::ContinueFillOpsAfterInterception() /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/call_op_set.h:940:5
#6 0x7f37c0d0ef29 in grpc::internal::BlockingUnaryCallImpl<gnoi::system::CancelRebootRequest, gnoi::system::CancelRebootResponse>::BlockingUnaryCallImpl(grpc::ChannelInterface*, grpc::internal::RpcMethod const&, grpc::ClientContext*, gnoi::system::CancelRebootRequest const&, gnoi::system::CancelRebootResponse*) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/client_unary_call.h:69:10
#7 0x7f37c0cbddff in grpc::Status grpc::internal::BlockingUnaryCall<gnoi::system::CancelRebootRequest, gnoi::system::CancelRebootResponse>(grpc::ChannelInterface*, grpc::internal::RpcMethod const&, grpc::ClientContext*, gnoi::system::CancelRebootRequest const&, gnoi::system::CancelRebootResponse*) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/client_unary_call.h:39:10
#8 0x7f37c0cb6730 in gnoi::system::System::Stub::CancelReboot(grpc::ClientContext*, gnoi::system::CancelRebootRequest const&, gnoi::system::CancelRebootResponse*) /proc/self/cwd/bazel-out/k8-fastbuild/genfiles/external/com_github_openconfig_gnoi/gnoi/system/system.grpc.pb.cc:211:10
#9 0x51639e in stratum::hal::AdminServiceTest_CancelReboot_Test::TestBody() /proc/self/cwd/stratum/hal/lib/common/admin_service_test.cc:180:19
#10 0x7f37bf0581b7 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#11 0x7f37bf03a394 in testing::Test::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2522:5
#12 0x7f37bf03b227 in testing::TestInfo::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2698:11
#13 0x7f37bf03bb91 in testing::TestSuite::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2828:28
#14 0x7f37bf04cbf2 in testing::internal::UnitTestImpl::RunAllTests() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:5285:44
#15 0x7f37bf05b567 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#16 0x7f37bf04c4a2 in testing::UnitTest::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:4873:10
#17 0x7f37bff8f44e in main /proc/self/cwd/stratum/hal/lib/common/test_main.cc:40:16
#18 0x7f37bd0422e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
Indirect leak of 72 byte(s) in 3 object(s) allocated from:
#0 0x4e4943 in malloc /build/llvm-toolchain-7-ZvxGT8/llvm-toolchain-7-7.0.1/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f37bda757a7 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x8f7a7)
#2 0x7f37bfdf250b in std::__shared_ptr<grpc_impl::Channel, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<grpc_impl::Channel>(grpc_impl::Channel*) /usr/bin/../lib/gcc/x86_64-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/shared_ptr_base.h:885:24
#3 0x7f37bfdf2272 in grpc::CreateChannelInternal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, grpc_channel*, std::vector<std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface, std::default_delete<grpc::experimental::ClientInterceptorFactoryInterface> >, std::allocator<std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface, std::default_delete<grpc::experimental::ClientInterceptorFactoryInterface> > > >) /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/create_channel_internal.cc:32:10
#4 0x7f37bfefa206 in grpc_impl::(anonymous namespace)::InsecureChannelCredentialsImpl::CreateChannelWithInterceptors(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, grpc_impl::ChannelArguments const&, std::vector<std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface, std::default_delete<grpc::experimental::ClientInterceptorFactoryInterface> >, std::allocator<std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface, std::default_delete<grpc::experimental::ClientInterceptorFactoryInterface> > > >) /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/insecure_credentials.cc:49:12
#5 0x7f37bfef9fa0 in grpc_impl::(anonymous namespace)::InsecureChannelCredentialsImpl::CreateChannelImpl(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, grpc_impl::ChannelArguments const&) /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/insecure_credentials.cc:36:12
#6 0x7f37bfdf1ad7 in grpc_impl::CreateCustomChannelImpl(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<grpc_impl::ChannelCredentials> const&, grpc_impl::ChannelArguments const&) /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/create_channel.cc:42:25
#7 0x7f37bfdf18a2 in grpc_impl::CreateChannelImpl(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<grpc_impl::ChannelCredentials> const&) /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/create_channel.cc:33:10
#8 0x522a4d in grpc::CreateChannel(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<grpc_impl::ChannelCredentials> const&) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/create_channel.h:30:10
#9 0x52daa4 in stratum::hal::AdminServiceTest::SetUp() /proc/self/cwd/stratum/hal/lib/common/admin_service_test.cc:85:9
#10 0x7f37bf0581b7 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#11 0x7f37bf03a330 in testing::Test::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2517:3
#12 0x7f37bf03b227 in testing::TestInfo::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2698:11
#13 0x7f37bf03bb91 in testing::TestSuite::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2828:28
#14 0x7f37bf04cbf2 in testing::internal::UnitTestImpl::RunAllTests() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:5285:44
#15 0x7f37bf05b567 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#16 0x7f37bf04c4a2 in testing::UnitTest::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:4873:10
#17 0x7f37bff8f44e in main /proc/self/cwd/stratum/hal/lib/common/test_main.cc:40:16
#18 0x7f37bd0422e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
Indirect leak of 12 byte(s) in 3 object(s) allocated from:
#0 0x4e4943 in malloc /build/llvm-toolchain-7-ZvxGT8/llvm-toolchain-7-7.0.1/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f37bf122ecd in gpr_mu_init /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gpr/sync_posix.cc:79:40
#2 0x7f37bfdedacb in grpc::ClientContext::ClientContext() /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/client_context.cc:55:16
#3 0x516322 in stratum::hal::AdminServiceTest_CancelReboot_Test::TestBody() /proc/self/cwd/stratum/hal/lib/common/admin_service_test.cc:177:17
#4 0x7f37bf0581b7 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#5 0x7f37bf03a394 in testing::Test::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2522:5
#6 0x7f37bf03b227 in testing::TestInfo::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2698:11
#7 0x7f37bf03bb91 in testing::TestSuite::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2828:28
#8 0x7f37bf04cbf2 in testing::internal::UnitTestImpl::RunAllTests() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:5285:44
#9 0x7f37bf05b567 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#10 0x7f37bf04c4a2 in testing::UnitTest::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:4873:10
#11 0x7f37bff8f44e in main /proc/self/cwd/stratum/hal/lib/common/test_main.cc:40:16
#12 0x7f37bd0422e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
Indirect leak of 12 byte(s) in 3 object(s) allocated from:
#0 0x4e4943 in malloc /build/llvm-toolchain-7-ZvxGT8/llvm-toolchain-7-7.0.1/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f37bf122ecd in gpr_mu_init /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gpr/sync_posix.cc:79:40
#2 0x7f37bf1f2621 in pollset_init(grpc_pollset*, gpr_mu**) /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/iomgr/ev_epollex_linux.cc:801:3
#3 0x7f37bf250d2a in grpc_completion_queue_create_internal(grpc_cq_completion_type, grpc_cq_polling_type, grpc_experimental_completion_queue_functor*) /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/surface/completion_queue.cc:525:3
#4 0x7f37c0cc3e9c in grpc_impl::CompletionQueue::CompletionQueue(grpc_completion_queue_attributes const&) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/completion_queue_impl.h:248:45
#5 0x7f37c0d0eda7 in grpc::internal::BlockingUnaryCallImpl<gnoi::system::CancelRebootRequest, gnoi::system::CancelRebootResponse>::BlockingUnaryCallImpl(grpc::ChannelInterface*, grpc::internal::RpcMethod const&, grpc::ClientContext*, gnoi::system::CancelRebootRequest const&, gnoi::system::CancelRebootResponse*) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/client_unary_call.h:50:21
#6 0x7f37c0cbddff in grpc::Status grpc::internal::BlockingUnaryCall<gnoi::system::CancelRebootRequest, gnoi::system::CancelRebootResponse>(grpc::ChannelInterface*, grpc::internal::RpcMethod const&, grpc::ClientContext*, gnoi::system::CancelRebootRequest const&, gnoi::system::CancelRebootResponse*) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/impl/codegen/client_unary_call.h:39:10
#7 0x7f37c0cb6730 in gnoi::system::System::Stub::CancelReboot(grpc::ClientContext*, gnoi::system::CancelRebootRequest const&, gnoi::system::CancelRebootResponse*) /proc/self/cwd/bazel-out/k8-fastbuild/genfiles/external/com_github_openconfig_gnoi/gnoi/system/system.grpc.pb.cc:211:10
#8 0x51639e in stratum::hal::AdminServiceTest_CancelReboot_Test::TestBody() /proc/self/cwd/stratum/hal/lib/common/admin_service_test.cc:180:19
#9 0x7f37bf0581b7 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#10 0x7f37bf03a394 in testing::Test::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2522:5
#11 0x7f37bf03b227 in testing::TestInfo::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2698:11
#12 0x7f37bf03bb91 in testing::TestSuite::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2828:28
#13 0x7f37bf04cbf2 in testing::internal::UnitTestImpl::RunAllTests() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:5285:44
#14 0x7f37bf05b567 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#15 0x7f37bf04c4a2 in testing::UnitTest::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:4873:10
#16 0x7f37bff8f44e in main /proc/self/cwd/stratum/hal/lib/common/test_main.cc:40:16
#17 0x7f37bd0422e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
Indirect leak of 12 byte(s) in 3 object(s) allocated from:
#0 0x4e4943 in malloc /build/llvm-toolchain-7-ZvxGT8/llvm-toolchain-7-7.0.1/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f37bf122ecd in gpr_mu_init /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gpr/sync_posix.cc:79:40
#2 0x7f37bfdedacb in grpc::ClientContext::ClientContext() /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/client_context.cc:55:16
#3 0x5160b6 in stratum::hal::AdminServiceTest_CancelReboot_Test::TestBody() /proc/self/cwd/stratum/hal/lib/common/admin_service_test.cc:164:40
#4 0x7f37bf0581b7 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#5 0x7f37bf03a394 in testing::Test::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2522:5
#6 0x7f37bf03b227 in testing::TestInfo::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2698:11
#7 0x7f37bf03bb91 in testing::TestSuite::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2828:28
#8 0x7f37bf04cbf2 in testing::internal::UnitTestImpl::RunAllTests() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:5285:44
#9 0x7f37bf05b567 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#10 0x7f37bf04c4a2 in testing::UnitTest::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:4873:10
#11 0x7f37bff8f44e in main /proc/self/cwd/stratum/hal/lib/common/test_main.cc:40:16
#12 0x7f37bd0422e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
Indirect leak of 12 byte(s) in 3 object(s) allocated from:
#0 0x4e4943 in malloc /build/llvm-toolchain-7-ZvxGT8/llvm-toolchain-7-7.0.1/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:146:3
#1 0x7f37bf122ecd in gpr_mu_init /proc/self/cwd/external/com_github_grpc_grpc/src/core/lib/gpr/sync_posix.cc:79:40
#2 0x7f37bfde7129 in grpc_impl::Channel::Channel(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, grpc_channel*, std::vector<std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface, std::default_delete<grpc::experimental::ClientInterceptorFactoryInterface> >, std::allocator<std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface, std::default_delete<grpc::experimental::ClientInterceptorFactoryInterface> > > >) /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/channel_cc.cc:53:10
#3 0x7f37bfdf2266 in grpc::CreateChannelInternal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, grpc_channel*, std::vector<std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface, std::default_delete<grpc::experimental::ClientInterceptorFactoryInterface> >, std::allocator<std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface, std::default_delete<grpc::experimental::ClientInterceptorFactoryInterface> > > >) /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/create_channel_internal.cc:33:11
#4 0x7f37bfefa206 in grpc_impl::(anonymous namespace)::InsecureChannelCredentialsImpl::CreateChannelWithInterceptors(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, grpc_impl::ChannelArguments const&, std::vector<std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface, std::default_delete<grpc::experimental::ClientInterceptorFactoryInterface> >, std::allocator<std::unique_ptr<grpc::experimental::ClientInterceptorFactoryInterface, std::default_delete<grpc::experimental::ClientInterceptorFactoryInterface> > > >) /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/insecure_credentials.cc:49:12
#5 0x7f37bfef9fa0 in grpc_impl::(anonymous namespace)::InsecureChannelCredentialsImpl::CreateChannelImpl(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, grpc_impl::ChannelArguments const&) /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/insecure_credentials.cc:36:12
#6 0x7f37bfdf1ad7 in grpc_impl::CreateCustomChannelImpl(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<grpc_impl::ChannelCredentials> const&, grpc_impl::ChannelArguments const&) /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/create_channel.cc:42:25
#7 0x7f37bfdf18a2 in grpc_impl::CreateChannelImpl(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<grpc_impl::ChannelCredentials> const&) /proc/self/cwd/external/com_github_grpc_grpc/src/cpp/client/create_channel.cc:33:10
#8 0x522a4d in grpc::CreateChannel(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<grpc_impl::ChannelCredentials> const&) /proc/self/cwd/external/com_github_grpc_grpc/include/grpcpp/create_channel.h:30:10
#9 0x52daa4 in stratum::hal::AdminServiceTest::SetUp() /proc/self/cwd/stratum/hal/lib/common/admin_service_test.cc:85:9
#10 0x7f37bf0581b7 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#11 0x7f37bf03a330 in testing::Test::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2517:3
#12 0x7f37bf03b227 in testing::TestInfo::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2698:11
#13 0x7f37bf03bb91 in testing::TestSuite::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2828:28
#14 0x7f37bf04cbf2 in testing::internal::UnitTestImpl::RunAllTests() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:5285:44
#15 0x7f37bf05b567 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:2483:14
#16 0x7f37bf04c4a2 in testing::UnitTest::Run() /proc/self/cwd/external/com_google_googletest/googletest/src/gtest.cc:4873:10
#17 0x7f37bff8f44e in main /proc/self/cwd/stratum/hal/lib/common/test_main.cc:40:16
#18 0x7f37bd0422e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
SUMMARY: AddressSanitizer: 92436 byte(s) leaked in 57 allocation(s).
================================================================================