<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:56:02 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-1393] InferenceException thrown when uses/augment is conditional on unsupported feature</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-1393</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;While parsing the attached yang files, I see the below exception&lt;/p&gt;

&lt;p&gt;Caused by: org.opendaylight.yangtools.yang.parser.spi.meta.InferenceException: Augment target &apos;Descendant&lt;/p&gt;
{qnames=[(urn:ietf:params:xml:ns*:ietf-netconf-server*?revision=2018-10-22)client-auth]}
&lt;p&gt;&apos; not found&#160;&lt;span class=&quot;error&quot;&gt;&amp;#91;at ietf-netconf-server.yang:86:16&amp;#93;&lt;/span&gt;&lt;/p&gt;

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

&lt;p&gt;Problem: we have a &quot;augment&quot; statement under &quot;uses&quot;, which is failed to validate in 6.0.6 (it was working in 3.0.16).&lt;/p&gt;

&lt;p&gt;&lt;em&gt;uses ts:tls-server-grouping {&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;em&gt;refine &quot;client-auth&quot; {&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;b&gt;&lt;em&gt;augment &quot;client-auth&quot;&lt;/em&gt;&lt;/b&gt; &lt;em&gt;{&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;Here the issue occurs at&#160;&lt;b&gt;augment&lt;/b&gt;, saying that&#160;&lt;b&gt;client-auth&lt;/b&gt;&#160;is not found in&#160;&lt;em&gt;ietf-netconf-server&lt;/em&gt;. But, The&#160;&lt;b&gt;client-auth&lt;/b&gt;&#160;container is defined under the&#160;&lt;b&gt;grouping&lt;/b&gt;&#160;in&#160;&lt;em&gt;ietf-tls-server&lt;/em&gt;.&lt;/p&gt;

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

&lt;p&gt;Note: I have tried adding prefix to client-auth, that is&#160;&lt;b&gt;&lt;em&gt;augment &quot;ts:client-auth&quot; {&lt;/em&gt;&lt;/b&gt;&lt;/p&gt;

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

&lt;p&gt;It is still failing but with different exception -&#160;Augment target &apos;Descendant&lt;/p&gt;
{qnames=[(urn:ietf:params:xml:ns:yang:*ietf-tls-server*?revision=2018-10-22)client-auth]}
&lt;p&gt;&apos; not found &lt;span class=&quot;error&quot;&gt;&amp;#91;at ietf-netconf-server.yang:86:16&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="35200">YANGTOOLS-1393</key>
            <summary>InferenceException thrown when uses/augment is conditional on unsupported feature</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="raju.kajulooti">Lovaraju Kajulooti</reporter>
                        <labels>
                    </labels>
                <created>Tue, 1 Feb 2022 11:52:06 +0000</created>
                <updated>Sat, 3 Jun 2023 00:11:55 +0000</updated>
                            <resolved>Tue, 8 Feb 2022 14:44:21 +0000</resolved>
                                    <version>6.0.6</version>
                    <version>6.0.10</version>
                                    <fixVersion>8.0.0</fixVersion>
                    <fixVersion>7.0.14</fixVersion>
                                    <component>parser</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="70501" author="rovarga" created="Tue, 1 Feb 2022 12:40:23 +0000"  >&lt;p&gt;I cannot reproduce the issue with the provided models.&lt;br/&gt;
Please provide exact steps to reproduce as well as complete error stack trace.&lt;/p&gt;</comment>
                            <comment id="70507" author="JIRAUSER13804" created="Wed, 2 Feb 2022 05:41:46 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=rovarga&quot; class=&quot;user-hover&quot; rel=&quot;rovarga&quot;&gt;rovarga&lt;/a&gt;&#160;on which version you tried?&lt;/p&gt;

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

&lt;p&gt;Here is the stack trace:&#160;&lt;/p&gt;

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

&lt;p&gt;Caused by: org.opendaylight.yangtools.yang.parser.spi.meta.InferenceException: Augment target &apos;Descendant&lt;/p&gt;
{qnames=[(urn:ietf:params:xml:ns:yang:ietf-tls-server?revision=2018-10-22)client-auth]}
&lt;p&gt;&apos; not found &lt;span class=&quot;error&quot;&gt;&amp;#91;at ietf-netconf-server.yang:86:16&amp;#93;&lt;/span&gt;Caused by: org.opendaylight.yangtools.yang.parser.spi.meta.InferenceException: Augment target &apos;Descendant&lt;/p&gt;
{qnames=[(urn:ietf:params:xml:ns:yang:ietf-tls-server?revision=2018-10-22)client-auth]}
&lt;p&gt;&apos; not found &lt;span class=&quot;error&quot;&gt;&amp;#91;at ietf-netconf-server.yang:86:16&amp;#93;&lt;/span&gt; at org.opendaylight.yangtools.yang.parser.rfc7950.stmt.augment.AbstractAugmentStatementSupport$1.prerequisiteFailed(AbstractAugmentStatementSupport.java:150) at org.opendaylight.yangtools.yang.parser.stmt.reactor.ModifierImpl.failModifier(ModifierImpl.java:87) at org.opendaylight.yangtools.yang.parser.stmt.reactor.SourceSpecificContext.failModifiers(SourceSpecificContext.java:325) at org.opendaylight.yangtools.yang.parser.stmt.reactor.BuildGlobalContext.addSourceExceptions(BuildGlobalContext.java:334) at org.opendaylight.yangtools.yang.parser.stmt.reactor.BuildGlobalContext.completePhaseActions(BuildGlobalContext.java:424) at org.opendaylight.yangtools.yang.parser.stmt.reactor.BuildGlobalContext.executePhases(BuildGlobalContext.java:222) at org.opendaylight.yangtools.yang.parser.stmt.reactor.BuildGlobalContext.buildEffective(BuildGlobalContext.java:233) at org.opendaylight.yangtools.yang.parser.stmt.reactor.CrossSourceStatementReactor$BuildAction.buildEffective(CrossSourceStatementReactor.java:232) at org.opendaylight.yangtools.yang.parser.impl.YangParserImpl.buildEffectiveModel(YangParserImpl.java:102) at org.opendaylight.yangtools.yang.parser.repo.SharedSchemaContextFactory$AssembleSources.apply(SharedSchemaContextFactory.java:241) at org.opendaylight.yangtools.yang.parser.repo.SharedSchemaContextFactory$AssembleSources.apply(SharedSchemaContextFactory.java:190) at com.google.common.util.concurrent.AbstractTransformFuture$AsyncTransformFuture.doTransform(AbstractTransformFuture.java:213) at com.google.common.util.concurrent.AbstractTransformFuture$AsyncTransformFuture.doTransform(AbstractTransformFuture.java:202) at com.google.common.util.concurrent.AbstractTransformFuture.run(AbstractTransformFuture.java:118) at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30) at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1174) at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:719) at com.google.common.util.concurrent.FluentFuture$TrustedFuture.addListener(FluentFuture.java:110) at com.google.common.util.concurrent.AbstractTransformFuture.create(AbstractTransformFuture.java:39) at com.google.common.util.concurrent.Futures.transformAsync(Futures.java:456) at org.opendaylight.yangtools.yang.parser.repo.SharedSchemaContextFactory.createSchemaContext(SharedSchemaContextFactory.java:104) at org.opendaylight.yangtools.yang.parser.repo.SharedSchemaContextFactory.createEffectiveModelContext(SharedSchemaContextFactory.java:75) at&#160;&lt;/p&gt;</comment>
                            <comment id="70512" author="rovarga" created="Fri, 4 Feb 2022 08:12:02 +0000"  >&lt;p&gt;I have tested against both current master and current 6.0.x (which has no functional changes compared to 6.0.10).&lt;/p&gt;</comment>
                            <comment id="70525" author="rovarga" created="Tue, 8 Feb 2022 14:44:08 +0000"  >&lt;p&gt;So the critical piece of information missing in this bug report is that the if-feature conditional is false.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="36963">YANGTOOLS-1514</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="17300" name="ietf-netconf-server.yang" size="2784" author="raju.kajulooti" created="Tue, 1 Feb 2022 11:51:14 +0000"/>
                            <attachment id="17301" name="ietf-tls-server.yang" size="1041" author="raju.kajulooti" created="Tue, 1 Feb 2022 11:51: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_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10312"><![CDATA[High]]></customfieldvalue>

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

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