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 2020/06/22 01:52:04 UTC

[GitHub] [incubator-teaclave] gaojunjie03 opened a new issue #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

gaojunjie03 opened a new issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366


   ![image](https://user-images.githubusercontent.com/30582212/85241274-e125b080-b46d-11ea-9569-eb55b7d298b6.png)
   
   In 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] gaojunjie03 edited a comment on issue #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
gaojunjie03 edited a comment on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-647225257


   builtin_gbdt_train.py can not work.  
   looks like the example with 'register_input_file' can not work . 
   same error: 'ocall error = 1'
   the other can work(mesapy_echo.py、builtin_echo.py 、builtin_online_decrypt.py...)
   


----------------------------------------------------------------
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] gaojunjie03 commented on issue #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
gaojunjie03 commented on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-647247025


   > I saw an "ocall error" in the response. Maybe this is from the file agent. Since you are saying about using `file://` scheme, I guess this is because your registered file does not exist on the file system of the execution service.
   
   
   It exists in the local system


----------------------------------------------------------------
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 #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
mssun commented on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-647788812


   From your previous screenshots of the log, I can see that you are using `docker-compose` to start the services. This command will launch services in different container with isolated file system, i.e., the execution service does not see files in your local file system. If that's the case, please use shared volume in docker with the host and preserve the same path. Or, do not run services in containers separated with the host file system. 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] gaojunjie03 commented on issue #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
gaojunjie03 commented on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-647254155


   ![image](https://user-images.githubusercontent.com/30582212/85246180-82b3fe80-b47c-11ea-957d-e905d762fd58.png)
   It's really a non-existent error.  but It exists in the local system
   ![image](https://user-images.githubusercontent.com/30582212/85246318-e807ef80-b47c-11ea-8600-59736bd47495.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] qinkunbao commented on issue #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
qinkunbao commented on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-647226849


   OK. Thanks for the information. Could you please type `make run-tests` or `make run-examples` 
   after you build the project? 


----------------------------------------------------------------
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] gaojunjie03 commented on issue #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
gaojunjie03 commented on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-647329349


   
   ![image](https://user-images.githubusercontent.com/30582212/85258295-d3862000-b499-11ea-9be8-f29d0504f818.png)
   
   ![image](https://user-images.githubusercontent.com/30582212/85258315-e4369600-b499-11ea-92c1-8f00bf174031.png)
   
   but 
   
   ![image](https://user-images.githubusercontent.com/30582212/85258232-b2bdca80-b499-11ea-848b-467665429deb.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] gaojunjie03 commented on issue #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
gaojunjie03 commented on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-647225257


   builtin_gbdt_train.py can not work.  
   looks like the example with 'register_input_file' can not work . the other can work(mesapy_echo.py、builtin_echo.py 、builtin_online_decrypt.py...)


----------------------------------------------------------------
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 #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
mssun commented on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-647254949


   If you are using docker, the file should be also in the container of the execution service.


----------------------------------------------------------------
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] gaojunjie03 commented on issue #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
gaojunjie03 commented on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-647232073


   make run-tests work。  i use the local file "file://" to register_input_file and register_output_file. is that a problem ?  


----------------------------------------------------------------
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] qinkunbao commented on issue #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
qinkunbao commented on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-647223604


   Did you try other examples (e.g., builtin_gbdt_train.py)? Did they work as expected on your machine?


----------------------------------------------------------------
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] gaojunjie03 commented on issue #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
gaojunjie03 commented on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-652130552


   > Hi, any update on this issue?
   
   you can close this one


----------------------------------------------------------------
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 #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
mssun commented on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-647248719


   Can you run the service with `RUST_LOG=teaclave=debug` env vars and paste the 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 commented on issue #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
mssun commented on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-652130846


   Closed.


----------------------------------------------------------------
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 #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
mssun closed issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366


   


----------------------------------------------------------------
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 #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
mssun commented on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-647242271


   I saw an "ocall error" in the response. Maybe this is from the file agent. Since you are saying about using `file://` scheme, I guess this is because your registered file does not exist on the file system of the execution service.


----------------------------------------------------------------
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] gaojunjie03 commented on issue #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
gaojunjie03 commented on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-647856360


   > From your previous screenshots of the log, I can see that you are using `docker-compose` to start the services. This command will launch services in different container with isolated file system, i.e., the execution service does not see files in your local file system. If that's the case, please use shared volume in docker with the host and preserve the same path. Or, do not run services in containers separated with the host file system. Thanks.
   
   As for the error "convert: failed to open SRC file", I read the source code of teaclave and found that the error was reported when reading outputFile. So I don't register outputFile anymore, just register inputfile. In this case, I can run through the python I wrote and read the data of inputfile normally. However, if I register outputFile, this error will be reported. This outputFile should also exist in teaclave_ execution_service docker container ?


