This is a platform-dependent JNA error. It also occurs on my Fedora 17 VM that I use day-to-day. I'm not sure if there is a bug open for it or not.
Be careful, if you start editing the JNA code, you will automatically be promoted to its maintainer and there are a lot of nasty bugs to fix in it!! ;) -- Seth On 6/13/15 2:31 PM, Ronny Trommer wrote: > Hey guys, > > I tried to run the JUnit tests for opennms-services from opennms/develop and > ran in the following issue: > > <!— SNIP —> > Tests in error: > NativeSocketTest.testNativeV4:121->testNative:156 » Timeout > > Tests run: 12, Failures: 0, Errors: 1, Skipped: 3 > > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 22.747 s > [INFO] Finished at: 2015-06-13T20:22:01+01:00 > [INFO] Final Memory: 12M/167M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on > project org.opennms.core.icmp-jna: There are test failures. > [ERROR] > [ERROR] Please refer to > /jenkins/workspace/opennms-pull-request/core/icmp-jna/target/surefire-reports > for the individual test results. > [ERROR] -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) > on project org.opennms.core.icmp-jna: There are test failures. > <!— SNIP —> > > The full log error can be found here: http://pastebin.com/3u3hGMB7 > > I looked up the following Wiki Page > http://www.opennms.org/wiki/Running_Unit_Tests but there is no hint regarding > imp-jna. I used the maven we ship with opennms. > > java -version > java version "1.8.0_45" > Java(TM) SE Runtime Environment (build 1.8.0_45-b14) > Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) > > javac -version > javac 1.8.0_45 > > Thank you in advance > -rt > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Please read the OpenNMS Mailing List FAQ: > http://www.opennms.org/index.php/Mailing_List_FAQ > > opennms-devel mailing list > > To *unsubscribe* or change your subscription options, see the bottom of this > page: > https://lists.sourceforge.net/lists/listinfo/opennms-devel
------------------------------------------------------------------------------
_______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel