<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:54:27 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-841] SchemaContextUtil.findNodeInSchemaContext does not consider actions and nested notifications</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-841</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;Yangtools fails to parse following augmentation present in&lt;br/&gt;
ietf-mpls@2017-07-02.yang:&lt;/p&gt;

&lt;p&gt;  augment&lt;br/&gt;
    &quot;/rt:routing-state/rt:ribs/rt:rib/rt:active-route/rt:input&quot; &lt;/p&gt;
{
    description
      &quot;This augment adds the input parameter of the &apos;active-route&apos;
       action.&quot;;
    uses nhlfe-contents;
  }
&lt;p&gt;  augment &quot;/rt:routing-state/rt:ribs/rt:rib/rt:active-route/&quot;&lt;br/&gt;
        + &quot;rt:output/rt:route&quot; &lt;/p&gt;
{
    description
      &quot;This augment adds the destination prefix to the reply of the
       &apos;active-route&apos; action.&quot;;
    uses nhlfe-contents;
  }

&lt;p&gt;where active-route is defined as(ietf-routing@2016-08-18.yang):&lt;/p&gt;

&lt;p&gt;action active-route {&lt;br/&gt;
          description&lt;br/&gt;
            &quot;Return the active RIB route that is used for the&lt;br/&gt;
             destination address.&lt;/p&gt;

&lt;p&gt;             Address family specific modules MUST augment input&lt;br/&gt;
             parameters with a leaf named &apos;destination-address&apos;.&quot;;&lt;br/&gt;
          output {&lt;/p&gt;

&lt;p&gt;            container route {&lt;br/&gt;
              description&lt;br/&gt;
                &quot;The active RIB route for the specified destination.&lt;/p&gt;

&lt;p&gt;                 If no route exists in the RIB for the destination&lt;br/&gt;
                 address, no output is returned.&lt;/p&gt;

&lt;p&gt;                 Address family specific modules MUST augment this&lt;br/&gt;
                 container with appropriate route contents.&quot;;&lt;br/&gt;
              container next-hop &lt;/p&gt;
{
                description
                  &quot;Route&apos;s next-hop attribute.&quot;;
                uses next-hop-state-content;
              }
&lt;p&gt;              uses route-metadata;&lt;br/&gt;
            }&lt;br/&gt;
          }&lt;br/&gt;
        }&lt;/p&gt;

&lt;p&gt;with following exception:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; Failed to parse YANG from source SourceSpecificContext &lt;span class=&quot;error&quot;&gt;&amp;#91;source=META-INF/yang/ietf-mpls@2017-07-02.yang, current=EFFECTIVE_MODEL, finished=FULL_DECLARATION&amp;#93;&lt;/span&gt;: Augment target &apos;Absolute&lt;/p&gt;
{path=[(urn:ietf:params:xml:ns:yang:ietf-routing?revision=2016-08-18)routing-state, (urn:ietf:params:xml:ns:yang:ietf-routing?revision=2016-08-18)ribs, (urn:ietf:params:xml:ns:yang:ietf-routing?revision=2016-08-18)rib, (urn:ietf:params:xml:ns:yang:ietf-routing?revision=2016-08-18)active-route, (urn:ietf:params:xml:ns:yang:ietf-routing?revision=2016-08-18)input]}
&lt;p&gt;&apos; not found &lt;span class=&quot;error&quot;&gt;&amp;#91;at META-INF/yang/ietf-mpls@2017-07-02.yang:366:2&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; yang-to-sources: Unable to parse yang files from /home/m/hc2vpp/mpls/api/src/main/yang&lt;br/&gt;
org.opendaylight.yangtools.yang.parser.spi.meta.SomeModifiersUnresolvedException: Some of EFFECTIVE_MODEL modifiers for statements were not resolved.&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;...&amp;#93;&lt;/span&gt;&lt;br/&gt;
Caused by: org.opendaylight.yangtools.yang.parser.spi.meta.InferenceException: Augment target &apos;Absolute&lt;/p&gt;
{path=[(urn:ietf:params:xml:ns:yang:ietf-routing?revision=2016-08-18)routing-state, (urn:ietf:params:xml:ns:yang:ietf-routing?revision=2016-08-18)ribs, (urn:ietf:params:xml:ns:yang:ietf-routing?revision=2016-08-18)rib, (urn:ietf:params:xml:ns:yang:ietf-routing?revision=2016-08-18)active-route, (urn:ietf:params:xml:ns:yang:ietf-routing?revision=2016-08-18)input]}
&lt;p&gt;&apos; not found &lt;span class=&quot;error&quot;&gt;&amp;#91;at META-INF/yang/ietf-mpls@2017-07-02.yang:366:2&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.yang.parser.stmt.rfc6020.AugmentStatementImpl$Definition$1.prerequisiteFailed(AugmentStatementImpl.java:187)&lt;br/&gt;
	at org.opendaylight.yangtools.yang.parser.stmt.reactor.ModifierImpl.failModifier(ModifierImpl.java:87)&lt;br/&gt;
	at org.opendaylight.yangtools.yang.parser.stmt.reactor.SourceSpecificContext.failModifiers(SourceSpecificContext.java:341)&lt;br/&gt;
	... 35 more&lt;/p&gt;
</description>
                <environment></environment>
        <key id="28626">YANGTOOLS-841</key>
            <summary>SchemaContextUtil.findNodeInSchemaContext does not consider actions and nested notifications</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <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="rovarga">Robert Varga</assignee>
                                    <reporter username="mgradzki">Marek Gradzki</reporter>
                        <labels>
                    </labels>
                <created>Wed, 25 Oct 2017 09:19:41 +0000</created>
                <updated>Sun, 10 Apr 2022 18:36:02 +0000</updated>
                            <resolved>Thu, 4 Jan 2018 18:46:45 +0000</resolved>
                                    <version>2.0.0</version>
                    <version>1.2.1</version>
                                    <fixVersion>1.2.2</fixVersion>
                    <fixVersion>2.0.1</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="59777" author="mgradzki@cisco.com" created="Wed, 25 Oct 2017 09:20:39 +0000"  >&lt;p&gt;Models can be found at :&lt;br/&gt;
&lt;a href=&quot;https://github.com/ietf-mpls-yang/te&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/ietf-mpls-yang/te&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="60559" author="rovarga" created="Tue, 26 Dec 2017 09:22:24 +0000"  >&lt;p&gt;Is this reproducible with 1.2.x or 2.0.0?&lt;/p&gt;</comment>
                            <comment id="60574" author="mgradzki@cisco.com" created="Tue, 2 Jan 2018 07:17:07 +0000"  >&lt;p&gt;I was able to reproduce it using 1.2.1:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://gerrit.fd.io/r/#/c/9917/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gerrit.fd.io/r/#/c/9917/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Console output:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.fd.io/job/honeycomb-verify-master-ubuntu1604/610/io.fd.honeycomb$yangtools822/console&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.fd.io/job/honeycomb-verify-master-ubuntu1604/610/io.fd.honeycomb$yangtools822/console&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="60575" author="rovarga" created="Tue, 2 Jan 2018 10:06:20 +0000"  >&lt;p&gt;This works reliably in 2.0.0.&lt;/p&gt;</comment>
                            <comment id="60576" author="rovarga" created="Tue, 2 Jan 2018 10:31:13 +0000"  >&lt;p&gt;And this is not a yangtools issue, as it resolves everything just fine. Console output above clearly indicates this MDSAL code generator throwing the exception:&lt;/p&gt;

