Skip to main content

OpenStack test framework

Project description

OpenStack test framework and test fixtures

Cross-testing With Other Projects

The oslotest package is cross-tested against its consuming projects to ensure that no changes to the library break the tests in those other projects.

In the Gate

To add your project to the list for cross-testing, update modules/openstack_project/files/jenkins_job_builder/config/projects.yaml in the openstack-infra/config git repository and add sections like:

- '{pipeline}-oslo.test-dsvm-{name}{branch-designator}':
    pipeline: check
    node: 'devstack-precise || devstack-precise-check'
    branch-designator: ''
    branch-override: default
- '{pipeline}-oslo.test-dsvm-{name}{branch-designator}':
    pipeline: gate
    node: devstack-precise
    branch-designator: ''
    branch-override: default

to the jobs list for your project. Refer to https://review.openstack.org/#/c/76381 for an example.

Then update modules/openstack_project/files/zuul/layout.yaml by adding the new check test to the global list of jobs (to make it non-voting to start), and then to your project and to oslo.test.

- name: check-oslo.test-dsvm-oslo.messaging
  voting: false
- name: openstack/oslo.messaging
  ...
  check:
  ...
    - check-oslo.test-dsvm-oslo.messaging
  ...
- name: openstack/oslo.test
  ...
  check:
  ...
    - check-oslo.test-dsvm-oslo.messaging
  ...

Locally

To run the cross-tests locally, invoke the script directly, passing the path to the other source repository and the tox environment name to use:

$ cd oslo.test
$ ./tools/run_cross_tests.sh ~/repos/openstack/oslo.config py27

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oslotest-1.0.0.tar.gz (12.9 kB view details)

Uploaded Source

File details

Details for the file oslotest-1.0.0.tar.gz.

File metadata

  • Download URL: oslotest-1.0.0.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for oslotest-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cf05f4ff0cbf84ad0b5d1bef7c46d719eaf4408107e65a32a4500cf707d1a1e7
MD5 1f7710e4d38b615990737f813704fd58
BLAKE2b-256 23b2b684eab3f51ba1e64b7355b20231d0f0d18b11bc233f5577de3647d3ff5c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page