[YANGTOOLS-254] issue parsing yang submodule on linux (but not on Mac) Created: 06/Aug/14  Updated: 10/Apr/22  Resolved: 16/Sep/14

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Giles Heron Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


Attachments: Zip Archive opendaylight.zip    
External issue ID: 1497

 Description   

ODL fails when parsing a YANG submodule on Linux (Ubuntu). The same submodule parses ok on a Mac. I'm using the same Opendaylight and Java versions on both (1.7.45 of the latter though I also tried 1.7.60 on Linux).

the modules appear to be correct:

we have a parent module and multiple submodules.

submodule 1 includes submodule 2 and then uses a grouping defined in submodule 2.

when parsing the module on Linux ODL complains about the grouping:

org.opendaylight.yangtools.yang.parser.util.YangParseException: Error in module 'tailf-ncs' at line 68: Grouping 'ssh-connection-config' not found.

logs attached.



 Comments   
Comment by Giles Heron [ 06/Aug/14 ]

Attachment opendaylight.zip has been added with description: zipped Opendaylight log file

Comment by Giles Heron [ 21/Aug/14 ]

latest builds seem to work on Linux. All v strange...

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