<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:39:11 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>[SNMP-4] yang-oid-plugin fails with jdk8</title>
                <link>https://jira.opendaylight.org/browse/SNMP-4</link>
                <project id="10169" key="SNMP">snmp</project>
                    <description>&lt;p&gt;We are seeing failure when building with jdk8 &quot;FATAL ERROR in native method: processing of -javaagent failed&quot;. Full logs:&lt;/p&gt;

&lt;p&gt;    &lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/autorelease/job/autorelease-daily-lithium-jdk8/16/org.opendaylight.snmp$yang-oid-plugin/console&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/autorelease/job/autorelease-daily-lithium-jdk8/16/org.opendaylight.snmp$yang-oid-plugin/console&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26801">SNMP-4</key>
            <summary>yang-oid-plugin fails with jdk8</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="jon@ivydesign.com">Jon Rosenberger</assignee>
                                    <reporter username="zxiiro">Thanh Ha (zxiiro)</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 Jul 2015 16:41:46 +0000</created>
                <updated>Wed, 9 Sep 2015 02:37:29 +0000</updated>
                            <resolved>Wed, 9 Sep 2015 02:37:29 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="53845" author="jon@ivydesign.com" created="Sat, 11 Jul 2015 00:43:49 +0000"  >&lt;p&gt;old version of jacoco is being used by this project&lt;/p&gt;</comment>
                            <comment id="53846" author="jon@ivydesign.com" created="Sat, 11 Jul 2015 00:59:52 +0000"  >&lt;p&gt;fixed in &lt;a href=&quot;https://git.opendaylight.org/gerrit/24022&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/24022&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;to test, &quot;cd snmp ; mvn clean install&quot; using jdk 1.8&lt;/p&gt;</comment>
                            <comment id="53847" author="zxiiro" created="Fri, 17 Jul 2015 13:59:48 +0000"  >&lt;p&gt;I see a new build failure with: FATAL ERROR in native method: processing of -javaagent failed&lt;/p&gt;

&lt;p&gt;At the end of the Maven build it says:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18:test (default-test) on project yang-oid-plugin: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.18:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?&lt;/p&gt;



&lt;p&gt;See yang-oid-plugin logs here:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/job/autorelease-daily-lithium-jdk8/23/org.opendaylight.snmp$yang-oid-plugin/console&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/job/autorelease-daily-lithium-jdk8/23/org.opendaylight.snmp$yang-oid-plugin/console&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53848" author="zxiiro" created="Wed, 22 Jul 2015 13:46:03 +0000"  >&lt;p&gt;This is still an issue, is anyone looking into this?&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/job/autorelease-daily-lithium-jdk8/31/org.opendaylight.snmp$yang-oid-plugin/console&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/job/autorelease-daily-lithium-jdk8/31/org.opendaylight.snmp$yang-oid-plugin/console&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53849" author="jon@ivydesign.com" created="Wed, 22 Jul 2015 19:20:18 +0000"  >&lt;p&gt;I&apos;m seeing a clean build of /snmp on both my environments which are running oracle JDK.  I see your failure is java-1.8.0-openjdk-1.8.0.25-3.b17.el6_6.x86_64.  I will try to reproduce using openjdk.&lt;/p&gt;

&lt;p&gt;working mac environment:&lt;/p&gt;

&lt;p&gt;$ mvn -v&lt;br/&gt;
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0&lt;br/&gt;
Apache Maven 3.3.1 (cab6659f9874fa96462afef40fcf6bc033d58c1c; 2015-03-13T13:10:27-07:00)&lt;br/&gt;
Maven home: /Users/jorosenb/opt/apache-maven-3.3.1&lt;br/&gt;
Java version: 1.8.0_45, vendor: Oracle Corporation&lt;br/&gt;
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre&lt;br/&gt;
Default locale: en_US, platform encoding: UTF-8&lt;br/&gt;
OS name: &quot;mac os x&quot;, version: &quot;10.9.5&quot;, arch: &quot;x86_64&quot;, family: &quot;mac&quot;&lt;/p&gt;

&lt;p&gt;$ uname -a&lt;br/&gt;
Darwin JOROSENB-M-70SZ 13.4.0 Darwin Kernel Version 13.4.0: Wed Mar 18 16:20:14 PDT 2015; root:xnu-2422.115.14~1/RELEASE_X86_64 x86_64&lt;/p&gt;


