kaistshadow / blockchain-sim

Scalable blockchain simulator/emulator running on shadow simulator
MIT License
9 stars 1 forks source link

Git action issue installing shadow dependecies #335

Closed tkdlqm2 closed 3 years ago

tkdlqm2 commented 3 years ago

개인 pc에서는 정상적으로 동작하던 것이, git action 에서는 제대로 동작이 안되서 이슈를 만듭니다. BLEEP install 과정에서 shadow dependencies install 과정에서 다음과 같은 에러가 발생하여 action이 제대로 이루어지지 않음. 정확한 원인을 찾기 위해 git action 접속을 시도하였지만 접속이 안되는 상황입니다. (tmate 로직 추가를 하였었음) 현재 의심되는 바로는 git repository 권한이 현재 박사님 계정에서 바뀌게 되었는데, 그 과정에서 git action을 지원하는 환경이 달라지지 않았나 싶습니다. 한번만 확인 부탁드립니다. @ygnkim

The following packages have unmet dependencies:
 libzmq3-dev : Depends: libzmq5 (= 4.2.5-1ubuntu0.2) but 4.3.1-5+ubuntu18.04.1+deb.sury.org+1 is to be installed
E: Unable to correct problems, you have held broken packages.
Installing...
error while executing 'sudo apt-get install -y libzmq3-dev'
Error: Process completed with exit code 255.
ygnkim commented 3 years ago

넵 지금 한번 보겠습니다.

ygnkim commented 3 years ago

https://stackoverflow.com/questions/67439819/trouble-installing-libzmq3-dev-on-github-actions-ubuntu-runners

최근의 github action 이슈인것으로 보임

tkdlqm2 commented 3 years ago

아 감사합니다. regtest 완료되는데로 확인해보겠습니다.

ygnkim commented 3 years ago

일단 링크에 나와있는 솔루션(opensuse repository이용)을 해봤는데도, 잘 안되고.

github action 팀에도 관련 이슈가 올라와있습니다. (https://github.com/actions/virtual-environments/issues/3317)

ygnkim commented 3 years ago

보니까, 문제가 많아서 revert했다고는 되어있는데, 아직 제대로 적용이 안되었나봐요.

일단은 링크(https://github.com/actions/virtual-environments/issues/3317#issuecomment-833330652) 에 나온 workaround를 적용해보시는 방향으로 고쳐보시죠.

tkdlqm2 commented 3 years ago

넵 알겠습니다 감사힙니다.

ygnkim commented 3 years ago

두시간전에 deploy되었다고 하네요 (https://github.com/actions/virtual-environments/issues/3317#issuecomment-840574811) github action 도 돌려보니 문제가 사라진듯 보입니다. Merge하지말고 develop만 다시 확인해보시면 될듯하네요

ygnkim commented 3 years ago

Develop branch git action 다시 돌려놨습니다. 문제 없으면, 그냥 PR 지우고 이슈 닫아도 될듯 합니다

tkdlqm2 commented 3 years ago

아하 넵 감사합니다 수고하셨습니다. latency test가 생각보다 구현이 늦어지고 있는데 오늘안으로 해결하겠습니다.