Project

General

Profile

action #160715

Updated by livdywan 8 days ago

## 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 
 * https://github.com/os-autoinst/scripts/blob/master/obs-check-package-origin

Back