Re: Cephalocon QA: Test development/individual contributors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Greg,

Thanks for starting this discussion topic.

In the dashboard component we also created a shell script to run the dashboard API tests based on the vstart_runner.py in our local environments. This script takes care of installing the teuthology dependencies in a virtual environment and clone the teuthology repo, so no need for having teuthology installed in your own envionment.

The script can be found here:
https://github.com/ceph/ceph/blob/master/src/pybind/mgr/dashboard/run-backend-api-tests.sh


Ricardo

On 04-04-2018 08:55, Gregory Farnum wrote:
Teuthology is not without problems. The next one we discussed was
difficulty even running tests for smaller contributors without access
to an existing lab. This extended a bit to the difficulty of simply
*developing* tests. There isn’t an immediate solution to this problem,
but there are some steps people have taken independently.

John wrote a “vstart_runner” framework which supports a reasonable
subset of the full teuthology commands and is used throughout the
CephFS test suite (and I assume the manager as well?); this lets you
run tests against a vstart instance with pretty good fidelity to what
happens in the lab. Radoslaw and Orit have a similar thing for RGW
which hasn’t been merged but which that team sometimes uses in test
development: https://github.com/ceph/ceph/pull/20536 . We should unify
these efforts if possible and extend them into more tests whenever
possible. This helps a lot with test development. We’ll of course
never be able to support running a full rados suite on a single
machine (just due to the machine time required), but if we switch
enough tests into a framework that runs in multiple environments
individual contributors can at least run smoke suites on their own, as
well as any new tests they create for their contributions.
PROBLEM TOPIC: unify “tests-without-full-teuthology” frameworks and
use them more extensively going forward.
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
Ricardo Dias
Senior Software Engineer - Storage Team
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton,
HRB 21284
(AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux