action #21798
closed[functional]test fails in force_cron_run, idle threshold to high
0%
Description
Observation¶
openQA test in scenario opensuse-Tumbleweed-DVD-aarch64-minimalx@aarch64 fails in
force_cron_run
opensuse-Tumbleweed-DVD-x86_64-Build20170804-minimalx@64bit
https://openqa.opensuse.org/tests/462010#step/force_cron_run/7
Test/needle only matches for "average load: 0.0?", which is only reached after ~95 seconds on both aarch64 and x86_64, while the load after 30 seconds is ~0.3x in both cases.
Reproducible¶
Fails since (at least) Build 20170804 (current job)
Expected result¶
Last good: 20170802 (or more recent)
Further details¶
Always latest result in this scenario: latest
Updated by StefanBruens over 7 years ago
Flexible load detection without needle dependency:
limit=0.1; while true; do read load dummy < /proc/loadavg ; idle=`echo "$load < $limit" | bc -l` ; echo $load $idle ; test $idle = 1 && break ; sleep 1 ; done
Updated by okurz about 7 years ago
- Related to action #25554: [functional][bsc#1063638][u] soft fail in force_cron_run is too strict added
Updated by okurz about 7 years ago
- Subject changed from test fails in force_cron_run, idle threshold to high to [functional]test fails in force_cron_run, idle threshold to high
- Assignee set to coolo
@coolo do you think we should apply the suggestion in #21798#note-1 instead of a needle check?
Updated by coolo about 7 years ago
this way we loose the nice top in the video to see what is going on in the 30-90 seconds. But we can integrate top in the loop as
limit=0.1; while true; do read load dummy < /proc/loadavg ; idle=`echo "$load < $limit" | bc -l` ; top -n1 -b| head -n30 ; test $idle = 1 && break ; sleep 1 ; done
Updated by coolo about 7 years ago
- Status changed from New to Resolved
bc is not installed by default - but we can integer comparision: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/4010