action #138491
closedtests fail in retry despite having successfully executed relevant commands such as git clone size:M
0%
Description
Observation¶
openQA test in scenario openqa-Tumbleweed-dev-x86_64-openqa_from_git@64bit-2G fails in
openqa_webui
# script/opencli api jobs
wCan't locate Mojo::Base in @INC
Seemingly this fails in Mojo deps. More accurately the failure hook should not have been triggered in the first place.
See https://openqa.opensuse.org/tests/3664877#step/openqa_webui/26
Steps to reproduce¶
retry -r 0 true
but maybe that's a bit too synthetic. Instead try
bash -ex $(which retry) -e -r 1 -s 0 ~/bin/test/fail-once-every-third-call
Expected result¶
Last good: :TW.23841 (or more recent)
Suggestions¶
- Clone https://github.com/okurz/retry
- Run tests, extend tests, fix code, create PR
- Ensure the retry package is updated in Factory, wait for Tumbleweed to have the package
- Ensure the retry package in os-autoinst-distri-openQA has it
- Submit a new package if needed
Further details¶
Always latest result in this scenario: latest
Updated by livdywan over 1 year ago
- Copied from action #138320: test fail hook in openqa_webui is failing: script/opencli api jobs - Can't locate Mojo::Base in @INC added
Updated by okurz over 1 year ago
- Project changed from openQA Project (public) to QA (public)
Updated by osukup over 1 year ago
- Status changed from Workable to In Progress
so problem is count check at the end of script ?
Updated by okurz over 1 year ago
- Due date set to 2023-12-06
- Status changed from In Progress to Feedback
Updated by tinita over 1 year ago
The PR doesn't fix the problem:
https://github.com/okurz/retry/pull/2#issuecomment-1823610803
Updated by osukup over 1 year ago
- Status changed from Feedback to In Progress
oh. now problem is caused by evaluation in until
construct so ret=$?
isn't executed and then is evaluated last known $ret
..
Updated by okurz over 1 year ago
also merged
osc rm retry-1700678141.fbcdfe5.obscpio && osc add retry-1700850441.829db9e.obscpio && osc up && osc ci -m "Update to 1700850441.829db9e" && osc sr -m "Update to 1700850441.829db9e"
Updated by osukup over 1 year ago
- Status changed from In Progress to Resolved
package was updated in last snapshot -- all done