Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue in installation when user miss host user name #210

Merged
merged 1 commit into from
Apr 5, 2018
Merged

Fixed issue in installation when user miss host user name #210

merged 1 commit into from
Apr 5, 2018

Conversation

PraveenPenguin
Copy link
Collaborator

installation script error out , so this patch made some param
as required

failed LOG:

======================================================================
ERROR [1174.995s]: runTest (testcases.InstallRhel.InstallRhel)

Traceback (most recent call last):
File "/home/praveen/op-test-framework/testcases/InstallRhel.py", line 120, in runTest
self.system.host_console_login()
File "/home/praveen/op-test-framework/common/OpTestSystem.py", line 294, in host_console_login
l_con.sendline(l_user)
File "/usr/lib/python2.7/site-packages/pexpect/init.py", line 1036, in sendline
n = self.send(s)
File "/usr/lib/python2.7/site-packages/pexpect/init.py", line 1024, in send
s = self._coerce_send_string(s)
File "/usr/lib/python2.7/site-packages/pexpect/init.py", line 496, in _coerce_send_string
return s.encode('utf-8')
AttributeError: 'NoneType' object has no attribute 'encode'


Ran 1 test in 1174.995s

FAILED (errors=1)

Signed-off-by: Praveen K Pandey praveen@linux.vnet.ibm.com

installation script error out , so this patch made some param
as required

failed LOG:

======================================================================
ERROR [1174.995s]: runTest (testcases.InstallRhel.InstallRhel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/praveen/op-test-framework/testcases/InstallRhel.py", line 120, in runTest
    self.system.host_console_login()
  File "/home/praveen/op-test-framework/common/OpTestSystem.py", line 294, in host_console_login
    l_con.sendline(l_user)
  File "/usr/lib/python2.7/site-packages/pexpect/__init__.py", line 1036, in sendline
    n = self.send(s)
  File "/usr/lib/python2.7/site-packages/pexpect/__init__.py", line 1024, in send
    s = self._coerce_send_string(s)
  File "/usr/lib/python2.7/site-packages/pexpect/__init__.py", line 496, in _coerce_send_string
    return s.encode('utf-8')
AttributeError: 'NoneType' object has no attribute 'encode'

----------------------------------------------------------------------
Ran 1 test in 1174.995s

FAILED (errors=1)

Signed-off-by: Praveen K Pandey <praveen@linux.vnet.ibm.com>
@PraveenPenguin
Copy link
Collaborator Author

@pridhiviraj can you please have a look as now it does not have merge conflict

@pridhiviraj pridhiviraj merged commit c02558b into open-power:master Apr 5, 2018
@pridhiviraj
Copy link
Contributor

Thanks @PraveenPenguin for fixing it. Merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants