Skip to content

Bazel remote execution is getting failed with below error #18602

@parasuram2018

Description

@parasuram2018

Description of the bug:

/bin/bash -c 'export LD_LIBRARY_PATH=$(dirname buildroot-symlinks/buildroot-const/host/bin/protoc)/../lib; buildroot-symlinks/buildroot-const/host/bin/protoc -Ibuildroot-symlinks/buildroot-const/sysroot/usr/include -Ivobs/dsl/sw/y/src/yGRPC/examples/proto --cpp_out=bazel-out/k8-fastbuild-ST-4ff540104c87/bin/vobs/dsl/sw/y/src/yGRPC/examples/proto --grpc_out=bazel-out/k8-fastbuild-ST-4ff540104c87/bin/vobs/dsl/sw/y/src/yGRPC/examples/proto --plugin=protoc-gen-grpc=buildroot-symlinks/buildroot-const/host/bin/grpc_cpp_plugin vobs/dsl/sw/y/src/yGRPC/examples/proto/tr451_vomci_sbi_service.proto 2>&1 | tee log.txt && if grep -q "warning: Import" log.txt; then exit 1; fi && sed -i '\''s|#include "tr451_vomci_sbi_message\(.grpc\)\?.pb.h"|#include <ygrpc_examples/proto/tr451_vomci_sbi_message\1.pb.h>|g'\'' bazel-out/k8-fastbuild-ST-4ff540104c87/bin/vobs/dsl/sw/y/src/yGRPC/examples/proto/tr451_vomci_sbi_service.pb.cc bazel-out/k8-fastbuild-ST-4ff540104c87/bin/vobs/dsl/sw/y/src/yGRPC/examples/proto/tr451_vomci_sbi_service.grpc.pb.cc bazel-out/k8-fastbuild-ST-4ff540104c87/bin/vobs/dsl/sw/y/src/yGRPC/examples/proto/tr451_vomci_sbi_service.pb.h bazel-out/k8-fastbuild-ST-4ff540104c87/bin/vobs/dsl/sw/y/src/yGRPC/examples/proto/tr451_vomci_sbi_service.grpc.pb.h && sed -i '\''s|#include "tr451_vomci_sbi_service\(.grpc\)\?.pb.h"|#include <ygrpc_examples/proto/tr451_vomci_sbi_service\1.pb.h>|g'\'' bazel-out/k8-fastbuild-ST-4ff540104c87/bin/vobs/dsl/sw/y/src/yGRPC/examples/proto/tr451_vomci_sbi_service.pb.cc bazel-out/k8-fastbuild-ST-4ff540104c87/bin/vobs/dsl/sw/y/src/yGRPC/examples/proto/tr451_vomci_sbi_service.grpc.pb.cc bazel-out/k8-fastbuild-ST-4ff540104c87/bin/vobs/dsl/sw/y/src/yGRPC/examples/proto/tr451_vomci_sbi_service.pb.h bazel-out/k8-fastbuild-ST-4ff540104c87/bin/vobs/dsl/sw/y/src/yGRPC/examples/proto/tr451_vomci_sbi_service.grpc.pb.h')

Configuration: 7e9024e37ebfb1412fab5ef160ae81c517ba47284edc08e6b48941b6e3b50bff

Execution platform: @local_config_platform//:host

sed: can't read bazel-out/k8-fastbuild-ST-4ff540104c87/bin/vobs/dsl/sw/y/src/yGRPC/examples/proto/tr451_vomci_sbi_service.pb.cc: No such file or directory

sed: can't read bazel-out/k8-fastbuild-ST-4ff540104c87/bin/vobs/dsl/sw/y/src/yGRPC/examples/proto/tr451_vomci_sbi_service.grpc.pb.cc: No such file or directory

sed: can't read bazel-out/k8-fastbuild-ST-4ff540104c87/bin/vobs/dsl/sw/y/src/yGRPC/examples/proto/tr451_vomci_sbi_service.pb.h: No such file or directory

sed: can't read bazel-out/k8-fastbuild-ST-4ff540104c87/bin/vobs/dsl/sw/y/src/yGRPC/examples/proto/tr451_vomci_sbi_service.grpc.pb.h: No such file or directory

buildroot-symlinks/buildroot-const/host/bin/grpc_cpp_plugin: error while loading shared libraries: libgrpc_plugin_support.so.1: cannot open shared object file: No such file or directory

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

command "docker-make --bazel-remote-execution"

Which operating system are you running Bazel on?

Linux 3.10.0-1160.24.1.el7.x86_64 #1 SMP Thu Apr 8 19:51:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

What is the output of bazel info release?

No response

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?

No response

Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions