action #160715
closed
Added by tinita 7 months ago.
Updated 4 months ago.
Category:
Regressions/Crashes
Description
Observation¶
I found an error in the workflow run of obs-check-package-origin:
https://github.com/os-autoinst/scripts/actions/runs/9137209267/job/25126925187#step:6:967
Getting version from spec file for 'openSUSE:Backports:SLE-15-SP5:Update/perl-Mojo-SQLite'
Getting Tumbleweed version for 'perl-Mojo-SQLite'
Getting version from spec file for 'using'
Wrong number of arguments.
Getting Tumbleweed version for 'using'
Getting version from spec file for 'sources'
Wrong number of arguments.
Getting Tumbleweed version for 'sources'
Getting version from spec file for 'from'
Wrong number of arguments.
Getting Tumbleweed version for 'from'
Getting version from spec file for 'openSUSE:Maintenance:18029/perl-Mojo-SQLite.openSUSE_Backports_SLE-15-SP5_Update'
Server returned an error: HTTP Error 404: perl-Mojo-SQLite.openSUSE_Backports_SLE-15-SP5_Update.spec no such file
perl-Mojo-SQLite.openSUSE_Backports_SLE-15-SP5_Update.spec: no such file
Getting Tumbleweed version for 'perl-Mojo-SQLite.openSUSE_Backports_SLE-15-SP5_Update'
978
Getting version from spec file for 'openSUSE:Backports:SLE-15-SP5:Update/perl-Mojolicious'
The "Wrong number of arguments" error is happening consistetly, and it looks like it's processing a sentence like "using sources from ..." as package names.
Acceptance criteria¶
- AC1: No more "Wrong number of arguments" error
Suggestions¶
- Related to action #132236: Current openQA+os-autoinst+dependencies updated in SLE+packagehub size:M added
- Target version set to future
- Target version changed from future to Ready
- Parent task set to #127028
- Target version changed from Ready to Tools - Next
- Target version changed from Tools - Next to Ready
- Subject changed from Error message in obs-check-package-origin to Error message in obs-check-package-origin size:S
- Description updated (diff)
- Status changed from New to Workable
- Status changed from Workable to In Progress
- Assignee set to livdywan
Reproducer:
DEBUG=1 ./obs-check-package-origin openSUSE:Ba
ckports:SLE-15-SP5:Update/perl-Mojo-SQLite
Getting build requirements from 'openSUSE:Backports:SLE-15-SP5:Update/perl-Mojo-S
QLite.spec'
Wrong number of arguments.
This is much quicker than running the full command (DEBUG=1 ./obs-check-package-origin os-autoinst
).
- Status changed from In Progress to Workable
- Assignee deleted (
livdywan)
livdywan wrote in #note-8:
Not sure I'm running it correctly, hence pushing my WIP with error handling without the fix https://github.com/os-autoinst/scripts/pull/339
Well, that was somewhat pointless since the workflow is only run on a schedule 🙄
I can't reproduce it locally or otherwise so I guess for now I'm putting it back in the queue.
- Assignee set to jbaier_cz
- Status changed from Workable to In Progress
I managed to find the problematic entry which returns the unexpected:
# osc sm perl-Mojo-SQLite
openSUSE:Backports:SLE-15-SP5:Update/perl-Mojo-SQLite using sources from openSUSE:Maintenance:18029/perl-Mojo-SQLite.openSUSE_Backports_SLE-15-SP5_Update
openSUSE:Backports:SLE-15-SP6:Update/perl-Mojo-SQLite
- Due date set to 2024-08-30
Setting due date based on mean cycle time of SUSE QE Tools
Problem fixed, latest run is without errors/warnings.
- Due date deleted (
2024-08-30)
- Status changed from In Progress to Resolved
Also available in: Atom
PDF