Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8654

Intermittent Test Failures in SNMP Request Tests

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.14.0
    • Fix Version/s: 1.14.0
    • Component/s: None
    • Labels:
      None

      Description

      Recent GitHub automated builds have failed intermittently in the SNMPV1RequestTest and SNMPV3RequestTest classes.

      SNMPV1RequestTest
      Error:  Tests run: 8, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.587 s <<< FAILURE! - in org.apache.nifi.snmp.operations.SNMPV1RequestTest
      Error:  testCannotGetWriteOnlyObject(org.apache.nifi.snmp.operations.SNMPV1RequestTest)  Time elapsed: 0.006 s  <<< ERROR!
      java.lang.RuntimeException: java.net.BindException: Address already in use (Bind failed)
      Caused by: java.net.BindException: Address already in use (Bind failed)
      
      Error:  testCannotGetWriteOnlyObject(org.apache.nifi.snmp.operations.SNMPV1RequestTest)  Time elapsed: 0.006 s  <<< ERROR!
      java.lang.NullPointerException
      
      Error:  Errors: 
      Error:  org.apache.nifi.snmp.operations.SNMPV1RequestTest.testCannotGetWriteOnlyObject(org.apache.nifi.snmp.operations.SNMPV1RequestTest)
      Error:    Run 1: SNMPV1RequestTest>SNMPRequestTest.initAgent:73 » Runtime java.net.BindExceptio...
      Error:    Run 2: SNMPV1RequestTest>SNMPRequestTest.tearDown:83 » NullPointer
      
      SNMPV3RequestTest
      Error:  Tests run: 9, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.706 s <<< FAILURE! - in org.apache.nifi.snmp.operations.SNMPV3RequestTest
      Error:  testSnmpGetTimeoutReturnsNull(org.apache.nifi.snmp.operations.SNMPV3RequestTest)  Time elapsed: 0.005 s  <<< ERROR!
      java.lang.RuntimeException: java.net.BindException: Address already in use (Bind failed)
      Caused by: java.net.BindException: Address already in use (Bind failed)
      
      Error:  testSnmpGetTimeoutReturnsNull(org.apache.nifi.snmp.operations.SNMPV3RequestTest)  Time elapsed: 0.005 s  <<< ERROR!
      java.lang.NullPointerException
      
      Error:  Errors: 
      Error:  org.apache.nifi.snmp.operations.SNMPV3RequestTest.testSnmpGetTimeoutReturnsNull(org.apache.nifi.snmp.operations.SNMPV3RequestTest)
      Error:    Run 1: SNMPV3RequestTest>SNMPRequestTest.initAgent:73 » Runtime java.net.BindExceptio...
      Error:    Run 2: SNMPV3RequestTest>SNMPRequestTest.tearDown:83 » NullPointer
      Error:  Tests run: 27, Failures: 0, Errors: 1, Skipped: 0
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                exceptionfactory David Handermann
                Reporter:
                exceptionfactory David Handermann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m