----------------------------------------------------------------
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] gaojunjie03 commented on issue #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
gaojunjie03 commented on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-647245957


   It exists.


----------------------------------------------------------------
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 #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
mssun commented on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-652115453


   Hi, any update on this issue?


----------------------------------------------------------------
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] gaojunjie03 edited a comment on issue #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
gaojunjie03 edited a comment on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-647856360


   > From your previous screenshots of the log, I can see that you are using `docker-compose` to start the services. This command will launch services in different container with isolated file system, i.e., the execution service does not see files in your local file system. If that's the case, please use shared volume in docker with the host and preserve the same path. Or, do not run services in containers separated with the host file system. Thanks.
   
   As for the error "convert: failed to open SRC file", I read the source code of teaclave and found that the error was reported when reading outputFile. So I don't register outputFile anymore, just register inputfile. In this case, I can run through the python I wrote and read the data of inputfile normally. However, if I register outputFile, this error will be reported. This outputFile should also exist in teaclave_ execution_service docker container ?
   
   I put the outputFile in the container, but it still reported an error "convert: failed to open SRC file"
   ![image](https://user-images.githubusercontent.com/30582212/85351436-53fa5e80-b536-11ea-8e57-e80528e9ac87.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] gaojunjie03 removed a comment on issue #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
gaojunjie03 removed a comment on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-647856360


   > From your previous screenshots of the log, I can see that you are using `docker-compose` to start the services. This command will launch services in different container with isolated file system, i.e., the execution service does not see files in your local file system. If that's the case, please use shared volume in docker with the host and preserve the same path. Or, do not run services in containers separated with the host file system. Thanks.
   
   As for the error "convert: failed to open SRC file", I read the source code of teaclave and found that the error was reported when reading outputFile. So I don't register outputFile anymore, just register inputfile. In this case, I can run through the python I wrote and read the data of inputfile normally. However, if I register outputFile, this error will be reported. This outputFile should also exist in teaclave_ execution_service docker container ?
   
   I put the outputFile in the container, but it still reported an error "convert: failed to open SRC file"
   ![image](https://user-images.githubusercontent.com/30582212/85351436-53fa5e80-b536-11ea-8e57-e80528e9ac87.png)
   
   the outputfile also be encrypt by ./teaclave-cli encrypt --algorithm teaclave-file-128 with as same as the inputfile's key  , the outputfile is empty


----------------------------------------------------------------
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] gaojunjie03 edited a comment on issue #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
gaojunjie03 edited a comment on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-647856360


   > From your previous screenshots of the log, I can see that you are using `docker-compose` to start the services. This command will launch services in different container with isolated file system, i.e., the execution service does not see files in your local file system. If that's the case, please use shared volume in docker with the host and preserve the same path. Or, do not run services in containers separated with the host file system. Thanks.
   
   As for the error "convert: failed to open SRC file", I read the source code of teaclave and found that the error was reported when reading outputFile. So I don't register outputFile anymore, just register inputfile. In this case, I can run through the python I wrote and read the data of inputfile normally. However, if I register outputFile, this error will be reported. This outputFile should also exist in teaclave_ execution_service docker container ?
   
   I put the outputFile in the container, but it still reported an error "convert: failed to open SRC file"
   ![image](https://user-images.githubusercontent.com/30582212/85351436-53fa5e80-b536-11ea-8e57-e80528e9ac87.png)
   
   the outputfile also be encrypt by ./teaclave-cli encrypt --algorithm teaclave-file-128 with as same as the inputfile's key  , the outputfile is empty


----------------------------------------------------------------
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] gaojunjie03 removed a comment on issue #366: invoke builtin_private_join_and_compute.py error (in simulation mode)

Posted by GitBox <gi...@apache.org>.
gaojunjie03 removed a comment on issue #366:
URL: https://github.com/apache/incubator-teaclave/issues/366#issuecomment-647245957


   It exists.


----------------------------------------------------------------
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