[ARMOURY-5] catalog-api failing to parse yang sources Created: 01/Oct/15  Updated: 03/May/18  Resolved: 07/Oct/15

Status: Resolved
Project: armoury
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Thanh Ha (zxiiro) Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Duplicate
is duplicated by ARMOURY-4 armoury unable to parse yang files Resolved
External issue ID: 4392

 Description   

See: https://jenkins.opendaylight.org/releng/view/autorelease/job/autorelease-daily-beryllium/lastFailedBuild/org.opendaylight.armoury$catalog-api/console

catalog-api is failing to parse it's yang files with the following error:

[ERROR] yang-to-sources: Unable to parse yang files from /opt/jenkins/workspace/autorelease-daily-beryllium/armoury/catalog-api/src/main/yang
java.lang.IllegalArgumentException: Argument catalog:name = 'example-network-function' and catalog:version = '1.0 is not valid XPath string at META-INF/yang/catalog.yang:50:8



 Comments   
Comment by Robert Varga [ 01/Oct/15 ]

It looks like a simple typo: missing ' after "1.0".

Comment by Robert Varga [ 01/Oct/15 ]

https://git.opendaylight.org/gerrit/27730 will downgrade this class of errors to a warning.

Comment by Alexis de Talhouƫt [ 02/Oct/15 ]

I believe this patch https://git.opendaylight.org/gerrit/#/c/27820/1 will fix the typo and the issue, even if it is not an issue anymore as https://git.opendaylight.org/gerrit/27730 was merged.

Still, it fixes the typo.

Generated at Wed Feb 07 19:09:23 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.