<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:27:31 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>[ODLPARENT-59] mockito-all is dangerous substance abuse, must always use mockito-core, everywhere; ODL parent could enforce?</title>
                <link>https://jira.opendaylight.org/browse/ODLPARENT-59</link>
                <project id="10149" key="ODLPARENT">odlparent</project>
                    <description>&lt;p&gt;Just discovered (more remembered actually, had hit this in a past life) that mockito-all is dangerous substance abuse, must always use mockito-core, everywhere; ODL parent could enforce?&lt;/p&gt;

&lt;p&gt;One can find various posts re. this problem online; incl. e.g. &lt;a href=&quot;https://github.com/mockito/mockito/issues/324&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mockito/mockito/issues/324&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;This is the root cause of the following sudden post merge build failure of &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/44000/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/44000/&lt;/a&gt; e.g. on &lt;a href=&quot;https://jenkins.opendaylight.org/releng/job/netvirt-verify-carbon-mvn33-openjdk8/2584/console&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/job/netvirt-verify-carbon-mvn33-openjdk8/2584/console&lt;/a&gt; :&lt;/p&gt;

&lt;p&gt;08:15:01 addElanInterface(org.opendaylight.netvirt.elanmanager.tests.ElanServiceTest)  Time elapsed: 3.258 sec  &amp;lt;&amp;lt;&amp;lt; ERROR!&lt;br/&gt;
08:15:01 java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: org.hamcrest.Matcher.describeMismatch(Ljava/lang/Object;Lorg/hamcrest/Description;)V&lt;br/&gt;
08:15:01 	at java.util.concurrent.FutureTask.report(FutureTask.java:122)&lt;br/&gt;
08:15:01 	at java.util.concurrent.FutureTask.get(FutureTask.java:206)&lt;br/&gt;
08:15:01 	at org.awaitility.core.ConditionAwaiter$1.run(ConditionAwaiter.java:160)&lt;br/&gt;
08:15:01 	at java.lang.Thread.run(Thread.java:745)&lt;br/&gt;
08:15:01 Caused by: java.lang.NoSuchMethodError: org.hamcrest.Matcher.describeMismatch(Ljava/lang/Object;Lorg/hamcrest/Description;)V&lt;br/&gt;
08:15:01 	at org.awaitility.core.AbstractHamcrestCondition.getMismatchMessage(AbstractHamcrestCondition.java:77)&lt;br/&gt;
08:15:01 	at org.awaitility.core.AbstractHamcrestCondition.access$300(AbstractHamcrestCondition.java:25)&lt;br/&gt;
08:15:01 	at org.awaitility.core.AbstractHamcrestCondition$1.eval(AbstractHamcrestCondition.java:55)&lt;br/&gt;
08:15:01 	at org.awaitility.core.ConditionAwaiter$ConditionPoller.run(ConditionAwaiter.java:215)&lt;br/&gt;
08:15:01 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)&lt;br/&gt;
08:15:01 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)&lt;br/&gt;
08:15:01 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;br/&gt;
08:15:01 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;br/&gt;
08:15:01 	... 1 more&lt;/p&gt;

&lt;p&gt;I can fix this short term, but I&apos;m opening this issue to track a number of changes I&apos;m going to be pushing related to this.&lt;/p&gt;

&lt;p&gt;I&apos;d also like to investigate whether it may be possible to use a maven enforcer rule to completely block usage of mockito-all anywhere in ODL (and switch all current uses of it over to mockito-core).&lt;/p&gt;

