[CONTROLLER-1681] produce-transactions does not unregister the producer on error Created: 15/May/17  Updated: 25/Jul/23  Resolved: 18/May/17

Status: Resolved
Project: controller
Component/s: clustering
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Vratko Polak 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


External issue ID: 8456

 Description   

This happened in CSIT, when the first test [0] failed on CONTROLLER-1678 but the second test failed on IllegalArgumentException [1]:
Caused by:</h3><pre>java.lang.IllegalArgumentException: Subtree DOMDataTreeIdentifier{datastore=CONFIGURATION, root=/(tag:opendaylight.org,2017:controller:yang:lowlevel:target?revision=2017-02-15)id-ints/id-int/id-int[

{(tag:opendaylight.org,2017:controller:yang:lowlevel:target?revision=2017-02-15)id=prefix-2}

]} is attached to producer org.opendaylight.mdsal.dom.broker.ShardedDOMDataTreeProducer@46ff63d8

The previous suite was making sure [2] no producer is running, so this is probably a bug in ODL (as opposed to a bug in the test code).

We can work around this by performing hard resets between tests.

[0] https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-only-carbon/684/archives/log.html.gz#s1-s39-t1-k2-k14-k1-k1-k1-k1-k1-k1-k2-k1-k1-k1
[1] https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-only-carbon/684/archives/log.html.gz#s1-s39-t2-k2-k14-k1-k1-k1-k1-k1-k1-k1-k1-k1-k1
[2] https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-only-carbon/684/archives/log.html.gz#s1-s39-t1-k2-k15-k3



 Comments   
Comment by Tomas Cere [ 17/May/17 ]

seems like this can only happen during the initial list write, producer should be closed correctly in this patch:
https://git.opendaylight.org/gerrit/#/c/57132/

Comment by Vratko Polak [ 18/May/17 ]

Fixed, the same way as CONTROLLER-1678.

Generated at Wed Feb 07 19:56:10 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.