[Scenario-tests] Tests in python-saharaclient fails on fake plugin

Bug #1555031 reported by Evgeny Sikachev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Medium
Evgeny Sikachev

Bug Description

ENVIRONMENT: master of sahara-tests (9 march 2016)

STEPS TOREPRODUCE:
1. Run scenario-tests on sahara-ci from etc/scenario/defaults/fake.yaml.mako

EXPECTED RESULT:
Tests passed

ACTUAL RESULT:

Captured stdout:
~~~~~~~~~~~~~~~~
    Results of testing plugin fake 0.1
    +-----------------------------+--------+-------------+
    | Check | Status | Duration, s |
    +-----------------------------+--------+-------------+
    | Create node group templates | OK | 1 |
    | Set flavor | OK | 0 |
    | Set flavor | OK | 0 |
    | Create cluster template | OK | 0 |
    | Create cluster | OK | 4 |
    | Check cluster state | OK | 152 |
    | Check cinder volumes | FAILED | 1 |
    +-----------------------------+--------+-------------+

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/tmp/tmp8_ywlW/test_KCE4nz.py", line 13, in test_plugin
        self.create_cluster()
      File "sahara_tests/scenario/base.py", line 147, in create_cluster
        self.check_cinder()
      File "sahara_tests/scenario/base.py", line 59, in wrapper
        return fct(self, *args, **kwargs)
      File "sahara_tests/scenario/base.py", line 453, in check_cinder
        node_with_volumes['volume_mount_prefix']
      File "sahara_tests/scenario/base.py", line 608, in _run_command_on_node
        return ssh_session.exec_command(command)
      File "/tmp/sahara-tests/.tox/venv/local/lib/python2.7/site-packages/tempest_lib/common/ssh.py", line 168, in exec_command
        stderr=err_data, stdout=out_data)
    tempest_lib.exceptions.SSHExecCommandFailed: Command 'echo '-----BEGIN RSA PRIVATE KEY-----
    MIIEpAIBAAKCAQEAz+Ee33QV8NIhJ6T0KdMykCO9nFZxdhux6UcgoXasd8hXg4T7
    0V/G52IYJ/y9b6UnSiR4200B8CVidZSEHD1NmoCZ0AnsZZYfSobRM+MzlVVOSLSp
    XOzoUW0H+XfyJ2rdxjvbLtYJtOnbT+o6SNpDMVyu2wN6y49XPS+x/LdsXQ7fcAAa
    TTAPaafyEOMAJWJefdjOMYDIh6Ha4cz0BIl4TIIxPqoJ56brJs4GBzihT4K8bLig
    jC2GXKNr3iTc+e2IXNk3waeJOnHc+qz9GJ68wFQktYgsw4nsL6tz4eNyYV0923to
    /3QUjVtWDOMja7A7CTUHk7wRQ++qP7DzEodE3QIDAQABAoIBAQCMjhJp0/vh0LJK
    M+ZDQWG2w/O4eVpOGXu51zXg9nS2qOdDLe92KeQ7HsBmiSUtD+X446Az52WgEib4
    iWqqDWkjRkC5wXvtVAvkQDPDeaOvHPbJgh3hju2l4Kq7qrY4oLFDD8WrbV0yzcxT
    xHOUPr+f6KLxwvCMImdCH7WgwgSrBeJ6jA4ECPrkgasP98fc9eGiY3dYwE5lj4LU
    KPWqS+4fV/DNJYtP21wMcfNTqZS7voBYPwD756IS7sl+tKof9x3r0ZkQqi7z2BUy
    DXTdbBMwONvINWupdc7Lciy2qjUAqta4CkIm6RBYmkl5NwwA4HVG7s5rIIsx6FyO
    +Tys3oihAoGBAPkwnr49/JUUQINGsmJlxqKt7fqQhd3XpPvh2KkpRRmaH+vnKvfJ
    qz4zF2CaU/zanNUL7K692NnUSpPSxB71cubeMbSM1S29hcU1j7TAiIlwx/G3m7jF
    Vwd4No+nUIo+IZX4u0nrapiS+r9D8mX3/oy/d5wpBqNqcBOrAMbbgK97AoGBANWP
    e+56BBxjMmCXbSmTb+1m+TyQnv6enztSVq3tst/DlorS6EJ5004RcWnRexQuKo9L
    Wvs3tCAP5g9KA3hXM5s9ByeuogQOMKyIUp/FeokcuyIdwr4KTKKeN1Qd+Kgzr/1H
    i7KlDLlMoTB8H57y3AbkFWMh9861MmnYjGzibcGHAoGAPPgzbvK1sTgiTLxoewDR
    6A3MU2k3B79yg5qPq1wIpyn5s3t9HOF//5j6mE1KTWyjwNDJGTwkKa/yi1afW7/M
    XEZzPOzUX/umFklzntMY1R/+G9tDw6KtF4vHNcDHSPvItewEzyJFk40qws96KI7T
    /lX+ivvSvvsU7wsBBqbARq8CgYBuevwyMw1NYkP9lFj02UFeH5dwraCTOJxHpCET
    eZTADf8jcliVi1C1YnC5vZVeq0N5PhKjQ/37WD48Sp3g87vO45OAA+ftESo9F4km
    /pKVvDdTPvIwPkPHHPKioZ6x5Yt2DD1I/fnHIs2At7XkFN+e8P/feQMp/LNH7q82
    5SzCoQKBgQD1jAkEg/lqkG+AGlrHctBlJ2K0VI8REV75UoGLYuR31kDUwRiHgJ8n
    bd/7CGJr51aKcgaeCUMFCPpcXtsM6bPOw2G/xnVrskjvcxaa/RhVQQ83ORpPBhsa
    DudcZ1yPYGqmNSVPoIdI+ZeVhuLVYGnrpLcUefSI3frh05hKEsJZ8w==
    -----END RSA PRIVATE KEY-----
    ' > scenario.pem && chmod 600 scenario.pem && ssh 10.0.0.89 -i scenario.pem 'mount | grep /volumes/disk | wc -l' && rm scenario.pem', exit status: 255, stderr:
    Host key verification failed.

    stdout:

LOGS: https://sahara.mirantis.com/logs/06/285706/4/check/gate-saharaclient-distributed-heat-fake/44daf7a/console.html

Changed in sahara:
assignee: nobody → Evgeny Sikachev (esikachev)
Changed in sahara:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sahara-tests (master)

Fix proposed to branch: master
Review: https://review.openstack.org/290404

Changed in sahara:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara-tests (master)

Reviewed: https://review.openstack.org/290404
Committed: https://git.openstack.org/cgit/openstack/sahara-tests/commit/?id=e2a333ce7611592c6441455ec55390e60284c5f9
Submitter: Jenkins
Branch: master

commit e2a333ce7611592c6441455ec55390e60284c5f9
Author: Evgeny Sikachev <email address hidden>
Date: Wed Mar 9 14:15:20 2016 +0300

    Add parameter for ssh conection

    Added -o StrictHostKeyChecking=no for ssh connection.
    It's usefull for not-sahara images. For example, fake plugin
    Closes-bug: #1555031

    Change-Id: Ia5515a3183417e1208019f1211bab1e2172733f0

Changed in sahara:
status: In Progress → Fix Released
Changed in sahara:
milestone: none → mitaka-rc1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.