Project

General

Profile

Actions

action #138491

closed

tests fail in retry despite having successfully executed relevant commands such as git clone size:M

Added by livdywan 7 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
2023-10-23
Due date:
2023-12-06
% Done:

0%

Estimated time:

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


Related issues 1 (0 open1 closed)

Copied from openQA Infrastructure - action #138320: test fail hook in openqa_webui is failing: script/opencli api jobs - Can't locate Mojo::Base in @INCRejectedokurz2023-10-23

Actions
Actions #1

Updated by livdywan 7 months 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
Actions #2

Updated by okurz 7 months ago

  • Description updated (diff)
Actions #3

Updated by okurz 7 months ago

  • Project changed from openQA Project to QA
Actions #4

Updated by livdywan 6 months ago

  • Description updated (diff)
Actions #5

Updated by osukup 6 months ago

  • Assignee set to osukup

I'll take look

Actions #6

Updated by osukup 6 months ago

  • Status changed from Workable to In Progress

so problem is count check at the end of script ?

Actions #8

Updated by okurz 6 months ago

  • Due date set to 2023-12-06
  • Status changed from In Progress to Feedback
Actions #9

Updated by tinita 6 months ago

Actions #10

Updated by osukup 6 months 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 ..

Actions #12

Updated by okurz 6 months 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"

-> https://build.opensuse.org/request/show/1128634

Actions #13

Updated by osukup 5 months ago

  • Status changed from In Progress to Resolved

package was updated in last snapshot -- all done

Actions

Also available in: Atom PDF