Public bug reported:
== Comment: #11 - Heinz-Werner Seeck <[email protected]> -
2016-05-17 06:06:24 ==
Following problem was discovered using JSCH to access Ubuntu guests on system z
remotely. Using "exec" based channel with JSCH, every once in a while we get
back an empty string as output to a command that should return output.
For example "which mkdir".
The results are random and this can happen on any command.
I was not able to reproduce without JSCH.
I conducted a simple test, running the "echo offer" command 400 times.
in average it will return an empty string 4 times out of the 400 tries.
The usage of JSCH, which is required is the blocking problem of major
test scenarios of a product.
this is how the JSCH channel looks like:
Channel channel = session.openChannel("exec");
((ChannelExec) channel).setPty(true);
((ChannelExec) channel).setPtyType("dumb");
((ChannelExec) channel).setCommand(command);
connOut = channel.getOutputStream();
connIn = channel.getInputStream();
connErr = ((ChannelExec) channel).getErrStream();
channel.connect();
JSCH version used is jsch-0.1.53.
yet this does not seem to be a JSCH problem.
** Affects: ubuntu
Importance: Undecided
Assignee: Skipper Bug Screeners (skipper-screen-team)
Status: New
** Tags: architecture-s39064 bugnameltc-141598 severity-high
targetmilestone-inin1610
** Tags added: architecture-s39064 bugnameltc-141598 severity-high
targetmilestone-inin1610
** Changed in: ubuntu
Assignee: (unassigned) => Skipper Bug Screeners (skipper-screen-team)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1583136
Title:
remote JSCH commands returns empty string
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1583136/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs