<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:52:43 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[YANGTOOLS-259] Having multiple revisions of the same YANG model causes build warnings/errors</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-259</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;I spent some time this weekend trying to root out all the warnings which building the TTP project, and I managed to get everything but this:&lt;/p&gt;

&lt;p&gt;    &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; yang-to-sources: Found 2 yang files in /Users/ckd/.m2/repository/org/opendaylight/controller/sal-core-spi/1.1-SNAPSHOT/sal-core-spi-1.1-SNAPSHOT.jar: &lt;span class=&quot;error&quot;&gt;&amp;#91;META-INF/yang/opendaylight-config-dom-datastore.yang, META-INF/yang/opendaylight-operational-dom-datastore.yang&amp;#93;&lt;/span&gt;&lt;br/&gt;
    &lt;span class=&quot;error&quot;&gt;&amp;#91;WARNING&amp;#93;&lt;/span&gt; Error while sorting module &lt;span class=&quot;error&quot;&gt;&amp;#91;ietf-yang-types, Mon Jul 15 00:00:00 CDT 2013&amp;#93;&lt;/span&gt;: module with same namespace (urn:ietf:params:xml:ns:yang:ietf-yang-types) already loaded: &lt;span class=&quot;error&quot;&gt;&amp;#91;null, null&amp;#93;&lt;/span&gt;&lt;br/&gt;
    &lt;span class=&quot;error&quot;&gt;&amp;#91;WARNING&amp;#93;&lt;/span&gt; Error while sorting module &lt;span class=&quot;error&quot;&gt;&amp;#91;ietf-yang-types, Mon Jul 15 00:00:00 CDT 2013&amp;#93;&lt;/span&gt;: module with same namespace (urn:ietf:params:xml:ns:yang:ietf-yang-types) already loaded: &lt;span class=&quot;error&quot;&gt;&amp;#91;null, null&amp;#93;&lt;/span&gt;&lt;br/&gt;
    &lt;span class=&quot;error&quot;&gt;&amp;#91;WARNING&amp;#93;&lt;/span&gt; Error while sorting module &lt;span class=&quot;error&quot;&gt;&amp;#91;ietf-yang-types, Mon Jul 15 00:00:00 CDT 2013&amp;#93;&lt;/span&gt;: module with same namespace (urn:ietf:params:xml:ns:yang:ietf-yang-types) already loaded: &lt;span class=&quot;error&quot;&gt;&amp;#91;null, null&amp;#93;&lt;/span&gt;&lt;br/&gt;
    &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; yang-to-sources: YANG files parsed from &lt;span class=&quot;error&quot;&gt;&amp;#91;META-INF/yang/ttp.yang&amp;#93;&lt;/span&gt;&lt;br/&gt;
    &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; yang-to-sources: Code generator instantiated from org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl&lt;br/&gt;
    &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; yang-to-sources: Sources will be generated to /Users/ckd/git-reps/ttp/ttp-model/src/main/yang-gen-sal&lt;br/&gt;
    &lt;span class=&quot;error&quot;&gt;&amp;#91;WARNING&amp;#93;&lt;/span&gt; Error while sorting module &lt;span class=&quot;error&quot;&gt;&amp;#91;ietf-yang-types, Fri Sep 24 00:00:00 CDT 2010&amp;#93;&lt;/span&gt;: module with same namespace (urn:ietf:params:xml:ns:yang:ietf-yang-types) already loaded: &lt;span class=&quot;error&quot;&gt;&amp;#91;null, null&amp;#93;&lt;/span&gt;&lt;br/&gt;
    &lt;span class=&quot;error&quot;&gt;&amp;#91;WARNING&amp;#93;&lt;/span&gt; Error while sorting module &lt;span class=&quot;error&quot;&gt;&amp;#91;ietf-yang-types, Fri Sep 24 00:00:00 CDT 2010&amp;#93;&lt;/span&gt;: module with same namespace (urn:ietf:params:xml:ns:yang:ietf-yang-types) already loaded: &lt;span class=&quot;error&quot;&gt;&amp;#91;null, null&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt; It seems like it stems from the fact that we have multiple versions of the same YANG module. Usually from the IETF models. I&apos;m also attaching the many, many such warnings you get while building the controller.&lt;/p&gt;

&lt;p&gt;I haven&apos;t spent enough time in the code to understand if there&apos;s a simple fix, but it seems like something that would be nice to have resolved for Helium.&lt;/p&gt;

&lt;p&gt;The actual logged message seems to be coming from line 189 of yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/util/ModuleDependencySort.java in the yangtools project.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="22679">YANGTOOLS-259</key>
            <summary>Having multiple revisions of the same YANG model causes build warnings/errors</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="mvitez@cisco.com">Martin Vitez</assignee>
                                    <reporter username="colindixon">Colin Dixon</reporter>
                        <labels>
                    </labels>
                <created>Sun, 10 Aug 2014 19:45:14 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:14 +0000</updated>
                            <resolved>Mon, 25 Aug 2014 10:38:07 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="42951" author="colin@colindixon.com" created="Sun, 10 Aug 2014 19:45:14 +0000"  >&lt;p&gt;Attachment controller-duplicate-yang.txt has been added with description: the warnings caused by this bug when building the controller&lt;/p&gt;</comment>
                            <comment id="42950" author="mvitez@cisco.com" created="Mon, 18 Aug 2014 13:42:32 +0000"  >&lt;p&gt;Proposed patch:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/10023/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/10023/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="22698">YANGTOOLS-278</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="12987" name="controller-duplicate-yang.txt" size="70485" author="colindixon" created="Sun, 10 Aug 2014 19:45:14 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1514</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=1514]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10365"><![CDATA[Helium-M5]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0264f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>