<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:24 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>[CONTROLLER-587] Heisenbug in DataNormalizerTest</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-587</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;On MacOS 10.9.3 (verified on 3 machines) with Java 1.7, the DataNormalizerTest fails because the comparator provided in verifyLegacyNode() does not actually provide a total ordering of the childData and childNodes.&lt;/p&gt;

&lt;p&gt;It appears as though Windows and Linux are immune.&lt;/p&gt;

&lt;p&gt;This results in a build failure for sal-common-impl that looks like this:&lt;/p&gt;

&lt;p&gt;-------------------------------------------------------&lt;br/&gt;
 T E S T S&lt;br/&gt;
-------------------------------------------------------&lt;br/&gt;
Running org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizerTest&lt;br/&gt;
SLF4J: Failed to load class &quot;org.slf4j.impl.StaticLoggerBinder&quot;.&lt;br/&gt;
SLF4J: Defaulting to no-operation (NOP) logger implementation&lt;br/&gt;
SLF4J: See &lt;a href=&quot;http://www.slf4j.org/codes.html#StaticLoggerBinder&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.slf4j.org/codes.html#StaticLoggerBinder&lt;/a&gt; for further details.&lt;br/&gt;
Tests run: 10, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.892 sec &amp;lt;&amp;lt;&amp;lt; FAILURE! - in org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizerTest&lt;br/&gt;
testToLegacyNormalizedNode(org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizerTest)  Time elapsed: 0.068 sec  &amp;lt;&amp;lt;&amp;lt; FAILURE!&lt;br/&gt;
java.lang.AssertionError: Child node QName expected:&amp;lt;(urn:opendaylight:params:xml:ns:yang:controller:md:sal:normalization:test?revision=2014-03-13)inner-list&amp;gt; but was:&amp;lt;(urn:opendaylight:params:xml:ns:yang:controller:md:sal:normalization:test?revision=2014-03-13)id&amp;gt;&lt;br/&gt;
     at org.junit.Assert.fail(Assert.java:91)&lt;br/&gt;
     at org.junit.Assert.failNotEquals(Assert.java:645)&lt;br/&gt;
     at org.junit.Assert.assertEquals(Assert.java:126)&lt;br/&gt;
     at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizerTest.verifyLegacyNode(DataNormalizerTest.java:437)&lt;br/&gt;
     at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizerTest.verifyLegacyNode(DataNormalizerTest.java:441)&lt;br/&gt;
     at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizerTest.testToLegacyNormalizedNode(DataNormalizerTest.java:245)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: Macintosh&lt;/p&gt;</environment>
        <key id="25141">CONTROLLER-587</key>
            <summary>Heisenbug in DataNormalizerTest</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="colindixon">Colin Dixon</assignee>
                                    <reporter username="colindixon">Colin Dixon</reporter>
                        <labels>
                    </labels>
                <created>Sun, 29 Jun 2014 20:01:13 +0000</created>
                <updated>Tue, 25 Jul 2023 08:23:57 +0000</updated>
                            <resolved>Thu, 3 Jul 2014 18:23:58 +0000</resolved>
                                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="48595" author="tony.tkacik@gmail.com" created="Mon, 30 Jun 2014 08:02:49 +0000"  >&lt;p&gt;This boils down that test expects ordering from HashMap (hashMap ordering&lt;br/&gt;
is pseudo-random and depends on previously allocated HashMap and their seeds).&lt;/p&gt;</comment>
                            <comment id="48596" author="tony.tkacik@gmail.com" created="Mon, 30 Jun 2014 09:52:29 +0000"  >&lt;p&gt;Implementation of verify for composite nodes, assumes ordering even for elements&lt;br/&gt;
which are marked unordered (and uses hashmap in background)&lt;/p&gt;

&lt;p&gt;Easy way to replicate this bug is just to modify QName#hashCode() to return 0 for hashCode.&lt;/p&gt;</comment>
                            <comment id="48597" author="colin@colindixon.com" created="Mon, 30 Jun 2014 12:01:37 +0000"  >&lt;p&gt;I created a partial (complete for the current unit tests) patch for this last night:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/8439/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/8439/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="48598" author="colin@colindixon.com" created="Thu, 3 Jul 2014 18:23:58 +0000"  >&lt;p&gt;Since the code was in a Unit test and the submitted fix will generate exceptions if the assumptions it makes are violated, I&apos;ve marked this as fixed since I don&apos;t think it could regress without failing in the verify stage.&lt;/p&gt;</comment>
                    </comments>
                    <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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1256</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=1256]]></customfieldvalue>

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

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