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

Unit test TestImportOrdering fails in openshift/coredns

XMLWordPrintable

    • Moderate
    • No
    • 2
    • NE Sprint 255
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • N/A (Internal Unit Test Fix)
    • Release Note Not Required
    • In Progress

      This is a clone of issue OCPBUGS-34619. The following is the description of the original issue:

      Description of problem:

      `make test` is failing in openshift/coredns repo due to TestImportOrdering failure.
      
      This is due to the recent addition of the github.com/openshift/coredns-ocp-dnsnameresolver external plugin and the fact that CoreDNS doesn't generate zplugin.go formatted correctly so TestImportOrdering fails after generation.

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

      4.16-4.17    

      How reproducible:

          100%

      Steps to Reproduce:

          1. make test   

      Actual results:

          TestImportOrdering failure

      Expected results:

          TestImportOrdering should not fail

      Additional info:

      I created an upstream issue and PR: https://github.com/coredns/coredns/pull/6692 which recently merged.
      
      We will just need to carry-patch this in 4.17 and 4.16.
      
      The CoreDNS 1.11.3 rebase https://github.com/openshift/coredns/pull/118 is blocked on this.

            gspence@redhat.com Grant Spence
            openshift-crt-jira-prow OpenShift Prow Bot
            Hongan Li Hongan Li
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: