Fix the JSONRPC read service issue 47/98247/12
authorSangwook Ha <sangwook.ha@verizon.com>
Fri, 29 Oct 2021 19:56:21 +0000 (12:56 -0700)
committerLuis Gomez <ecelgp@gmail.com>
Sun, 31 Oct 2021 20:09:01 +0000 (20:09 +0000)
commit40c839d037084ba309cfe943d7385d1b83b08597
tree6e8dd68fce0afff3f11d4f83db956b4fb06a784e
parentaaf8b052f2a484a6aef23de854ede10ebcec6f19
Fix the JSONRPC read service issue

The steps to upgrade pip and install pyzmq & zmq were failing
because it's done with an old version of OS default pip.

Add a new keyword to support Python 3 virtual environment in
SSHKeywords.robot, and start the read service in a new Python 3
virtual environment created with the new keyword - a new keyword
was created, instead of updating the existing keyword, in order
not to interfere with other test cases.

Replace 'send' with 'send_string' in the odl-jsonrpc-test-read
Python script because the former cannot be used to send a unicode
string in Python 3.

And remove new lines & spaces from the configuration data when
creating the script command to make it a little simpler.

Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
Change-Id: I70e694bb1a4fa21c2133b262e291791e6afe5ce8
csit/libraries/JsonrpcKeywords.robot
csit/libraries/SSHKeywords.robot
csit/variables/jsonrpc/odl-jsonrpc-test-read