You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2021/01/20 14:34:37 UTC
[GitHub] [incubator-teaclave] master-davidlee opened a new issue #463: Execute builtin_echo.py error
master-davidlee opened a new issue #463:
URL: https://github.com/apache/incubator-teaclave/issues/463
I have launched all the service
![image](https://user-images.githubusercontent.com/49427668/105189064-896c3680-5b6f-11eb-881d-f0a3bf8f2023.png)
but when I want to run the example echo.py
![image](https://user-images.githubusercontent.com/49427668/105189161-a3a61480-5b6f-11eb-9b85-293382fdfd65.png)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org
[GitHub] [incubator-teaclave] master-davidlee commented on issue #463: Execute builtin_echo.py error
Posted by GitBox <gi...@apache.org>.
master-davidlee commented on issue #463:
URL: https://github.com/apache/incubator-teaclave/issues/463#issuecomment-767953467
it looks like right at the beginning, but something wrong after a while. Can you help me with that? Thanks!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org
[GitHub] [incubator-teaclave] mssun commented on issue #463: Execute builtin_echo.py error
Posted by GitBox <gi...@apache.org>.
mssun commented on issue #463:
URL: https://github.com/apache/incubator-teaclave/issues/463#issuecomment-767943017
Can you set the env var `export TEACLAVE_LOG=debug`? Then start the services with `docker-compose`. Please paste log here. Thanks.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org
[GitHub] [incubator-teaclave] mssun edited a comment on issue #463: Execute builtin_echo.py error
Posted by GitBox <gi...@apache.org>.
mssun edited a comment on issue #463:
URL: https://github.com/apache/incubator-teaclave/issues/463#issuecomment-763823660
1. I saw that several services have exited. Please make sure all services successfully launched.
2. You should install the `toml` and other essential modules for the python client: `pip3 install pyopenssl toml cryptography`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org
[GitHub] [incubator-teaclave] master-davidlee commented on issue #463: Execute builtin_echo.py error
Posted by GitBox <gi...@apache.org>.
master-davidlee commented on issue #463:
URL: https://github.com/apache/incubator-teaclave/issues/463#issuecomment-764205387
I install the python lib, but after I run `(cd docker && docker-compose -f docker-compose-ubuntu-1804-sgx-sim-mode.yml up --build)`
some service will be exited after a while automatically
![image](https://user-images.githubusercontent.com/49427668/105275318-003e1980-5bda-11eb-8b70-c11fe5f675ba.png)
and when I run `SGX_MODE=SW PYTHONPATH=../../sdk/python python3 builtin_echo.py 'Hello, Teaclave!'`
![image](https://user-images.githubusercontent.com/49427668/105275353-19df6100-5bda-11eb-83fb-6aaae06bacf5.png)
![image](https://user-images.githubusercontent.com/49427668/105275364-22d03280-5bda-11eb-9e2b-421e5901c8b3.png)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org
[GitHub] [incubator-teaclave] master-davidlee commented on issue #463: Execute builtin_echo.py error
Posted by GitBox <gi...@apache.org>.
master-davidlee commented on issue #463:
URL: https://github.com/apache/incubator-teaclave/issues/463#issuecomment-767964867
Ok, I will try in the real TEE with another PC.And can I load my own machine learning model file use Teaclave?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org
[GitHub] [incubator-teaclave] master-davidlee edited a comment on issue #463: Execute builtin_echo.py error
Posted by GitBox <gi...@apache.org>.
master-davidlee edited a comment on issue #463:
URL: https://github.com/apache/incubator-teaclave/issues/463#issuecomment-768006278
Current Teaclave supports any python machine learning modules? can I load a pickle-dumped machine learning model file in Teaclave and run it? like below
`import numpy as np
class Linear_Regression:
def __init__(self):
self._w = None
def fit(self, X, y, lr=0.01, epsilon=0.01, epoch=1000):
#训练数据
#将输入的X,y转换为numpy数组
X, y = np.asarray(X, np.float32), np.asarray(y, np.float32)
#给X增加一列常数项
X=np.hstack((X,np.ones((X.shape[0],1))))
#初始化w
self._w = np.zeros((X.shape[1],1))
for _ in range(epoch):
#随机选择一组样本计算梯度
random_num=np.random.choice(len(X))
x_random=X[random_num].reshape(1,2)
y_random=y[random_num]
gradient=(x_random.T)*(np.dot(x_random,self._w)-y_random)
#如果收敛,那么停止迭代
if (np.abs(self._w-lr*gradient)<epsilon).all():
break
#否则,更新w
else:
self._w =self._w-lr*gradient
return self._w
def print_results(self):
print("参数w:{}".format(self._w))
print("回归拟合线:y={}x+{}".format(self._w[0],self._w[1]))
def predict(self,x):
x=np.asarray(x, np.float32)
x=x.reshape(x.shape[0],1)
x=np.hstack((x,np.ones((x.shape[0],1))))
return np.dot(x,self._w)
#训练并保存模型:
import pickle
#创建数据
x=np.linspace(0,100,10).reshape(10,1)
rng=np.random.RandomState(4)
noise=rng.randint(-10,10,size=(10,1))*4
y=4*x+4+noise
model=Linear_Regression()
model.fit(x,y,lr=0.0001,epsilon=0.001,epoch=20)
with open('model.pickle', 'wb') as file:
pickle.dump(model, file)
#然后调取模型并进行预测和打印结果:
with open('model.pickle', 'rb') as file:
model=pickle.load(file)
print(model.predict([50]))
model.print_results()`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org
[GitHub] [incubator-teaclave] mssun commented on issue #463: Execute builtin_echo.py error
Posted by GitBox <gi...@apache.org>.
mssun commented on issue #463:
URL: https://github.com/apache/incubator-teaclave/issues/463#issuecomment-763823660
1. I saw that several services have exited.
2. You should install the `toml` module.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org
[GitHub] [incubator-teaclave] master-davidlee commented on issue #463: Execute builtin_echo.py error
Posted by GitBox <gi...@apache.org>.
master-davidlee commented on issue #463:
URL: https://github.com/apache/incubator-teaclave/issues/463#issuecomment-764205387
I install the python lib, but after I run `(cd docker && docker-compose -f docker-compose-ubuntu-1804-sgx-sim-mode.yml up --build)`
some service will be exited after a while automatically
![image](https://user-images.githubusercontent.com/49427668/105275318-003e1980-5bda-11eb-8b70-c11fe5f675ba.png)
and when I run `SGX_MODE=SW PYTHONPATH=../../sdk/python python3 builtin_echo.py 'Hello, Teaclave!'`
![image](https://user-images.githubusercontent.com/49427668/105275353-19df6100-5bda-11eb-83fb-6aaae06bacf5.png)
![image](https://user-images.githubusercontent.com/49427668/105275364-22d03280-5bda-11eb-9e2b-421e5901c8b3.png)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org
[GitHub] [incubator-teaclave] mssun commented on issue #463: Execute builtin_echo.py error
Posted by GitBox <gi...@apache.org>.
mssun commented on issue #463:
URL: https://github.com/apache/incubator-teaclave/issues/463#issuecomment-767963447
Seems that there're connection issues between containers (services) started by `docker-compose`. I don't know why.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org
[GitHub] [incubator-teaclave] mssun commented on issue #463: Execute builtin_echo.py error
Posted by GitBox <gi...@apache.org>.
mssun commented on issue #463:
URL: https://github.com/apache/incubator-teaclave/issues/463#issuecomment-816901971
Fixed in #496.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org
[GitHub] [incubator-teaclave] master-davidlee edited a comment on issue #463: Execute builtin_echo.py error
Posted by GitBox <gi...@apache.org>.
master-davidlee edited a comment on issue #463:
URL: https://github.com/apache/incubator-teaclave/issues/463#issuecomment-768006278
Current Teaclave supports any python machine learning modules? can I load a pickle-dumped machine learning model file in Teaclave and run it? like below
import numpy as np
class Linear_Regression:
def __init__(self):
self._w = None
def fit(self, X, y, lr=0.01, epsilon=0.01, epoch=1000):
#训练数据
#将输入的X,y转换为numpy数组
X, y = np.asarray(X, np.float32), np.asarray(y, np.float32)
#给X增加一列常数项
X=np.hstack((X,np.ones((X.shape[0],1))))
#初始化w
self._w = np.zeros((X.shape[1],1))
for _ in range(epoch):
#随机选择一组样本计算梯度
random_num=np.random.choice(len(X))
x_random=X[random_num].reshape(1,2)
y_random=y[random_num]
gradient=(x_random.T)*(np.dot(x_random,self._w)-y_random)
#如果收敛,那么停止迭代
if (np.abs(self._w-lr*gradient)<epsilon).all():
break
#否则,更新w
else:
self._w =self._w-lr*gradient
return self._w
def print_results(self):
print("参数w:{}".format(self._w))
print("回归拟合线:y={}x+{}".format(self._w[0],self._w[1]))
def predict(self,x):
x=np.asarray(x, np.float32)
x=x.reshape(x.shape[0],1)
x=np.hstack((x,np.ones((x.shape[0],1))))
return np.dot(x,self._w)
#训练并保存模型:
import pickle
#创建数据
x=np.linspace(0,100,10).reshape(10,1)
rng=np.random.RandomState(4)
noise=rng.randint(-10,10,size=(10,1))*4
y=4*x+4+noise
model=Linear_Regression()
model.fit(x,y,lr=0.0001,epsilon=0.001,epoch=20)
with open('model.pickle', 'wb') as file:
pickle.dump(model, file)
#然后调取模型并进行预测和打印结果:
with open('model.pickle', 'rb') as file:
model=pickle.load(file)
print(model.predict([50]))
model.print_results()
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org
[GitHub] [incubator-teaclave] master-davidlee commented on issue #463: Execute builtin_echo.py error
Posted by GitBox <gi...@apache.org>.
master-davidlee commented on issue #463:
URL: https://github.com/apache/incubator-teaclave/issues/463#issuecomment-770386181
`ipfs@249:~/incubator-teaclave$ (cd docker && docker-compose -f docker-compose-ubuntu-1804-sgx-sim-mode.yml up --build)
Building teaclave-authentication-service-sgx-sim-mode
Step 1/29 : FROM ubuntu:18.04
---> c090eaba6b94
Step 2/29 : ENV VERSION 2.9.101.2-bionic1
---> Using cache
---> c79b094403a2
Step 3/29 : ENV SGX_DOWNLOAD_URL_BASE "https://download.01.org/intel-sgx/sgx-linux/2.9.1/distro/ubuntu18.04-server"
---> Using cache
---> 275d85d58955
Step 4/29 : ENV SGX_LINUX_X64_SDK sgx_linux_x64_sdk_2.9.101.2.bin
---> Using cache
---> 156c9a878491
Step 5/29 : ENV SGX_LINUX_X64_SDK_URL "$SGX_DOWNLOAD_URL_BASE/$SGX_LINUX_X64_SDK"
---> Using cache
---> 6521903008e8
Step 6/29 : RUN apt-get update && apt-get install -q -y libcurl4-openssl-dev libprotobuf-dev curl pkg-config wget
---> Using cache
---> 04db0a867bcd
Step 7/29 : RUN echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu bionic main' | tee /etc/apt/sources.list.d/intel-sgx.list
---> Using cache
---> 2961160d045a
Step 8/29 : RUN curl -fsSL https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | apt-key add -
---> Using cache
---> 164af245f044
Step 9/29 : RUN apt-get update && apt-get install -q -y libsgx-launch=$VERSION libsgx-urts=$VERSION libsgx-quote-ex=$VERSION
---> Using cache
---> f823bb1bca74
Step 10/29 : RUN mkdir /etc/init
---> Using cache
---> 52c1c3cce471
Step 11/29 : RUN wget $SGX_LINUX_X64_SDK_URL && chmod u+x $SGX_LINUX_X64_SDK && echo -e 'no\n/opt' | ./$SGX_LINUX_X64_SDK && rm $SGX_LINUX_X64_SDK && echo 'source /opt/sgxsdk/environment' >> /etc/environment
---> Using cache
---> 688849fbc26e
Step 12/29 : ENV LD_LIBRARY_PATH=/opt/sgxsdk/sdk_libs
---> Using cache
---> 16060263928f
Step 13/29 : RUN mkdir -p /tmp/fusion_data
---> Using cache
---> bf1356023ff0
Step 14/29 : ADD release/services/teaclave_frontend_service /teaclave/
---> Using cache
---> 827d26630464
Step 15/29 : ADD release/services/teaclave_frontend_service_enclave.signed.so /teaclave/
---> Using cache
---> b6fee11daa2f
Step 16/29 : ADD release/services/teaclave_authentication_service /teaclave/
---> Using cache
---> 9dd52d5fd225
Step 17/29 : ADD release/services/teaclave_authentication_service_enclave.signed.so /teaclave/
---> Using cache
---> 80271d9446bb
Step 18/29 : ADD release/services/teaclave_management_service /teaclave/
---> Using cache
---> 5a41dca34b9a
Step 19/29 : ADD release/services/teaclave_management_service_enclave.signed.so /teaclave/
---> Using cache
---> 921d3bd8b318
Step 20/29 : ADD release/services/teaclave_scheduler_service /teaclave/
---> Using cache
---> 30a7046e9939
Step 21/29 : ADD release/services/teaclave_scheduler_service_enclave.signed.so /teaclave/
---> Using cache
---> bad5c52051c3
Step 22/29 : ADD release/services/teaclave_access_control_service /teaclave/
---> Using cache
---> cfe3f99ee1fb
Step 23/29 : ADD release/services/teaclave_access_control_service_enclave.signed.so /teaclave/
---> Using cache
---> f52abbab7cf3
Step 24/29 : ADD release/services/teaclave_storage_service /teaclave/
---> Using cache
---> 301b116a6525
Step 25/29 : ADD release/services/teaclave_storage_service_enclave.signed.so /teaclave/
---> Using cache
---> 4211ad0a1ad7
Step 26/29 : ADD release/services/teaclave_execution_service /teaclave/
---> Using cache
---> 2912ec8a1d15
Step 27/29 : ADD release/services/teaclave_execution_service_enclave.signed.so /teaclave/
---> Using cache
---> 81ffad21ab27
Step 28/29 : ADD release/services/enclave_info.toml /teaclave/
---> Using cache
---> 3a7b6c47f1a3
Step 29/29 : ADD release/services/auditors /teaclave/auditors
---> Using cache
---> cd92db5bf5fa
Successfully built cd92db5bf5fa
Successfully tagged docker_teaclave-authentication-service-sgx-sim-mode:latest
Building teaclave-storage-service-sgx-sim-mode
Step 1/29 : FROM ubuntu:18.04
---> c090eaba6b94
Step 2/29 : ENV VERSION 2.9.101.2-bionic1
---> Using cache
---> c79b094403a2
Step 3/29 : ENV SGX_DOWNLOAD_URL_BASE "https://download.01.org/intel-sgx/sgx-linux/2.9.1/distro/ubuntu18.04-server"
---> Using cache
---> 275d85d58955
Step 4/29 : ENV SGX_LINUX_X64_SDK sgx_linux_x64_sdk_2.9.101.2.bin
---> Using cache
---> 156c9a878491
Step 5/29 : ENV SGX_LINUX_X64_SDK_URL "$SGX_DOWNLOAD_URL_BASE/$SGX_LINUX_X64_SDK"
---> Using cache
---> 6521903008e8
Step 6/29 : RUN apt-get update && apt-get install -q -y libcurl4-openssl-dev libprotobuf-dev curl pkg-config wget
---> Using cache
---> 04db0a867bcd
Step 7/29 : RUN echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu bionic main' | tee /etc/apt/sources.list.d/intel-sgx.list
---> Using cache
---> 2961160d045a
Step 8/29 : RUN curl -fsSL https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | apt-key add -
---> Using cache
---> 164af245f044
Step 9/29 : RUN apt-get update && apt-get install -q -y libsgx-launch=$VERSION libsgx-urts=$VERSION libsgx-quote-ex=$VERSION
---> Using cache
---> f823bb1bca74
Step 10/29 : RUN mkdir /etc/init
---> Using cache
---> 52c1c3cce471
Step 11/29 : RUN wget $SGX_LINUX_X64_SDK_URL && chmod u+x $SGX_LINUX_X64_SDK && echo -e 'no\n/opt' | ./$SGX_LINUX_X64_SDK && rm $SGX_LINUX_X64_SDK && echo 'source /opt/sgxsdk/environment' >> /etc/environment
---> Using cache
---> 688849fbc26e
Step 12/29 : ENV LD_LIBRARY_PATH=/opt/sgxsdk/sdk_libs
---> Using cache
---> 16060263928f
Step 13/29 : RUN mkdir -p /tmp/fusion_data
---> Using cache
---> bf1356023ff0
Step 14/29 : ADD release/services/teaclave_frontend_service /teaclave/
---> Using cache
---> 827d26630464
Step 15/29 : ADD release/services/teaclave_frontend_service_enclave.signed.so /teaclave/
---> Using cache
---> b6fee11daa2f
Step 16/29 : ADD release/services/teaclave_authentication_service /teaclave/
---> Using cache
---> 9dd52d5fd225
Step 17/29 : ADD release/services/teaclave_authentication_service_enclave.signed.so /teaclave/
---> Using cache
---> 80271d9446bb
Step 18/29 : ADD release/services/teaclave_management_service /teaclave/
---> Using cache
---> 5a41dca34b9a
Step 19/29 : ADD release/services/teaclave_management_service_enclave.signed.so /teaclave/
---> Using cache
---> 921d3bd8b318
Step 20/29 : ADD release/services/teaclave_scheduler_service /teaclave/
---> Using cache
---> 30a7046e9939
Step 21/29 : ADD release/services/teaclave_scheduler_service_enclave.signed.so /teaclave/
---> Using cache
---> bad5c52051c3
Step 22/29 : ADD release/services/teaclave_access_control_service /teaclave/
---> Using cache
---> cfe3f99ee1fb
Step 23/29 : ADD release/services/teaclave_access_control_service_enclave.signed.so /teaclave/
---> Using cache
---> f52abbab7cf3
Step 24/29 : ADD release/services/teaclave_storage_service /teaclave/
---> Using cache
---> 301b116a6525
Step 25/29 : ADD release/services/teaclave_storage_service_enclave.signed.so /teaclave/
---> Using cache
---> 4211ad0a1ad7
Step 26/29 : ADD release/services/teaclave_execution_service /teaclave/
---> Using cache
---> 2912ec8a1d15
Step 27/29 : ADD release/services/teaclave_execution_service_enclave.signed.so /teaclave/
---> Using cache
---> 81ffad21ab27
Step 28/29 : ADD release/services/enclave_info.toml /teaclave/
---> Using cache
---> 3a7b6c47f1a3
Step 29/29 : ADD release/services/auditors /teaclave/auditors
---> Using cache
---> cd92db5bf5fa
Successfully built cd92db5bf5fa
Successfully tagged docker_teaclave-storage-service-sgx-sim-mode:latest
Building teaclave-access-control-service-sgx-sim-mode
Step 1/29 : FROM ubuntu:18.04
---> c090eaba6b94
Step 2/29 : ENV VERSION 2.9.101.2-bionic1
---> Using cache
---> c79b094403a2
Step 3/29 : ENV SGX_DOWNLOAD_URL_BASE "https://download.01.org/intel-sgx/sgx-linux/2.9.1/distro/ubuntu18.04-server"
---> Using cache
---> 275d85d58955
Step 4/29 : ENV SGX_LINUX_X64_SDK sgx_linux_x64_sdk_2.9.101.2.bin
---> Using cache
---> 156c9a878491
Step 5/29 : ENV SGX_LINUX_X64_SDK_URL "$SGX_DOWNLOAD_URL_BASE/$SGX_LINUX_X64_SDK"
---> Using cache
---> 6521903008e8
Step 6/29 : RUN apt-get update && apt-get install -q -y libcurl4-openssl-dev libprotobuf-dev curl pkg-config wget
---> Using cache
---> 04db0a867bcd
Step 7/29 : RUN echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu bionic main' | tee /etc/apt/sources.list.d/intel-sgx.list
---> Using cache
---> 2961160d045a
Step 8/29 : RUN curl -fsSL https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | apt-key add -
---> Using cache
---> 164af245f044
Step 9/29 : RUN apt-get update && apt-get install -q -y libsgx-launch=$VERSION libsgx-urts=$VERSION libsgx-quote-ex=$VERSION
---> Using cache
---> f823bb1bca74
Step 10/29 : RUN mkdir /etc/init
---> Using cache
---> 52c1c3cce471
Step 11/29 : RUN wget $SGX_LINUX_X64_SDK_URL && chmod u+x $SGX_LINUX_X64_SDK && echo -e 'no\n/opt' | ./$SGX_LINUX_X64_SDK && rm $SGX_LINUX_X64_SDK && echo 'source /opt/sgxsdk/environment' >> /etc/environment
---> Using cache
---> 688849fbc26e
Step 12/29 : ENV LD_LIBRARY_PATH=/opt/sgxsdk/sdk_libs
---> Using cache
---> 16060263928f
Step 13/29 : RUN mkdir -p /tmp/fusion_data
---> Using cache
---> bf1356023ff0
Step 14/29 : ADD release/services/teaclave_frontend_service /teaclave/
---> Using cache
---> 827d26630464
Step 15/29 : ADD release/services/teaclave_frontend_service_enclave.signed.so /teaclave/
---> Using cache
---> b6fee11daa2f
Step 16/29 : ADD release/services/teaclave_authentication_service /teaclave/
---> Using cache
---> 9dd52d5fd225
Step 17/29 : ADD release/services/teaclave_authentication_service_enclave.signed.so /teaclave/
---> Using cache
---> 80271d9446bb
Step 18/29 : ADD release/services/teaclave_management_service /teaclave/
---> Using cache
---> 5a41dca34b9a
Step 19/29 : ADD release/services/teaclave_management_service_enclave.signed.so /teaclave/
---> Using cache
---> 921d3bd8b318
Step 20/29 : ADD release/services/teaclave_scheduler_service /teaclave/
---> Using cache
---> 30a7046e9939
Step 21/29 : ADD release/services/teaclave_scheduler_service_enclave.signed.so /teaclave/
---> Using cache
---> bad5c52051c3
Step 22/29 : ADD release/services/teaclave_access_control_service /teaclave/
---> Using cache
---> cfe3f99ee1fb
Step 23/29 : ADD release/services/teaclave_access_control_service_enclave.signed.so /teaclave/
---> Using cache
---> f52abbab7cf3
Step 24/29 : ADD release/services/teaclave_storage_service /teaclave/
---> Using cache
---> 301b116a6525
Step 25/29 : ADD release/services/teaclave_storage_service_enclave.signed.so /teaclave/
---> Using cache
---> 4211ad0a1ad7
Step 26/29 : ADD release/services/teaclave_execution_service /teaclave/
---> Using cache
---> 2912ec8a1d15
Step 27/29 : ADD release/services/teaclave_execution_service_enclave.signed.so /teaclave/
---> Using cache
---> 81ffad21ab27
Step 28/29 : ADD release/services/enclave_info.toml /teaclave/
---> Using cache
---> 3a7b6c47f1a3
Step 29/29 : ADD release/services/auditors /teaclave/auditors
---> Using cache
---> cd92db5bf5fa
Successfully built cd92db5bf5fa
Successfully tagged docker_teaclave-access-control-service-sgx-sim-mode:latest
Building teaclave-management-service-sgx-sim-mode
Step 1/29 : FROM ubuntu:18.04
---> c090eaba6b94
Step 2/29 : ENV VERSION 2.9.101.2-bionic1
---> Using cache
---> c79b094403a2
Step 3/29 : ENV SGX_DOWNLOAD_URL_BASE "https://download.01.org/intel-sgx/sgx-linux/2.9.1/distro/ubuntu18.04-server"
---> Using cache
---> 275d85d58955
Step 4/29 : ENV SGX_LINUX_X64_SDK sgx_linux_x64_sdk_2.9.101.2.bin
---> Using cache
---> 156c9a878491
Step 5/29 : ENV SGX_LINUX_X64_SDK_URL "$SGX_DOWNLOAD_URL_BASE/$SGX_LINUX_X64_SDK"
---> Using cache
---> 6521903008e8
Step 6/29 : RUN apt-get update && apt-get install -q -y libcurl4-openssl-dev libprotobuf-dev curl pkg-config wget
---> Using cache
---> 04db0a867bcd
Step 7/29 : RUN echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu bionic main' | tee /etc/apt/sources.list.d/intel-sgx.list
---> Using cache
---> 2961160d045a
Step 8/29 : RUN curl -fsSL https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | apt-key add -
---> Using cache
---> 164af245f044
Step 9/29 : RUN apt-get update && apt-get install -q -y libsgx-launch=$VERSION libsgx-urts=$VERSION libsgx-quote-ex=$VERSION
---> Using cache
---> f823bb1bca74
Step 10/29 : RUN mkdir /etc/init
---> Using cache
---> 52c1c3cce471
Step 11/29 : RUN wget $SGX_LINUX_X64_SDK_URL && chmod u+x $SGX_LINUX_X64_SDK && echo -e 'no\n/opt' | ./$SGX_LINUX_X64_SDK && rm $SGX_LINUX_X64_SDK && echo 'source /opt/sgxsdk/environment' >> /etc/environment
---> Using cache
---> 688849fbc26e
Step 12/29 : ENV LD_LIBRARY_PATH=/opt/sgxsdk/sdk_libs
---> Using cache
---> 16060263928f
Step 13/29 : RUN mkdir -p /tmp/fusion_data
---> Using cache
---> bf1356023ff0
Step 14/29 : ADD release/services/teaclave_frontend_service /teaclave/
---> Using cache
---> 827d26630464
Step 15/29 : ADD release/services/teaclave_frontend_service_enclave.signed.so /teaclave/
---> Using cache
---> b6fee11daa2f
Step 16/29 : ADD release/services/teaclave_authentication_service /teaclave/
---> Using cache
---> 9dd52d5fd225
Step 17/29 : ADD release/services/teaclave_authentication_service_enclave.signed.so /teaclave/
---> Using cache
---> 80271d9446bb
Step 18/29 : ADD release/services/teaclave_management_service /teaclave/
---> Using cache
---> 5a41dca34b9a
Step 19/29 : ADD release/services/teaclave_management_service_enclave.signed.so /teaclave/
---> Using cache
---> 921d3bd8b318
Step 20/29 : ADD release/services/teaclave_scheduler_service /teaclave/
---> Using cache
---> 30a7046e9939
Step 21/29 : ADD release/services/teaclave_scheduler_service_enclave.signed.so /teaclave/
---> Using cache
---> bad5c52051c3
Step 22/29 : ADD release/services/teaclave_access_control_service /teaclave/
---> Using cache
---> cfe3f99ee1fb
Step 23/29 : ADD release/services/teaclave_access_control_service_enclave.signed.so /teaclave/
---> Using cache
---> f52abbab7cf3
Step 24/29 : ADD release/services/teaclave_storage_service /teaclave/
---> Using cache
---> 301b116a6525
Step 25/29 : ADD release/services/teaclave_storage_service_enclave.signed.so /teaclave/
---> Using cache
---> 4211ad0a1ad7
Step 26/29 : ADD release/services/teaclave_execution_service /teaclave/
---> Using cache
---> 2912ec8a1d15
Step 27/29 : ADD release/services/teaclave_execution_service_enclave.signed.so /teaclave/
---> Using cache
---> 81ffad21ab27
Step 28/29 : ADD release/services/enclave_info.toml /teaclave/
---> Using cache
---> 3a7b6c47f1a3
Step 29/29 : ADD release/services/auditors /teaclave/auditors
---> Using cache
---> cd92db5bf5fa
Successfully built cd92db5bf5fa
Successfully tagged docker_teaclave-management-service-sgx-sim-mode:latest
Building teaclave-frontend-service-sgx-sim-mode
Step 1/29 : FROM ubuntu:18.04
---> c090eaba6b94
Step 2/29 : ENV VERSION 2.9.101.2-bionic1
---> Using cache
---> c79b094403a2
Step 3/29 : ENV SGX_DOWNLOAD_URL_BASE "https://download.01.org/intel-sgx/sgx-linux/2.9.1/distro/ubuntu18.04-server"
---> Using cache
---> 275d85d58955
Step 4/29 : ENV SGX_LINUX_X64_SDK sgx_linux_x64_sdk_2.9.101.2.bin
---> Using cache
---> 156c9a878491
Step 5/29 : ENV SGX_LINUX_X64_SDK_URL "$SGX_DOWNLOAD_URL_BASE/$SGX_LINUX_X64_SDK"
---> Using cache
---> 6521903008e8
Step 6/29 : RUN apt-get update && apt-get install -q -y libcurl4-openssl-dev libprotobuf-dev curl pkg-config wget
---> Using cache
---> 04db0a867bcd
Step 7/29 : RUN echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu bionic main' | tee /etc/apt/sources.list.d/intel-sgx.list
---> Using cache
---> 2961160d045a
Step 8/29 : RUN curl -fsSL https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | apt-key add -
---> Using cache
---> 164af245f044
Step 9/29 : RUN apt-get update && apt-get install -q -y libsgx-launch=$VERSION libsgx-urts=$VERSION libsgx-quote-ex=$VERSION
---> Using cache
---> f823bb1bca74
Step 10/29 : RUN mkdir /etc/init
---> Using cache
---> 52c1c3cce471
Step 11/29 : RUN wget $SGX_LINUX_X64_SDK_URL && chmod u+x $SGX_LINUX_X64_SDK && echo -e 'no\n/opt' | ./$SGX_LINUX_X64_SDK && rm $SGX_LINUX_X64_SDK && echo 'source /opt/sgxsdk/environment' >> /etc/environment
---> Using cache
---> 688849fbc26e
Step 12/29 : ENV LD_LIBRARY_PATH=/opt/sgxsdk/sdk_libs
---> Using cache
---> 16060263928f
Step 13/29 : RUN mkdir -p /tmp/fusion_data
---> Using cache
---> bf1356023ff0
Step 14/29 : ADD release/services/teaclave_frontend_service /teaclave/
---> Using cache
---> 827d26630464
Step 15/29 : ADD release/services/teaclave_frontend_service_enclave.signed.so /teaclave/
---> Using cache
---> b6fee11daa2f
Step 16/29 : ADD release/services/teaclave_authentication_service /teaclave/
---> Using cache
---> 9dd52d5fd225
Step 17/29 : ADD release/services/teaclave_authentication_service_enclave.signed.so /teaclave/
---> Using cache
---> 80271d9446bb
Step 18/29 : ADD release/services/teaclave_management_service /teaclave/
---> Using cache
---> 5a41dca34b9a
Step 19/29 : ADD release/services/teaclave_management_service_enclave.signed.so /teaclave/
---> Using cache
---> 921d3bd8b318
Step 20/29 : ADD release/services/teaclave_scheduler_service /teaclave/
---> Using cache
---> 30a7046e9939
Step 21/29 : ADD release/services/teaclave_scheduler_service_enclave.signed.so /teaclave/
---> Using cache
---> bad5c52051c3
Step 22/29 : ADD release/services/teaclave_access_control_service /teaclave/
---> Using cache
---> cfe3f99ee1fb
Step 23/29 : ADD release/services/teaclave_access_control_service_enclave.signed.so /teaclave/
---> Using cache
---> f52abbab7cf3
Step 24/29 : ADD release/services/teaclave_storage_service /teaclave/
---> Using cache
---> 301b116a6525
Step 25/29 : ADD release/services/teaclave_storage_service_enclave.signed.so /teaclave/
---> Using cache
---> 4211ad0a1ad7
Step 26/29 : ADD release/services/teaclave_execution_service /teaclave/
---> Using cache
---> 2912ec8a1d15
Step 27/29 : ADD release/services/teaclave_execution_service_enclave.signed.so /teaclave/
---> Using cache
---> 81ffad21ab27
Step 28/29 : ADD release/services/enclave_info.toml /teaclave/
---> Using cache
---> 3a7b6c47f1a3
Step 29/29 : ADD release/services/auditors /teaclave/auditors
---> Using cache
---> cd92db5bf5fa
Successfully built cd92db5bf5fa
Successfully tagged docker_teaclave-frontend-service-sgx-sim-mode:latest
Building teaclave-scheduler-service-sgx-sim-mode
Step 1/29 : FROM ubuntu:18.04
---> c090eaba6b94
Step 2/29 : ENV VERSION 2.9.101.2-bionic1
---> Using cache
---> c79b094403a2
Step 3/29 : ENV SGX_DOWNLOAD_URL_BASE "https://download.01.org/intel-sgx/sgx-linux/2.9.1/distro/ubuntu18.04-server"
---> Using cache
---> 275d85d58955
Step 4/29 : ENV SGX_LINUX_X64_SDK sgx_linux_x64_sdk_2.9.101.2.bin
---> Using cache
---> 156c9a878491
Step 5/29 : ENV SGX_LINUX_X64_SDK_URL "$SGX_DOWNLOAD_URL_BASE/$SGX_LINUX_X64_SDK"
---> Using cache
---> 6521903008e8
Step 6/29 : RUN apt-get update && apt-get install -q -y libcurl4-openssl-dev libprotobuf-dev curl pkg-config wget
---> Using cache
---> 04db0a867bcd
Step 7/29 : RUN echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu bionic main' | tee /etc/apt/sources.list.d/intel-sgx.list
---> Using cache
---> 2961160d045a
Step 8/29 : RUN curl -fsSL https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | apt-key add -
---> Using cache
---> 164af245f044
Step 9/29 : RUN apt-get update && apt-get install -q -y libsgx-launch=$VERSION libsgx-urts=$VERSION libsgx-quote-ex=$VERSION
---> Using cache
---> f823bb1bca74
Step 10/29 : RUN mkdir /etc/init
---> Using cache
---> 52c1c3cce471
Step 11/29 : RUN wget $SGX_LINUX_X64_SDK_URL && chmod u+x $SGX_LINUX_X64_SDK && echo -e 'no\n/opt' | ./$SGX_LINUX_X64_SDK && rm $SGX_LINUX_X64_SDK && echo 'source /opt/sgxsdk/environment' >> /etc/environment
---> Using cache
---> 688849fbc26e
Step 12/29 : ENV LD_LIBRARY_PATH=/opt/sgxsdk/sdk_libs
---> Using cache
---> 16060263928f
Step 13/29 : RUN mkdir -p /tmp/fusion_data
---> Using cache
---> bf1356023ff0
Step 14/29 : ADD release/services/teaclave_frontend_service /teaclave/
---> Using cache
---> 827d26630464
Step 15/29 : ADD release/services/teaclave_frontend_service_enclave.signed.so /teaclave/
---> Using cache
---> b6fee11daa2f
Step 16/29 : ADD release/services/teaclave_authentication_service /teaclave/
---> Using cache
---> 9dd52d5fd225
Step 17/29 : ADD release/services/teaclave_authentication_service_enclave.signed.so /teaclave/
---> Using cache
---> 80271d9446bb
Step 18/29 : ADD release/services/teaclave_management_service /teaclave/
---> Using cache
---> 5a41dca34b9a
Step 19/29 : ADD release/services/teaclave_management_service_enclave.signed.so /teaclave/
---> Using cache
---> 921d3bd8b318
Step 20/29 : ADD release/services/teaclave_scheduler_service /teaclave/
---> Using cache
---> 30a7046e9939
Step 21/29 : ADD release/services/teaclave_scheduler_service_enclave.signed.so /teaclave/
---> Using cache
---> bad5c52051c3
Step 22/29 : ADD release/services/teaclave_access_control_service /teaclave/
---> Using cache
---> cfe3f99ee1fb
Step 23/29 : ADD release/services/teaclave_access_control_service_enclave.signed.so /teaclave/
---> Using cache
---> f52abbab7cf3
Step 24/29 : ADD release/services/teaclave_storage_service /teaclave/
---> Using cache
---> 301b116a6525
Step 25/29 : ADD release/services/teaclave_storage_service_enclave.signed.so /teaclave/
---> Using cache
---> 4211ad0a1ad7
Step 26/29 : ADD release/services/teaclave_execution_service /teaclave/
---> Using cache
---> 2912ec8a1d15
Step 27/29 : ADD release/services/teaclave_execution_service_enclave.signed.so /teaclave/
---> Using cache
---> 81ffad21ab27
Step 28/29 : ADD release/services/enclave_info.toml /teaclave/
---> Using cache
---> 3a7b6c47f1a3
Step 29/29 : ADD release/services/auditors /teaclave/auditors
---> Using cache
---> cd92db5bf5fa
Successfully built cd92db5bf5fa
Successfully tagged docker_teaclave-scheduler-service-sgx-sim-mode:latest
Building teaclave-execution-service-sgx-sim-mode
Step 1/29 : FROM ubuntu:18.04
---> c090eaba6b94
Step 2/29 : ENV VERSION 2.9.101.2-bionic1
---> Using cache
---> c79b094403a2
Step 3/29 : ENV SGX_DOWNLOAD_URL_BASE "https://download.01.org/intel-sgx/sgx-linux/2.9.1/distro/ubuntu18.04-server"
---> Using cache
---> 275d85d58955
Step 4/29 : ENV SGX_LINUX_X64_SDK sgx_linux_x64_sdk_2.9.101.2.bin
---> Using cache
---> 156c9a878491
Step 5/29 : ENV SGX_LINUX_X64_SDK_URL "$SGX_DOWNLOAD_URL_BASE/$SGX_LINUX_X64_SDK"
---> Using cache
---> 6521903008e8
Step 6/29 : RUN apt-get update && apt-get install -q -y libcurl4-openssl-dev libprotobuf-dev curl pkg-config wget
---> Using cache
---> 04db0a867bcd
Step 7/29 : RUN echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu bionic main' | tee /etc/apt/sources.list.d/intel-sgx.list
---> Using cache
---> 2961160d045a
Step 8/29 : RUN curl -fsSL https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | apt-key add -
---> Using cache
---> 164af245f044
Step 9/29 : RUN apt-get update && apt-get install -q -y libsgx-launch=$VERSION libsgx-urts=$VERSION libsgx-quote-ex=$VERSION
---> Using cache
---> f823bb1bca74
Step 10/29 : RUN mkdir /etc/init
---> Using cache
---> 52c1c3cce471
Step 11/29 : RUN wget $SGX_LINUX_X64_SDK_URL && chmod u+x $SGX_LINUX_X64_SDK && echo -e 'no\n/opt' | ./$SGX_LINUX_X64_SDK && rm $SGX_LINUX_X64_SDK && echo 'source /opt/sgxsdk/environment' >> /etc/environment
---> Using cache
---> 688849fbc26e
Step 12/29 : ENV LD_LIBRARY_PATH=/opt/sgxsdk/sdk_libs
---> Using cache
---> 16060263928f
Step 13/29 : RUN mkdir -p /tmp/fusion_data
---> Using cache
---> bf1356023ff0
Step 14/29 : ADD release/services/teaclave_frontend_service /teaclave/
---> Using cache
---> 827d26630464
Step 15/29 : ADD release/services/teaclave_frontend_service_enclave.signed.so /teaclave/
---> Using cache
---> b6fee11daa2f
Step 16/29 : ADD release/services/teaclave_authentication_service /teaclave/
---> Using cache
---> 9dd52d5fd225
Step 17/29 : ADD release/services/teaclave_authentication_service_enclave.signed.so /teaclave/
---> Using cache
---> 80271d9446bb
Step 18/29 : ADD release/services/teaclave_management_service /teaclave/
---> Using cache
---> 5a41dca34b9a
Step 19/29 : ADD release/services/teaclave_management_service_enclave.signed.so /teaclave/
---> Using cache
---> 921d3bd8b318
Step 20/29 : ADD release/services/teaclave_scheduler_service /teaclave/
---> Using cache
---> 30a7046e9939
Step 21/29 : ADD release/services/teaclave_scheduler_service_enclave.signed.so /teaclave/
---> Using cache
---> bad5c52051c3
Step 22/29 : ADD release/services/teaclave_access_control_service /teaclave/
---> Using cache
---> cfe3f99ee1fb
Step 23/29 : ADD release/services/teaclave_access_control_service_enclave.signed.so /teaclave/
---> Using cache
---> f52abbab7cf3
Step 24/29 : ADD release/services/teaclave_storage_service /teaclave/
---> Using cache
---> 301b116a6525
Step 25/29 : ADD release/services/teaclave_storage_service_enclave.signed.so /teaclave/
---> Using cache
---> 4211ad0a1ad7
Step 26/29 : ADD release/services/teaclave_execution_service /teaclave/
---> Using cache
---> 2912ec8a1d15
Step 27/29 : ADD release/services/teaclave_execution_service_enclave.signed.so /teaclave/
---> Using cache
---> 81ffad21ab27
Step 28/29 : ADD release/services/enclave_info.toml /teaclave/
---> Using cache
---> 3a7b6c47f1a3
Step 29/29 : ADD release/services/auditors /teaclave/auditors
---> Using cache
---> cd92db5bf5fa
Successfully built cd92db5bf5fa
Successfully tagged docker_teaclave-execution-service-sgx-sim-mode:latest
Recreating teaclave-access-control-service-sgx-sim-mode ... done
Recreating teaclave-authentication-service-sgx-sim-mode ... done
Recreating teaclave-storage-service-sgx-sim-mode ... done
Starting docker_teaclave-file-service_1 ... done
Recreating teaclave-scheduler-service-sgx-sim-mode ... done
Recreating teaclave-management-service-sgx-sim-mode ... done
Recreating teaclave-execution-service-sgx-sim-mode ... done
Recreating teaclave-frontend-service-sgx-sim-mode ... done
Attaching to teaclave-storage-service-sgx-sim-mode, teaclave-access-control-service-sgx-sim-mode, docker_teaclave-file-service_1, teaclave-authentication-service-sgx-sim-mode, teaclave-scheduler-service-sgx-sim-mode, teaclave-management-service-sgx-sim-mode, teaclave-execution-service-sgx-sim-mode, teaclave-frontend-service-sgx-sim-mode
teaclave-access-control-service-sgx-sim-mode | [2021-01-31T13:53:19Z DEBUG teaclave_binder::binder] EnclaveID: 4294967298
teaclave-access-control-service-sgx-sim-mode | [2021-01-31T13:53:19Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1001, 4 bytes
teaclave-access-control-service-sgx-sim-mode | [2021-01-31T13:53:19Z DEBUG teaclave_service_enclave_utils] Enclave initializing
teaclave-access-control-service-sgx-sim-mode | [2021-01-31T13:53:19Z DEBUG teaclave_binder::ipc::app] ecall_ipc_entry_point OK. App Received Buf: [123, 34, 79, 107, 34, 58, 110, 117, 108, 108, 125]
teaclave-authentication-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_binder::binder] EnclaveID: 4294967298
teaclave-authentication-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1001, 4 bytes
teaclave-authentication-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_service_enclave_utils] Enclave initializing
teaclave-access-control-service-sgx-sim-mode | [2021-01-31T13:53:19Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1000, 3348 bytes
teaclave-access-control-service-sgx-sim-mode | [2021-01-31T13:53:19Z DEBUG teaclave_access_control_service_enclave] handle_invoke
teaclave-authentication-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_binder::ipc::app] ecall_ipc_entry_point OK. App Received Buf: [123, 34, 79, 107, 34, 58, 110, 117, 108, 108, 125]
teaclave-access-control-service-sgx-sim-mode | [2021-01-31T13:53:19Z DEBUG teaclave_attestation::attestation] AttestedTlsConfig { cert: [48, 130, 1, 87, 48, 129, 253, 160, 3, 2, 1, 2, 2, 1, 1, 48, 10, 6, 8, 42, 134, 72, 206, 61, 4, 3, 2, 48, 19, 49, 17, 48, 15, 6, 3, 85, 4, 3, 12, 8, 84, 101, 97, 99, 108, 97, 118, 101, 48, 30, 23, 13, 50, 49, 48, 49, 51, 49, 49, 51, 53, 51, 49, 57, 90, 23, 13, 50, 49, 48, 53, 48, 49, 49, 51, 53, 51, 49, 57, 90, 48, 22, 49, 20, 48, 18, 6, 3, 85, 4, 3, 12, 11, 67, 78, 61, 84, 101, 97, 99, 108, 97, 118, 101, 48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 150, 231, 23, 233, 32, 75, 7, 132, 78, 10, 185, 145, 162, 206, 121, 250, 50, 180, 60, 158, 17, 251, 254, 235, 52, 230, 69, 164, 243, 249, 207, 133, 159, 198, 194, 98, 132, 250, 106, 186, 99, 114, 12, 216, 147, 190, 17, 11, 222, 67, 193, 209, 2, 11, 113, 55, 96, 224, 219, 93, 186, 86, 166, 123, 163, 63, 48, 61, 48, 59, 6, 9, 96, 134, 72, 1, 134,
248, 66, 1, 13, 4, 46, 123, 34, 114, 101, 112, 111, 114, 116, 34, 58, 91, 93, 44, 34, 115, 105, 103, 110, 97, 116, 117, 114, 101, 34, 58, 91, 93, 44, 34, 115, 105, 103, 110, 105, 110, 103, 95, 99, 101, 114, 116, 34, 58, 91, 93, 125, 48, 10, 6, 8, 42, 134, 72, 206, 61, 4, 3, 2, 3, 73, 0, 48, 70, 2, 33, 0, 207, 73, 114, 197, 172, 158, 183, 6, 142, 178, 171, 43, 15, 99, 100, 163, 117, 220, 15, 239, 249, 255, 186, 250, 50, 78, 41, 101, 161, 3, 32, 42, 2, 33, 0, 182, 74, 230, 145, 101, 170, 172, 29, 187, 115, 61, 18, 22, 18, 90, 90, 191, 79, 141, 137, 20, 38, 98, 189, 50, 55, 158, 23, 14, 196, 157, 3], private_key: [48, 129, 135, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 109, 48, 107, 2, 1, 1, 4, 32, 208, 37, 66, 92, 89, 90, 90, 186, 60, 93, 24, 189, 234, 255, 180, 153, 98, 77, 92, 226, 130, 77, 147, 39, 233, 136, 102, 164, 245, 73, 185, 208, 161, 68, 3, 66, 0, 4, 150, 231, 23, 233, 32, 75, 7, 132, 78, 10, 185, 145, 162, 206, 121, 250, 50,
180, 60, 158, 17, 251, 254, 235, 52, 230, 69, 164, 243, 249, 207, 133, 159, 198, 194, 98, 132, 250, 106, 186, 99, 114, 12, 216, 147, 190, 17, 11, 222, 67, 193, 209, 2, 11, 113, 55, 96, 224, 219, 93, 186, 86, 166, 123], time: SystemTime { tv_sec: 1612101199, tv_nsec: 280574482 }, validity: 3600s }
teaclave-access-control-service-sgx-sim-mode | [2021-01-31T13:53:19Z DEBUG teaclave_attestation::attestation] AttestationFreshnessKeeper started
teaclave-authentication-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1000, 3348 bytes
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_binder::binder] EnclaveID: 4294967298
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1001, 4 bytes
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_service_enclave_utils] Enclave initializing
teaclave-authentication-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_authentication_service_enclave] handle_invoke
teaclave-authentication-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_attestation::attestation] AttestedTlsConfig { cert: [48, 130, 1, 86, 48, 129, 253, 160, 3, 2, 1, 2, 2, 1, 1, 48, 10, 6, 8, 42, 134, 72, 206, 61, 4, 3, 2, 48, 19, 49, 17, 48, 15, 6, 3, 85, 4, 3, 12, 8, 84, 101, 97, 99, 108, 97, 118, 101, 48, 30, 23, 13, 50, 49, 48, 49, 51, 49, 49, 51, 53, 51, 50, 48, 90, 23, 13, 50, 49, 48, 53, 48, 49, 49, 51, 53, 51, 50, 48, 90, 48, 22, 49, 20, 48, 18, 6, 3, 85, 4, 3, 12, 11, 67, 78, 61, 84, 101, 97, 99, 108, 97, 118, 101, 48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 144, 122, 83, 225, 186, 8, 251, 185, 188, 78, 77, 74, 211, 220, 249, 165, 211, 6, 35, 77, 131, 176, 183, 51, 84, 92, 202, 241, 110, 110, 139, 18, 185, 67, 190, 16, 255, 57, 82, 43, 192, 233, 67, 19, 154, 16, 48, 52, 185, 129, 68, 93, 77, 73, 73, 75, 172, 125, 120, 217, 232, 175, 243, 2, 163, 63, 48, 61, 48, 59, 6, 9, 96, 134, 72, 1, 134, 248, 66
, 1, 13, 4, 46, 123, 34, 114, 101, 112, 111, 114, 116, 34, 58, 91, 93, 44, 34, 115, 105, 103, 110, 97, 116, 117, 114, 101, 34, 58, 91, 93, 44, 34, 115, 105, 103, 110, 105, 110, 103, 95, 99, 101, 114, 116, 34, 58, 91, 93, 125, 48, 10, 6, 8, 42, 134, 72, 206, 61, 4, 3, 2, 3, 72, 0, 48, 69, 2, 33, 0, 133, 89, 156, 202, 226, 28, 235, 116, 10, 81, 35, 163, 241, 194, 67, 63, 126, 180, 60, 54, 182, 212, 251, 92, 25, 43, 115, 252, 51, 56, 4, 163, 2, 32, 67, 126, 106, 53, 163, 16, 96, 81, 107, 239, 148, 70, 9, 225, 81, 250, 126, 215, 69, 178, 75, 10, 25, 134, 106, 119, 152, 97, 175, 99, 197, 141], private_key: [48, 129, 135, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 109, 48, 107, 2, 1, 1, 4, 32, 171, 49, 126, 162, 57, 54, 61, 50, 208, 0, 171, 161, 72, 225, 195, 109, 8, 153, 157, 182, 63, 5, 238, 167, 168, 203, 94, 49, 115, 127, 62, 244, 161, 68, 3, 66, 0, 4, 144, 122, 83, 225, 186, 8, 251, 185, 188, 78, 77, 74, 211, 220, 249, 165, 211, 6, 35,
77, 131, 176, 183, 51, 84, 92, 202, 241, 110, 110, 139, 18, 185, 67, 190, 16, 255, 57, 82, 43, 192, 233, 67, 19, 154, 16, 48, 52, 185, 129, 68, 93, 77, 73, 73, 75, 172, 125, 120, 217, 232, 175, 243, 2], time: SystemTime { tv_sec: 1612101200, tv_nsec: 189609315 }, validity: 3600s }
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_binder::binder] EnclaveID: 4294967298
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1001, 4 bytes
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_service_enclave_utils] Enclave initializing
teaclave-storage-service-sgx-sim-mode | [2021-01-31T13:53:18Z DEBUG teaclave_binder::binder] EnclaveID: 4294967298
teaclave-storage-service-sgx-sim-mode | [2021-01-31T13:53:18Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1001, 4 bytes
teaclave-storage-service-sgx-sim-mode | [2021-01-31T13:53:18Z DEBUG teaclave_service_enclave_utils] Enclave initializing
teaclave-storage-service-sgx-sim-mode | [2021-01-31T13:53:18Z DEBUG teaclave_binder::ipc::app] ecall_ipc_entry_point OK. App Received Buf: [123, 34, 79, 107, 34, 58, 110, 117, 108, 108, 125]
teaclave-authentication-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_attestation::attestation] AttestationFreshnessKeeper started
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_binder::ipc::app] ecall_ipc_entry_point OK. App Received Buf: [123, 34, 79, 107, 34, 58, 110, 117, 108, 108, 125]
teaclave-storage-service-sgx-sim-mode | [2021-01-31T13:53:18Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1000, 3348 bytes
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1000, 3348 bytes
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_binder::ipc::app] ecall_ipc_entry_point OK. App Received Buf: [123, 34, 79, 107, 34, 58, 110, 117, 108, 108, 125]
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1000, 3348 bytes
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_scheduler_service_enclave] handle_invoke
teaclave-storage-service-sgx-sim-mode | [2021-01-31T13:53:18Z DEBUG teaclave_storage_service_enclave] handle_invoke
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_attestation::attestation] AttestedTlsConfig { cert: [48, 130, 1, 86, 48, 129, 253, 160, 3, 2, 1, 2, 2, 1, 1, 48, 10, 6, 8, 42, 134, 72, 206, 61, 4, 3, 2, 48, 19, 49, 17, 48, 15, 6, 3, 85, 4, 3, 12, 8, 84, 101, 97, 99, 108, 97, 118, 101, 48, 30, 23, 13, 50, 49, 48, 49, 51, 49, 49, 51, 53, 51, 50, 48, 90, 23, 13, 50, 49, 48, 53, 48, 49, 49, 51, 53, 51, 50, 48, 90, 48, 22, 49, 20, 48, 18, 6, 3, 85, 4, 3, 12, 11, 67, 78, 61, 84, 101, 97, 99, 108, 97, 118, 101, 48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 225, 165, 184, 86, 228, 87, 40, 46, 143, 203, 149, 161, 198, 54, 133, 140, 8, 169, 206, 68, 69, 199, 85, 106, 249, 240, 203, 3, 204, 81, 244, 255, 161, 172, 17, 86, 233, 216, 61, 86, 67, 100, 29, 12, 166, 169, 188, 207, 131, 104, 198, 223, 97, 22, 167, 44, 195, 6, 188, 164, 22, 6, 247, 106, 163, 63, 48, 61, 48, 59, 6, 9, 96, 134, 72, 1, 134, 248
, 66, 1, 13, 4, 46, 123, 34, 114, 101, 112, 111, 114, 116, 34, 58, 91, 93, 44, 34, 115, 105, 103, 110, 97, 116, 117, 114, 101, 34, 58, 91, 93, 44, 34, 115, 105, 103, 110, 105, 110, 103, 95, 99, 101, 114, 116, 34, 58, 91, 93, 125, 48, 10, 6, 8, 42, 134, 72, 206, 61, 4, 3, 2, 3, 72, 0, 48, 69, 2, 32, 17, 251, 128, 228, 124, 110, 52, 54, 157, 93, 194, 243, 186, 70, 36, 199, 30, 39, 235, 138, 35, 53, 151, 20, 55, 73, 151, 151, 178, 201, 162, 161, 2, 33, 0, 211, 205, 183, 93, 142, 254, 145, 7, 101, 216, 158, 73, 221, 154, 66, 206, 54, 247, 110, 217, 84, 247, 214, 87, 92, 56, 72, 88, 56, 168, 200, 230], private_key: [48, 129, 135, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 109, 48, 107, 2, 1, 1, 4, 32, 84, 202, 208, 86, 117, 18, 125, 3, 229, 130, 125, 211, 181, 8, 12, 230, 206, 245, 160, 104, 175, 245, 34, 124, 85, 151, 175, 124, 176, 129, 206, 163, 161, 68, 3, 66, 0, 4, 225, 165, 184, 86, 228, 87, 40, 46, 143, 203, 149, 161, 198, 54, 133, 1
40, 8, 169, 206, 68, 69, 199, 85, 106, 249, 240, 203, 3, 204, 81, 244, 255, 161, 172, 17, 86, 233, 216, 61, 86, 67, 100, 29, 12, 166, 169, 188, 207, 131, 104, 198, 223, 97, 22, 167, 44, 195, 6, 188, 164, 22, 6, 247, 106], time: SystemTime { tv_sec: 1612101200, tv_nsec: 255423425 }, validity: 3600s }
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_management_service_enclave] handle_invoke
teaclave-storage-service-sgx-sim-mode | [2021-01-31T13:53:18Z DEBUG teaclave_attestation::attestation] AttestedTlsConfig { cert: [48, 130, 1, 87, 48, 129, 253, 160, 3, 2, 1, 2, 2, 1, 1, 48, 10, 6, 8, 42, 134, 72, 206, 61, 4, 3, 2, 48, 19, 49, 17, 48, 15, 6, 3, 85, 4, 3, 12, 8, 84, 101, 97, 99, 108, 97, 118, 101, 48, 30, 23, 13, 50, 49, 48, 49, 51, 49, 49, 51, 53, 51, 49, 56, 90, 23, 13, 50, 49, 48, 53, 48, 49, 49, 51, 53, 51, 49, 56, 90, 48, 22, 49, 20, 48, 18, 6, 3, 85, 4, 3, 12, 11, 67, 78, 61, 84, 101, 97, 99, 108, 97, 118, 101, 48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 226, 205, 228, 72, 30, 8, 90, 106, 232, 191, 160, 0, 250, 75, 23, 167, 233, 187, 189, 135, 15, 1, 96, 38, 176, 188, 154, 229, 207, 164, 199, 3, 159, 13, 56, 132, 240, 241, 225, 206, 215, 63, 178, 27, 120, 245, 105, 148, 188, 215, 64, 176, 250, 216, 146, 47, 5, 162, 45, 97, 236, 177, 115, 62, 163, 63, 48, 61, 48, 59, 6, 9, 96, 134, 72, 1, 134, 24
8, 66, 1, 13, 4, 46, 123, 34, 114, 101, 112, 111, 114, 116, 34, 58, 91, 93, 44, 34, 115, 105, 103, 110, 97, 116, 117, 114, 101, 34, 58, 91, 93, 44, 34, 115, 105, 103, 110, 105, 110, 103, 95, 99, 101, 114, 116, 34, 58, 91, 93, 125, 48, 10, 6, 8, 42, 134, 72, 206, 61, 4, 3, 2, 3, 73, 0, 48, 70, 2, 33, 0, 182, 78, 94, 117, 33, 25, 187, 40, 153, 53, 162, 61, 180, 219, 47, 226, 118, 189, 182, 155, 74, 159, 86, 60, 170, 247, 8, 60, 145, 115, 2, 74, 2, 33, 0, 239, 198, 79, 38, 132, 32, 170, 147, 166, 119, 136, 46, 186, 168, 116, 185, 139, 126, 216, 151, 46, 28, 46, 108, 158, 81, 5, 57, 168, 9, 225, 38], private_key: [48, 129, 135, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 109, 48, 107, 2, 1, 1, 4, 32, 72, 230, 115, 5, 249, 6, 163, 83, 68, 183, 141, 17, 79, 83, 102, 2, 135, 231, 140, 95, 215, 193, 128, 10, 201, 241, 236, 9, 156, 0, 202, 158, 161, 68, 3, 66, 0, 4, 226, 205, 228, 72, 30, 8, 90, 106, 232, 191, 160, 0, 250, 75, 23, 167, 233, 187,
189, 135, 15, 1, 96, 38, 176, 188, 154, 229, 207, 164, 199, 3, 159, 13, 56, 132, 240, 241, 225, 206, 215, 63, 178, 27, 120, 245, 105, 148, 188, 215, 64, 176, 250, 216, 146, 47, 5, 162, 45, 97, 236, 177, 115, 62], time: SystemTime { tv_sec: 1612101198, tv_nsec: 897395160 }, validity: 3600s }
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_attestation::attestation] AttestedTlsConfig { cert: [48, 130, 1, 86, 48, 129, 253, 160, 3, 2, 1, 2, 2, 1, 1, 48, 10, 6, 8, 42, 134, 72, 206, 61, 4, 3, 2, 48, 19, 49, 17, 48, 15, 6, 3, 85, 4, 3, 12, 8, 84, 101, 97, 99, 108, 97, 118, 101, 48, 30, 23, 13, 50, 49, 48, 49, 51, 49, 49, 51, 53, 51, 50, 48, 90, 23, 13, 50, 49, 48, 53, 48, 49, 49, 51, 53, 51, 50, 48, 90, 48, 22, 49, 20, 48, 18, 6, 3, 85, 4, 3, 12, 11, 67, 78, 61, 84, 101, 97, 99, 108, 97, 118, 101, 48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 183, 102, 168, 82, 71, 53, 255, 253, 209, 45, 245, 62, 206, 235, 243, 69, 48, 138, 177, 141, 181, 176, 79, 41, 19, 6, 62, 49, 57, 49, 8, 86, 170, 74, 2, 207, 195, 73, 0, 233, 223, 168, 42, 160, 254, 64, 239, 164, 207, 84, 112, 4, 72, 234, 81, 36, 116, 172, 45, 149, 12, 242, 198, 195, 163, 63, 48, 61, 48, 59, 6, 9, 96, 134, 72, 1, 134, 248, 66, 1
, 13, 4, 46, 123, 34, 114, 101, 112, 111, 114, 116, 34, 58, 91, 93, 44, 34, 115, 105, 103, 110, 97, 116, 117, 114, 101, 34, 58, 91, 93, 44, 34, 115, 105, 103, 110, 105, 110, 103, 95, 99, 101, 114, 116, 34, 58, 91, 93, 125, 48, 10, 6, 8, 42, 134, 72, 206, 61, 4, 3, 2, 3, 72, 0, 48, 69, 2, 33, 0, 133, 223, 240, 229, 39, 40, 183, 91, 10, 71, 93, 212, 137, 234, 117, 136, 24, 3, 52, 60, 241, 76, 141, 85, 239, 9, 177, 117, 178, 176, 39, 254, 2, 32, 62, 17, 46, 7, 169, 60, 252, 66, 236, 213, 76, 105, 193, 77, 112, 57, 252, 159, 128, 221, 196, 156, 223, 22, 68, 173, 54, 232, 219, 117, 23, 181], private_key: [48, 129, 135, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 109, 48, 107, 2, 1, 1, 4, 32, 95, 69, 21, 67, 5, 100, 162, 172, 201, 195, 46, 249, 241, 6, 120, 228, 110, 97, 10, 52, 232, 235, 94, 248, 4, 80, 166, 124, 246, 93, 153, 218, 161, 68, 3, 66, 0, 4, 183, 102, 168, 82, 71, 53, 255, 253, 209, 45, 245, 62, 206, 235, 243, 69, 48, 138, 177, 1
41, 181, 176, 79, 41, 19, 6, 62, 49, 57, 49, 8, 86, 170, 74, 2, 207, 195, 73, 0, 233, 223, 168, 42, 160, 254, 64, 239, 164, 207, 84, 112, 4, 72, 234, 81, 36, 116, 172, 45, 149, 12, 242, 198, 195], time: SystemTime { tv_sec: 1612101200, tv_nsec: 459649828 }, validity: 3600s }
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_attestation::attestation] AttestationFreshnessKeeper started
teaclave-storage-service-sgx-sim-mode | [2021-01-31T13:53:18Z DEBUG teaclave_attestation::attestation] AttestationFreshnessKeeper started
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_attestation::attestation] AttestationFreshnessKeeper started
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_scheduler_service_enclave::service] Failed to connect to storage service, retry 0
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:20Z DEBUG teaclave_management_service_enclave::service] Failed to connect to storage service, retry 0
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:21Z DEBUG teaclave_binder::binder] EnclaveID: 4294967298
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:21Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1001, 4 bytes
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:21Z DEBUG teaclave_service_enclave_utils] Enclave initializing
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:21Z DEBUG teaclave_binder::ipc::app] ecall_ipc_entry_point OK. App Received Buf: [123, 34, 79, 107, 34, 58, 110, 117, 108, 108, 125]
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:21Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1000, 3348 bytes
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:21Z DEBUG teaclave_execution_service_enclave] handle_invoke
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:21Z DEBUG teaclave_attestation::attestation] AttestedTlsConfig { cert: [48, 130, 1, 86, 48, 129, 253, 160, 3, 2, 1, 2, 2, 1, 1, 48, 10, 6, 8, 42, 134, 72, 206, 61, 4, 3, 2, 48, 19, 49, 17, 48, 15, 6, 3, 85, 4, 3, 12, 8, 84, 101, 97, 99, 108, 97, 118, 101, 48, 30, 23, 13, 50, 49, 48, 49, 51, 49, 49, 51, 53, 51, 50, 49, 90, 23, 13, 50, 49, 48, 53, 48, 49, 49, 51, 53, 51, 50, 49, 90, 48, 22, 49, 20, 48, 18, 6, 3, 85, 4, 3, 12, 11, 67, 78, 61, 84, 101, 97, 99, 108, 97, 118, 101, 48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 225, 132, 130, 87, 230, 255, 239, 92, 154, 236, 171, 78, 123, 210, 92, 235, 158, 238, 49, 83, 14, 205, 114, 88, 159, 2, 239, 70, 32, 91, 30, 128, 201, 120, 86, 141, 215, 244, 217, 193, 57, 122, 77, 60, 44, 109, 150, 84, 182, 246, 173, 100, 50, 185, 189, 93, 102, 133, 188, 215, 29, 100, 239, 123, 163, 63, 48, 61, 48, 59, 6, 9, 96, 134, 72, 1, 134
, 248, 66, 1, 13, 4, 46, 123, 34, 114, 101, 112, 111, 114, 116, 34, 58, 91, 93, 44, 34, 115, 105, 103, 110, 97, 116, 117, 114, 101, 34, 58, 91, 93, 44, 34, 115, 105, 103, 110, 105, 110, 103, 95, 99, 101, 114, 116, 34, 58, 91, 93, 125, 48, 10, 6, 8, 42, 134, 72, 206, 61, 4, 3, 2, 3, 72, 0, 48, 69, 2, 33, 0, 177, 41, 4, 238, 223, 87, 21, 182, 239, 187, 116, 202, 60, 14, 91, 87, 187, 241, 121, 151, 215, 210, 241, 161, 226, 68, 58, 0, 92, 214, 214, 201, 2, 32, 125, 94, 29, 81, 126, 234, 112, 88, 174, 121, 88, 180, 187, 46, 244, 107, 223, 56, 204, 161, 150, 198, 121, 98, 66, 162, 233, 192, 220, 25, 98, 115], private_key: [48, 129, 135, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 109, 48, 107, 2, 1, 1, 4, 32, 186, 229, 227, 237, 38, 113, 211, 128, 56, 169, 114, 245, 16, 40, 229, 127, 235, 180, 61, 206, 254, 23, 250, 187, 193, 150, 156, 210, 219, 109, 72, 33, 161, 68, 3, 66, 0, 4, 225, 132, 130, 87, 230, 255, 239, 92, 154, 236, 171, 78, 123, 2
10, 92, 235, 158, 238, 49, 83, 14, 205, 114, 88, 159, 2, 239, 70, 32, 91, 30, 128, 201, 120, 86, 141, 215, 244, 217, 193, 57, 122, 77, 60, 44, 109, 150, 84, 182, 246, 173, 100, 50, 185, 189, 93, 102, 133, 188, 215, 29, 100, 239, 123], time: SystemTime { tv_sec: 1612101201, tv_nsec: 594974879 }, validity: 3600s }
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:21Z DEBUG teaclave_attestation::attestation] AttestationFreshnessKeeper started
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:21Z DEBUG teaclave_execution_service_enclave::service] Failed to connect to scheduler service, retry 0
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:21Z DEBUG teaclave_binder::binder] EnclaveID: 4294967298
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:21Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1001, 4 bytes
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:21Z DEBUG teaclave_service_enclave_utils] Enclave initializing
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:21Z DEBUG teaclave_binder::ipc::app] ecall_ipc_entry_point OK. App Received Buf: [123, 34, 79, 107, 34, 58, 110, 117, 108, 108, 125]
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:21Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1000, 3348 bytes
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:21Z DEBUG teaclave_frontend_service_enclave] handle_invoke
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:21Z DEBUG teaclave_attestation::attestation] AttestedTlsConfig { cert: [48, 130, 1, 86, 48, 129, 253, 160, 3, 2, 1, 2, 2, 1, 1, 48, 10, 6, 8, 42, 134, 72, 206, 61, 4, 3, 2, 48, 19, 49, 17, 48, 15, 6, 3, 85, 4, 3, 12, 8, 84, 101, 97, 99, 108, 97, 118, 101, 48, 30, 23, 13, 50, 49, 48, 49, 51, 49, 49, 51, 53, 51, 50, 49, 90, 23, 13, 50, 49, 48, 53, 48, 49, 49, 51, 53, 51, 50, 49, 90, 48, 22, 49, 20, 48, 18, 6, 3, 85, 4, 3, 12, 11, 67, 78, 61, 84, 101, 97, 99, 108, 97, 118, 101, 48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 190, 194, 173, 67, 154, 107, 54, 111, 23, 24, 161, 27, 240, 126, 88, 131, 64, 147, 201, 62, 59, 125, 3, 83, 78, 86, 211, 161, 112, 101, 174, 211, 232, 152, 117, 56, 49, 19, 226, 176, 150, 126, 179, 56, 104, 206, 132, 172, 181, 163, 214, 220, 9, 64, 214, 92, 123, 61, 49, 20, 20, 149, 26, 111, 163, 63, 48, 61, 48, 59, 6, 9, 96, 134, 72, 1, 134, 24
8, 66, 1, 13, 4, 46, 123, 34, 114, 101, 112, 111, 114, 116, 34, 58, 91, 93, 44, 34, 115, 105, 103, 110, 97, 116, 117, 114, 101, 34, 58, 91, 93, 44, 34, 115, 105, 103, 110, 105, 110, 103, 95, 99, 101, 114, 116, 34, 58, 91, 93, 125, 48, 10, 6, 8, 42, 134, 72, 206, 61, 4, 3, 2, 3, 72, 0, 48, 69, 2, 33, 0, 246, 198, 34, 84, 103, 119, 210, 148, 100, 70, 158, 233, 80, 184, 157, 147, 9, 47, 24, 3, 169, 26, 127, 248, 125, 154, 123, 249, 82, 45, 252, 80, 2, 32, 16, 133, 181, 56, 100, 167, 199, 24, 130, 209, 177, 142, 199, 68, 234, 254, 52, 9, 116, 166, 12, 26, 219, 57, 190, 148, 66, 176, 97, 96, 111, 87], private_key: [48, 129, 135, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 109, 48, 107, 2, 1, 1, 4, 32, 202, 122, 86, 161, 184, 132, 178, 14, 136, 74, 7, 28, 87, 212, 74, 232, 241, 21, 98, 247, 199, 63, 122, 216, 124, 97, 113, 251, 118, 47, 143, 157, 161, 68, 3, 66, 0, 4, 190, 194, 173, 67, 154, 107, 54, 111, 23, 24, 161, 27, 240, 126, 88, 131, 6
4, 147, 201, 62, 59, 125, 3, 83, 78, 86, 211, 161, 112, 101, 174, 211, 232, 152, 117, 56, 49, 19, 226, 176, 150, 126, 179, 56, 104, 206, 132, 172, 181, 163, 214, 220, 9, 64, 214, 92, 123, 61, 49, 20, 20, 149, 26, 111], time: SystemTime { tv_sec: 1612101201, tv_nsec: 904973437 }, validity: 3600s }
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:21Z DEBUG teaclave_attestation::attestation] AttestationFreshnessKeeper started
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:21Z DEBUG teaclave_frontend_service_enclave::service] Failed to connect to authentication service, retry 0
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:23Z DEBUG teaclave_scheduler_service_enclave::service] Failed to connect to storage service, retry 1
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:23Z DEBUG teaclave_management_service_enclave::service] Failed to connect to storage service, retry 1
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:24Z DEBUG teaclave_execution_service_enclave::service] Failed to connect to scheduler service, retry 1
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:24Z DEBUG teaclave_frontend_service_enclave::service] Failed to connect to authentication service, retry 1
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:26Z DEBUG teaclave_scheduler_service_enclave::service] Failed to connect to storage service, retry 2
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:26Z DEBUG teaclave_management_service_enclave::service] Failed to connect to storage service, retry 2
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:27Z DEBUG teaclave_execution_service_enclave::service] Failed to connect to scheduler service, retry 2
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:27Z DEBUG teaclave_frontend_service_enclave::service] Failed to connect to authentication service, retry 2
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:29Z DEBUG teaclave_scheduler_service_enclave::service] Failed to connect to storage service, retry 3
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:29Z DEBUG teaclave_management_service_enclave::service] Failed to connect to storage service, retry 3
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:30Z DEBUG teaclave_execution_service_enclave::service] Failed to connect to scheduler service, retry 3
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:30Z DEBUG teaclave_frontend_service_enclave::service] Failed to connect to authentication service, retry 3
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:32Z DEBUG teaclave_scheduler_service_enclave::service] Failed to connect to storage service, retry 4
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:32Z DEBUG teaclave_management_service_enclave::service] Failed to connect to storage service, retry 4
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:33Z DEBUG teaclave_execution_service_enclave::service] Failed to connect to scheduler service, retry 4
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:33Z DEBUG teaclave_frontend_service_enclave::service] Failed to connect to authentication service, retry 4
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:35Z DEBUG teaclave_scheduler_service_enclave::service] Failed to connect to storage service, retry 5
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:35Z DEBUG teaclave_management_service_enclave::service] Failed to connect to storage service, retry 5
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:36Z DEBUG teaclave_execution_service_enclave::service] Failed to connect to scheduler service, retry 5
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:36Z DEBUG teaclave_frontend_service_enclave::service] Failed to connect to authentication service, retry 5
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:38Z DEBUG teaclave_scheduler_service_enclave::service] Failed to connect to storage service, retry 6
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:38Z DEBUG teaclave_management_service_enclave::service] Failed to connect to storage service, retry 6
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:39Z DEBUG teaclave_execution_service_enclave::service] Failed to connect to scheduler service, retry 6
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:39Z DEBUG teaclave_frontend_service_enclave::service] Failed to connect to authentication service, retry 6
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:41Z DEBUG teaclave_scheduler_service_enclave::service] Failed to connect to storage service, retry 7
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:41Z DEBUG teaclave_management_service_enclave::service] Failed to connect to storage service, retry 7
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:42Z DEBUG teaclave_execution_service_enclave::service] Failed to connect to scheduler service, retry 7
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:42Z DEBUG teaclave_frontend_service_enclave::service] Failed to connect to authentication service, retry 7
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:44Z DEBUG teaclave_scheduler_service_enclave::service] Failed to connect to storage service, retry 8
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:44Z DEBUG teaclave_management_service_enclave::service] Failed to connect to storage service, retry 8
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:45Z DEBUG teaclave_execution_service_enclave::service] Failed to connect to scheduler service, retry 8
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:45Z DEBUG teaclave_frontend_service_enclave::service] Failed to connect to authentication service, retry 8
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:47Z DEBUG teaclave_scheduler_service_enclave::service] Failed to connect to storage service, retry 9
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:47Z DEBUG teaclave_management_service_enclave::service] Failed to connect to storage service, retry 9
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:48Z DEBUG teaclave_execution_service_enclave::service] Failed to connect to scheduler service, retry 9
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:48Z DEBUG teaclave_frontend_service_enclave::service] Failed to connect to authentication service, retry 9
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:50Z ERROR teaclave_scheduler_service_enclave] Failed to start the service: failed to connect to storage service
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:50Z DEBUG teaclave_binder::ipc::app] ecall_ipc_entry_point OK. App Received Buf: [123, 34, 69, 114, 114, 34, 58, 34, 83, 101, 114, 118, 105, 99, 101, 69, 114, 114, 111, 114, 34, 125]
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:50Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1002, 4 bytes
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:50Z DEBUG teaclave_scheduler_service_enclave] handle_invoke
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:50Z DEBUG teaclave_service_enclave_utils] Enclave finalizing
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:50Z DEBUG teaclave_binder::ipc::app] ecall_ipc_entry_point OK. App Received Buf: [123, 34, 79, 107, 34, 58, 110, 117, 108, 108, 125]
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:50Z DEBUG teaclave_binder::binder] Dropping TeeBinder, start finalize().
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:50Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1002, 4 bytes
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:50Z ERROR teaclave_binder::ipc::app] ecall_ipc_entry_point, app sgx_error:SGX_ERROR_INVALID_ENCLAVE_ID
teaclave-scheduler-service-sgx-sim-mode | [2021-01-31T13:53:50Z ERROR teaclave_binder::binder] IpcError(SgxError(SGX_ERROR_INVALID_ENCLAVE_ID))
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:50Z ERROR teaclave_management_service_enclave] Failed to start the service: failed to connect to storage service
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:50Z DEBUG teaclave_binder::ipc::app] ecall_ipc_entry_point OK. App Received Buf: [123, 34, 69, 114, 114, 34, 58, 34, 83, 101, 114, 118, 105, 99, 101, 69, 114, 114, 111, 114, 34, 125]
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:50Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1002, 4 bytes
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:50Z DEBUG teaclave_management_service_enclave] handle_invoke
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:50Z DEBUG teaclave_service_enclave_utils] Enclave finalizing
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:50Z DEBUG teaclave_binder::ipc::app] ecall_ipc_entry_point OK. App Received Buf: [123, 34, 79, 107, 34, 58, 110, 117, 108, 108, 125]
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:50Z DEBUG teaclave_binder::binder] Dropping TeeBinder, start finalize().
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:50Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1002, 4 bytes
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:50Z ERROR teaclave_binder::ipc::app] ecall_ipc_entry_point, app sgx_error:SGX_ERROR_INVALID_ENCLAVE_ID
teaclave-management-service-sgx-sim-mode | [2021-01-31T13:53:50Z ERROR teaclave_binder::binder] IpcError(SgxError(SGX_ERROR_INVALID_ENCLAVE_ID))
teaclave-scheduler-service-sgx-sim-mode exited with code 0
teaclave-management-service-sgx-sim-mode exited with code 0
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:51Z ERROR teaclave_execution_service_enclave] Failed to start the service: failed to connect to scheduler service
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:51Z DEBUG teaclave_binder::ipc::app] ecall_ipc_entry_point OK. App Received Buf: [123, 34, 69, 114, 114, 34, 58, 34, 83, 101, 114, 118, 105, 99, 101, 69, 114, 114, 111, 114, 34, 125]
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:51Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1002, 4 bytes
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:51Z DEBUG teaclave_execution_service_enclave] handle_invoke
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:51Z DEBUG teaclave_service_enclave_utils] Enclave finalizing
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:51Z DEBUG teaclave_binder::ipc::app] ecall_ipc_entry_point OK. App Received Buf: [123, 34, 79, 107, 34, 58, 110, 117, 108, 108, 125]
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:51Z DEBUG teaclave_binder::binder] Dropping TeeBinder, start finalize().
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:51Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1002, 4 bytes
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:51Z ERROR teaclave_binder::ipc::app] ecall_ipc_entry_point, app sgx_error:SGX_ERROR_INVALID_ENCLAVE_ID
teaclave-execution-service-sgx-sim-mode | [2021-01-31T13:53:51Z ERROR teaclave_binder::binder] IpcError(SgxError(SGX_ERROR_INVALID_ENCLAVE_ID))
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:51Z ERROR teaclave_frontend_service_enclave] Failed to start the service: failed to connect to authentication service
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:51Z DEBUG teaclave_binder::ipc::app] ecall_ipc_entry_point OK. App Received Buf: [123, 34, 69, 114, 114, 34, 58, 34, 83, 101, 114, 118, 105, 99, 101, 69, 114, 114, 111, 114, 34, 125]
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:51Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1002, 4 bytes
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:51Z DEBUG teaclave_frontend_service_enclave] handle_invoke
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:51Z DEBUG teaclave_service_enclave_utils] Enclave finalizing
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:51Z DEBUG teaclave_binder::ipc::app] ecall_ipc_entry_point OK. App Received Buf: [123, 34, 79, 107, 34, 58, 110, 117, 108, 108, 125]
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:51Z DEBUG teaclave_binder::binder] Dropping TeeBinder, start finalize().
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:51Z DEBUG teaclave_binder::ipc::app] ecall_ipc_app_to_tee: 1002, 4 bytes
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:51Z ERROR teaclave_binder::ipc::app] ecall_ipc_entry_point, app sgx_error:SGX_ERROR_INVALID_ENCLAVE_ID
teaclave-frontend-service-sgx-sim-mode | [2021-01-31T13:53:51Z ERROR teaclave_binder::binder] IpcError(SgxError(SGX_ERROR_INVALID_ENCLAVE_ID))
teaclave-execution-service-sgx-sim-mode exited with code 0
teaclave-frontend-service-sgx-sim-mode exited with code 0
`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org
[GitHub] [incubator-teaclave] master-davidlee commented on issue #463: Execute builtin_echo.py error
Posted by GitBox <gi...@apache.org>.
master-davidlee commented on issue #463:
URL: https://github.com/apache/incubator-teaclave/issues/463#issuecomment-768006278
Current Teaclave supports any python machine learning modules? can I load a pickle-dumped machine learning model file in Teaclave and run it?
`import numpy as np
class Linear_Regression:
def __init__(self):
self._w = None
def fit(self, X, y, lr=0.01, epsilon=0.01, epoch=1000):
#训练数据
#将输入的X,y转换为numpy数组
X, y = np.asarray(X, np.float32), np.asarray(y, np.float32)
#给X增加一列常数项
X=np.hstack((X,np.ones((X.shape[0],1))))
#初始化w
self._w = np.zeros((X.shape[1],1))
for _ in range(epoch):
#随机选择一组样本计算梯度
random_num=np.random.choice(len(X))
x_random=X[random_num].reshape(1,2)
y_random=y[random_num]
gradient=(x_random.T)*(np.dot(x_random,self._w)-y_random)
#如果收敛,那么停止迭代
if (np.abs(self._w-lr*gradient)<epsilon).all():
break
#否则,更新w
else:
self._w =self._w-lr*gradient
return self._w
def print_results(self):
print("参数w:{}".format(self._w))
print("回归拟合线:y={}x+{}".format(self._w[0],self._w[1]))
def predict(self,x):
x=np.asarray(x, np.float32)
x=x.reshape(x.shape[0],1)
x=np.hstack((x,np.ones((x.shape[0],1))))
return np.dot(x,self._w)
训练并保存模型:
import pickle
#创建数据
x=np.linspace(0,100,10).reshape(10,1)
rng=np.random.RandomState(4)
noise=rng.randint(-10,10,size=(10,1))*4
y=4*x+4+noise
model=Linear_Regression()
model.fit(x,y,lr=0.0001,epsilon=0.001,epoch=20)
with open('model.pickle', 'wb') as file:
pickle.dump(model, file)
然后调取模型并进行预测和打印结果:
with open('model.pickle', 'rb') as file:
model=pickle.load(file)
print(model.predict([50]))
model.print_results()`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org
[GitHub] [incubator-teaclave] mssun commented on issue #463: Execute builtin_echo.py error
Posted by GitBox <gi...@apache.org>.
mssun commented on issue #463:
URL: https://github.com/apache/incubator-teaclave/issues/463#issuecomment-767966627
> And can I load my own machine learning model file use Teaclave?
Sorry, I don't know how to answer this question. It's too general. Can you give me more detailed information?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org
[GitHub] [incubator-teaclave] master-davidlee commented on issue #463: Execute builtin_echo.py error
Posted by GitBox <gi...@apache.org>.
master-davidlee commented on issue #463:
URL: https://github.com/apache/incubator-teaclave/issues/463#issuecomment-767952627
![image](https://user-images.githubusercontent.com/49427668/105930272-569cd380-6084-11eb-80cb-be976ac3d886.png)
![image](https://user-images.githubusercontent.com/49427668/105930317-69170d00-6084-11eb-85e5-6e6c4abe36fd.png)
![image](https://user-images.githubusercontent.com/49427668/105930337-759b6580-6084-11eb-98c8-decc0fef7b08.png)
![image](https://user-images.githubusercontent.com/49427668/105930362-82b85480-6084-11eb-80b5-0510bcb6a856.png)
![image](https://user-images.githubusercontent.com/49427668/105930393-8ea41680-6084-11eb-9309-277468bd2a9c.png)
![image](https://user-images.githubusercontent.com/49427668/105930416-982d7e80-6084-11eb-8f01-5fdcda2bb80a.png)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org
[GitHub] [incubator-teaclave] master-davidlee edited a comment on issue #463: Execute builtin_echo.py error
Posted by GitBox <gi...@apache.org>.
master-davidlee edited a comment on issue #463:
URL: https://github.com/apache/incubator-teaclave/issues/463#issuecomment-768006278
Current Teaclave supports any python machine learning modules? can I load a pickle-dumped machine learning model file in Teaclave and run it?
` import numpy as np
class Linear_Regression:
def __init__(self):
self._w = None
def fit(self, X, y, lr=0.01, epsilon=0.01, epoch=1000):
#训练数据
#将输入的X,y转换为numpy数组
X, y = np.asarray(X, np.float32), np.asarray(y, np.float32)
#给X增加一列常数项
X=np.hstack((X,np.ones((X.shape[0],1))))
#初始化w
self._w = np.zeros((X.shape[1],1))
for _ in range(epoch):
#随机选择一组样本计算梯度
random_num=np.random.choice(len(X))
x_random=X[random_num].reshape(1,2)
y_random=y[random_num]
gradient=(x_random.T)*(np.dot(x_random,self._w)-y_random)
#如果收敛,那么停止迭代
if (np.abs(self._w-lr*gradient)<epsilon).all():
break
#否则,更新w
else:
self._w =self._w-lr*gradient
return self._w
def print_results(self):
print("参数w:{}".format(self._w))
print("回归拟合线:y={}x+{}".format(self._w[0],self._w[1]))
def predict(self,x):
x=np.asarray(x, np.float32)
x=x.reshape(x.shape[0],1)
x=np.hstack((x,np.ones((x.shape[0],1))))
return np.dot(x,self._w)
训练并保存模型:
import pickle
#创建数据
x=np.linspace(0,100,10).reshape(10,1)
rng=np.random.RandomState(4)
noise=rng.randint(-10,10,size=(10,1))*4
y=4*x+4+noise
model=Linear_Regression()
model.fit(x,y,lr=0.0001,epsilon=0.001,epoch=20)
with open('model.pickle', 'wb') as file:
pickle.dump(model, file)
然后调取模型并进行预测和打印结果:
with open('model.pickle', 'rb') as file:
model=pickle.load(file)
print(model.predict([50]))
model.print_results()`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org
[GitHub] [incubator-teaclave] mssun commented on issue #463: Execute builtin_echo.py error
Posted by GitBox <gi...@apache.org>.
mssun commented on issue #463:
URL: https://github.com/apache/incubator-teaclave/issues/463#issuecomment-815347850
Hi this issue is same with #495, please see my solution there. I'll fix it later so that people doesn't have to change anything to run in the simulation mode.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org
[GitHub] [incubator-teaclave] mssun closed issue #463: Execute builtin_echo.py error
Posted by GitBox <gi...@apache.org>.
mssun closed issue #463:
URL: https://github.com/apache/incubator-teaclave/issues/463
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org