Project

General

Profile

Actions

action #160715

closed

coordination #127031: [saga][epic] openQA for SUSE customers

coordination #127028: [epic] openQA on SLE+packagehub

Error message in obs-check-package-origin size:S

Added by tinita 6 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2024-05-22
Due date:
% Done:

0%

Estimated time:

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 issues 1 (0 open1 closed)

Related to openQA Project - action #132236: Current openQA+os-autoinst+dependencies updated in SLE+packagehub size:M Closeddheidler2023-04-26

Actions
Actions #1

Updated by livdywan 6 months ago

  • Related to action #132236: Current openQA+os-autoinst+dependencies updated in SLE+packagehub size:M added
Actions #2

Updated by tinita 6 months ago

  • Target version set to future
Actions #3

Updated by okurz 6 months ago

  • Target version changed from future to Ready
  • Parent task set to #127028
Actions #4

Updated by okurz 6 months ago

  • Target version changed from Ready to Tools - Next
Actions #5

Updated by okurz 3 months ago

  • Target version changed from Tools - Next to Ready
Actions #6

Updated by livdywan 3 months ago

  • 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
Actions #7

Updated by livdywan 3 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).

Actions #8

Updated by livdywan 3 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

Actions #9

Updated by livdywan 3 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.

Actions #10

Updated by jbaier_cz 3 months ago

  • Assignee set to jbaier_cz
Actions #11

Updated by jbaier_cz 3 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
Actions #12

Updated by jbaier_cz 3 months ago

Actions #13

Updated by openqa_review 3 months ago

  • Due date set to 2024-08-30

Setting due date based on mean cycle time of SUSE QE Tools

Actions #14

Updated by jbaier_cz 3 months ago

Problem fixed, latest run is without errors/warnings.

Actions #15

Updated by jbaier_cz 3 months ago

  • Due date deleted (2024-08-30)
  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF