{"id":19705168,"url":"https://github.com/linux-system-roles/tft-tests","last_synced_at":"2025-09-23T04:09:04.702Z","repository":{"id":249674670,"uuid":"811346838","full_name":"linux-system-roles/tft-tests","owner":"linux-system-roles","description":"This repository stores test plans for running tests in Testing Farm","archived":false,"fork":false,"pushed_at":"2024-10-22T07:19:39.000Z","size":100,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-23T14:15:53.106Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linux-system-roles.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-06T12:22:57.000Z","updated_at":"2024-10-22T07:19:44.000Z","dependencies_parsed_at":"2024-07-29T12:47:42.556Z","dependency_job_id":"c29c96c3-ef2b-4254-9dec-1c498540e39a","html_url":"https://github.com/linux-system-roles/tft-tests","commit_stats":null,"previous_names":["linux-system-roles/tft-tests"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-system-roles%2Ftft-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-system-roles%2Ftft-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-system-roles%2Ftft-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-system-roles%2Ftft-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linux-system-roles","download_url":"https://codeload.github.com/linux-system-roles/tft-tests/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224178023,"owners_count":17268784,"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-11T21:26:39.188Z","updated_at":"2025-09-23T04:08:59.654Z","avatar_url":"https://github.com/linux-system-roles.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tft-tests\n\nThis repository stores test plans for running tests in Testing Farm.\n\nSo far, it contains a single plan and a single test.\n\n## Prerequisites\n\n1. Install [tmt](https://tmt.readthedocs.io/en/latest/guide.html#the-first-steps)\n2. Edit `environment` section in `plans/general.fmf`with corresponding values.\n\n## Running tests\n\nYou can run tests on local VMs, or in [Testing Farm](https://docs.testing-farm.io/Testing%20Farm/0.1/index.html).\n\n### Running in Testing Farm\n\n`testing-farm` CLI does not support running multihost test plans, but you can keep the tests running in the CI and SSH into the test systems for troubleshooting.\nTo do this, uncomment the discover step `reserve_system` in a test plan.\nThis step inserts `sleep 5h` at the end of the test to keep systems running.\n\nYou can SSH into the systems using 1minutetip id_rsa.\nIf you do not have access to 1minutetip id_rsa, you can provide a `ID_RSA_PUB` evnironment variable, in this case the test would copy the provided key to `~/.ssh/authorized_keys`.\nYou can find system's IP addresses in guests.yaml file uploaded to Fedora storage together with test playbooks logs.\n\nFor singlehost tests, make a reservation by following [Test Environment Reservation](https://docs.testing-farm.io/Testing%20Farm/0.1/cli.html#reserve).\n\n### Running tests on local VMs\n\nEnter `tmt try` with a plan and platform that you wish to test, e.g. `tmt try -p general CentOS-Stream-9`.\n\nMultihost tests with more than 2 hosts break terminal, see https://github.com/teemtee/tmt/issues/3138.\n\nYou can use `get_ssh_cmds.sh` to generate ssh commands from a run number to be able to ssh into test systems.\n\n## Upstream tests\n\nUpstream tests are run with the [Schedule tests on Testing Farm](https://github.com/marketplace/actions/schedule-tests-on-testing-farm) GitHub action.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinux-system-roles%2Ftft-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinux-system-roles%2Ftft-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinux-system-roles%2Ftft-tests/lists"}