Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-7257

ByteBufferTest.testPassing() fails on FreeBSD 10.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 14.0.1
    • Fix Version/s: 19.0.0
    • Component/s: Testing / JUnit
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • 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

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ranger Benjamin Reed
                Reporter:
                ronald.roskens@biworldwide.com Ron Roskens
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: