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

S2i Context directory Build Test Perm-failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 4.14.z
    • Build
    • None
    • No
    • Builds Sprint #3
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      CI tests for multiple PRs against release-4.14 branch are failing at https://github.com/openshift/origin/blob/release-4.15/test/extended/builds/contextdir.go#L64

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

      OCP v4.14

      How reproducible:

      Each time    

      Actual results:

      The build "s2icontext-1" status is "Failed" with following errors:
      
      ...
      Executing git --no-pager
                    show -s --format=%!a(MISSING)d HEAD\nI0508 11:11:59.281906       1 repository.go:450]
                    Executing git --no-pager show -s --format=%!<(MISSING)(80,trunc)%!s(MISSING) HEAD\nI0508 11:11:59.299423
                    \      1 repository.go:450] Executing git config --get remote.origin.url\nerror:
                    provided context directory does not exist: 2.7/test/puma-test-app\n"

      Expected results:

      The build should be able to find the specified context directory & the tests should pass.

      Additional info:

      The context directory set for the affected test [0] is 2.7/test/puma-test-app, which is not available at source [1] as ruby-27 is no longer supported.    

      [0] https://github.com/openshift/origin/blob/release-4.14/test/extended/testdata/bindata.go#L20107

      [1] https://github.com/sclorg/s2i-ruby-container/pull/532/commits/9bce4505a187f07e1785544481f24dc99b23c8d8

              rh-ee-apjagtap Apoorva Jagtap
              rh-ee-apjagtap Apoorva Jagtap
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: