You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/06/04 21:12:00 UTC

[jira] [Commented] (NIFI-8654) Intermittent Test Failures in SNMP Request Tests

    [ https://issues.apache.org/jira/browse/NIFI-8654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17357629#comment-17357629 ] 

ASF subversion and git services commented on NIFI-8654:
-------------------------------------------------------

Commit 9af136ad13034d24c877b01000dec4e28134801d in nifi's branch refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=9af136a ]

NIFI-8654 Changed SNMP TestAgent to use getAvailableUdpPort()

Signed-off-by: Pierre Villard <pi...@gmail.com>

This closes #5120.


> Intermittent Test Failures in SNMP Request Tests
> ------------------------------------------------
>
>                 Key: NIFI-8654
>                 URL: https://issues.apache.org/jira/browse/NIFI-8654
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.14.0
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Major
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Recent GitHub automated builds have failed intermittently in the SNMPV1RequestTest and SNMPV3RequestTest classes.
> h5. SNMPV1RequestTest
> {noformat}
> 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
> {noformat}
> h5. SNMPV3RequestTest
> {noformat}
> 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
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)