[OPNFLWPLUG-610] Unsynchronized use of a TransactionChain seen in openflow clustering CSIT Created: 30/Jan/16  Updated: 27/Sep/21  Resolved: 05/Aug/16

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Jamo Luhrsen Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: File 5150.karaf.log.xz    
External issue ID: 5150

 Description   

The below exception is seen in openflowplugin-csit-3node-clustering-only-beryllium

2016-01-29 10:55:57,032 | ERROR | lt-dispatcher-36 | EntityOwnershipListenerActor | 139 - org.opendaylight.controller.sal-distributed-datastore - 1.3.0.SNAPSHOT | Error notifying listener org.opendaylight.openflowplugin.impl.role.OpenflowOwnershipListener@61295fd4
java.lang.IllegalStateException: New transaction PingPongTransaction

{delegate=org.opendaylight.controller.cluster.databroker.DOMBrokerReadWriteTransaction@5adf1b47}

raced with transacion PingPongTransaction

{delegate=org.opendaylight.controller.cluster.databroker.DOMBrokerReadWriteTransaction@1f01b23e}

at org.opendaylight.controller.md.sal.dom.broker.impl.PingPongTransactionChain.slowAllocateTransaction(PingPongTransactionChain.java:136)[112:org.opendaylight.controller.sal-broker-impl:1.3.0.SNAPSHOT]
at org.opendaylight.controller.md.sal.dom.broker.impl.PingPongTransactionChain.allocateTransaction(PingPongTransactionChain.java:148)[112:org.opendaylight.controller.sal-broker-impl:1.3.0.SNAPSHOT]
at org.opendaylight.controller.md.sal.dom.broker.impl.PingPongTransactionChain.newReadWriteTransaction(PingPongTransactionChain.java:328)[112:org.opendaylight.controller.sal-broker-impl:1.3.0.SNAPSHOT]
at org.opendaylight.controller.md.sal.dom.broker.impl.PingPongTransactionChain.newWriteOnlyTransaction(PingPongTransactionChain.java:359)[112:org.opendaylight.controller.sal-broker-impl:1.3.0.SNAPSHOT]
at org.opendaylight.controller.md.sal.binding.impl.BindingDOMTransactionChainAdapter.newWriteOnlyTransaction(BindingDOMTransactionChainAdapter.java:75)[114:org.opendaylight.controller.sal-binding-broker-impl:1.3.0.SNAPSHOT]
at org.opendaylight.openflowplugin.impl.device.TransactionChainManager.cleanupPostClosure(TransactionChainManager.java:207)[168:org.opendaylight.openflowplugin.impl:0.2.0.SNAPSHOT]
at org.opendaylight.openflowplugin.impl.device.DeviceContextImpl.onDeviceDisconnectedFromCluster(DeviceContextImpl.java:458)[168:org.opendaylight.openflowplugin.impl:0.2.0.SNAPSHOT]
at org.opendaylight.openflowplugin.impl.role.RoleContextImpl.onDeviceDisconnectedFromCluster(RoleContextImpl.java:160)[168:org.opendaylight.openflowplugin.impl:0.2.0.SNAPSHOT]
at org.opendaylight.openflowplugin.impl.role.OpenflowOwnershipListener.ownershipChanged(OpenflowOwnershipListener.java:63)[168:org.opendaylight.openflowplugin.impl:0.2.0.SNAPSHOT]
at org.opendaylight.controller.cluster.datastore.entityownership.EntityOwnershipListenerActor.onEntityOwnershipChanged(EntityOwnershipListenerActor.java:44)[139:org.opendaylight.controller.sal-distributed-datastore:1.3.0.SNAPSHOT]
at org.opendaylight.controller.cluster.datastore.entityownership.EntityOwnershipListenerActor.handleReceive(EntityOwnershipListenerActor.java:36)[139:org.opendaylight.controller.sal-distributed-datastore:1.3.0.SNAPSHOT]
at org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor.onReceive(AbstractUntypedActor.java:34)[135:org.opendaylight.controller.sal-clustering-commons:1.3.0.SNAPSHOT]
at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:167)[124:com.typesafe.akka.actor:2.3.14]
at akka.actor.Actor$class.aroundReceive(Actor.scala:467)[124:com.typesafe.akka.actor:2.3.14]
at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:97)[124:com.typesafe.akka.actor:2.3.14]
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)[124:com.typesafe.akka.actor:2.3.14]
at akka.actor.ActorCell.invoke(ActorCell.scala:487)[124:com.typesafe.akka.actor:2.3.14]
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)[124:com.typesafe.akka.actor:2.3.14]
at akka.dispatch.Mailbox.run(Mailbox.scala:220)[124:com.typesafe.akka.actor:2.3.14]
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)[124:com.typesafe.akka.actor:2.3.14]
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[121:org.scala-lang.scala-library:2.11.7.v20150622-112736-1fbce4612c]
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[121:org.scala-lang.scala-library:2.11.7.v20150622-112736-1fbce4612c]
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[121:org.scala-lang.scala-library:2.11.7.v20150622-112736-1fbce4612c]
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[121:org.scala-lang.scala-library:2.11.7.v20150622-112736-1fbce4612c]



 Comments   
Comment by Jamo Luhrsen [ 30/Jan/16 ]

Attachment 5150.karaf.log.xz has been added with description: karaf.log

Comment by Jamo Luhrsen [ 30/Jan/16 ]

email thread discussing:
https://lists.opendaylight.org/pipermail/openflowplugin-dev/2016-January/004590.html

Comment by Bertrand Low [ 28/Jul/16 ]

Hi Jamo,

is this behaviour still observed in recent jenkins runs?
Also, can you point me to the location of the karaf logs for the jenkins runs?

thanks,
Bertrand

Comment by Jamo Luhrsen [ 01/Aug/16 ]

(In reply to Bertrand Low from comment #3)
> Hi Jamo,
>
> is this behaviour still observed in recent jenkins runs?
> Also, can you point me to the location of the karaf logs for the jenkins
> runs?
>
> thanks,
> Bertrand

Bertrand,

you can find the karaf logs of the most recent successful run of this job here:
https://logs.opendaylight.org/releng/jenkins092/openflowplugin-csit-3node-clustering-only-beryllium/648/archives/

I did a quick search though, and did not see this specific error. It's
possible that it's gone away by now, I guess.

JamO

Comment by Bertrand Low [ 04/Aug/16 ]

thanks for the pointer, JamO.

I was also looking through the recent logs and do not see this issue. As such, I propose that we close this bug for now. Thoughts?

thanks,
Bertrand

Comment by Jamo Luhrsen [ 04/Aug/16 ]

(In reply to Bertrand Low from comment #5)
> thanks for the pointer, JamO.
>
> I was also looking through the recent logs and do not see this issue. As
> such, I propose that we close this bug for now. Thoughts?
>
> thanks,
> Bertrand

I have no objections to closing this as unreproducible (presumably fixed, as
it's a rather old bug with lots of changes between then and now)

Comment by Bertrand Low [ 05/Aug/16 ]

ok, thanks JamO. Closing this bug then.

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