genius CSIT Issue_Command_On_Karaf_Console SSH failures

Description

From: Faseela K
Date: Thu, Jun 22, 2017 at 8:11 AM
Subject: RE: karaf4 private distribution
To: Nazeerahamed N H, Michael Vorburger
Cc: Vivek Srivastava V, Nazeerahamed N H

I have seen that after karaf4 migration patch got merged in genius, sometimes two TCs which requires verification by logging into the karaf shell sometimes fail.

https://logs.opendaylight.org/releng/jenkins092/genius-csit-1node-gate-all-carbon/7/log.html.gz

---------- Forwarded message ----------
On Fri, Jun 23, 2017 at 11:50 AM, Nazeerahamed Hunshyal wrote:

Hi Michael,

I am using " Issue_Command_On_Karaf_Console ${TEP_SHOW_STATE}" to access karaf.

Thanks,
Nazeerahamed H

-----Faseela K <faseela.k@ericsson.com> wrote: -----
To: Nazeerahamed N H <nazeerahamed.hunshyal@tcs.com>, Michael Vorburger <vorburger@redhat.com>
From: Faseela K <faseela.k@ericsson.com>
Date: 06/22/2017 11:42AM
Cc: Vivek Srivastava V <vivek.v.srivastava@ericsson.com>, Nazeerahamed N H <nazeerahamed.hunshyal@tcs.com>
Subject: RE: karaf4 private distribution

I have seen that after karaf4 migration patch got merged in genius, sometimes two TCs which requires verification by logging into the karaf shell sometimes fail.

when you say "logging into the Karaf shell", how exactly does it connect? As you probably know, there are several ways.. is this using the SSH server in Karaf? Or directly starting the bin/karaf and using its console? Or using the bin/client?

https://logs.opendaylight.org/releng/jenkins092/genius-csit-1node-gate-all-carbon/7/log.html.gz

I don't know how to navigate this - where do you see the actual failure? Actually 2 things would be interesting to look at - where do you see whatever failure whatever client has when connecting, and where do you see the matching karaf.log when that happens?

@Michael Vorburger : Will this be because of karaf4 or some random infra issue?

the SSH terminal seems to basically work in Karaf 4, I just tested it like this:

cd odlparent/karaf/opendaylight-karaf-empty
mvn clean package
target/assembly/bin/karaf

opendaylight-user@root>feature:list | grep ssh
ssh | 4.0.9 | | Started | standard-4.0.9 | Provide a SSHd server on Karaf

ssh -p 8101 karaf@localhost
Password: karaf
opendaylight-user@root>

Environment

Operating System: All
Platform: All

Activity

Show:

Michael Vorburger June 23, 2017 at 3:59 PM

Just noticed that NETCONF-412 mentions that "This bug is causing SSH on Karaf to not work." so I suspect what has been observed in genius CSIT (above) is probably related to / caused by that NETCONF-412 and the currently two bugs which it depends on....

Unresolved

Details

Assignee

Reporter

External issue ID

Components

Affects versions

Priority

Created June 23, 2017 at 3:58 PM
Updated October 26, 2017 at 2:26 PM