[RELENG-63] distribution check should verify each ODL bundle is included in only one feature descriptor Created: 20/Sep/17  Updated: 19/Oct/17

Status: Open
Project: releng
Component/s: Jenkins Job Builder
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Vratko Polak Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 9192

 Description   

The check might be as simple as running a recursive grep over system/ in built distribution, and confirming it returns no duplicated matches.

That would verify the first part of what Robert says [0]:
"At the end of the day, every ODL jar file should be part of EXACTLY ONE
feature and that feature MUST reside in the same project as the source
code used to build that jar."

I guess the same should be required for config files, but it might be harder to grep for all the different classifiers.

[0] https://lists.opendaylight.org/pipermail/release/2017-September/012356.html



 Comments   
Comment by Vratko Polak [ 10/Oct/17 ]

An improvement [1] has been merged, now violations are being logged in distribution-check job. Example content: [2].

[1] https://git.opendaylight.org/gerrit/64026
[2] https://logs.opendaylight.org/releng/jenkins092/bgpcep-distribution-check-oxygen/121/bug9192.diff.log.gz

Generated at Wed Feb 07 20:37:24 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.