[OPNFLWPLUG-1106] openflowplugin-csit-1node-cbench-only-silicon is failing Created: 10/Jan/21  Updated: 10/Jan/21  Resolved: 10/Jan/21

Status: Resolved
Project: OpenFlowPlugin
Component/s: openflowplugin-impl
Affects Version/s: Silicon
Fix Version/s: Silicon

Type: Bug Priority: High
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The job is failing, which seems to indicate a problem in the test driver, but that is not actually the case.

2021-01-10T03:13:32,466 | ERROR | epollEventLoopGroup-9-7 | AbstractFuture                   | 30 - com.google.guava - 29.0.0.jre | RuntimeException while executing runnable CallbackListener{org.opendaylight.openflowplugin.impl.services.sal.SalFlowServiceImpl$AddFlowCallback@3cdeaee7} with executor MoreExecutors.directExecutor()
java.lang.NullPointerException: null
        at org.opendaylight.openflowplugin.impl.services.sal.SalFlowServiceImpl$AddFlowCallback.onSuccess(SalFlowServiceImpl.java:226) ~[?:?]
        at org.opendaylight.openflowplugin.impl.services.sal.SalFlowServiceImpl$AddFlowCallback.onSuccess(SalFlowServiceImpl.java:209) ~[?:?]
        at com.google.common.util.concurrent.Futures$CallbackListener.run(Futures.java:1089) ~[bundleFile:?]
        at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30) ~[bundleFile:?]
        at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1174) [bundleFile:?]
        at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:969) [bundleFile:?]
        at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:738) [bundleFile:?]
        at com.google.common.util.concurrent.SettableFuture.set(SettableFuture.java:47) [bundleFile:?]
        at org.opendaylight.openflowplugin.impl.services.multilayer.MultiLayerFlowService$1.onSuccess(MultiLayerFlowService.java:90) [bundleFile:?]
        at org.opendaylight.openflowplugin.impl.services.multilayer.MultiLayerFlowService$1.onSuccess(MultiLayerFlowService.java:69) [bundleFile:?]
        at com.google.common.util.concurrent.Futures$CallbackListener.run(Futures.java:1089) [bundleFile:?]
        at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30) [bundleFile:?]
        at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1174) [bundleFile:?]
        at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:969) [bundleFile:?]
        at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:738) [bundleFile:?]
        at com.google.common.util.concurrent.CollectionFuture.handleAllCompleted(CollectionFuture.java:69) [bundleFile:?]
        at com.google.common.util.concurrent.AggregateFuture.processCompleted(AggregateFuture.java:282) [bundleFile:?]
        at com.google.common.util.concurrent.AggregateFuture.decrementCountAndMaybeComplete(AggregateFuture.java:264) [bundleFile:?]
        at com.google.common.util.concurrent.AggregateFuture.access$200(AggregateFuture.java:42) [bundleFile:?]
        at com.google.common.util.concurrent.AggregateFuture$2.run(AggregateFuture.java:176) [bundleFile:?]
        at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30) [bundleFile:?]
        at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1174) [bundleFile:?]
        at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:969) [bundleFile:?]
        at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:738) [bundleFile:?]
        at com.google.common.util.concurrent.SettableFuture.set(SettableFuture.java:47) [bundleFile:?]
        at org.opendaylight.openflowplugin.impl.rpc.AbstractRequestContext.setResult(AbstractRequestContext.java:38) [bundleFile:?]
        at org.opendaylight.openflowplugin.impl.services.AbstractRequestCallback.setResult(AbstractRequestCallback.java:44) [bundleFile:?]
        at org.opendaylight.openflowplugin.impl.services.SimpleRequestCallback.onSuccess(SimpleRequestCallback.java:44) [bundleFile:?]
        at org.opendaylight.openflowplugin.impl.services.SimpleRequestCallback.onSuccess(SimpleRequestCallback.java:20) [bundleFile:?]
        at org.opendaylight.openflowjava.protocol.impl.core.connection.OutboundQueueEntry.complete(OutboundQueueEntry.java:113) [bundleFile:?]
        at org.opendaylight.openflowjava.protocol.impl.core.connection.StackedSegment.completeRequests(StackedSegment.java:167) [bundleFile:?]
        at org.opendaylight.openflowjava.protocol.impl.core.connection.StackedSegment.completeAll(StackedSegment.java:174) [bundleFile:?]
        at org.opendaylight.openflowjava.protocol.impl.core.connection.AbstractStackedOutboundQueue.pairRequest(AbstractStackedOutboundQueue.java:221) [bundleFile:?]
        at org.opendaylight.openflowjava.protocol.impl.core.connection.AbstractOutboundQueueManager.onMessage(AbstractOutboundQueueManager.java:205) [bundleFile:?]
        at org.opendaylight.openflowjava.protocol.impl.core.connection.ConnectionAdapterImpl.consumeDeviceMessage(ConnectionAdapterImpl.java:175) [bundleFile:?]
        at org.opendaylight.openflowjava.protocol.impl.core.connection.AbstractConnectionAdapterStatistics.consume(AbstractConnectionAdapterStatistics.java:68) [bundleFile:?]
        at org.opendaylight.openflowjava.protocol.impl.core.connection.ConnectionAdapterImpl.consume(ConnectionAdapterImpl.java:65) [bundleFile:?]




 Comments   
Comment by Robert Varga [ 10/Jan/21 ]

This was introduced in https://git.opendaylight.org/gerrit/c/openflowplugin/+/88890 , note how we consult nodeRef without ever checking it for null – which is obviously an option, as we check it afterwards.

Generated at Wed Feb 07 20:34:13 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.