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

[IBM Z] - Many tests are failing as apt update fails on nginx image #9801

Open
abdulkandathil opened this issue May 15, 2024 · 8 comments
Open
Assignees

Comments

@abdulkandathil
Copy link

Image: quay.io/ocsci/nginx:latest

Many ocs-ci tests are failing as packages are missing for respective version of debian. Could someone please update the image in quay.io.

Error:

E               ocs_ci.ocs.exceptions.CommandFailed: Error during execution of command: oc -n namespace-test-39e450a72a9d4cdab64163265 rsh pod-test-rbd-65f21a5eb1bd4359b0b1188adde apt-get update.
E               Error is E: Failed to fetch http://deb.debian.org/debian/dists/buster/main/binary-s390x/Packages  404  Not Found [IP: 172.23.231.44 3128]

Workaround: Replaced the image with the latest official image from dockerhub.

@OdedViner
Copy link
Contributor

@abdulkandathil What branch do you work on?

@abdulkandathil
Copy link
Author

its release-4.14

@OdedViner
Copy link
Contributor

#8929 I opened this PR . can you re-run the test?

@OdedViner
Copy link
Contributor

rebase the release4.14 branch before:)

@OdedViner
Copy link
Contributor

fio tag working with alpaine and latest working with debian os
both images support s390x arch
image

oviner~/OCS-GITLAB/ocs4-jenkins(stage_jenkins_upgarde)$ podman run -it --entrypoint /bin/bash quay.io/ocsci/nginx:fio
cdde7887d45a:/# cat /etc/os-release 
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.18.6
PRETTY_NAME="Alpine Linux v3.18"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
cdde7887d45a:/# exit
exit
oviner~/OCS-GITLAB/ocs4-jenkins(stage_jenkins_upgarde)$ podman run -it --entrypoint /bin/bash quay.io/ocsci/nginx:latest
Trying to pull quay.io/ocsci/nginx:latest...
Getting image source signatures
Copying blob 1966ea362d23 done   | 
Copying blob bb79b6b2107f done   | 
Copying blob 166a2418f7e8 done   | 
Copying blob b5c20b2b484f done   | 
Copying blob 5a9f1c0027a7 done   | 
Copying config c39a868aad done   | 
Writing manifest to image destination
root@07718c004e46:/# cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root@07718c004e46:/#odf-qe-internal 

@OdedViner
Copy link
Contributor

I built a new Debian GNU/Linux 10 (buster) image with debian_buster tag and I added FIO package:
Dockerfile:

# Use the official Debian Buster image as the base image
FROM --platform=$BUILDPLATFORM debian:buster

# Update the package list and install fio
RUN apt-get update
RUN apt-get install -y fio util-linux bash && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*

Build and push multi-arch image:

docker buildx build --platform linux/amd64,linux/ppc64le,linux/s390x,linux/arm64 -t quay.io/ocsci/nginx:debian_buster . --push
$ podman run -it --entrypoint /bin/bash quay.io/ocsci/nginx:debian_buster
root@a2402ac899ec:/# cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root@a2402ac899ec:/# dpkg -l | grep fio
ii  fio                            3.12-2                    amd64        flexible I/O tester

@OdedViner
Copy link
Contributor

OdedViner commented May 16, 2024

@abdulkandathil can you try to work with quay.io/ocsci/nginx:debian_buster image?

@abdulkandathil
Copy link
Author

@OdedViner
it also doesn't work on the s390x host.

[root@m1316001 ~]# podman run -it --entrypoint /bin/bash quay.io/ocsci/nginx:debian_buster
Trying to pull quay.io/ocsci/nginx:debian_buster...
Getting image source signatures
Copying blob 4f3360618f80 done
Copying blob 673c873103ec done
Copying blob 6850b01136e1 done
Copying config 9d7b5ffafe done
Writing manifest to image destination
Storing signatures
exec /bin/bash: exec format error
[root@m1316001 ~]#

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