[ODLPARENT-152] Karaf ssh Exception seen multiple times in csit Created: 17/Apr/18  Updated: 05/Sep/18  Resolved: 05/Sep/18

Status: Resolved
Project: odlparent
Component/s: None
Affects Version/s: None
Fix Version/s: 4.0.0, 3.1.4

Type: Bug Priority: Medium
Reporter: Jamo Luhrsen Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to ODLPARENT-149 exceptionCaught(ServerSessionImpl[kar... Resolved

 Description   

We started noticing this recently, but not sure if it's always been there or not. Now we are
starting to mark test case failures if exceptions are seen. We can whitelist these, but my
gut is that this is something new. Or if not new, I think it's showing up a lot more now.

an example
{code{2018-04-17T21:53:26,448 | ERROR | Karaf ssh console user karaf | ShellUtil | 135 - org.apache.karaf.shell.core - 4.1.5 | Exception caught while executing command
java.lang.NullPointerException: null


like from a job here where it's seen 21 times.

I realize the trace is pointing to something in karaf, so odlparent seemed like the right
place to open this issue.



 Comments   
Comment by Sam Hague [ 23/Apr/18 ]

skitt vorburger any ideas on this bug? It adds 40-50 exceptions to the karaf.log so looks messy.

Comment by Robert Varga [ 23/Apr/18 ]

The log is located at https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netvirt-csit-1node-openstack-queens-upstream-stateful-oxygen/465/odl_1/odl1_karaf.log.gz

The stack trace is:

2018-04-17T20:20:15,270 | ERROR | Karaf ssh console user karaf | ShellUtil                        | 135 - org.apache.karaf.shell.core - 4.1.5 | Exception caught while executing command
java.lang.NullPointerException: null
	at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:348) [135:org.apache.karaf.shell.core:4.1.5]
	at java.lang.Thread.run(Thread.java:748) [?:?]

Fixed upstream by:

https://github.com/apache/karaf/commit/e13352cfa624290eff2e0ad9a5d2aa64572250d5

Requires karaf-4.1.6

 

Comment by Jamo Luhrsen [ 23/Apr/18 ]

Thanks rovarga. good to know the fix is there and we'll get it eventually.

Comment by Sam Hague [ 24/Apr/18 ]

Is there a plan to bring in karaf-4-1.6? Or can we pull in that patch since it is just a 3 line patch.

Comment by Stephen Kitt [ 24/Apr/18 ]

Once it’s released, maybe, but it won’t be released for a little while yet. It’s just a 3 line patch but releasing a new bundle with that code and getting it loaded isn’t straightforward!

Comment by Robert Varga [ 24/Apr/18 ]

FWIW 4.1.6 is scheduled for release on 5/18.

Comment by Robert Varga [ 05/Sep/18 ]

Fixed with karaf-4.1.6 (odlparent-3.1.4) and karaf-4.2.1 (odlparent-4.0.0)

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