red-hat-storage / ocs-ci

https://ocs-ci.readthedocs.io/en/latest/
MIT License
108 stars 166 forks source link

Multi-arch image quay.io/ocsci/nginx:fio #9682

Open aliakseimakarau opened 6 months ago

aliakseimakarau commented 6 months ago

Running the test tests/functional/object/mcg/test_write_to_bucket.py::TestBucketIO::test_write_to_bucket_rbd_cephfs on the s390x nodes the following error is received:

Events:                                                                                                                                                                                                                                                                
  Type     Reason                  Age                     From                     Message                                                                                                                                                                            
  ----     ------                  ----                    ----                     -------                                                                                                                                                                            
  Normal   Scheduled               5m2s                    default-scheduler        Successfully assigned namespace-test-7e9455268cae47efa1850e7f2/pod-test-rbd-edcd5499769c41f1b3bcab70083 to m13lp81-z5zgx-worker-0-8hbhl                                            
  Normal   SuccessfulAttachVolume  5m2s                    attachdetach-controller  AttachVolume.Attach succeeded for volume "pvc-c16e2d07-0bdd-49e2-a776-0cdf70254239"                                                                                                
  Normal   AddedInterface          4m54s                   multus                   Add eth0 [10.131.0.67/23] from ovn-kubernetes                                                                                                                                      
  Normal   Pulled                  3m24s (x5 over 4m54s)   kubelet                  Container image "quay.io/ocsci/nginx:fio" already present on machine                                                                                                               
  Normal   Created                 3m24s (x5 over 4m54s)   kubelet                  Created container web-server                                                                                                                                                       
  Normal   Started                 3m23s (x5 over 4m54s)   kubelet                  Started container web-server                                                                                                                                                       
  Warning  BackOff                 3m11s (x10 over 4m52s)  kubelet                  Back-off restarting failed container web-server in pod pod-test-rbd-edcd5499769c41f1b3bcab70083_namespace-test-7e9455268cae47efa1850e7f2(8e5b9a06-96f1-458e-ad11-bd5da69344a8)     

13:28:21 - MainThread - ocs_ci.ocs.ocp - ERROR  - Wait for Pod resource pod-test-rbd-edcd5499769c41f1b3bcab70083 at column STATUS to reach desired condition Running failed, last actual status was CrashLoopBackOff                                                   
13:28:21 - MainThread - ocs_ci.helpers.helpers - ERROR  - Pod pod-test-rbd-edcd5499769c41f1b3bcab70083 failed to reach Running                                                                                                                                         
13:28:21 - MainThread - ocs_ci.utility.utils - INFO  - Executing command: oc --kubeconfig /opt/clusters/m13lp81/ocp4-workdir/auth/kubeconfig -n namespace-test-7e9455268cae47efa1850e7f2 get Pod pod-test-rbd-edcd5499769c41f1b3bcab70083 -n namespace-test-7e9455268ca
e47efa1850e7f2 -o yaml                                                                                                                                                                                                                                                 
13:28:22 - MainThread - ocs_ci.utility.utils - INFO  - Executing command: oc -n namespace-test-7e9455268cae47efa1850e7f2 describe Pod pod-test-rbd-edcd5499769c41f1b3bcab70083                                

Testing the image in the interactive way gives an error:

[core@m13lp81-z5zgx-worker-0-8hbhl ~]$ sudo podman images
quay.io/ocsci/nginx                                               fio                               0a0186e90535  6 weeks ago   61.1 MB
[core@m13lp81-z5zgx-worker-0-8hbhl ~]$ sudo podman run -it 0a0186e90535 /bin/bash
{"msg":"exec container process `/docker-entrypoint.sh`: Exec format error","level":"error","time":"2024-04-16T13:53:19.800359Z"}

Could you please check that the image quay.io/ocsci/nginx:fio is the s390x code for the s390x label? Thank you very much!!!

sa-liu commented 5 months ago

Could anyone please look at this issue and provide the nginx:fio image for the platform s390x? Otherwise this will prohibit our release verification tests. Thanks!

OdedViner commented 5 months ago

https://github.com/red-hat-storage/ocs-ci/issues/9801#issuecomment-2115334950

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs.

github-actions[bot] commented 1 month ago

This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.

tuan-hoang1 commented 3 weeks ago

Reopening again as this still affects s390x.

prsurve commented 3 weeks ago

@OdedViner could you provide me dockerfile used to create quay.io/ocsci/nginx:fio i will make it multi-arch

OdedViner commented 3 weeks ago

@prsurve https://github.com/red-hat-storage/ocs-ci/issues/9801#issuecomment-2115436417 CC @petr-balogh

prsurve commented 3 weeks ago

@OdedViner thanks. i will post a new imagetag with multi-arch for @tuan-hoang1 to test based on the result, we can update image tags in quay

prsurve commented 3 weeks ago

@tuan-hoang1 could you please run your test using quay.io/ocsci/nginx:oct7 and share the results