Re: Error in module 'network-topology' at line 289: Can not add 'list external-ids' to 'list node' in module 'network-topology': node with same name already declared at line 289


Flavio Fernandes <ffernand@...>
 

On Apr 6, 2015, at 12:06 PM, Sam Hague <shague@...> wrote:

For completeness on this thread, the one gerrit by itself works fine (https://git.opendaylight.org/gerrit/#/c/17743/) but when combined with https://git.opendaylight.org/gerrit/#/c/17730/ you hit the duplicate error. 17730 and 17743 were both committed around the same time so building locally would be successful. 17730 was merged first so after that 17743 would always break.

Thanks, Sam

Thanks, Sam! I was looking for the info on the mid-air collision.

— flavio


----- Original Message -----
From: "Sharad D Mishra" <sharad.d.mishra@...>
To: "Edward Warnicke" <hagbard@...>, "Flavio Fernandes" <ffernand@...>
Cc: "<ovsdb-dev@...>" <ovsdb-dev@...>
Sent: Monday, April 6, 2015 10:54:05 AM
Subject: Re: [ovsdb-dev] Error in module 'network-topology' at line 289: Can not add 'list external-ids' to 'list
node' in module 'network-topology': node with same name already declared at line 289



I did a successful maven build on my machine with latest code base before
putting on gerrit. Jenkins build succeeded the first time and failed after
merge.



Regards,

Sharad Mishra



From: ovsdb-dev-bounces@...
[mailto:ovsdb-dev-bounces@...] On Behalf Of Edward
Warnicke
Sent: Monday, April 6, 2015 7:49 AM
To: Flavio Fernandes
Cc: <ovsdb-dev@...>
Subject: Re: [ovsdb-dev] Error in module 'network-topology' at line 289: Can
not add 'list external-ids' to 'list node' in module 'network-topology':
node with same name already declared at line 289




Hmm... this is weird... I just tried





git review -d 17743





and everything built just fine...





Ed














On Mon, Apr 6, 2015 at 10:22 AM, Flavio Fernandes < ffernand@... >
wrote:







Update:





https://gist.github.com/ec9e520dad645f2c8ebc





[09:51:07] <flaviof_> edwarnicke :
https://lists.opendaylight.org/pipermail/ovsdb-dev/2015-April/001370.html


[10:00:47] <shague> flaviof_: that failed jenkins job I think was from:
https://git.opendaylight.org/gerrit/#/c/17743/


[10:01:09] <shague> I reverted that this morning:
https://git.opendaylight.org/gerrit/#/c/17788/


[10:02:07] <flaviof_> shague : ok. thanks.


[10:03:09] <flaviof_> shague : do you know where is the conflicting yang
file? Is it inside ovsdb?


[10:04:50] <flaviof_> shague : as in ovsdb git repo.


[10:05:34] <shague> ovsdb.yang is in out southbound


[10:07:48] <flaviof_> shague : right. My question is: based on this error
[1], how can we find out where is the 'other' .yang augmentation that is
using the same name


[10:07:51] <flaviof_> [1]:
org.opendaylight.yangtools.yang.parser.util.YangParseException: Error in
module 'ovsdb' at line 406: Failed to perform augmentation: Error in module
'network-topology' at line 289: Can not add 'list external-ids' to 'list
node' in module 'network-topology': node with same name already declared at
line 289


[10:08:05] <flaviof_> ?


[10:09:53] <shague> I think that error might be a bit wrong. you are reading
it saying it says node line 289 has an issue, but what I think really
happened is our file ovsdb.yang somehow added the uses
ovsdb-external-ids-attributes twice


[10:11:24] <flaviof_> shague : ack. I'd like to find out how to troubleshoot
issues like this. I'm sure it will happen again.

















On Apr 6, 2015, at 9:50 AM, Flavio Fernandes < ffernand@... > wrote:





Hi folks,





Looking at the latest run of ovsdb-daily-master [1], I can see that
external-ids is being ‘abused’ :)


Would anybody know much about this? I don’t know where the yang file
augmented by ovsdb.yang is located. I’m guessing a different repo?





Thanks,





— flavio








[1]:
https://jenkins.opendaylight.org/releng/view/ovsdb/job/ovsdb-daily-master/54/console





[2]: [ERROR] yang-to-sources: Unable to parse yang files from
/opt/jenkins/workspace/ovsdb-daily-master/southbound/southbound-api/src/main/yang


org.opendaylight.yangtools.yang.parser.util.YangParseException: Error in
module 'ovsdb' at line 406: Failed to perform augmentation: Error in module
'network-topology' at line 289: Can not add 'list external-ids' to 'list
node' in module 'network-topology': node with same name already declared at
line 289










_______________________________________________
ovsdb-dev mailing list
ovsdb-dev@...
https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev

Join z.archive.ovsdb-dev@lists.opendaylight.org to automatically receive all group messages.