[openstack-dev] [QA] Question about tempest API tests that establish SSH connection to instances

Yaroslav Lobankov ylobankov at mirantis.com
Tue Apr 28 15:35:15 UTC 2015


Matt, thank you for the answer!

Regards,
Yaroslav Lobankov.

On Tue, Apr 28, 2015 at 6:00 PM, Matthew Treinish <mtreinish at kortar.org>
wrote:

> On Tue, Apr 28, 2015 at 02:21:27PM +0300, Yaroslav Lobankov wrote:
> > Guys, thank you for answers!
> >
> > Then I have one more question :) How do scenario tests (that establish
> SSH
> > connection to instances) work?
> >
>
> So the scenario tests don't use the run_ssh flag, they just ssh in to
> servers
> when they need to regardless of the value of that config option. (as do any
> tests which are currently using ssh in the gate)
>
> That's actually part of what the BP that Joseph pointed out is trying to
> address. The run_ssh option is currently kind of a mess, it's not globally
> respected, and things that do rely on it are probably broken, because as
> Salvatore said we skip those in the gate.
>
> Reading the spec for that BP will provide some good background here:
>
> http://specs.openstack.org/openstack/qa-specs/specs/ssh-auth-strategy.html
>
> -Matt Treinish
>
> >
> > On Tue, Apr 28, 2015 at 12:27 PM, Lanoux, Joseph <joseph.lanoux at hp.com>
> > wrote:
> >
> > >  Hi,
> > >
> > >
> > >
> > > Actually, ssh connection is not yet implemented in Tempest. We’re
> > > currently working on it [1].
> > >
> > >
> > >
> > > Joseph
> > >
> > >
> > >
> > > [1]
> > >
> https://review.openstack.org/#/q/status:open+project:openstack/tempest+branch:master+topic:bp/ssh-auth-strategy,n,z
> > >
> > >
> > >
> > >
> > >
> > > *From:* Salvatore Orlando [mailto:sorlando at nicira.com]
> > > *Sent:* 28 April 2015 10:16
> > > *To:* OpenStack Development Mailing List (not for usage questions)
> > > *Subject:* Re: [openstack-dev] [QA] Question about tempest API tests
> that
> > > establish SSH connection to instances
> > >
> > >
> > >
> > > At a first glance it seems run_ssh is disabled in gate tests [1]. I
> could
> > > not find any nova job where it is enabled.
> > >
> > > These tests are therefore skipped. For what is worth they might be
> broken
> > > now. Sharing a traceback or filing a bug might help.
> > >
> > >
> > >
> > > Salvatore
> > >
> > >
> > >
> > > [1]
> > >
> http://logs.openstack.org/81/159481/2/check/check-tempest-dsvm-neutron-full/85e039c/logs/testr_results.html.gz
> > >
> > >
> > >
> > > On 28 April 2015 at 10:26, Yaroslav Lobankov <ylobankov at mirantis.com>
> > > wrote:
> > >
> > >  Hi everyone,
> > >
> > >
> > >
> > > I have a question about tempest tests that are related to instance
> > > validation. Some of these tests are
> > >
> > >
> > >
> > >
> > >
> tempest.api.compute.servers.test_create_server.ServersTestJSON.test_host_name_is_same_as_server_name[gate,id-ac1ad47f-984b-4441-9274-c9079b7a0666]
> > >
> > >
> > >
> tempest.api.compute.servers.test_create_server.ServersTestJSON.test_verify_created_server_vcpus[gate,id-cbc0f52f-05aa-492b-bdc1-84b575ca294b]
> > >
> > >
> > >
> tempest.api.compute.servers.test_create_server.ServersTestManualDisk.test_host_name_is_same_as_server_name[gate,id-ac1ad47f-984b-4441-9274-c9079b7a0666]
> > >
> > >
> > >
> tempest.api.compute.servers.test_create_server.ServersTestManualDisk.test_verify_created_server_vcpus[gate,id-cbc0f52f-05aa-492b-bdc1-84b575ca294b]
> > >
> > >
> > >
> > > To enable these tests I should set the config option "run_ssh" to True.
> > > When I set the option to true and ran the tests, all the tests failed.
> It
> > > looks like ssh code in API tests doesn't work.
> > >
> > > Maybe I am wrong. The question is the following: which of tempest jobs
> > > runs these tests?  Maybe I have tempest misconfiguration.
> > >
> > >
> > >
> > > Regards,
> > >
> > > Yaroslav Lobankov.
> > >
> > >
> > >
> __________________________________________________________________________
> > > OpenStack Development Mailing List (not for usage questions)
> > > Unsubscribe:
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> > >
> > >
> > >
> > >
> __________________________________________________________________________
> > > OpenStack Development Mailing List (not for usage questions)
> > > Unsubscribe:
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> > >
> > >
>
> >
> __________________________________________________________________________
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe:
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150428/8a9d69c4/attachment.html>


More information about the OpenStack-dev mailing list