{"id":20661896,"url":"https://github.com/mirantis/mos-tempest-runner","last_synced_at":"2025-04-19T15:49:04.226Z","repository":{"id":28037466,"uuid":"31533036","full_name":"Mirantis/mos-tempest-runner","owner":"Mirantis","description":"The repository with scripts which allow to run Tempest tests for OpenStack clouds","archived":false,"fork":false,"pushed_at":"2020-02-26T11:50:17.000Z","size":153,"stargazers_count":3,"open_issues_count":3,"forks_count":8,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-03-29T09:41:28.549Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"dalavanmanphonsy/voteforthenet","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mirantis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-02T09:35:44.000Z","updated_at":"2022-12-14T04:46:30.000Z","dependencies_parsed_at":"2022-09-04T07:31:26.642Z","dependency_job_id":null,"html_url":"https://github.com/Mirantis/mos-tempest-runner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mirantis%2Fmos-tempest-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mirantis%2Fmos-tempest-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mirantis%2Fmos-tempest-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mirantis%2Fmos-tempest-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mirantis","download_url":"https://codeload.github.com/Mirantis/mos-tempest-runner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249730641,"owners_count":21317327,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T19:12:12.476Z","updated_at":"2025-04-19T15:49:04.203Z","avatar_url":"https://github.com/Mirantis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"MOS-Tempest-Runner\n==================\nToolkit to run Tempest against Mirantis OpenStack\n\nIntroduction\n------------\n\nThe main goal of these scripts is to prepare the OpenStack cloud for Tempest \nand run the tests by executing a few commands. \n\n**WARNING:  Use mos-tempest-runner to run Tempest against PRODUCTION OpenStack \nclouds at own risk! These scripts may break the OpenStack cloud! Pay attention \nthat mos-tempest-runner was initially designed to run Tempest on CI and test \nOpenStack environments!**\n\n**Requirements to Run Mos-Tempest-Runner \"out of the box\"**\n\n1. Mos-tempest-runner must be run on the Fuel master node only. \n2. The Fuel master node must have Internet connection.\n\n**How Mos-Tempest-Runner Prepares OpenStack Cloud**\n\nIn order to run Tempest against an OpenStack cloud we have to perform some \nactions on the cloud. For example, create a tenant, a user without admin role, \nsome extra roles, etc. What mos-tempest-runner does:\n\n1. Makes all Keystone endpoints public.\n2. Creates tenant \"demo\" and user \"demo\".\n3. Creates 5 roles: \"SwiftOperator\", \"anotherrole\", \"heat_stack_user\", \n\"heat_stack_owner\", \"ResellerAdmin\".\n4. Assigns roles \"SwiftOperator\" and \"anotherrole\" to user \"demo\" in \ntenant \"demo\". Assigns role \"admin\" to user \"admin\" in tenant \"demo\".\n5. Creates flavors \"m1.tempest-nano\" and \"m1.tempest-micro\".\n6. Uploads a CirrOS image.\n\nInstallation and Usage\n----------------------\n\n**How to Run All Tempest Tests**\n\nLog into the Fuel master node. Make sure the Fuel master node has \nInternet connection before you execute the further steps:\n\n```bash\n$ yum -y install git\n$ git clone https://github.com/Mirantis/mos-tempest-runner.git\n$ cd mos-tempest-runner\n$ ./setup_env.sh\n$ ./rejoin.sh\n$ run_tests\n```\n\n**How to Run Some Group of Tempest Tests**\n\nIf you want to run some group of test cases, you should use the following \ncommand:\n\n```bash\n$ run_tests \u003cpath.to.test.folder.or.path.to.test.file.or.path.to.test.class\u003e\n```\n\nFor example, you would like to run some group of tests for Keystone. \nIn this case you can execute the following commands:\n\n```bash\n$ run_tests tempest.api.identity\n$ run_tests tempest.api.identity.admin.test_roles\n$ run_tests tempest.api.identity.admin.test_roles.RolesTestJSON\n```\n\n**How to Run Single Tempest Test**\n\nIf you want to run single test case, you should use the following command:\n\n```bash\n$ run_tests \u003cpath.to.test\u003e\n```\n\nFor example, you would like to run one of the tests for Keystone. \nIn this case you can execute the following command:\n\n```bash\n$ run_tests tempest.api.identity.admin.test_roles.RolesTestJSON.test_list_roles\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirantis%2Fmos-tempest-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmirantis%2Fmos-tempest-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirantis%2Fmos-tempest-runner/lists"}