← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1117555] Re: SSH timeout in tempest.test.boto.test_ec2_instance_run

 

Reviewed:  https://review.openstack.org/23666
Committed: http://github.com/openstack/tempest/commit/e14e5a47253bbe43fc5d265dc8907993b58b5314
Submitter: Jenkins
Branch:    master

commit e14e5a47253bbe43fc5d265dc8907993b58b5314
Author: Attila Fazekas <afazekas@xxxxxxxxxx>
Date:   Wed Mar 6 07:52:51 2013 +0100

    Have paramico to register the event pipe in time
    
    paramiko is multi-thread package which has a dedicated thread for input
    processing.
    paramiko using a pipe trick to communicate his buffered_pipe state for
    event based wait operations.
    It is possible the reading (transport thread) gets an EOF (or CLOSE) message before
    the event pipe created, unfourtunatly it leads to the EOF and CLOSE
    messages not communicated correctly by the event pipe which is created later.
    
    The applied change expected to be compatible with newer paramiko
    versions, basically it haves the paramiko to create the pipe earlier.
    
    test_integration_1 test case enabled.
    Fixing bug ##1117555.
    
    Change-Id: I5e7bff253ed21fc424acc426545cc48f22e96d74


** Changed in: tempest
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1117555

Title:
  SSH timeout in tempest.test.boto.test_ec2_instance_run

Status in OpenStack Compute (Nova):
  New
Status in Tempest:
  Fix Released

Bug description:
  quantum devstack gate failure:
  http://logs.openstack.org/21179/1/gate/gate-tempest-devstack-vm-quantum/5156 : FAILURE

  2013-02-06 16:26:40.052 | ======================================================================
  2013-02-06 16:26:40.053 | ERROR: tempest.tests.boto.test_ec2_instance_run.InstanceRunTest.test_integration_1
  2013-02-06 16:26:40.054 | ----------------------------------------------------------------------
  2013-02-06 16:26:40.054 | _StringException: Traceback (most recent call last):
  2013-02-06 16:26:40.054 |   File "/opt/stack/new/tempest/tempest/tests/boto/test_ec2_instance_run.py", line 205, in test_integration_1
  2013-02-06 16:26:40.054 |     pkey=self.keypair.material)
  2013-02-06 16:26:40.054 |   File "/opt/stack/new/tempest/tempest/common/utils/linux/remote_client.py", line 31, in __init__
  2013-02-06 16:26:40.054 |     if not self.ssh_client.test_connection_auth():
  2013-02-06 16:26:40.055 |   File "/opt/stack/new/tempest/tempest/common/ssh.py", line 142, in test_connection_auth
  2013-02-06 16:26:40.055 |     connection = self._get_ssh_connection()
  2013-02-06 16:26:40.055 |   File "/opt/stack/new/tempest/tempest/common/ssh.py", line 75, in _get_ssh_connection
  2013-02-06 16:26:40.055 |     password=self.password)
  2013-02-06 16:26:40.055 | SSHTimeout: Connection to the 172.24.4.228 via SSH timed out.
  2013-02-06 16:26:40.055 | User: cirros, Password: None
  2013-02-06 16:26:40.055 | 
  2013-02-06 16:26:40.055 | -------------------- >> begin captured logging << --------------------
  2013-02-06 16:26:40.056 | tempest.config: INFO: Using tempest config file /opt/stack/new/tempest/etc/tempest.conf
  2013-02-06 16:26:40.056 | requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
  2013-02-06 16:26:40.056 | requests.packages.urllib3.connectionpool: DEBUG: "POST /v2.0/tokens HTTP/1.1" 200 None
  2013-02-06 16:26:40.056 | requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
  2013-02-06 16:26:40.056 | requests.packages.urllib3.connectionpool: DEBUG: "GET /v2.0/users/40d750dffc934dc293df7f5ce621ad33/credentials/OS-EC2 HTTP/1.1" 200 None
  2013-02-06 16:26:40.056 | requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
  2013-02-06 16:26:40.056 | requests.packages.urllib3.connectionpool: DEBUG: "POST /v2.0/tokens HTTP/1.1" 200 None
  2013-02-06 16:26:40.057 | requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
  2013-02-06 16:26:40.057 | requests.packages.urllib3.connectionpool: DEBUG: "GET /v2.0/users/40d750dffc934dc293df7f5ce621ad33/credentials/OS-EC2 HTTP/1.1" 200 None
  2013-02-06 16:26:40.057 | requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
  2013-02-06 16:26:40.057 | requests.packages.urllib3.connectionpool: DEBUG: "POST /v2.0/tokens HTTP/1.1" 200 None
  2013-02-06 16:26:40.057 | requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 127.0.0.1
  2013-02-06 16:26:40.057 | requests.packages.urllib3.connectionpool: DEBUG: "GET /v2.0/users/40d750dffc934dc293df7f5ce621ad33/credentials/OS-EC2 HTTP/1.1" 200 None

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1117555/+subscriptions