&lt;p&gt;working linux mint environment:&lt;/p&gt;

&lt;p&gt;$ mvn -v&lt;br/&gt;
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T04:57:37-07:00)&lt;br/&gt;
Maven home: /home/jon/opt/maven&lt;br/&gt;
Java version: 1.7.0_80, vendor: Oracle Corporation&lt;br/&gt;
Java home: /usr/lib/jvm/java-7-oracle/jre&lt;br/&gt;
Default locale: en_US, platform encoding: UTF-8&lt;br/&gt;
OS name: &quot;linux&quot;, version: &quot;3.13.0-53-generic&quot;, arch: &quot;amd64&quot;, family: &quot;unix&quot;&lt;/p&gt;

&lt;p&gt;$ uname -a&lt;br/&gt;
Linux r 3.13.0-53-generic #89-Ubuntu SMP Wed May 20 10:34:39 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux&lt;/p&gt;</comment>
                            <comment id="53850" author="jon@ivydesign.com" created="Wed, 22 Jul 2015 19:37:43 +0000"  >&lt;p&gt;Sorry, that linux env is&lt;/p&gt;

&lt;p&gt;Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T04:57:37-07:00)&lt;br/&gt;
Maven home: /home/jon/opt/maven&lt;br/&gt;
Java version: 1.8.0_45, vendor: Oracle Corporation&lt;br/&gt;
Java home: /usr/lib/jvm/java-8-oracle/jre&lt;br/&gt;
Default locale: en_US, platform encoding: UTF-8&lt;br/&gt;
OS name: &quot;linux&quot;, version: &quot;3.13.0-53-generic&quot;, arch: &quot;amd64&quot;, family: &quot;unix&quot;&lt;/p&gt;</comment>
                            <comment id="53851" author="zxiiro" created="Wed, 22 Jul 2015 19:38:36 +0000"  >&lt;p&gt;One key difference you may notice is that in the autorelease build we are building all of OpenDaylight in one Maven call. Memory usage jumps up quite a bit so we are building in a 16 GB VM with -Xmx=8g. I&apos;m not sure if it&apos;s a memory issue but since javaagent is failing I&apos;m wondering if it might be a possibility. However considering JDK7 version of the autorelease build seems to build just fine so I feel the memory should be sufficient.&lt;/p&gt;</comment>
                            <comment id="53852" author="jon@ivydesign.com" created="Wed, 22 Jul 2015 21:28:35 +0000"  >&lt;p&gt;unable to reproduce with openjdk 8 (building the /snmp tree alone, as before)&lt;/p&gt;

&lt;p&gt;(master) ~/projects/odl/snmp$ mvn -v&lt;br/&gt;
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T04:57:37-07:00)&lt;br/&gt;
Maven home: /home/jon/opt/maven&lt;br/&gt;
Java version: 1.8.0_45-internal, vendor: Oracle Corporation&lt;br/&gt;
Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre&lt;br/&gt;
Default locale: en_US, platform encoding: UTF-8&lt;br/&gt;
OS name: &quot;linux&quot;, version: &quot;3.13.0-53-generic&quot;, arch: &quot;amd64&quot;, family: &quot;unix&quot;&lt;/p&gt;

&lt;p&gt;(master) ~/projects/odl/snmp$ uname -a&lt;br/&gt;
Linux r 3.13.0-53-generic #89-Ubuntu SMP Wed May 20 10:34:39 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux&lt;/p&gt;

&lt;p&gt;(master) ~/projects/odl/snmp$ java -version&lt;br/&gt;
openjdk version &quot;1.8.0_45-internal&quot;&lt;br/&gt;
OpenJDK Runtime Environment (build 1.8.0_45-internal-b14)&lt;br/&gt;
OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode)&lt;/p&gt;</comment>
                            <comment id="53853" author="jon@ivydesign.com" created="Wed, 29 Jul 2015 23:57:28 +0000"  >&lt;p&gt;The fix for this was to upgrade from jacoco 0.6.2.201302030002 which does not support JDK 8.  This was done by removing the version number from the pom, so that the version from the parent (0.7.2.201409121644) is inherited.  The parent being org.opendaylight.odlparent:odlparent:1.6.0-SNAPSHOT.&lt;/p&gt;

&lt;p&gt;Looking at odlparent I see that the version was upgraded some time ago&lt;/p&gt;

&lt;p&gt;62aa3674 (Robert Varga        2014-11-26 18:34:38 +0100   80)     &amp;lt;jacoco.version&amp;gt;0.7.2.201409121644&amp;lt;/jacoco.version&amp;gt;&lt;/p&gt;

&lt;p&gt;However looking at the logs you have linked to, I see the old version of jacoco being used, and of course that version will fail:&lt;/p&gt;

&lt;p&gt;/bin/sh: line 1: 12676 Aborted                 (core dumped) /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.25-3.b17.el6_6.x86_64/jre/bin/java &apos;-javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.6.2.201302030002/org.jacoco.agent-0.6.2.201302030002-runtime.jar&lt;/p&gt;

&lt;p&gt;It would appear that autorelease-daily-lithium is not building against the latest master version of the odlparent pom.  Do some changes from /odlparent need to be merged into a branch?  &lt;/p&gt;

&lt;p&gt;(If that&apos;s the case, I recently fixed another JDK8 bug in odlparent (&lt;a href=&quot;https://jira.opendaylight.org/browse/ODLPARENT-19&quot; title=&quot;odlparent build fails under jdk8 due to maven-plugin-plugin&quot; class=&quot;issue-link&quot; data-issue-key=&quot;ODLPARENT-19&quot;&gt;&lt;del&gt;ODLPARENT-19&lt;/del&gt;&lt;/a&gt;) which would also need to be merged.)&lt;/p&gt;</comment>
                            <comment id="53854" author="jon@ivydesign.com" created="Thu, 30 Jul 2015 17:31:45 +0000"  >&lt;p&gt;odlparent 1.5.1 does have the change.  seems you want this snmp code, which was merged to master, merged to lithium?  what is the process for that?&lt;/p&gt;</comment>
                            <comment id="53855" author="zxiiro" created="Mon, 3 Aug 2015 16:43:21 +0000"  >&lt;p&gt;(In reply to Jon Rosenberger from comment #10)&lt;br/&gt;
&amp;gt; odlparent 1.5.1 does have the change.  seems you want this snmp code, which&lt;br/&gt;
&amp;gt; was merged to master, merged to lithium?  what is the process for that?&lt;/p&gt;

&lt;p&gt;I found your patch here for master: &lt;a href=&quot;https://git.opendaylight.org/gerrit/24413/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/24413/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It is not yet merged into odlparent so we will need to wait until it is accepted to confirm. They will also need to cherry-pick it to the lithium branch of odlparent as well.&lt;/p&gt;

&lt;p&gt;autorelease always picks up the HEAD of each branch when it kicks off a build so if a patch is merged in it will automatically pick it up on the next build.&lt;/p&gt;</comment>
                            <comment id="53856" author="jon@ivydesign.com" created="Mon, 3 Aug 2015 17:55:59 +0000"  >&lt;p&gt;Yes we need &lt;a href=&quot;https://git.opendaylight.org/gerrit/24413/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/24413/&lt;/a&gt; cherry-picked to lithium in odlparent.&lt;/p&gt;

&lt;p&gt;We also need &lt;a href=&quot;https://git.opendaylight.org/gerrit/24022&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/24022&lt;/a&gt; cherry-picked to lithium in snmp.&lt;/p&gt;</comment>
                            <comment id="53857" author="zxiiro" created="Wed, 5 Aug 2015 19:11:09 +0000"  >&lt;p&gt;Seems to be resolved now in build:&lt;br/&gt;
  &lt;a href=&quot;https://jenkins.opendaylight.org/releng/job/autorelease-daily-lithium-jdk8/47/org.opendaylight.snmp$yang-oid-plugin/console&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/job/autorelease-daily-lithium-jdk8/47/org.opendaylight.snmp$yang-oid-plugin/console&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53858" author="zxiiro" created="Thu, 13 Aug 2015 16:23:57 +0000"  >&lt;p&gt;Based on integration-dev discussions we&apos;re gonna try to downgrade to Maven plugin plugin version 3.3 which seems to allow devs to continue to use Maven 3.1.1 to build while at the same time satisfying our JDK8 requirement.&lt;/p&gt;

&lt;p&gt;I submitted these 2 patches which also have corresponding lithium patches:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/25247&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/25247&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/25249&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/25249&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53859" author="zxiiro" created="Wed, 9 Sep 2015 02:37:29 +0000"  >&lt;p&gt;This was resolved.&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>3953</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=3953]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

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

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