capeprivacy / tf-trusted

tf-trusted allows you to run TensorFlow models in secure enclaves

Home Page:https://capeprivacy.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error while building and Running Tf-Trusted

kamathhrishi opened this issue · comments

Thank you for resolving the build error for building custom-op. It did work, but unfortunately, I get this while running TF-Trusted using Docker.


hrishikesh@hrishi:~/tf-trusted$ sudo docker run -it --rm \
>   -v bazel-cache:/root/.cache/bazel \
>   -v `pwd`:/opt/my-project \
>   -w /opt/my-project \
>   -p 50051:50051/tcp -p 50051:50051/udp \
>   gcr.io/asylo-framework/asylo:buildenv-v0.3.4 \
>   bazel run --config=enc-sim //tf_trusted \
>   --incompatible_disallow_filetype=false --incompatible_disallow_data_transition=false
Starting local Bazel server and connecting to it...
ERROR: error loading package '': Encountered error while reading extension file 'asylo/bazel/asylo_deps.bzl': no such package '@com_google_asylo//asylo/bazel': java.io.IOException: Error downloading [https://github.com/google/asylo/archive/v0.3.4.2.tar.gz] to /root/.cache/bazel/_bazel_root/b6bc0828d5b43c7085b650e0698bf388/external/com_google_asylo/v0.3.4.2.tar.gz: Checksum was 82226be212b9f3e2fb14fdf9223e4f376df89424874ac45faff215fa1027797e but wanted e408c614ad129dd7dff0dc7a816f77aae81f22eb851f63fc0bba7de61a467b62
ERROR: error loading package '': Encountered error while reading extension file 'asylo/bazel/asylo_deps.bzl': no such package '@com_google_asylo//asylo/bazel': java.io.IOException: Error downloading [https://github.com/google/asylo/archive/v0.3.4.2.tar.gz] to /root/.cache/bazel/_bazel_root/b6bc0828d5b43c7085b650e0698bf388/external/com_google_asylo/v0.3.4.2.tar.gz: Checksum was 82226be212b9f3e2fb14fdf9223e4f376df89424874ac45faff215fa1027797e but wanted e408c614ad129dd7dff0dc7a816f77aae81f22eb851f63fc0bba7de61a467b62
INFO: Elapsed time: 12.087s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)
hrishikesh@hrishi:~/tf-trusted$ sudo docker run -it --rm   -v bazel-cache:/root/.cache/bazel   -v `pwd`:/opt/my-project   -w /opt/my-project   -p 50051:50051/tcp -p 50051:50051/udp   gcr.io/asylo-framework/asylo:buildenv-v0.3.4   bazel run --config=enc-sim //tf_trusted   --incompatible_disallow_filetype=false --incompatible_disallow_data_transition=false
Starting local Bazel server and connecting to it...
ERROR: error loading package '': Encountered error while reading extension file 'asylo/bazel/asylo_deps.bzl': no such package '@com_google_asylo//asylo/bazel': java.io.IOException: Error downloading [https://github.com/google/asylo/archive/v0.3.4.2.tar.gz] to /root/.cache/bazel/_bazel_root/b6bc0828d5b43c7085b650e0698bf388/external/com_google_asylo/v0.3.4.2.tar.gz: Checksum was 82226be212b9f3e2fb14fdf9223e4f376df89424874ac45faff215fa1027797e but wanted e408c614ad129dd7dff0dc7a816f77aae81f22eb851f63fc0bba7de61a467b62
ERROR: error loading package '': Encountered error while reading extension file 'asylo/bazel/asylo_deps.bzl': no such package '@com_google_asylo//asylo/bazel': java.io.IOException: Error downloading [https://github.com/google/asylo/archive/v0.3.4.2.tar.gz] to /root/.cache/bazel/_bazel_root/b6bc0828d5b43c7085b650e0698bf388/external/com_google_asylo/v0.3.4.2.tar.gz: Checksum was 82226be212b9f3e2fb14fdf9223e4f376df89424874ac45faff215fa1027797e but wanted e408c614ad129dd7dff0dc7a816f77aae81f22eb851f63fc0bba7de61a467b62
INFO: Elapsed time: 3.521s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)