Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onecc-docker fails due to downloading from onert release #1604

Open
dayo09 opened this issue Jul 11, 2023 · 4 comments
Open

onecc-docker fails due to downloading from onert release #1604

dayo09 opened this issue Jul 11, 2023 · 4 comments

Comments

@dayo09
Copy link
Contributor

dayo09 commented Jul 11, 2023

What?

ONE has recently released onert-micro.
Currently, onecc-docker downloads onecc debian package with the command wget --no-check-certificate https://github.com/Samsung/ONE/releases/download/${VERSION}/one-compiler-bionic_${VERSION}_amd64.deb. It fails because it tries downloading one compiler with invalid version (onert-0.1.0).

The command that isn't working is :

RUN apt-get update && apt-get install -qqy --no-install-recommends     wget     ca-certificates     && wget --no-check-certificate https://github.com/Samsung/ONE/releases/download/onert-micro-0.1.0/one-compiler-bionic_onert-micro-0.1.0_amd64.deb     && apt-get install -y ./one-compiler-bionic_onert-micro-0.1.0_amd64.deb     && rm -rf /var/lib/apt/lists/*:

NOTE THAT onert release doesn't include any one-compiler package such as one-compiler-bionic_onert-micro-0.1.0_amd64.deb

reference ONERT-MICRO 0.1.0

@jyoungyun
Copy link
Collaborator

Thank you for reporting. This issue should be modified in ONE project. This is known issue. I have fixed this issue in a simple way because I don't have more resources. I will improve this feature as soon as possible.

Related issue: #1553 Samsung/ONE#10773

@dayo09
Copy link
Contributor Author

dayo09 commented Jul 18, 2023

It is expected that Samsung/ONE#11049 resolves this problem.

@dayo09
Copy link
Contributor Author

dayo09 commented Jul 20, 2023

Tested on 2023-07-20

1. The daily-distribution of debian onecc-docker package onecc-docker_0.1.0-0~202307190231~ubuntu20.04.1_amd64.deb is installed.

  • From the log during prerequisite installation:
(데이터베이스 읽는중 ...현재 333284개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack .../onecc-docker_0.1.0-0~202307190231~ubuntu20.04.1_amd64.deb ...
Unpacking onecc-docker (0.1.0-0~202307190231~ubuntu20.04.1) ...
onecc-docker (0.1.0-0~202307190231~ubuntu20.04.1) 설정하는 중입니다 ...

2. Run onecc succeeds on every SECOND trial

  • (1) On the first run, it takes forever (more than 2 min, doesn't finish)
  • (2) On the second run, after refreshing the window it completes in 30 sec.
[onecc-docker] Build docker image ...
[onecc-docker] Docker image is built successfully.
[2023. 7. 20. 오후 1:50:16][ToolRunner][info] child process exited with code 0
[2023. 7. 20. 오후 1:50:16][ToolRunner][info] Build Success.

[2023. 7. 20. 오후 1:50:16][JobRunner][info] All jobs have been completed.

@jyoungyun
Copy link
Collaborator

(1) On the first run, it takes forever (more than 2 min, doesn't finish)

This is because it takes a very long time to generate new docker image. We can provide some logs so that users can recognize them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants