Skip to content

Conversation

@nirupaman
Copy link

No description provided.


def is_live_test():
return config['TEST']['unit'].lower() == 'false'
return config['TEST']['unit'].lower() == 'true'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirm with Virendra/Tushar if this needs to be changed

super(HPE3ParClientSystemTestCase, self).tearDown()

def test_get_patch(self):
@unittest.skipIf(config['TEST']['unit'].lower() == 'true',
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check with Virendra/Tushar. Same as the earlier comment

Copy link
Owner

@farhan7500 farhan7500 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please review the comments with the test team

@nirupaman
Copy link
Author

File Persona run output:

======================================================================
ERROR: test_removevfs_bogus (test.test_HPE3ParClient_FilePersona.HPE3ParFilePersonaClientTestCase)

Traceback (most recent call last):
File "/home/nirun/niru_ansiblecopy/python-3parclient/test/test_HPE3ParClient_FilePersona.py", line 60, in setUp
self.interfaces = self.cl.gettpdinterface()
File "/home/nirun/niru_ansiblecopy/python-3parclient/hpe3parclient/file_client.py", line 269, in wrapper
result = func(*args, **kwargs)
File "/home/nirun/niru_ansiblecopy/python-3parclient/hpe3parclient/file_client.py", line 183, in wrapper
func.name, *args, **kwargs)
File "/home/nirun/niru_ansiblecopy/python-3parclient/hpe3parclient/file_client.py", line 167, in _build_command_and_run_with_ssh
client.ssh.open()
File "/home/nirun/niru_ansiblecopy/python-3parclient/hpe3parclient/ssh.py", line 148, in open
raise paramiko.SSHException(msg)
SSHException: Error connecting via ssh: [Errno None] Unable to connect to port 2200 on 0.0.0.0
-------------------- >> begin captured stdout << ---------------------

##Start testing 'Using flask http://localhost:5001/api/v1'

##Start testing 'Using paramiko SSH server on port 2200'

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost:5001
urllib3.connectionpool: DEBUG: http://localhost:5001 "GET /api HTTP/1.1" 200 43
urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost:5001
urllib3.connectionpool: DEBUG: http://localhost:5001 "POST /api/v1/credentials HTTP/1.1" 201 35
urllib3.connectionpool: DEBUG: Starting new HTTP connection (1): localhost:5001
urllib3.connectionpool: DEBUG: http://localhost:5001 "GET /api/v1/ports HTTP/1.1" 200 949
hpe3parclient.ssh: ERROR: Error connecting via ssh: [Errno None] Unable to connect to port 2200 on 0.0.0.0
--------------------- >> end captured logging << ---------------------


Ran 13 tests in 22.470s

FAILED (SKIP=1, errors=11)

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