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

Unit test TestImportOrdering fails in openshift/coredns

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.16, 4.17
    • Networking / DNS
    • Moderate
    • No
    • 3
    • Sprint 254, NE Sprint 255
    • 2
    • Rejected
    • False
    • Hide

      None

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

      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
            gspence@redhat.com Grant Spence
            Hongan Li Hongan Li
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: