trendscenter / coinstac

Collaborative Informatics and Neuroimaging Suite Toolkit for Anonymous Computation
MIT License
47 stars 19 forks source link

Error running coinstac-simulator with sample computations. #569

Closed albertcrowley closed 6 years ago

albertcrowley commented 6 years ago

Problem

I am getting an error running the coinstac-simulator for the coinstac-local-test and coinstac-decentralized-test.

System is KUbuntu 18.04 running in VirtualBox on a windows 10 host.
coinstac-simulator installed with "sudo npm install -g coinstac-simulator" I cloned the MRN-Code coinstac repo and then ran coinstac-simulator in the coinstac-local-test directory and the coinstac-decentralized-test directory. Error messages for each are attached.

Since the decentralized test error message listed an error re: a container, I did verify that the docker hello-world container can run properly. The command "docker run coinstac/coinstac-decentralized-test" seems to fail while downloading the container. The local test doesn't mention anything related to docker that I can see, so that seems like a separate issue.

I'm thinking that this is a problem with my local environment but I did not see anything in the documentation that pointed me in the right direction to resolve this. Any ideas what might be going wrong?

coinstac-decentrailized-test.error.txt coinstac-local-test.error.txt

Tasks

albertcrowley commented 6 years ago

Got this resolved with help from @rssk who put togther this fine Developer Guide. I was missing the step of pre-building the docker image for the simulation:

cd ~/coinstac/packages/coinstac-images/coinstac-decentralized-test
sudo docker build  -t coinstac/coinstac-decentralized-test   .
sudo coinstac-simulator