Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-15720

Virtual Docker repository resolution order not obeyed

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.5.2
    • Fix Version/s: 6.6.0
    • Labels:
      None
    • Sprint:
      Leap 33, Leap 34

      Description

      The order of local repositories in a virtual Docker repository is not obeyed.

      To reproduce

      1. Create two docker repos (A and B)
      2. Create a virtual docker repo and add both (A on top of B)
      3. Set the default deployment repo to A
      4. Push an image/tag(foo:latest) to the virtual repo
      5. Promote the image from A to B using the Docker promotion API
      6. Push a different image with the same image name/tag to the virtual repo
      7. Delete the image locally (from your client)
      8. Pull the image from the virtual repo
      9. We expect the image to come from A, if it comes from B, you have reproduced the issue
      10. (Optional if the issue did not reproduce) Switch the order of A and B and try the pull again
      11. Observe the order of resolution is now wrong

      Expected behavior:

      The order of resolution obeys the order of the list (even if the list is modified)

        Attachments

          Activity

            People

            • Assignee:
              liorg Lior Gur (Inactive)
              Reporter:
              arturoa Arturo Aparicio
              Assigned QA:
              Barak Hacham
            • Votes:
              5 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: