<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:23 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[NETCONF-584] Netconf connection is very slow in Neon</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-584</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;Cluster test is currently failing in Neon:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/netconf/job/netconf-csit-3node-clustering-scale-only-neon/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/netconf/job/netconf-csit-3node-clustering-scale-only-neon/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The reason is the netconf connection to the test tool takes very long time to get established:&lt;/p&gt;

&lt;p&gt;From a karaf log in Neon, it takes 35 sec to establish a connection:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
2018-11-23T09:56:25,668 | INFO  | opendaylight-cluster-data-notification-dispatcher-58 | NetconfTopologyUtils             | 300 - org.opendaylight.netconf.topology-singleton - 1.6.0 | RemoteDevice{netconf-test-device} : using the &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; directory cache/schema
2018-11-23T09:56:25,720 | INFO  | opendaylight-cluster-data-akka.actor.&lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;-dispatcher-3 | NetconfTopologyContext           | 300 - org.opendaylight.netconf.topology-singleton - 1.6.0 | Master was selected: IpAddress{_ipv4Address=Ipv4Address{_value=10.30.170.185}}
2018-11-23T09:56:25,893 | INFO  | opendaylight-cluster-data-akka.actor.&lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;-dispatcher-3 | RemoteDeviceConnectorImpl        | 300 - org.opendaylight.netconf.topology-singleton - 1.6.0 | RemoteDevice{netconf-test-device}: Concurrent rpc limit is smaller than 1, no limit will be enforced.
2018-11-23T09:56:43,476 | WARN  | sshd-SshClient[37a6a20]-nio2-thread-3 | AcceptAllServerKeyVerifier       | 140 - org.apache.sshd.core - 2.0.0 | Server at /10.30.170.185:17830 presented unverified RSA key: SHA256:XjJQHnRvql9JMskfq1z3r4PkLnsid3BfkIudC80RE0k
2018-11-23T09:57:00,299 | INFO  | remote-connector-processing-executor-11 | MasterSalFacade                  | 300 - org.opendaylight.netconf.topology-singleton - 1.6.0 | Device RemoteDevice{netconf-test-device} connected - registering master mount point
2018-11-23T09:57:00,316 | INFO  | remote-connector-processing-executor-11 | NetconfDevice                    | 296 - org.opendaylight.netconf.sal-netconf-connector - 1.9.0 | RemoteDevice{netconf-test-device}: Netconf connector initialized successfully
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Same test is Fluorine takes 5 secs:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
2018-11-23T21:08:11,758 | INFO  | opendaylight-cluster-data-notification-dispatcher-57 | NetconfTopologyUtils             | 287 - org.opendaylight.netconf.topology-singleton - 1.5.2 | RemoteDevice{netconf-test-device} : using the &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt; directory cache/schema
2018-11-23T21:08:11,878 | INFO  | opendaylight-cluster-data-akka.actor.&lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;-dispatcher-38 | NetconfTopologyContext           | 287 - org.opendaylight.netconf.topology-singleton - 1.5.2 | Master was selected: IpAddress{_ipv4Address=Ipv4Address{_value=10.30.171.2}}
2018-11-23T21:08:12,170 | INFO  | opendaylight-cluster-data-akka.actor.&lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;-dispatcher-38 | RemoteDeviceConnectorImpl        | 287 - org.opendaylight.netconf.topology-singleton - 1.5.2 | RemoteDevice{netconf-test-device}: Concurrent rpc limit is smaller than 1, no limit will be enforced.
2018-11-23T21:08:14,221 | WARN  | sshd-SshClient[7bacd182]-nio2-thread-4 | AcceptAllServerKeyVerifier       | 134 - org.apache.sshd.core - 2.0.0 | Server at /10.30.171.2:17830 presented unverified RSA key: SHA256:jweQ/hbCJY/oBn8B7y8NPGPLTcH1EYgy+dabW5X46gs
2018-11-23T21:08:16,362 | INFO  | remote-connector-processing-executor-11 | MasterSalFacade                  | 287 - org.opendaylight.netconf.topology-singleton - 1.5.2 | Device RemoteDevice{netconf-test-device} connected - registering master mount point
2018-11-23T21:08:16,391 | INFO  | remote-connector-processing-executor-11 | NetconfDevice                    | 282 - org.opendaylight.netconf.sal-netconf-connector - 1.8.2 | RemoteDevice{netconf-test-device}: Netconf connector initialized successfully
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Single instance netconf connection in Neon also takes more time than usual (18 secs):&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
2018-11-20T03:28:50,648 | INFO  | opendaylight-cluster-data-notification-dispatcher-43 | AbstractNetconfTopology          | 83 - netconf-topology-config - 1.6.0 | Connecting RemoteDevice{Uri{_value=netconf-test-device}} , with config Node{getNodeId=Uri{_value=netconf-test-device}, augmentations={&lt;span class=&quot;code-keyword&quot;&gt;interface&lt;/span&gt; org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.node.topology.rev150114.NetconfNode=NetconfNode{getActorResponseWaitTime=5, getBetweenAttemptsTimeoutMillis=2000, getConcurrentRpcLimit=0, getConnectionTimeoutMillis=20000, getCredentials=LoginPassword{getPassword=topsecret, getUsername=admin, augmentations={}}, getDefaultRequestTimeoutMillis=60000, getHost=Host{_ipAddress=IpAddress{_ipv4Address=Ipv4Address{_value=10.30.170.145}}}, getKeepaliveDelay=0, getMaxConnectionAttempts=0, getPort=PortNumber{_value=17830}, getSchemaCacheDirectory=schema, getSleepFactor=1.5, isReconnectOnChangedSchema=&lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;, isSchemaless=&lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;, isTcpOnly=&lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;}}}
2018-11-20T03:28:50,651 | INFO  | opendaylight-cluster-data-notification-dispatcher-43 | AbstractNetconfTopology          | 83 - netconf-topology-config - 1.6.0 | Concurrent rpc limit is smaller than 1, no limit will be enforced &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; device RemoteDevice{netconf-test-device}
2018-11-20T03:28:52,379 | WARN  | sshd-SshClient[78608917]-nio2-thread-7 | AcceptAllServerKeyVerifier       | 149 - org.apache.sshd.core - 2.0.0 | Server at /10.30.170.145:17830 presented unverified RSA key: SHA256:TfybKihnH82uOinnT8MzbdILu8oZU2ku&lt;span class=&quot;code-comment&quot;&gt;//sClM2e67c
&lt;/span&gt;2018-11-20T03:29:08,612 | INFO  | remote-connector-processing-executor-1 | NetconfDevice                    | 407 - org.opendaylight.netconf.sal-netconf-connector - 1.9.0 | RemoteDevice{netconf-test-device}: Netconf connector initialized successfully
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Finally, I changed testool version in Neon test to Fluorine but this did not help so the issue has to be in the controller itself.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="31108">NETCONF-584</key>
            <summary>Netconf connection is very slow in Neon</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</priority>
                        <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="JMorvay">Jakub Morvay</assignee>
                                    <reporter username="ecelgp">Luis Gomez</reporter>
                        <labels>
                    </labels>
                <created>Sat, 24 Nov 2018 21:57:10 +0000</created>
                <updated>Thu, 31 Jan 2019 15:08:31 +0000</updated>
                            <resolved>Thu, 31 Jan 2019 15:08:31 +0000</resolved>
                                    <version>Neon</version>
                                    <fixVersion>Neon</fixVersion>
                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="65823" author="rovarga" created="Thu, 29 Nov 2018 17:57:33 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=JMorvay&quot; class=&quot;user-hover&quot; rel=&quot;JMorvay&quot;&gt;JMorvay&lt;/a&gt; can this be downgraded to &quot;High&quot;?&lt;/p&gt;</comment>
                            <comment id="65826" author="jmorvay" created="Thu, 29 Nov 2018 18:07:08 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=rovarga&quot; class=&quot;user-hover&quot; rel=&quot;rovarga&quot;&gt;rovarga&lt;/a&gt; Hi sorry I missed couple of last minutes of TSC call where you discussed this. Yeah I am downgrading this to &quot;High&quot; priority because connecting a netconf devices is still possible although it is slower than it used to be.&lt;/p&gt;

&lt;p&gt;It can be related to neon-MRI bump, mostly about bumping SSHD and other dependencies used in netconf protocol SB stack.&lt;/p&gt;</comment>
                            <comment id="66279" author="rovarga" created="Thu, 24 Jan 2019 18:00:49 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=JMorvay&quot; class=&quot;user-hover&quot; rel=&quot;JMorvay&quot;&gt;JMorvay&lt;/a&gt; any progress on this?&lt;/p&gt;</comment>
                            <comment id="66283" author="jmorvay" created="Thu, 24 Jan 2019 19:09:37 +0000"  >&lt;p&gt;Yeah, so I don&apos;t think anymore that this has something to do with bumping SSHD, Netty etc. Neon should use the same versions as Fluorine and I didn&apos;t see this issue on Fluorine last time I had checked.&lt;/p&gt;

&lt;p&gt;The strange thing is that there are almost no changes in the netconf SB in neon.. Need to investigate this further and specify the bottleneck component here.&lt;/p&gt;

&lt;p&gt;Also, I don&apos;t think this is related just to cluster-aware netconf topology. I can see in CSIT tests, that connection time went from ~2 seconds to something like ~17 seconds also in 1-node tests.&lt;/p&gt;</comment>
                            <comment id="66284" author="jmorvay" created="Thu, 24 Jan 2019 20:03:27 +0000"  >&lt;p&gt;From the following logs:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;2019-01-24T20:57:46,627 | INFO  | opendaylight-cluster-data-notification-dispatcher-58 | AbstractNetconfTopology          | 122 - netconf-topology-config - 1.6.0.SNAPSHOT | Connecting RemoteDevice{Uri{_value=17830-sim-device}} , with config Node{getNodeId=Uri{_value=17830-sim-device}, augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.node.topology.rev150114.NetconfNode=NetconfNode{getActorResponseWaitTime=5, getBetweenAttemptsTimeoutMillis=2000, getConcurrentRpcLimit=0, getConnectionTimeoutMillis=20000, getCredentials=LoginPassword{getPassword=admin, getUsername=admin, augmentations={}}, getDefaultRequestTimeoutMillis=60000, getHost=Host{_ipAddress=IpAddress{_ipv4Address=Ipv4Address{_value=127.0.0.1}}}, getKeepaliveDelay=0, getMaxConnectionAttempts=0, getPort=PortNumber{_value=17830}, getSchemaCacheDirectory=schema, getSleepFactor=1.5, isReconnectOnChangedSchema=false, isSchemaless=false, isTcpOnly=false}}}
2019-01-24T20:57:47,038 | INFO  | opendaylight-cluster-data-notification-dispatcher-58 | AbstractNetconfTopology          | 122 - netconf-topology-config - 1.6.0.SNAPSHOT | Concurrent rpc limit is smaller than 1, no limit will be enforced for device RemoteDevice{17830-sim-device}
2019-01-24T20:58:17,738 | WARN  | sshd-SshClient[27e0bd6b]-nio2-thread-3 | AcceptAllServerKeyVerifier       | 145 - org.apache.sshd.core - 2.0.0 | Server at /127.0.0.1:17830 presented unverified RSA key: SHA256:ctJTXX3gL4XrZYlWN8pTcPHnzxWTDDHEfAnUe8BI6sc
2019-01-24T20:58:37,866 | DEBUG | nioEventLoopGroupCloseable-3-1 | NetconfDeviceCommunicator        | 290 - org.opendaylight.netconf.sal-netconf-connector - 1.9.0.SNAPSHOT | RemoteDevice{17830-sim-device}: Session established
2019-01-24T20:58:37,939 | DEBUG | nioEventLoopGroupCloseable-3-1 | NetconfDevice                    | 290 - org.opendaylight.netconf.sal-netconf-connector - 1.9.0.SNAPSHOT | RemoteDevice{17830-sim-device}: Session to remote device established with NetconfSessionPreferences{capabilities={urn:ietf:params:netconf:capability:exi:1.0=DeviceAdvertised, urn:ietf:params:netconf:capability:candidate:1.0=DeviceAdvertised, urn:ietf:params:netconf:base:1.1=DeviceAdvertised, urn:ietf:params:netconf:base:1.0=DeviceAdvertised}, moduleBasedCapabilities={(urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring-extension?revision=2013-12-10)ietf-netconf-monitoring-extension=DeviceAdvertised, (urn:ietf:params:xml:ns:yang:ietf-inet-types?revision=2013-07-15)ietf-inet-types=DeviceAdvertised, (urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?revision=2010-10-04)ietf-netconf-monitoring=DeviceAdvertised, (urn:ietf:params:xml:ns:yang:ietf-yang-types?revision=2013-07-15)ietf-yang-types=DeviceAdvertised}, rollback=false, monitoring=true, candidate=true, writableRunning=false}
...
2019-01-24T20:58:39,896 | DEBUG | nioEventLoopGroupCloseable-3-1 | NetconfRemoteSchemaYangSourceProvider | 290 - org.opendaylight.netconf.sal-netconf-connector - 1.9.0.SNAPSHOT | RemoteDevice{17830-sim-device}: YANG Schema successfully retrieved for ietf-netconf-monitoring:Optional[2010-10-04]
2019-01-24T20:58:39,903 | DEBUG | remote-connector-processing-executor-11 | NetconfDevice                    | 290 - org.opendaylight.netconf.sal-netconf-connector - 1.9.0.SNAPSHOT | RemoteDevice{17830-sim-device}: Unable to map any source identifiers to a capability reported by device : []
2019-01-24T20:58:40,074 | DEBUG | remote-connector-processing-executor-11 | NetconfDevice                    | 290 - org.opendaylight.netconf.sal-netconf-connector - 1.9.0.SNAPSHOT | RemoteDevice{17830-sim-device}: Schema context built successfully from [RevisionSourceIdentifier [name=ietf-netconf-monitoring-extension@2013-12-10], RevisionSourceIdentifier [name=ietf-inet-types@2013-07-15], RevisionSourceIdentifier [name=ietf-netconf-monitoring@2010-10-04], RevisionSourceIdentifier [name=ietf-yang-types@2013-07-15]]
2019-01-24T20:58:40,131 | DEBUG | remote-connector-processing-executor-11 | NetconfDeviceSalProvider         | 290 - org.opendaylight.netconf.sal-netconf-connector - 1.9.0.SNAPSHOT | RemoteDevice{17830-sim-device}: TOPOLOGY Mountpoint exposed into MD-SAL {closed=0, instance=org.opendaylight.mdsal.dom.spi.SimpleDOMMountPoint@4f1a9a0c}
2019-01-24T20:58:40,184 | INFO  | remote-connector-processing-executor-11 | NetconfDevice                    | 290 - org.opendaylight.netconf.sal-netconf-connector - 1.9.0.SNAPSHOT | RemoteDevice{17830-sim-device}: Netconf connector initialized successfully
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;we can see that the is problem in establishing connection/session to a device. Schema download and schema context resolution should be fine.. I will have a deeper look into it tomorrow .&lt;/p&gt;</comment>
                            <comment id="66292" author="jmorvay" created="Fri, 25 Jan 2019 12:04:53 +0000"  >&lt;p&gt;I identified that the following patch seems to cause this problem &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/35136/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/35136/&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=ecelgp&quot; class=&quot;user-hover&quot; rel=&quot;ecelgp&quot;&gt;ecelgp&lt;/a&gt; can you please try to run some CSIT netconf tests wit the above mentioned patch reverted? Here is the revert &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/79910/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/79910/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="66296" author="ecelgp" created="Fri, 25 Jan 2019 17:32:39 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=JMorvay&quot; class=&quot;user-hover&quot; rel=&quot;JMorvay&quot;&gt;JMorvay&lt;/a&gt;, I just launched a test on the revert but unfortunately I still see long time waiting for netconf connection: &lt;a href=&quot;https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netconf-csit-1node-gate-userfeatures-all-neon/7/robot-plugin/log.html.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netconf-csit-1node-gate-userfeatures-all-neon/7/robot-plugin/log.html.gz&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="66301" author="jmorvay" created="Mon, 28 Jan 2019 14:49:50 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=ecelgp&quot; class=&quot;user-hover&quot; rel=&quot;ecelgp&quot;&gt;ecelgp&lt;/a&gt; Well that is strange because it certainly helped me when testing locally.&lt;/p&gt;

&lt;p&gt;Run without revert applied:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;15:12:42.801 INFO [opendaylight-cluster-data-notification-dispatcher-53] Connecting RemoteDevice{Uri{_value=17830-sim-device}} , with config Node{getNodeId=Uri{_value=17830-sim-device}, augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.node.topology.rev150114.NetconfNode=NetconfNode{getActorResponseWaitTime=5, getBetweenAttemptsTimeoutMillis=2000, getConcurrentRpcLimit=0, getConnectionTimeoutMillis=20000, getCredentials=LoginPassword{getPassword=admin, getUsername=admin, augmentations={}}, getDefaultRequestTimeoutMillis=60000, getHost=Host{_ipAddress=IpAddress{_ipv4Address=Ipv4Address{_value=127.0.0.1}}}, getKeepaliveDelay=0, getMaxConnectionAttempts=0, getPort=PortNumber{_value=17830}, getSchemaCacheDirectory=schema, getSleepFactor=1.5, isReconnectOnChangedSchema=false, isSchemaless=false, isTcpOnly=false}}}
15:12:43.545 INFO [opendaylight-cluster-data-notification-dispatcher-53] Concurrent rpc limit is smaller than 1, no limit will be enforced for device RemoteDevice{17830-sim-device}
15:13:40.619 INFO [remote-connector-processing-executor-11] RemoteDevice{17830-sim-device}: Netconf connector initialized successfully
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;with revert applied:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;15:40:56.428 INFO [opendaylight-cluster-data-notification-dispatcher-53] Connecting RemoteDevice{Uri{_value=17830-sim-device}} , with config Node{getNodeId=Uri{_value=17830-sim-device}, augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.node.topology.rev150114.NetconfNode=NetconfNode{getActorResponseWaitTime=5, getBetweenAttemptsTimeoutMillis=2000, getConcurrentRpcLimit=0, getConnectionTimeoutMillis=20000, getCredentials=LoginPassword{getPassword=admin, getUsername=admin, augmentations={}}, getDefaultRequestTimeoutMillis=60000, getHost=Host{_ipAddress=IpAddress{_ipv4Address=Ipv4Address{_value=127.0.0.1}}}, getKeepaliveDelay=0, getMaxConnectionAttempts=0, getPort=PortNumber{_value=17830}, getSchemaCacheDirectory=schema, getSleepFactor=1.5, isReconnectOnChangedSchema=false, isSchemaless=false, isTcpOnly=false}}}
15:40:57.428 INFO [opendaylight-cluster-data-notification-dispatcher-53] Concurrent rpc limit is smaller than 1, no limit will be enforced for device RemoteDevice{17830-sim-device}
15:41:15.300 INFO [remote-connector-processing-executor-11] RemoteDevice{17830-sim-device}: Netconf connector initialized successfully
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The problem seems to be with starting exi communitication on the server side (in this case it&apos;s test tool). Where do the CSIT jobs get netconf test-tool from? Maybe the test was run against the testtool without this revert..&lt;/p&gt;

&lt;p&gt;But it is strange because you said that you tried this also against Fluorine testtool and it didn&apos;t help. So maybe the revert is significant also for netconf client (here it is the ODL).&lt;/p&gt;</comment>
                            <comment id="66311" author="ecelgp" created="Mon, 28 Jan 2019 19:52:41 +0000"  >&lt;p&gt;CSIT uses distribution included test-tool. Also according to the CSIT logs, both existing master + revert patch spend ~18 secs in setting the netconf connection for the first time (further deconfigure + configure works fine in test), while the same test in Fluorine takes only ~2 secs. Do you also get ~2 secs when you try locally with the revert patch?&lt;/p&gt;</comment>
                            <comment id="66312" author="jmorvay" created="Mon, 28 Jan 2019 20:12:25 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=ecelgp&quot; class=&quot;user-hover&quot; rel=&quot;ecelgp&quot;&gt;ecelgp&lt;/a&gt; No I cannot get close to ~2 seconds, but that is because currently I have really slow environment. That means I cannot get close to that time also on Fluorine. But I did get however significant speedup when trying locally with reverted patch. You can see it in the log snippets I provided in my last comment. It&apos;s like 1 minute vs 20 seconds.&lt;/p&gt;

&lt;p&gt; So when you tried to run that CSIT test on the above mentioned revert also distro was built against that patch and test tool as well, right?&lt;/p&gt;

&lt;p&gt;&amp;gt; netconf connection for the first time (further deconfigure + configure works fine in test)&lt;/p&gt;

&lt;p&gt;I am not sure if I can observe that in my local environment, I will try that and I will let you know. After all maybe I am wrong and the patch I reverted is not related to this issue.&lt;/p&gt;</comment>
                            <comment id="66313" author="rovarga" created="Mon, 28 Jan 2019 20:13:12 +0000"  >&lt;p&gt;This looks very suspicious. Is this perhaps some sort of key generation? Can you enable debugs on the ODL side, perphas?&lt;/p&gt;</comment>
                            <comment id="66314" author="ecelgp" created="Mon, 28 Jan 2019 20:25:08 +0000"  >&lt;p&gt;What DEBUG should I enable for this?&lt;/p&gt;</comment>
                            <comment id="66315" author="jmorvay" created="Mon, 28 Jan 2019 20:26:17 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=ecelgp&quot; class=&quot;user-hover&quot; rel=&quot;ecelgp&quot;&gt;ecelgp&lt;/a&gt; Just one last shot at netconf-exi capability. Can you please try to run the test on &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/79968/?&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/79968/?&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="66316" author="jmorvay" created="Mon, 28 Jan 2019 20:30:30 +0000"  >&lt;p&gt;At first I also suspected it to be something like this. But then it is strange why do not we see it on Fluorine. SSHD version and configuration (at least if it is not configured somewhere else than netconf project) should be the same as on Fluorine.&lt;/p&gt;

&lt;p&gt;But since that the issue is present just for the first connection maybe some initialization of some EXI communication components that are reused afterwards can be issue here..&lt;/p&gt;</comment>
                            <comment id="66317" author="ecelgp" created="Mon, 28 Jan 2019 21:09:34 +0000"  >&lt;p&gt;This the resulting test: &lt;a href=&quot;https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netconf-csit-1node-gate-userfeatures-all-neon/8/robot-plugin/log.html.gz#s1-s4-s2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netconf-csit-1node-gate-userfeatures-all-neon/8/robot-plugin/log.html.gz#s1-s4-s2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you expand the CRUD suite, you see the first time test-tool connects takes 17 secs, similar thing in CRUD-RPC suite.&lt;/p&gt;</comment>
                            <comment id="66318" author="jmorvay" created="Mon, 28 Jan 2019 21:17:48 +0000"  >&lt;p&gt;Yeah, but from &lt;a href=&quot;https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netconf-csit-1node-gate-userfeatures-all-neon/8/testtool--netconf-gate-userfeatures-txt-CRUD-CRUD.1548709082.46.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netconf-csit-1node-gate-userfeatures-all-neon/8/testtool--netconf-gate-userfeatures-txt-CRUD-CRUD.1548709082.46.log.gz&lt;/a&gt; I can see that the test-tool still wants to use exi capability even though it should not (the patch I provided, turns EXI off by default).&lt;/p&gt;


&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;20:58:03.557 [main] DEBUG o.o.netconf.test.tool.Main - Trying to start netconf test-tool with parameters TesttoolParameters{editContent=&apos;null&apos;, 
async=&apos;false&apos;, 
threadAmount=&apos;1&apos;, 
throttle=&apos;5000&apos;, 
auth=&apos;null&apos;, 
controllerDestination=&apos;null&apos;, 
schemasDir=&apos;./schemas&apos;, 
deviceCount=&apos;1&apos;, 
devicesPerPort=&apos;1&apos;, 
startingPort=&apos;17830&apos;, 
generateConfigsTimeout=&apos;1800000&apos;, 
generateConfigsAddress=&apos;127.0.0.1&apos;, 
distroFolder=&apos;null&apos;, 
generateConfigBatchSize=&apos;1&apos;, 
ssh=&apos;true&apos;, 
exi=&apos;true&apos;, 
debug=&apos;true&apos;, 
notificationFile=&apos;null&apos;, 
mdSal=&apos;true&apos;, 
initialConfigXMLFile=&apos;null&apos;, 
timeOut=&apos;20&apos;, 
ip=&apos;0.0.0.0&apos;, 
threadPoolSize=&apos;8&apos;, 
rpcConfig=&apos;null&apos;}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;So do you configure EXI option to be true when starting test-tool in the CSIT? Because I cannot see it anywhere, but on the other hand I am not really experienced in robot framework.&lt;/p&gt;</comment>
                            <comment id="66319" author="ecelgp" created="Mon, 28 Jan 2019 21:18:28 +0000"  >&lt;p&gt;Actually I can see in the log of the test-tool, exi=&apos;true&apos;, and this is because test-tool is downloaded from Nexus vs copying from distribution. Let me see if I can change that.&lt;/p&gt;</comment>
                            <comment id="66320" author="jmorvay" created="Mon, 28 Jan 2019 21:21:03 +0000"  >&lt;p&gt;Yup, if you will be able to change that, please try directly the reverted patch.&lt;/p&gt;</comment>
                            <comment id="66322" author="ecelgp" created="Mon, 28 Jan 2019 22:35:38 +0000"  >&lt;p&gt;FYI I tested quick patch that disables EXI in test-tool and it works. Unfortunately current distribution does not contain the test-tool so I cannot deploy from there. Only solution I see to test the patch in CI is merging the patch, after that CSIT will pick the new test-tool artifact from Nexus.&lt;/p&gt;</comment>
                            <comment id="66324" author="ecelgp" created="Mon, 28 Jan 2019 23:48:12 +0000"  >&lt;p&gt;So just to be clear, this patch &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/35136&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/35136&lt;/a&gt; changes: 1) controller behavior, 2) test-tool behavior, or 3) both? if 1) patch verification test should have worked, if 2) testing with Florine test-tool should have worked, if 3) then we have to merge the revert and trigger a CSIT after to verify.&lt;/p&gt;</comment>
                            <comment id="66327" author="jmorvay" created="Tue, 29 Jan 2019 07:58:35 +0000"  >&lt;p&gt;I would say that option 3) is most true. Definitely the revert will change the test-tool behavior and that alone should bring some significant performance. But I believe that this issue is also present in netconf SB plugin, that means if we are initializing EXI communication we can see some performance regression comparing to Fluorine. So the revert should help to fix also this issue and we should see similar performance as on Fluorine.&lt;/p&gt;

&lt;p&gt;But I don&apos;t think we have to merge the revert and actually try that. I guess we know where the problem is now. We can discuss that in kernel projects call&lt;/p&gt;</comment>
                            <comment id="66328" author="tcere" created="Tue, 29 Jan 2019 11:20:40 +0000"  >&lt;p&gt;I was able to take a look at this and it seems the issue is that testtool hangs while the session is negotiated in EXIParameters.fromXmlElement().&lt;/p&gt;


&lt;p&gt; This issue seems very hit and miss in my environment but when i look at this with a profiler it seems &lt;br/&gt;
 its seems the expensive call is during init of EXISchema class, namely createNetconfGrammar().&lt;/p&gt;

&lt;p&gt;That would explain why its only during the first connection attempted since these are only initialized once.&lt;/p&gt;</comment>
                            <comment id="66329" author="jmorvay" created="Tue, 29 Jan 2019 11:28:54 +0000"  >&lt;p&gt;Yeah I came to the same exact class an method call when debugging this. &lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03kyv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>