Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bazel remote execution is getting failed with below error #18602

Closed
parasuram2018 opened this issue Jun 7, 2023 · 8 comments
Closed

Bazel remote execution is getting failed with below error #18602

parasuram2018 opened this issue Jun 7, 2023 · 8 comments
Labels
team-Remote-Exec Issues and PRs for the Execution (Remote) team type: bug untriaged

Comments

@parasuram2018
Copy link

parasuram2018 commented Jun 7, 2023

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

@parasuram2018 parasuram2018 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 7, 2023
@parasuram2018 parasuram2018 reopened this Jun 8, 2023
@sgowroji
Copy link
Member

sgowroji commented Jun 8, 2023

Hi @parasuram2018, Could you please provide minimal steps to reproduce the above error. Thanks!

@sgowroji sgowroji added team-Remote-Exec Issues and PRs for the Execution (Remote) team more data needed and removed untriaged labels Jun 8, 2023
@parasuram2018
Copy link
Author

parasuram2018 commented Jun 8, 2023

Hi,
I executed the "docker-make --bazel-remote-execution" from software repo and facing the reported issue.
The issue is only observed when using the "--bazel-remote-execution".

libgrpc_plugin_support.so.1.35.0 using for for remote execution.

grpc versin : grpc-1.35.0/

@meisterT
Copy link
Member

Where is this --bazel-remote-execution documented?

@parasuram2018
Copy link
Author

the command is initiated from software repo and calling the bazel remote compilation.

@meisterT
Copy link
Member

I am not sure what you mean with "software repo" - can you please point me to documentation?

@parasuram2018
Copy link
Author

software repo mean, compilation path.
Error information is :
grpc_cpp_plugin: error while loading shared libraries: libgrpc_plugin_support.so.1: cannot open shared object file: No such file or directory

grpc-1.35.0]$ ls -l libgrpc_plugin_support.so.1
lrwxrwxrwx 1 user we2 32 Jun 21 08:00 libgrpc_plugin_support.so.1 -> libgrpc_plugin_support.so.1.35.0

@meisterT
Copy link
Member

Doing one step back. You wrote command "docker-make --bazel-remote-execution" is the easiest command to reproduce this issue. While this has bazel in the flag name the bazel repository seems to be the wrong place to ask questions about this since we do not own docker-make, nor does docker-make have a flag named --bazel-remote-execution.

@meisterT meisterT closed this as not planned Won't fix, can't repro, duplicate, stale Jun 21, 2023
@parasuram2018
Copy link
Author

ok thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Remote-Exec Issues and PRs for the Execution (Remote) team type: bug untriaged
Projects
None yet
Development

No branches or pull requests

4 participants