GithubHelp home page GithubHelp logo

alexei-led / stress-ng Goto Github PK

View Code? Open in Web Editor NEW
20.0 2.0 12.0 15 KB

Scratch image with statically linked stress-ng tool

License: Apache License 2.0

Dockerfile 100.00%
stress-ng stress-testing docker scrartch

stress-ng's Introduction

stress-ng's People

Contributors

alexei-led avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

stress-ng's Issues

dockhack is too old, the cgroup issue will be caused

Please see the detail information below
[root@lb1 pod-io-stress]# oc logs -f pod-io-stress-mqitvptime="2022-04-14T11:35:06Z" level=debug msg="stress testing all matching containers"time="2022-04-14T11:35:06Z" level=debug msg="listing matching containers" duration=2m0s labels="[io.kubernetes.pod.name=nginx-5757bffb5c-ff54r]" limit=0 names="[]" pattern= random=false stressors="[--cpu 1 --io 4 --hdd 4 --hdd-bytes 10% --timeout 120s]"time="2022-04-14T11:35:06Z" level=debug msg="listing containers"time="2022-04-14T11:35:06Z" level=debug msg="found container" id=f75e07d5d5a86158d0c30d8f6532bb564b76445466a05428dea78d4122328f68 name=/k8s_openshift-nginx_nginx-5757bffb5c-ff54r_default_458d861c-9f90-11ec-a812-0050569d5f39_2time="2022-04-14T11:35:06Z" level=debug msg="found container" id=634d33f2b2eb2a5c76c6444eb0a2041b991ae099e86f734f1f043cc551b8ce7f name=/k8s_POD_nginx-5757bffb5c-ff54r_default_458d861c-9f90-11ec-a812-0050569d5f39_2time="2022-04-14T11:35:06Z" level=debug msg="stress testing container for duration" container=634d33f2b2eb2a5c76c6444eb0a2041b991ae099e86f734f1f043cc551b8ce7f duration=2m0s pull image=true stress-ng image="alexeiled/stress-ng:latest-ubuntu" stressors="[--cpu 1 --io 4 --hdd 4 --hdd-bytes 10% --timeout 120s]"time="2022-04-14T11:35:06Z" level=info msg="stress testing container" dryrun=false duration=2m0s id=634d33f2b2eb2a5c76c6444eb0a2041b991ae099e86f734f1f043cc551b8ce7f image="alexeiled/stress-ng:latest-ubuntu" name=/k8s_POD_nginx-5757bffb5c-ff54r_default_458d861c-9f90-11ec-a812-0050569d5f39_2 pull=true stressors="[--cpu 1 --io 4 --hdd 4 --hdd-bytes 10% --timeout 120s]"time="2022-04-14T11:35:06Z" level=debug msg="executing stress-ng command" image="alexeiled/stress-ng:latest-ubuntu" pull=true stressors="[--cpu 1 --io 4 --hdd 4 --hdd-bytes 10% --timeout 120s]" target=634d33f2b2eb2a5c76c6444eb0a2041b991ae099e86f734f1f043cc551b8ce7ftime="2022-04-14T11:35:06Z" level=debug msg="pulling stress-ng image" image="alexeiled/stress-ng:latest-ubuntu"time="2022-04-14T11:35:06Z" level=debug msg="stress testing container for duration" container=f75e07d5d5a86158d0c30d8f6532bb564b76445466a05428dea78d4122328f68 duration=2m0s pull image=true stress-ng image="alexeiled/stress-ng:latest-ubuntu" stressors="[--cpu 1 --io 4 --hdd 4 --hdd-bytes 10% --timeout 120s]"time="2022-04-14T11:35:06Z" level=info msg="stress testing container" dryrun=false duration=2m0s id=f75e07d5d5a86158d0c30d8f6532bb564b76445466a05428dea78d4122328f68 image="alexeiled/stress-ng:latest-ubuntu" name=/k8s_openshift-nginx_nginx-5757bffb5c-ff54r_default_458d861c-9f90-11ec-a812-0050569d5f39_2 pull=true stressors="[--cpu 1 --io 4 --hdd 4 --hdd-bytes 10% --timeout 120s]"time="2022-04-14T11:35:06Z" level=debug msg="executing stress-ng command" image="alexeiled/stress-ng:latest-ubuntu" pull=true stressors="[--cpu 1 --io 4 --hdd 4 --hdd-bytes 10% --timeout 120s]" target=f75e07d5d5a86158d0c30d8f6532bb564b76445466a05428dea78d4122328f68time="2022-04-14T11:35:06Z" level=debug msg="pulling stress-ng image" image="alexeiled/stress-ng:latest-ubuntu"time="2022-04-14T11:35:06Z" level=debug msg="&{Trying to pull repository registry.ocp.example.com:5000/alexeiled/stress-ng ...    {0 0}}"time="2022-04-14T11:35:06Z" level=debug msg="&{Trying to pull repository registry.ocp.example.com:5000/alexeiled/stress-ng ...    {0 0}}"time="2022-04-14T11:35:06Z" level=debug msg="&{Pulling repository registry.ocp.example.com:5000/alexeiled/stress-ng   {0 0}}"time="2022-04-14T11:35:06Z" level=debug msg="&{Pulling repository registry.ocp.example.com:5000/alexeiled/stress-ng   {0 0}}"time="2022-04-14T11:35:06Z" level=debug msg="&{Trying to pull repository registry.redhat.io/alexeiled/stress-ng ...    {0 0}}"time="2022-04-14T11:35:06Z" level=debug msg="&{Trying to pull repository registry.redhat.io/alexeiled/stress-ng ...    {0 0}}"time="2022-04-14T11:35:09Z" level=debug msg="&{Trying to pull repository docker.io/alexeiled/stress-ng ...    {0 0}}"time="2022-04-14T11:35:11Z" level=debug msg="&{Pulling from docker.io/alexeiled/stress-ng   {0 0}}"time="2022-04-14T11:35:11Z" level=debug msg="&{Digest: sha256:6c2f6a6997aeb0dc7f7299e556f67cbb7ca1b40398ef32bbeea50b90fc020ae3   {0 0}}"time="2022-04-14T11:35:11Z" level=debug msg="&{Status: Image is up to date for docker.io/alexeiled/stress-ng:latest-ubuntu   {0 0}}"time="2022-04-14T11:35:11Z" level=debug msg="creating stress-ng container" image="alexeiled/stress-ng:latest-ubuntu"time="2022-04-14T11:35:11Z" level=debug msg="stress-ng container created, starting it" id=bb5e748ab7547e10d8fb2f63b71dbd4bea6ef1bbad137c07d0f01e6c5b99f268time="2022-04-14T11:35:12Z" level=debug msg="&{Trying to pull repository docker.io/alexeiled/stress-ng ...    {0 0}}"time="2022-04-14T11:35:15Z" level=debug msg="&{Pulling from docker.io/alexeiled/stress-ng   {0 0}}"time="2022-04-14T11:35:15Z" level=debug msg="&{Digest: sha256:6c2f6a6997aeb0dc7f7299e556f67cbb7ca1b40398ef32bbeea50b90fc020ae3   {0 0}}"time="2022-04-14T11:35:15Z" level=debug msg="&{Status: Image is up to date for docker.io/alexeiled/stress-ng:latest-ubuntu   {0 0}}"time="2022-04-14T11:35:15Z" level=debug msg="creating stress-ng container" image="alexeiled/stress-ng:latest-ubuntu"time="2022-04-14T11:35:15Z" level=debug msg="stress-ng container created, starting it" id=074e25ea46eab57564c97267b40b486f49194c1276a1b56cc7502746a2a62e57time="2022-04-14T11:35:16Z" level=fatal msg="one or more stress test failed: stress-ng failed with error: stress-ng exited with error: \x01\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x1ecgroup change of group failed\n"

stress-ng: error: [1] No stress workers

After I pull the image and run the container, the container shuts off its own giving a message which says, "stress-ng: error: [1] No stress workers". Any idea, why this occurs and how to tackle this one?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.