ByteBufferTest.testPassing() fails on FreeBSD 10.1

Description

testPassing(org.opennms.jicmp.jna.ByteBufferTest) Time elapsed: 0.568 sec <<< ERROR! com.sun.jna.LastErrorException: errno was 47 at org.opennms.jicmp.jna.ByteBufferTest.sendto(Native Method) at org.opennms.jicmp.jna.ByteBufferTest.testPassing(ByteBufferTest.java:128) Tests in error: ByteBufferTest.testPassing:128->sendto:-2 LastError errno was 47

EAFNOSUPPORT (errno 47): Address family not supported by protocol family.

A fix would be to pass the sendto() call a bsd_sockaddr_in object rather than a sockaddr_in object.

Environment

FreeBSD localhost 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Benjamin Reed September 15, 2016 at 1:31 PM

Ron's fixes for the FreeBSD tests were merged into my ICMP branch that recently merged to develop.

Seth Leger March 31, 2016 at 2:21 PM

We updated JNA recently, this could probably be revisited.

Seth Leger April 9, 2015 at 12:55 PM

Deferring to backlog since this relies on an update to JNA.

Seth Leger January 23, 2015 at 11:30 AM

Updating JNA is probably a prerequisite to fix this problem.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created December 13, 2014 at 11:07 AM
Updated September 15, 2016 at 1:31 PM
Resolved September 15, 2016 at 1:31 PM

Flag notifications