[RTFACT-20397] Multiple deb.distribution definitions causing incorrect indexing Created: 21/Oct/19  Updated: 21/Oct/19

Status: Open
Project: Artifactory Binary Repository
Component/s: Debian, Distribution
Affects Version/s: 6.12.2
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: Freeman Assignee: Unassigned
Resolution: Unresolved Votes: 3
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

 

 


Generated at Tue Feb 18 07:59:13 UTC 2020 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.