Project

General

Profile

Actions

action #21798

closed

[functional]test fails in force_cron_run, idle threshold to high

Added by StefanBruens over 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Start date:
2017-08-06
Due date:
% Done:

0%

Estimated time:
Difficulty:

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


Related issues 1 (0 open1 closed)

Related to openQA Tests (public) - action #25554: [functional][bsc#1063638][u] soft fail in force_cron_run is too strictResolvedzluo2017-09-252018-05-22

Actions
Actions #1

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
Actions #2

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
Actions #3

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?

Actions #4

Updated by okurz about 7 years ago

  • Target version set to Milestone 15
Actions #5

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
Actions #6

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

Actions

Also available in: Atom PDF