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

docker files fail to build due to missing repo in buster #237

Closed
mgheorghe opened this issue Jun 7, 2024 · 0 comments · Fixed by #238
Closed

docker files fail to build due to missing repo in buster #237

mgheorghe opened this issue Jun 7, 2024 · 0 comments · Fixed by #238

Comments

@mgheorghe
Copy link

In dash https://github.com/mgheorghe/DASH/blob/main/dash-pipeline/dockerfiles/Dockerfile.saichallenger-client-bldr
FROM sc-client:buster this container does not exist anymore
I found this container that seams to be replacing the previous one
FROM plvisiondevs/sc-client:buster-latest

Also on buster when you do “apt update” that fails now and container creation fails.

For example if you try to build https://github.com/opencomputeproject/SAI-Challenger/blob/main/dockerfiles/buster/Dockerfile.client
RUN apt-get -o Acquire::Check-Valid-Until=false update && apt-get install -y
It will fail

Will you be able to have a look please at all the docker files in DASH repo (sai-c related ones) and SAI-Challenger repo folders and make sure they still work


#8 [ 3/29] RUN apt-get -o Acquire::Check-Valid-Until=false update && apt-get install -y         apt-utils         build-essential         python3         python3-pip         iproute2         rsyslog         supervisor         cmake         graphviz         doxygen         aspell         git         wget         libffi-dev         nlohmann-json3-dev         python3-paramiko     && rm -rf /var/lib/apt/lists/*
#8 0.251 Get:1 http://debian-archive.trafficmanager.net/debian buster InRelease [122 kB]
#8 0.258 Get:2 http://debian-archive.trafficmanager.net/debian-security buster/updates InRelease [34.8 kB]
#8 0.258 Ign:3 http://debian-archive.trafficmanager.net/debian buster-backports InRelease
#8 0.259 Err:4 http://debian-archive.trafficmanager.net/debian buster-backports Release
#8 0.259   404  Not Found [IP: 52.247.76.206 80]
#8 0.287 Get:5 http://deb.debian.org/debian buster InRelease [122 kB]
#8 0.304 Get:6 http://deb.debian.org/debian-security buster/updates InRelease [34.8 kB]
#8 0.310 Get:7 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
#8 0.329 Get:8 http://debian-archive.trafficmanager.net/debian buster/main Sources [7852 kB]
#8 0.393 Get:9 http://debian-archive.trafficmanager.net/debian buster/non-free Sources [85.9 kB]
#8 0.396 Get:10 http://debian-archive.trafficmanager.net/debian buster/contrib Sources [42.5 kB]
#8 0.397 Get:11 http://debian-archive.trafficmanager.net/debian buster/contrib amd64 Packages [50.1 kB]
#8 0.398 Get:12 http://debian-archive.trafficmanager.net/debian buster/main amd64 Packages [7909 kB]
#8 0.457 Get:13 http://debian-archive.trafficmanager.net/debian buster/non-free amd64 Packages [87.8 kB]
#8 0.459 Get:14 http://debian-archive.trafficmanager.net/debian-security buster/updates/contrib Sources [1084 B]
#8 0.460 Get:15 http://debian-archive.trafficmanager.net/debian-security buster/updates/main Sources [380 kB]
#8 0.464 Get:16 http://debian-archive.trafficmanager.net/debian-security buster/updates/non-free Sources [[442](https://github.com/mgheorghe/DASH/actions/runs/9420216521/job/25951765677?pr=7#step:8:443)0 B]
#8 0.465 Get:17 http://debian-archive.trafficmanager.net/debian-security buster/updates/main amd64 Packages [598 kB]
#8 0.470 Get:18 http://debian-archive.trafficmanager.net/debian-security buster/updates/contrib amd64 Packages [3460 B]
#8 0.471 Get:19 http://debian-archive.trafficmanager.net/debian-security buster/updates/non-free amd64 Packages [11.0 kB]
#8 0.506 Get:20 http://deb.debian.org/debian buster/main amd64 Packages [7909 kB]
#8 0.604 Get:21 http://deb.debian.org/debian-security buster/updates/main amd64 Packages [598 kB]
#8 0.645 Get:22 http://deb.debian.org/debian buster-updates/main amd64 Packages [8788 B]
#8 3.126 Reading package lists...
#8 3.779 E: The repository 'http://debian-archive.trafficmanager.net/debian buster-backports Release' does not have a Release file.
#8 ERROR: process "/bin/sh -c apt-get -o Acquire::Check-Valid-Until=false update && apt-get install -y         apt-utils         build-essential         python3         python3-pip         iproute2         rsyslog         supervisor         cmake         graphviz         doxygen         aspell         git         wget         libffi-dev         nlohmann-json3-dev         python3-paramiko     && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100
------
 > [ 3/29] RUN apt-get -o Acquire::Check-Valid-Until=false update && apt-get install -y         apt-utils         build-essential         python3         python3-pip         iproute2         rsyslog         supervisor         cmake         graphviz         doxygen         aspell         git         wget         libffi-dev         nlohmann-json3-dev         python3-paramiko     && rm -rf /var/lib/apt/lists/*:
0.460 Get:15 http://debian-archive.trafficmanager.net/debian-security buster/updates/main Sources [380 kB]
0.464 Get:16 http://debian-archive.trafficmanager.net/debian-security buster/updates/non-free Sources [4420 B]
0.465 Get:17 http://debian-archive.trafficmanager.net/debian-security buster/updates/main amd64 Packages [598 kB]
0.470 Get:18 http://debian-archive.trafficmanager.net/debian-security buster/updates/contrib amd64 Packages [3460 B]
0.471 Get:19 http://debian-archive.trafficmanager.net/debian-security buster/updates/non-free amd64 Packages [11.0 kB]
0.506 Get:20 http://deb.debian.org/debian buster/main amd64 Packages [7909 kB]
0.604 Get:21 http://deb.debian.org/debian-security buster/updates/main amd64 Packages [598 kB]
0.645 Get:22 http://deb.debian.org/debian buster-updates/main amd64 Packages [8788 B]

3.779 E: The repository 'http://debian-archive.trafficmanager.net/debian buster-backports Release' does not have a Release file.
------
Dockerfile.client:15
--------------------
  14 |     # Install generic packages
  15 | >>> RUN apt-get -o Acquire::Check-Valid-Until=false update && apt-get install -y \
  16 | >>>         apt-utils \
  17 | >>>         build-essential \
  18 | >>>         python3 \
  19 | >>>         python3-pip \
  20 | >>>         iproute2 \
  21 | >>>         rsyslog \
  22 | >>>         supervisor \
  23 | >>>         cmake \
  24 | >>>         graphviz \
  25 | >>>         doxygen \
  26 | >>>         aspell \
  27 | >>>         git \
  28 | >>>         wget \
  29 | >>>         libffi-dev \
  30 | >>>         nlohmann-json3-dev \
  31 | >>>         python3-paramiko \
  32 | >>>     && rm -rf /var/lib/apt/lists/*
  33 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get -o Acquire::Check-Valid-Until=false update && apt-get install -y         apt-utils         build-essential         python3         python3-pip         iproute2         rsyslog         supervisor         cmake         graphviz         doxygen         aspell         git         wget         libffi-dev         nlohmann-json3-dev         python3-paramiko     && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100
make: *** [Makefile:696: docker-saichallenger-client-bldr] Error 1
ERROR: "docker build -f dockerfiles/${BASE_OS}/Dockerfile.client --build-arg NOSNAPPI=${NOSNAPPI} -t sc-client:${BASE_OS} ." command filed with exit code 1.

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

Successfully merging a pull request may close this issue.

1 participant