&lt;p&gt;I&apos;d also like to see if it may be possible to run duplicate class entry validation during all ODL builds.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22182">ODLPARENT-59</key>
            <summary>mockito-all is dangerous substance abuse, must always use mockito-core, everywhere; ODL parent could enforce?</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</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="vorburger">Michael Vorburger</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Mon, 23 Jan 2017 14:55:24 +0000</created>
                <updated>Tue, 4 Sep 2018 20:32:40 +0000</updated>
                            <resolved>Tue, 4 Sep 2018 20:32:40 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="41907" author="vorburger" created="Mon, 23 Jan 2017 15:00:04 +0000"  >&lt;p&gt;See External References field for a number of Gerrits I&apos;m raising re. this...&lt;/p&gt;</comment>
                            <comment id="41908" author="skitt@redhat.com" created="Mon, 23 Jan 2017 15:04:00 +0000"  >&lt;p&gt;(In reply to Michael Vorburger from comment #0)&lt;br/&gt;
&amp;gt; Just discovered (more remembered actually, had hit this in a past life) that&lt;br/&gt;
&amp;gt; mockito-all is dangerous substance abuse, must always use mockito-core,&lt;br/&gt;
&amp;gt; everywhere; ODL parent could enforce?&lt;/p&gt;

&lt;p&gt;Yes, we should enforce this once we&apos;ve migrated everyone away (weather event...). This will also help with the migration to Mockito 2 which drops mockito-all.&lt;/p&gt;</comment>
                            <comment id="41909" author="vorburger" created="Mon, 23 Jan 2017 21:56:51 +0000"  >&lt;p&gt;&amp;gt; run duplicate class entry validation during all ODL builds&lt;/p&gt;

&lt;p&gt;see &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/50908/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/50908/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;req. &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1578&quot; title=&quot;Multi-threaded AbstractDataBrokerTest/s fail with TransactionCommitFailedException Caused by: java.lang.IllegalStateException: Store tree ... and candidate base ... differ.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1578&quot;&gt;&lt;del&gt;CONTROLLER-1578&lt;/del&gt;&lt;/a&gt; as pre-req. first, to clean up duplicates.&lt;/p&gt;

&lt;p&gt;&amp;gt; This will also help with the migration to Mockito 2 which drops mockito-all.&lt;/p&gt;

&lt;p&gt;Yeah, that may be trivial after this - I&apos;ll have done all the hard work required for that under this here! E.g. things like adjusting &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/50861/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/50861/&lt;/a&gt; &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="41910" author="vorburger" created="Tue, 14 Feb 2017 17:27:59 +0000"  >&lt;p&gt;We had 5 unreactive/dead projects blocking progress on this front.&lt;/p&gt;

&lt;p&gt;Today those 5 projects were removed from autorelease, see:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/51816/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/51816/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;and:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/51819/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/51819/&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/51820/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/51820/&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/51821/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/51821/&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/51822/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/51822/&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/51823/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/51823/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;With this mockito-all should now not be used anywhere in ODL anymore.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/50844/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/50844/&lt;/a&gt; can go next, then done.&lt;/p&gt;</comment>
                            <comment id="64879" author="vorburger" created="Tue, 4 Sep 2018 20:32:22 +0000"  >&lt;p&gt;This was fully done (AFAIK) a VERY LONG time ago, already; dunno why I had kept this issue open.&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_10207" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>External References</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/q/topic:mockito-all&quot;&gt;https://git.opendaylight.org/gerrit/#/q/topic:mockito-all&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/50824/&quot;&gt;https://git.opendaylight.org/gerrit/#/c/50824/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/50830/&quot;&gt;https://git.opendaylight.org/gerrit/#/c/50830/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/50831/&quot;&gt;https://git.opendaylight.org/gerrit/#/c/50831/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/50832/&quot;&gt;https://git.opendaylight.org/gerrit/#/c/50832/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/vorburger/xtendbeans/commit/78aa690f1b67240d4b36064cf49de104a84de058&quot;&gt;https://github.com/vorburger/xtendbeans/commit/78aa690f1b67240d4b36064cf49de104a84de058&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/50835/&quot;&gt;https://git.opendaylight.org/gerrit/#/c/50835/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/50844/&quot;&gt;https://git.opendaylight.org/gerrit/#/c/50844/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/50851/&quot;&gt;https://git.opendaylight.org/gerrit/#/c/50851/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/50850/&quot;&gt;https://git.opendaylight.org/gerrit/#/c/50850/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/q/topic:bug/7662&quot;&gt;https://git.opendaylight.org/gerrit/#/q/topic:bug/7662&lt;/a&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7662</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=7662]]></customfieldvalue>

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

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