{"id":19402934,"url":"https://github.com/cscfi/ansible-role-stress","last_synced_at":"2025-10-06T11:14:16.414Z","repository":{"id":46027499,"uuid":"50429308","full_name":"CSCfi/ansible-role-stress","owner":"CSCfi","description":"Run a stress test on a machine using Ansible","archived":false,"fork":false,"pushed_at":"2024-10-10T09:16:08.000Z","size":314,"stargazers_count":3,"open_issues_count":0,"forks_count":7,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-24T07:43:44.155Z","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/CSCfi.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,"zenodo":null}},"created_at":"2016-01-26T13:10:06.000Z","updated_at":"2024-10-10T09:16:09.000Z","dependencies_parsed_at":"2025-04-24T07:39:18.469Z","dependency_job_id":"06383f42-cbf8-4e42-a0da-d69bc087617e","html_url":"https://github.com/CSCfi/ansible-role-stress","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/CSCfi/ansible-role-stress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSCfi%2Fansible-role-stress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSCfi%2Fansible-role-stress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSCfi%2Fansible-role-stress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSCfi%2Fansible-role-stress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CSCfi","download_url":"https://codeload.github.com/CSCfi/ansible-role-stress/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CSCfi%2Fansible-role-stress/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278598742,"owners_count":26013317,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10T11:26:24.100Z","updated_at":"2025-10-06T11:14:16.409Z","avatar_url":"https://github.com/CSCfi.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/CSCfi/ansible-role-stress.svg?branch=master)](https://travis-ci.org/CSCfi/ansible-role-stress)\n# ansible-role-stress\n\nRun a stress test on a machine using Ansible. This role uses\n[stress-ng](http://kernel.ubuntu.com/~cking/stress-ng/) to stress the CPU,\nmemory and HDD disk(s), and [FIO](https://fio.readthedocs.io/en/latest/fio_doc.html)\nto stress SSD(s) on a system. It installs stress-ng and fio and runs it wrapped on a\nscript with configurable parameters. Since running a stress test is something that is\ngenerally done for a long period continuously, screen is used to contain\nthe script so that the Ansible run finishes in a timely manner and simply leaves\nthe stress test running in the background.\n\nRequirements\n------------\n\n  * Only tested on CentOS 7. Should also work on Ubuntu\n\nRole variables\n--------------\n\n  * stress_ng_duration: sets the timeout limit for stress-ng in seconds\n  * Variables to set the number of each type of worker:\n    * cpu_workers\n    * vm_workers\n    * hdd_workers\n  * Variables to set how much memory and disk space to consume per worker:\n    * bytes_per_hdd_worker\n    * bytes_per_vm_worker\n  * Variables to set how the SSD test (FIO) is done:\n    * ssd_test: Test SSD disks using FIO (if there are SSD disks)\n    * fio_test_duration: sets the timeout limit for fio test in seconds\n    * ssd_block_size: Size of each block for FIO's SSD test\n    * ssd_workers: Number of workers for FIO's SSD test\n    * ssd_tests_folder: Folder to mount a new Logical Volume in the Volume Group vg_instances and where FIO would store the files for the test\n    * ssd_volume_group: Volume Group name to test the SSDs. Check that this is contained in the SSDs\n\nNotes\n----\n   * Up until version 2019-01-02 this role also supported CentOS 6. After that we no longer support that as we assume stress-ng is available in a yum repo configured on the server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcscfi%2Fansible-role-stress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcscfi%2Fansible-role-stress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcscfi%2Fansible-role-stress/lists"}