action #160715
closedcoordination #127031: [saga][epic] openQA for SUSE customers
coordination #127028: [epic] openQA on SLE+packagehub
Error message in obs-check-package-origin size:S
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¶
Updated by livdywan 7 months ago
- Related to action #132236: Current openQA+os-autoinst+dependencies updated in SLE+packagehub size:M added
Updated by livdywan 4 months ago
- 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
).
Updated by livdywan 4 months ago
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
Updated by livdywan 4 months ago
- 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.
Updated by jbaier_cz 4 months ago
- 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
Updated by jbaier_cz 4 months ago
the fix should be just https://github.com/os-autoinst/scripts/pull/340
Updated by openqa_review 4 months ago
- Due date set to 2024-08-30
Setting due date based on mean cycle time of SUSE QE Tools
Updated by jbaier_cz 4 months ago
Problem fixed, latest run is without errors/warnings.