{"id":36532713,"url":"https://github.com/kunalkushwaha/ctr-powertest","last_synced_at":"2026-01-12T03:03:04.273Z","repository":{"id":57581706,"uuid":"100376388","full_name":"kunalkushwaha/ctr-powertest","owner":"kunalkushwaha","description":"container runtime testsuite","archived":false,"fork":false,"pushed_at":"2018-06-04T02:10:14.000Z","size":7983,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-20T12:37:56.921Z","etag":null,"topics":["containerd","containers","cri","crio","testing-tools"],"latest_commit_sha":null,"homepage":"","language":"Go","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/kunalkushwaha.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":"2017-08-15T12:45:20.000Z","updated_at":"2024-02-07T01:17:47.000Z","dependencies_parsed_at":"2022-09-26T19:31:24.598Z","dependency_job_id":null,"html_url":"https://github.com/kunalkushwaha/ctr-powertest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kunalkushwaha/ctr-powertest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunalkushwaha%2Fctr-powertest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunalkushwaha%2Fctr-powertest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunalkushwaha%2Fctr-powertest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunalkushwaha%2Fctr-powertest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kunalkushwaha","download_url":"https://codeload.github.com/kunalkushwaha/ctr-powertest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kunalkushwaha%2Fctr-powertest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28332848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"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":["containerd","containers","cri","crio","testing-tools"],"created_at":"2026-01-12T03:03:03.629Z","updated_at":"2026-01-12T03:03:04.268Z","avatar_url":"https://github.com/kunalkushwaha.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"ctr-powertest - _Container runtime test tool_\n--------------\n\nEasy and extensible tool for any OCI supported container runtime.\n\nUseful to run same testcases on supported runtimes.\n\nCurrently supports \n- [containerd](https://github.com/containerd/containerd) \n    - Status : WIP\n      - ``Containerd`` support is 80% completed.\n- [k8s CRI](http://blog.kubernetes.io/2016/12/container-runtime-interface-cri-in-kubernetes.html)\n    - Any runtime that implementes Kubernetes Container Runtime Interface\n    - __Tested for cri-containerd \u0026 cri-o__\n    - Status : WIP\n      - ``CRI`` support is 60% completed.\n\nUsage:\n\n`` ctr-powertest -p \u003cprotocol\u003e [-r \u003cruntime\u003e] \u003ctest-cases\u003e [flags] [args]``\n\nUsage Example:\n\n`` ctr-powertest -p cri -r cri-containerd stress -t image-pull``\n\n\nExamples\n```\n$ sudo ./ctr-powertest -p containerd basic\nINFO[0000] Running tests on containerd v1.0.0-beta.1-23-g70b353d.m\nINFO[0000] TestPullContainerImage..\nINFO[0000] OK..\nINFO[0000] TestCreateContainers..\nINFO[0000] OK..\nINFO[0000] TestCreateRunningContainers..\nINFO[0000] OK..\nINFO[0000] TestCreateRunningNWaitContainers..\nINFO[0006] OK..\n\n\n$ sudo ./ctr-powertest -p cri -r cri-containerd basic\nINFO[0000] Running tests on \u0026VersionResponse{Version:0.1.0,RuntimeName:cri-containerd,RuntimeVersion:1.0.0-alpha.0-35-gd50c610-dirty,RuntimeApiVersion:0.0.0,}\nINFO[0000] TestPullContainerImage..\nINFO[0003] OK..\nINFO[0003] TestCreateContainers..\nINFO[0006] OK..\nINFO[0006] TestCreateRunningContainers..\nINFO[0008] OK..\nINFO[0008] TestCreateRunningNWaitContainers..\nINFO[0011] OK..\n```\n\nUsage:\n\n```\n$ sudo ./ctr-powertest --help\ncontainer runtime testing tool\n\nUsage:\n  ctr-powertest [flags]\n  ctr-powertest [command]\n\nAvailable Commands:\n  basic       runs basic tests\n  profile     profile container operations.\n  stress      Run container tests in parallel (Stress Test)\n\nFlags:\n  -d, --debug            debug mode\n  -p, --proto string     Protocol [ containerd, cri ] (default \"containerd\")\n  -r, --runtime string   CRI-Runtime [ cri-containerd, crio ] (default \"cri-containerd\")\n\n```\n\n#### Performace:\n\n##### Running performance test\n\nPerformace test can be directly run on system by running following commands\n\n _it build and run ``crio`` \u0026 ``cri-containerd`` in docker container_\n  _(original idea [cri-containerd-flame](https://github.com/cpuguy83/cri-containerd-flame))_\n```\nmake crio\nmake cri-containerd\n```\n\n\n![Perfomance](Performance.jpg)\n* _All using same runc version_\n\n\n#### Important TODO:\n- Implement ``Exec`` interface for CRI and containerd.\n- Implement ``Wait`` \u0026 ``Kill`` for CRI\n\n\n\nContribution , Feedback and reviews are welcome :).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkunalkushwaha%2Fctr-powertest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkunalkushwaha%2Fctr-powertest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkunalkushwaha%2Fctr-powertest/lists"}