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

Multiple deb.distribution definitions causing incorrect indexing

    Details

    • Type: Bug
    • Status: Open
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: 6.12.2
    • Fix Version/s: None
    • Component/s: Debian, Distribution
    • Labels:
      None
    • Environment:

      Debian distributions trusty and bionic 

    • Regression:
      Yes

      Description

      When uploading a debian artifact with multiple deb.distribution tags the second defined distribution tag does allow for the package to be accessible by the distribution. 

      For example if the two distributions were defined for the debian metadata property in the UI as 'deb.distribution' with the input parameters 'bionic; stretch'  stretch would not be available when attempting to download the package, but it would be available on bionic distributions. If 'stretch' was defined first in the properties list ('stretch; bionic') then the bionic distribution system would not have access to the deb. 

      Here is a snapshot of the log file reporting multiple incorrect dists being generated when running a 'reindex':

       

      2019-10-21 15:21:30,017 [art-exec-4] [INFO ] (o.a.a.d.DebianServiceImpl:317) - Finished calculation of Debian metadata for distribution ' trusty' in repo 'libs-snapshots-deb-local'. took 85 ms
      2019-10-21 15:21:30,804 [art-exec-6] [INFO ] (o.a.a.d.DebianServiceImpl:317) - Finished calculation of Debian metadata for distribution 'trusty; bionic' in repo 'libs-snapshots-deb-local'. took 871 ms
      2019-10-21 15:21:31,085 [art-exec-3] [INFO ] (o.a.a.d.DebianServiceImpl:317) - Finished calculation of Debian metadata for distribution 'trusty;bionic' in repo 'libs-snapshots-deb-local'. took 1153 ms
      2019-10-21 15:21:31,361 [art-exec-5] [INFO ] (o.a.a.d.DebianServiceImpl:317) - Finished calculation of Debian metadata for distribution 'trusty' in repo 'libs-snapshots-deb-local'. took 1431 ms
      2019-10-21 15:21:31,659 [art-exec-2] [INFO ] (o.a.a.d.DebianServiceImpl:317) - Finished calculation of Debian metadata for distribution 'bionic' in repo 'libs-snapshots-deb-local'. took 1729 ms

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mdtdevops Freeman
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: