stress/cpu_stress_ng_test stuck on specific machines

Bug #1905813 reported by Kevin Yeh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
Medium
Sylvain Pineau

Bug Description

When running xenial OEM SRU testing, 3 Lenovo and 1 Dell laptop always stuck on stress/cpu_stress_ng_test.

I ran this test case manually through checkbox-cli, still got same result.

I ran stress_ng with same options and parameters directly, it didn't stuck.

So maybe can take sometime to look this issue.

Those machines only run xenial OEM image, they aren't provisionable.

The CID of them are follwoing:
201702-25425, 201704-25492, 201702-25372, 201802-26110.

Revision history for this message
Kevin Yeh (kevinyeh) wrote :
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

This test case was originally written for server testing w/o a time constraint. We should pass an option to stress-ng to keep the execution time to a reasonable value for sru testing.

QA team also reported this problem, pretty sure there's a proposal to add a config option to the p-p-c provider.

Changed in plainbox-provider-checkbox:
status: New → Triaged
Revision history for this message
Jeff Lane  (bladernr) wrote :

Just for clarity, this is already defined in the job description for stress/cpu_stress_ng_test

command:
  if [ -n "$STRESS_NG_CPU_TIME" ]
  then
    echo "Found STRESS_NG_CPU_TIME env var, stress_ng cpu running time is now: $STRESS_NG_CPU_TIME seconds"
    systemd-inhibit stress_ng_test.py cpu --base-time "$STRESS_NG_CPU_TIME"

So as Sylvain suggested, passing an environment variable called STRESS_NG_CPU_TIME set as seconds will alter the default runtime.

hint:
export STRESS_NG_CPU_TIME=600

Revision history for this message
Jeff Lane  (bladernr) wrote :

Also, I did notice that environ: was missing from the job description, so I added it so that a proper environment variable will be honored.

Revision history for this message
Jeff Lane  (bladernr) wrote :

Also, here's the original bug that may not even touch what I was talking about anyway, so feel free to ignore me :D

https://bugs.launchpad.net/plainbox-provider-checkbox/+bug/1815867

Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

Thanks for the fix Jeff!

Changed in plainbox-provider-checkbox:
milestone: none → 0.56.0
status: Triaged → In Progress
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.