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

test failure: org.opennms.mock.snmp.LLDPMibTest

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 14.0.0
    • Fix Version/s: 15.0.0
    • Component/s: Testing / JUnit
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      http://bamboo.internal.opennms.com:8085/browse/OPENNMS-NMS79-UNIT-53/test/case/104944865

      java.lang.IllegalStateException: MockSnmpAgent: agent failed to start on address 127.0.0.1/1691
      	at org.opennms.mock.snmp.MockSnmpAgent.createAgentAndRun(MockSnmpAgent.java:210)
      	at org.opennms.mock.snmp.LLDPMibTest.setUp(LLDPMibTest.java:142)
      Caused by: java.net.BindException: Address already in use
      	at java.net.PlainDatagramSocketImpl.bind0(Native Method)
      	at java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:95)
      	at java.net.DatagramSocket.bind(DatagramSocket.java:376)
      	at org.snmp4j.transport.DefaultUdpTransportMapping.<init>(DefaultUdpTransportMapping.java:86)
      	at org.opennms.mock.snmp.MockSnmpAgent$MockUdpTransportMapping.<init>(MockSnmpAgent.java:631)
      	at org.opennms.mock.snmp.MockSnmpAgent.initTransportMappings(MockSnmpAgent.java:617)
      	at org.snmp4j.agent.BaseAgent.init(BaseAgent.java:144)
      	at org.opennms.mock.snmp.MockSnmpAgent.run(MockSnmpAgent.java:380)
      	at java.lang.Thread.run(Thread.java:745)

        Attachments

          Activity

            People

            • Assignee:
              seth Seth Leger
              Reporter:
              ranger Benjamin Reed
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: