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

Pull replication fails if the source contain ":" character in the artifact path

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 6.9.1
    • Fix Version/s: 7.24.1
    • Component/s: Replication
    • Labels:
      None
    • Severity:
      Medium

      Description

      Steps to reproduce:
      1) In Artifactory-1(source), Create a local Debian repository and deploy a Debian package by giving the path "jfrog:path/<debianpackage>" (Uploaded Debian package using UI) and check "filtered" for that artifact.

      2) In Artifactory -2 (Target), create a Debian remote repository and point the URL to the source Artifactory Debian local repository. So this repository act as a smart repository.

      3)  In target remote repository, Enable Active Replication of This Repository and give Cron expression and also check  "Sync Deleted Artifacts" and  "Sync Artifact Properties"

      4) In target Artifactory, the Debian artifact is not pulled and we see the following error in the target logs:

      2019-05-01 16:49:10,040 [replication-consumer-1556729350002-0] [WARN ] (o.a.r.RemoteRepoBase:437) - debian-remote: Error in getting information for 'jfrog:sales/amavisd-milter-dbg_1.5.0-5_amd64.deb' (null).

      2019-05-01 16:49:10,045 [art-exec-13] [INFO ] (o.a.a.c.BasicStatusHolder:218) - Completed remote folder replication for debian-remote/ with 0 deployed files, 0 deleted files, 0 properties change, 0 statistics change, 0 mkDirs... average events per second 0

      2019-05-01 16:49:10,046 [replication-consumer-1556729350002-0] [ERROR] (o.a.p.PropertiesServiceImpl:191) - Cannot set properties for debian-remote-cache:jfrog:sales/amavisd-milter-dbg_1.5.0-5_amd64.deb: Item not found.

      2019-05-01 16:49:10,046 [replication-consumer-1556729350002-0] [ERROR] (o.a.a.c.BasicStatusHolder:211) - Unable to set properties for debian-remote-cache:jfrog:sales/amavisd-milter-dbg_1.5.0-5_amd64.deb

       

      (This behavior is seen for all type of repositories)

       

      For the above package, if the "filtered resource" is enabled, then we can see the Warning:
      2019-05-01 16:49:10,040 [replication-consumer-1556729350002-0] [WARN ] (o.a.r.RemoteRepoBase:437) - debian-remote: Error in getting information for 'jfrog:sales/amavisd-milter-dbg_1.5.0-5_amd64.deb' (null).

       

      If we didn't enable "Filtered resources", That warning cannot be seen in the logs

        Attachments

        1. SOURCE.png
          SOURCE.png
          160 kB
        2. Target.png
          97 kB
        3. Targetlogs.png
          Targetlogs.png
          532 kB

          Issue Links

            Activity

                People

                Assignee:
                Unassigned
                Reporter:
                santhoshp Santhosh Pesari
                Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Sync Status

                    Connection: RTFACT Sync
                    RTMID-19119 -
                    SYNCHRONIZED
                    • Last Sync Date: