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

Error during build process: failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease #4

Closed
sschaber381 opened this issue Apr 19, 2024 · 1 comment

Comments

@sschaber381
Copy link

#0 building with "default" instance using docker driver

#1 [internal] load build definition from Containerfile
#1 transferring dockerfile: 1.66kB done
#1 DONE 0.0s

#2 [internal] load metadata for ghcr.io/huggingface/text-generation-inference:latest
#2 ...

#3 [auth] huggingface/text-generation-inference:pull token for ghcr.io
#3 DONE 0.0s

#2 [internal] load metadata for ghcr.io/huggingface/text-generation-inference:latest
#2 DONE 0.8s

#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s

#5 [ 1/17] FROM ghcr.io/huggingface/text-generation-inference:latest@sha256:cabd2a49a3afa7106aaa0bb3458c11904007fcd0369a83fcc1fa2fab76d444b4
#5 DONE 0.0s

#6 [internal] load build context
#6 transferring context: 3.94kB done
#6 DONE 0.0s

#7 [ 7/17] COPY --chown=1000:1000 [preBuild.bash, /opt/project/build/]
#7 CACHED

#8 [ 5/17] RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y sudo
#8 CACHED

#9 [ 2/17] WORKDIR /opt/project/build/
#9 CACHED

#10 [ 4/17] RUN useradd -u 1000 -g 1000 -rm -d /home/workbench -s /bin/bash workbench || usermod -l workbench $(getent passwd 1000 | cut -d: -f1)
#10 CACHED

#11 [ 9/17] RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y wget
#11 CACHED

#12 [ 6/17] RUN echo "workbench ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/workbench
#12 CACHED

#13 [ 3/17] RUN groupadd -g 1000 workbench || true
#13 CACHED

#14 [ 8/17] RUN ["/bin/bash", "/opt/project/build/preBuild.bash"]
#14 CACHED

#15 [10/17] RUN dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O- https://github.com/tianon/gosu/releases/download/1.17/gosu-${dpkgArch} | install /dev/stdin /usr/local/bin/gosu
#15 CACHED

#16 [11/17] COPY --chmod=755 [entrypoint.sh, /]
#16 CACHED

#17 [12/17] RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y libgl1 libglib2.0-0 git jq
#17 0.416 Hit:1 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease
#17 21.40 Err:2 http://archive.ubuntu.com/ubuntu jammy InRelease
#17 21.40 403 connecting to archive.ubuntu.com:80: connecting to 185.125.190.39:80: dial tcp 185.125.190.39:80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. [IP: 185.125.190.39 80]
#17 44.00 Ign:3 http://security.ubuntu.com/ubuntu jammy-security InRelease
#17 66.06 Err:3 http://security.ubuntu.com/ubuntu jammy-security InRelease
#17 66.06 Connection failed [IP: 185.125.190.36 80]
#17 72.48 Err:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
#17 72.48 403 connecting to archive.ubuntu.com:80: connecting to 185.125.190.39:80: dial tcp 185.125.190.39:80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. [IP: 185.125.190.39 80]
#17 123.6 Err:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
#17 123.6 403 connecting to archive.ubuntu.com:80: connecting to 185.125.190.36:80: dial tcp 185.125.190.36:80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. [IP: 185.125.190.36 80]
#17 123.6 Reading package lists...
#17 124.3 E: The repository 'http://archive.ubuntu.com/ubuntu jammy InRelease' is no longer signed.
#17 124.3 E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease 403 connecting to archive.ubuntu.com:80: connecting to 185.125.190.39:80: dial tcp 185.125.190.39:80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. [IP: 185.125.190.39 80]
#17 124.3 E: The repository 'http://security.ubuntu.com/ubuntu jammy-security InRelease' is no longer signed.
#17 124.3 E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease Connection failed [IP: 185.125.190.36 80]
#17 124.3 E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease 403 connecting to archive.ubuntu.com:80: connecting to 185.125.190.39:80: dial tcp 185.125.190.39:80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. [IP: 185.125.190.39 80]
#17 124.3 E: The repository 'http://archive.ubuntu.com/ubuntu jammy-updates InRelease' is no longer signed.
#17 124.3 E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease 403 connecting to archive.ubuntu.com:80: connecting to 185.125.190.36:80: dial tcp 185.125.190.36:80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. [IP: 185.125.190.36 80]
#17 124.3 E: The repository 'http://archive.ubuntu.com/ubuntu jammy-backports InRelease' is no longer signed.
#17 ERROR: process "/bin/bash -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y libgl1 libglib2.0-0 git jq" did not complete successfully: exit code: 100

[12/17] RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y libgl1 libglib2.0-0 git jq:
123.6 403 connecting to archive.ubuntu.com:80: connecting to 185.125.190.36:80: dial tcp 185.125.190.36:80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. [IP: 185.125.190.36 80]

124.3 E: The repository 'http://archive.ubuntu.com/ubuntu jammy InRelease' is no longer signed.
124.3 E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease 403 connecting to archive.ubuntu.com:80: connecting to 185.125.190.39:80: dial tcp 185.125.190.39:80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. [IP: 185.125.190.39 80]
124.3 E: The repository 'http://security.ubuntu.com/ubuntu jammy-security InRelease' is no longer signed.
124.3 E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease Connection failed [IP: 185.125.190.36 80]
124.3 E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease 403 connecting to archive.ubuntu.com:80: connecting to 185.125.190.39:80: dial tcp 185.125.190.39:80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. [IP: 185.125.190.39 80]
124.3 E: The repository 'http://archive.ubuntu.com/ubuntu jammy-updates InRelease' is no longer signed.
124.3 E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease 403 connecting to archive.ubuntu.com:80: connecting to 185.125.190.36:80: dial tcp 185.125.190.36:80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. [IP: 185.125.190.36 80]
124.3 E: The repository 'http://archive.ubuntu.com/ubuntu jammy-backports InRelease' is no longer signed.

Containerfile:45

44 |
45 | >>> RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y
46 | >>> libgl1
47 | >>> libglib2.0-0
48 | >>> git
49 | >>> jq
50 |

ERROR: failed to solve: process "/bin/bash -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y libgl1 libglib2.0-0 git jq" did not complete successfully: exit code: 100

Build Failed

@sschaber381
Copy link
Author

Tried 2 hours later and the build completed as expected. Most likely a connection issue.

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

1 participant