&lt;p&gt;&#160;&lt;br/&gt;
java.lang.IllegalArgumentException: augment target not found: AbsoluteSchemaPath{path=&lt;span class=&quot;error&quot;&gt;&amp;#91;(urn:ietf:params:xml:ns:yang:ietf-routing?revision=2016-08-18)routing-state, (urn:ietf:params:xml:ns:yang:ietf-routing?revision=2016-08-18)ribs, (urn:ietf:params:xml:ns:yang:ietf-routing?revision=2016-08-18)rib, (urn:ietf:params:xml:ns:yang:ietf-routing?revision=2016-08-18)active-route, (urn:ietf:params:xml:ns:yang:ietf-routing?revision=2016-08-18)input&amp;#93;&lt;/span&gt;}&lt;br/&gt;
	at org.opendaylight.mdsal.binding.generator.impl.BindingGeneratorImpl.augmentationToGenTypes(BindingGeneratorImpl.java:843)&lt;br/&gt;
	at org.opendaylight.mdsal.binding.generator.impl.BindingGeneratorImpl.allAugmentsToGenTypes(BindingGeneratorImpl.java:425)&lt;br/&gt;
	at org.opendaylight.mdsal.binding.generator.impl.BindingGeneratorImpl.generateTypes(BindingGeneratorImpl.java:262)&lt;/p&gt;</comment>
                            <comment id="60577" author="rovarga" created="Tue, 2 Jan 2018 10:35:29 +0000"  >&lt;p&gt;This is binding V1 + YANG 1.1 action &#8211; this was never advertised as working. Do V2 bindings trigger the same error?&lt;/p&gt;</comment>
                            <comment id="60578" author="mgradzki@cisco.com" created="Tue, 2 Jan 2018 10:42:46 +0000"  >&lt;p&gt;Thanks for info! Is it possible to fix it in 1.2.x?&lt;/p&gt;

&lt;p&gt;If not, Honeycomb will probably have to wait for 2.0.0 adoption by core ODL projects (oxygen?).&lt;/p&gt;</comment>
                            <comment id="60579" author="mgradzki@cisco.com" created="Tue, 2 Jan 2018 10:46:08 +0000"  >&lt;p&gt;Sorry, I missed your previous comment. Never tried V2 bindings.&lt;/p&gt;</comment>
                            <comment id="60580" author="rovarga" created="Tue, 2 Jan 2018 11:10:39 +0000"  >&lt;p&gt;This is coming back to yangtools, SchemaContextUtil.findDataSchemaNode(SchemaContext,SchemaPath), which is not considering actions nor nested notifications.&lt;/p&gt;</comment>
                            <comment id="60582" author="rovarga" created="Tue, 2 Jan 2018 11:50:06 +0000"  >&lt;p&gt;Nitrogen: &lt;a href=&quot;https://git.opendaylight.org/gerrit/66829&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/66829&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="60589" author="mgradzki@cisco.com" created="Thu, 4 Jan 2018 06:27:31 +0000"  >&lt;p&gt;It looks like MDSAL code generator needs fix as well to resolve original issue.&lt;/p&gt;

&lt;p&gt;Here is stack trace (can be reproduced using&#160;&lt;a href=&quot;https://gerrit.fd.io/r/#/c/9917/2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gerrit.fd.io/r/#/c/9917/2&lt;/a&gt;&#160; + &lt;a href=&quot;https://git.opendaylight.org/gerrit/66829&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/66829&lt;/a&gt; ):&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; yang-to-sources: Unable to generate sources with org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl generator&lt;br/&gt;
 java.lang.NullPointerException: Target type not yet generated: RPC input input&lt;br/&gt;
 &#160;&#160; &#160;at org.opendaylight.mdsal.binding.generator.impl.BindingGeneratorImpl.augmentationToGenTypes(BindingGeneratorImpl.java:851)&lt;br/&gt;
 &#160;&#160; &#160;at org.opendaylight.mdsal.binding.generator.impl.BindingGeneratorImpl.allAugmentsToGenTypes(BindingGeneratorImpl.java:425)&lt;br/&gt;
 &#160;&#160; &#160;at org.opendaylight.mdsal.binding.generator.impl.BindingGeneratorImpl.generateTypes(BindingGeneratorImpl.java:262)&lt;br/&gt;
 &#160;&#160; &#160;at org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl.generateSources(CodeGeneratorImpl.java:63)&lt;br/&gt;
 &#160;&#160; &#160;at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesProcessor.generateSourcesWithOneGenerator(YangToSourcesProcessor.java:335)&lt;br/&gt;
 &#160;&#160; &#160;at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesProcessor.generateSources(YangToSourcesProcessor.java:277)&lt;br/&gt;
 &#160;&#160; &#160;at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesProcessor.execute(YangToSourcesProcessor.java:96)&lt;br/&gt;
 &#160;&#160; &#160;at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesProcessor.conditionalExecute(YangToSourcesProcessor.java:117)&lt;br/&gt;
 &#160;&#160; &#160;at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesMojo.execute(YangToSourcesMojo.java:122)&lt;br/&gt;
 &#160;&#160; &#160;at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)&lt;br/&gt;
 &#160;&#160; &#160;at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)&lt;br/&gt;
 &#160;&#160; &#160;at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)&lt;br/&gt;
 &#160;&#160; &#160;at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)&lt;br/&gt;
 &#160;&#160; &#160;at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)&lt;br/&gt;
 &#160;&#160; &#160;at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)&lt;br/&gt;
 &#160;&#160; &#160;at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)&lt;br/&gt;
 &#160;&#160; &#160;at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)&lt;br/&gt;
 &#160;&#160; &#160;at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)&lt;br/&gt;
 &#160;&#160; &#160;at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)&lt;br/&gt;
 &#160;&#160; &#160;at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)&lt;br/&gt;
 &#160;&#160; &#160;at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)&lt;br/&gt;
 &#160;&#160; &#160;at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)&lt;br/&gt;
 &#160;&#160; &#160;at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)&lt;br/&gt;
 &#160;&#160; &#160;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br/&gt;
 &#160;&#160; &#160;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;br/&gt;
 &#160;&#160; &#160;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;br/&gt;
 &#160;&#160; &#160;at java.lang.reflect.Method.invoke(Method.java:498)&lt;br/&gt;
 &#160;&#160; &#160;at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)&lt;br/&gt;
 &#160;&#160; &#160;at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)&lt;br/&gt;
 &#160;&#160; &#160;at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)&lt;br/&gt;
 &#160;&#160; &#160;at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; yang-to-sources: One or more code generators failed, including failed list(generatorClass=exception) {org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl=java.lang.NullPointerException}&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="29035">MDSAL-300</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10001">
                    <name>Cloners</name>
                                                                <inwardlinks description="is cloned by">
                                        <issuelink>
            <issuekey id="29035">MDSAL-300</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i036tz:</customfieldvalue>

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