<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:43:50 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>[TRNSPRTPCE-701] karaf client fails in karaf-4.3.8 and 4.4.2</title>
                <link>https://jira.opendaylight.org/browse/TRNSPRTPCE-701</link>
                <project id="10178" key="TRNSPRTPCE">transportpce</project>
                    <description>&lt;p&gt;Sulfur-SR3 and Clorine-SR1 are respectively using karaf-4.3.8 and karaf-4.4.2&lt;/p&gt;

&lt;p&gt;In these versions of karaf, when we try to launch the client (./karaf/target/assembly/bin/client), it fails with the following message:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Logging in as karaf&lt;br/&gt;
DefaultOpenFuture[ChannelShell&lt;span class=&quot;error&quot;&gt;&amp;#91;id=0, recipient=-1&amp;#93;&lt;/span&gt;-ClientSessionImpl&lt;span class=&quot;error&quot;&gt;&amp;#91;karaf@localhost/127.0.0.1:8101&amp;#93;&lt;/span&gt;]: Failed (IllegalArgumentException) to execute: Invalid UINT32 value: -1&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;This feature is used in transportpce tapi functional tests to install the odl-transportpce-tapi optional feature.&lt;/p&gt;

&lt;p&gt;Since the tapi feature can no longer be installed, all tapi functional tests are failing on the gate (&lt;a href=&quot;https://jenkins.opendaylight.org/releng/job/transportpce-tox-verify-sulfur/1372/consoleFull&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/job/transportpce-tox-verify-sulfur/1372/consoleFull&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Karaf client is still failing with karaf-4.4.2, even if the exception is better managed:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;tt&gt;Logging in as karaf&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;Required control character VDSUSP is not available&lt;/tt&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="36305">TRNSPRTPCE-701</key>
            <summary>karaf client fails in karaf-4.3.8 and 4.4.2</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.opendaylight.org/images/icons/priorities/blocker.svg">Highest</priority>
                        <status id="10004" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Verified</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="gthouenon">Gilles Thouenon</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 Nov 2022 13:53:57 +0000</created>
                <updated>Wed, 20 Sep 2023 12:33:27 +0000</updated>
                            <resolved>Wed, 20 Sep 2023 12:33:19 +0000</resolved>
                                    <version>Sulfur</version>
                    <version>Chlorine</version>
                    <version>Argon</version>
                                    <fixVersion>Potassium</fixVersion>
                                    <component>tapi</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="71605" author="gthouenon" created="Wed, 9 Nov 2022 14:52:00 +0000"  >&lt;p&gt;&lt;tt&gt;1375 &lt;span class=&quot;error&quot;&gt;&amp;#91;main&amp;#93;&lt;/span&gt; DEBUG org.apache.sshd.client.SshClient - close(SshClient&lt;span class=&quot;error&quot;&gt;&amp;#91;d6da883&amp;#93;&lt;/span&gt;)&lt;span class=&quot;error&quot;&gt;&amp;#91;Immediately&amp;#93;&lt;/span&gt; closed&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;org.apache.sshd.common.SshException: DefaultOpenFuture[ChannelShell&lt;span class=&quot;error&quot;&gt;&amp;#91;id=0, recipient=-1&amp;#93;&lt;/span&gt;-ClientSessionImpl&lt;span class=&quot;error&quot;&gt;&amp;#91;karaf@localhost/127.0.0.1:8101&amp;#93;&lt;/span&gt;]: Failed (IllegalArgumentException) to execute: Invalid UINT32 value: -1&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.future.AbstractSshFuture.lambda$verifyResult$1(AbstractSshFuture.java:132)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.future.AbstractSshFuture.formatExceptionMessage(AbstractSshFuture.java:190)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.future.AbstractSshFuture.verifyResult(AbstractSshFuture.java:131)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.client.future.DefaultOpenFuture.verify(DefaultOpenFuture.java:39)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.client.future.DefaultOpenFuture.verify(DefaultOpenFuture.java:32)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.future.VerifiableFuture.verify(VerifiableFuture.java:43)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.karaf.client.Main.main(Main.java:281)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;Caused by: java.lang.IllegalArgumentException: Invalid UINT32 value: -1&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.util.ValidateUtils.createFormattedException(ValidateUtils.java:213)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.util.ValidateUtils.throwIllegalArgumentException(ValidateUtils.java:179)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.util.ValidateUtils.checkTrue(ValidateUtils.java:162)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.util.buffer.BufferUtils.validateUint32Value(BufferUtils.java:703)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.util.buffer.Buffer.putUInt(Buffer.java:726)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.client.channel.PtyCapableChannelSession.lambda$doOpenPty$0(PtyCapableChannelSession.java:265)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at java.base/java.util.HashMap.forEach(HashMap.java:1337)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.client.channel.PtyCapableChannelSession.doOpenPty(PtyCapableChannelSession.java:263)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.client.channel.ChannelShell.doOpen(ChannelShell.java:45)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.client.channel.AbstractClientChannel.handleOpenSuccess(AbstractClientChannel.java:366)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.session.helpers.AbstractConnectionService.channelOpenConfirmation(AbstractConnectionService.java:545)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.session.helpers.AbstractConnectionService.process(AbstractConnectionService.java:456)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.session.helpers.CurrentService.process(CurrentService.java:109)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.session.helpers.AbstractSession.doHandleMessage(AbstractSession.java:594)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.session.helpers.AbstractSession.lambda$handleMessage$0(AbstractSession.java:525)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.util.threads.ThreadUtils.runAsInternal(ThreadUtils.java:66)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.session.helpers.AbstractSession.handleMessage(AbstractSession.java:524)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.session.helpers.AbstractSession.decode(AbstractSession.java:1644)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.session.helpers.AbstractSession.messageReceived(AbstractSession.java:485)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.session.helpers.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:64)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.io.nio2.Nio2Session.handleReadCycleCompletion(Nio2Session.java:371)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:344)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:339)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.lambda$completed$0(Nio2CompletionHandler.java:38)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at java.base/java.security.AccessController.doPrivileged(Native Method)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:37)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; &#160; at java.base/java.lang.Thread.run(Thread.java:829)&lt;/tt&gt;&lt;/p&gt;</comment>
                            <comment id="71607" author="rovarga" created="Wed, 9 Nov 2022 16:57:21 +0000"  >&lt;p&gt;The failing check was introduced in &lt;a href=&quot;https://issues.apache.org/jira/browse/SSHD-1244&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://issues.apache.org/jira/browse/SSHD-1244&lt;/a&gt; .&lt;/p&gt;

&lt;p&gt;From quick glance I have not found anything fishy in SSHD itself, but Karaf&apos;s client is initializing the input in&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;client/src/main/java/org/apache/karaf/client/Main.java:267: &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;channel.setPtyModes(modes);&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;can you look at modes here with a debugger?&lt;/p&gt;</comment>
                            <comment id="71608" author="rovarga" created="Wed, 9 Nov 2022 17:00:03 +0000"  >&lt;p&gt;Alternatively, we really need to know the PtyMode key which has that -1 associated and then track down where it is set.&lt;/p&gt;</comment>
                            <comment id="71609" author="rovarga" created="Wed, 9 Nov 2022 17:08:14 +0000"  >&lt;p&gt;And we&apos;ll need a Karaf bug, I think because JLine reports -1 for characters it does not find: &lt;a href=&quot;https://github.com/jline/jline3/blob/92a63e1494d7e24a9f36cf639257b181080a535f/terminal/src/main/java/org/jline/terminal/Attributes.java#L292&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/jline/jline3/blob/92a63e1494d7e24a9f36cf639257b181080a535f/terminal/src/main/java/org/jline/terminal/Attributes.java#L292&lt;/a&gt; and karaf is not filtering those.&lt;/p&gt;

&lt;p&gt;Now we need to figure out which attributes are missing and why &#8211; because perhaps this can be solved with setting TERM via &lt;a href=&quot;https://github.com/jline/jline3/wiki/Terminals&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/jline/jline3/wiki/Terminals&lt;/a&gt; &#8211; I don&apos;t really know, though.&lt;/p&gt;</comment>
                            <comment id="71612" author="rovarga" created="Thu, 10 Nov 2022 02:34:59 +0000"  >&lt;p&gt;Upstream issue: &lt;a href=&quot;https://issues.apache.org/jira/browse/KARAF-7607&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://issues.apache.org/jira/browse/KARAF-7607&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="71613" author="rovarga" created="Thu, 10 Nov 2022 03:07:40 +0000"  >&lt;p&gt;Upstream (partial?) fix: &lt;a href=&quot;https://github.com/apache/karaf/pull/1680&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/apache/karaf/pull/1680&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We still need to try to work this around with TERM.&lt;/p&gt;</comment>
                            <comment id="71614" author="rovarga" created="Thu, 10 Nov 2022 03:39:19 +0000"  >&lt;p&gt;Hopefully the unavailable control char is not one of the three mentioned here: &lt;a href=&quot;https://github.com/apache/karaf/pull/1680/commits/96128a63c7c71f613b88ca05017c7e7e75b86d85&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/apache/karaf/pull/1680/commits/96128a63c7c71f613b88ca05017c7e7e75b86d85&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="71616" author="gthouenon" created="Thu, 10 Nov 2022 11:03:19 +0000"  >&lt;p&gt;Thank you Robert to take care of this issue.&lt;/p&gt;

&lt;p&gt;I&apos;ve just tested your karaf PR and obtained the following messge now:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Logging in as karaf&lt;br/&gt;
Required control character VDSUSP is not available&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="71617" author="rovarga" created="Thu, 10 Nov 2022 12:23:31 +0000"  >&lt;p&gt;Ah, so it is &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=gthouenon&quot; class=&quot;user-hover&quot; rel=&quot;gthouenon&quot;&gt;gthouenon&lt;/a&gt; can you try without the second patch in the PR, please?&lt;/p&gt;</comment>
                            <comment id="71618" author="gthouenon" created="Thu, 10 Nov 2022 13:09:46 +0000"  >&lt;p&gt;Good news!&lt;br/&gt;
Without your second patch, karaf-client works perfectly!&lt;/p&gt;</comment>
                            <comment id="71632" author="rovarga" created="Mon, 21 Nov 2022 22:10:24 +0000"  >&lt;p&gt;Thanks for testing &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;Unfortunately it seems we are not getting a new Karaf for a couple of weeks. I am loathe to downgrade, but it seems the best short-term option to get this unblocked.&lt;/p&gt;

&lt;p&gt;Q: which release train is the most pressing? Cl SR1? Su SR2?&lt;/p&gt;</comment>
                            <comment id="71633" author="gthouenon" created="Tue, 22 Nov 2022 08:46:25 +0000"  >&lt;p&gt;From TPCE side, no pressing at all for any of these releases. From ODL release schedule, it seems Su SR2 is rather urgent if we don&apos;t want make the delay worse...&lt;br/&gt;
But, may be the best solution would be to find a workaround on TPCE side to avoid a karaf downgrade which will entail to restart all the release process...&lt;br/&gt;
Since this karaf feature is only used to perform some TPCE functional test, I can see if we can do thing in another way. Let me have a look to it today...&lt;/p&gt;</comment>
                            <comment id="71638" author="danieldelarosa" created="Wed, 23 Nov 2022 06:28:34 +0000"  >&lt;p&gt;you meant Su SR3 or I&apos;m missing something ?&lt;/p&gt;</comment>
                            <comment id="71704" author="gthouenon" created="Fri, 25 Nov 2022 19:46:22 +0000"  >&lt;p&gt;Yes of course, this is Su SR3.&lt;/p&gt;

&lt;p&gt;In TransportPCE, we have overcomed this issue by switching on lighty build as the runtime for all TransportPCE functional tests on the gate instead of karaf. By this way, this issue is no longer blocking for Su-SR3 nor Cl-SR1.&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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;a href=&quot;https://issues.apache.org/jira/browse/KARAF-7607&quot;&gt;https://issues.apache.org/jira/browse/KARAF-7607&lt;/a&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i042kt:4</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10001" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="43">Sprint 29</customfieldvalue>
    <customfieldvalue id="44">Sprint 30</customfieldvalue>
    <customfieldvalue id="45">Sprint 31</customfieldvalue>
    <customfieldvalue id="46">Sprint 32</customfieldvalue>

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