-
Notifications
You must be signed in to change notification settings - Fork 355
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
AIMET build error #2836
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ubuntu 20.04 version
Docker version 26.0.0, build 2ae903e
Python 3.11.2
Hi, I installed aimet and followed this guide doc "https://github.com/quic/aimet/blob/develop/packaging/docker_install.md#docker-information"
I got successed to pull Dockerfiles like below,
seop@seop:~/eAI/aimet/Jenkins$ ls
Dockerfile Dockerfile.onnx-gpu Dockerfile.tf-torch-cpu Jenkinsfile opencv_320_python38.patch
Dockerfile.new Dockerfile.tf-cpu Dockerfile.torch-cpu acceptancetesthelper.py to-junit.xsl
Dockerfile.onnx-cpu Dockerfile.tf-gpu Dockerfile.torch-gpu jenkins_threshold_configs.json unittesthelper.py
and, I tried to build this module on my local env.
But, I got fails regarding apt-get command continuoulsy
Even though, everything works well on my bash shell environment.
0.299 E: The repository 'http://archive.ubuntu.com/ubuntu focal Release' does not have a Release file.
0.299 E: The repository 'http://archive.ubuntu.com/ubuntu focal-updates Release' does not have a Release file.
0.299 E: The repository 'http://security.ubuntu.com/ubuntu focal-security Release' does not have a Release file.
0.299 E: The repository 'http://archive.ubuntu.com/ubuntu focal-backports Release' does not have a Release file.
seop@seop:~/eAI/aimet$ sudo ./buildntest.sh -e "torch-cpu" -i [-l]
++ date +%Y-%m-%d_%H-%M-%S
timestamp=2024-03-25_21-04-09
'[' '!' -d ../aimet ']'
dockerfile_path=/home/seop/eAI/aimet/Jenkins
'[' -n '' ']'
'[' -n '' ']'
prebuilt_docker_image_url=artifacts.codelinaro.org/codelinaro-aimet
'[' -n '' ']'
docker_file=Dockerfile
docker_image_name=aimet-dev-docker:latest
prebuilt_docker_image_name=artifacts.codelinaro.org/codelinaro-aimet/aimet:latest
[[ -z '' ]]
results_path=/home/seop/eAI/aimet/buildntest_results/2024-03-25_21-04-09
docker_container_name=aimet-dev_root_2024-03-25_21-04-09
'[' -n '' ']'
options_string+=' -o /home/seop/eAI/aimet/buildntest_results/2024-03-25_21-04-09'
rm -rf '{results_path}'
true
mkdir -p /home/seop/eAI/aimet/buildntest_results/2024-03-25_21-04-09
[[ -z '' ]]
docker ps
grep aimet-dev_root_2024-03-25_21-04-09
true
'[' -n '' ']'
echo -e '*** Building docker image... ***\n'
*** Building docker image... ***
pushd /home/seop/eAI/aimet/Jenkins
/home/seop/eAI/aimet/Jenkins /home/seop/eAI/aimet
DOCKER_BUILD_CMD='docker build -t aimet-dev-docker:latest -f Dockerfile .'
[[ -n '' ]]
'[' 1 -eq 1 ']'
'[' 0 -eq 1 ']'
eval docker build -t aimet-dev-docker:latest -f Dockerfile .
++ docker build -t aimet-dev-docker:latest -f Dockerfile .
[+] Building 2.1s (7/39) docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 9.95kB 0.0s
=> WARN: Empty continuation line found in: RUN apt-get update -y > /dev/null && apt-get install --no-install-recommends -y python3.8 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:focal 1.7s
=> [auth] library/ubuntu:pull token for registry-1.docker.io 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 46B 0.0s
=> CACHED [ 1/34] FROM docker.io/library/ubuntu:focal@sha256:80ef4a44043dec4490506e6cc4289eeda2d106a70148b74b5ae91ee670e9c35d 0.0s
=> ERROR [ 2/34] RUN apt-get update > /dev/null && apt-get install --no-install-recommends -y ca-certificates git ss 0.3s
1 warning found (use --debug to expand):
Dockerfile:45
44 |
45 | >>> RUN apt-get update > /dev/null &&
46 | >>> apt-get install --no-install-recommends -y
47 | >>> # Bare minimum Packages
48 | >>> ca-certificates
49 | >>> git
50 | >>> ssh
51 | >>> sudo
52 | >>> wget
53 | >>> xterm
54 | >>> xauth > /dev/null &&
55 | >>> rm -rf /var/lib/apt/lists/*
56 |
ERROR: failed to solve: process "/bin/sh -c apt-get update > /dev/null && apt-get install --no-install-recommends -y ca-certificates git ssh sudo wget xterm xauth > /dev/null && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100
The text was updated successfully, but these errors were encountered: