Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-1165

machine-os-content failed error blocking some ci clusters from installing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • 4.12.0
    • Test Infrastructure
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Have hit this several times when running tests on the 1.25 k8s bump.

      For example: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/openshift-kubernetes-1360-nightly-4.12-e2e-vsphere-ovn-techpreview/1569423990840102912

      https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/openshift-kubernetes-1360-ci-4.12-e2e-aws-sdn-techpreview-serial/1569423962868289536

      Generally there is a failure re: fedora repos? For example: `Error: Failed to synchronize cache for repo 'fedora'` and `Error: Failed to synchronize cache for repo 'fedora-modular`

      Happens during:

      ```
      [1/2] STEP 7/7: RUN ./install.sh
      + yum install -y ostree rpm-ostree yum-utils selinux-policy-targeted xfsprogs
      ````
      It blocks the cluster from installing and tests from running. Unclear on why this is happening but checking it's not just our PR that sees this failure:

      https://search.ci.openshift.org/?search=the+build+machine-os-content+failed+&maxAge=336h&context=1&type=bug%2Bissue%2Bjunit&name=&excludeName=&maxMatches=5&maxBytes=20971520&groupBy=job

      [1/2] STEP 7/7: RUN ./install.sh
      + yum install -y ostree rpm-ostree yum-utils selinux-policy-targeted xfsprogs
                    
      Fedora Modular 29 - x86_64                      1.8 kB/s | 3.3 kB     00:01                 
      Error: Failed to synchronize cache for repo 'fedora-modular'
      
      INFO[2022-09-12T21:18:42Z] Ran for 42m28s                               
                    
      ERRO[2022-09-12T21:18:42Z] Some steps failed:                           
      ERRO[2022-09-12T21:18:42Z] 
      
      * could not run steps: step machine-os-content failed: the build machine-os-content failed after 2m48s with reason DockerBuildFailed: Dockerfile build strategy has failed. 
      
      INFO[2022-09-12T21:18:42Z] Reporting job state 'failed' with reason 'executing_graph:step_failed:building_project_image' 
                           
              

      Version-Release number of selected component (if applicable):

       

      How reproducible:

       

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      Dockerbuild fails with some issues related to Fedora repos

      Expected results:

      I expect this to build correctly

      Additional info:

      unsure if this is the correct place for this bz feel free to move to correct team. thanks!

            nmoraiti Nikolaos Moraitis
            kgarriso@redhat.com Kirsten Garrison (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: