sonic-net / DASH

Disaggregated APIs for SONiC Hosts
Apache License 2.0
83 stars 89 forks source link

failed to build Dockerfile.saichallenger-client-bldr #584

Open mgheorghe opened 4 months ago

mgheorghe commented 4 months ago

in Dockerfile.saichallenger-client-bldr, change the version of a python package or anything to trigger the container build

i see bunch of errors trying to install OS packages coming from the dependent container and after that docker-saichallenger-client-bldr fails too

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
ERROR: "docker build -f dockerfiles/${BASE_OS}/Dockerfile.client --build-arg NOSNAPPI=${NOSNAPPI} -t sc-client:${BASE_OS} ." command filed with exit code 1.

===========================================
     SAI Challenger build options
===========================================

 Docker image type  : client
 Base OS            : buster
 ASIC name          : 
 ASIC target        : 
 Platform path      : 
 SAI interface      : redis

===========================================

#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile.saichallenger-client-bldr
#1 transferring dockerfile: 2B done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 transferring context: 84B done
#2 DONE 0.0s
ERROR: failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount502350835/Dockerfile.saichallenger-client-bldr: no such file or directory
make: *** [Makefile:696: docker-saichallenger-client-bldr] Error 1
Error: Process completed with exit code 2.

https://github.com/mgheorghe/DASH/actions/runs/9371392501/job/25800567766?pr=6

mgheorghe commented 2 months ago

https://github.com/opencomputeproject/SAI-Challenger/issues/237 https://github.com/opencomputeproject/SAI-Challenger/pull/238

KrisNey-MSFT commented 2 months ago

hi @mgheorghe - the 2 SAI-Challenger PRs seem to be closed/merged now. Want to check?

KrisNey-MSFT commented 1 month ago

hi @mgheorghe - just checking in on this in case you had time.