Bug 1134554 - yast2 online update fails with wrong 'No update repository configured yet' message
Summary: yast2 online update fails with wrong 'No update repository configured yet' me...
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Maintenance (show other bugs)
Version: Leap 15.1
Hardware: aarch64 Other
: P2 - High : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL: https://openqa.opensuse.org/tests/928...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-09 08:30 UTC by Guillaume GARDET
Modified: 2019-09-11 09:21 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume GARDET 2019-05-09 08:30:47 UTC
## Observation

openQA test in scenario opensuse-15.1-DVD-aarch64-yast2_gui@aarch64 fails in
[yast2_control_center](https://openqa.opensuse.org/tests/928646/modules/yast2_control_center/steps/30)

## Test suite description
Maintainer: zluo, riafarov

Test for yast2 UI, GUI only. Running on created gnome images which provides both text console for ncurses UI tests as well as the gnome environment for the GUI tests.

Temporarily added YAST2_GUI_TERMINATE_PREVIOUS_INSTANCES to see if helps. This variable triggers code which terminates all yast2 processes before starting new one. (see poo#26104).


## Reproducible

Fails since (at least) Build [457.7](https://openqa.opensuse.org/tests/928438)


## Expected result

Last good: [457.6](https://openqa.opensuse.org/tests/927037) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?machine=aarch64&arch=aarch64&distri=opensuse&version=15.1&test=yast2_gui&flavor=DVD)
Comment 1 Lukas Ocilka 2019-05-09 10:28:01 UTC
Maybe related to $releasever in the URL which !~ update/15.1
Just guessing...
Comment 2 Guillaume GARDET 2019-05-09 11:32:50 UTC
(In reply to Lukas Ocilka from comment #1)
> Maybe related to $releasever in the URL which !~ update/15.1
> Just guessing...

Not sure what you mean, the URL used is 'http://download.opensuse.org/update/leap/15.1/oss/' and it exists.
It is not the right repo for this arch, but even with the right repo for this arch, it fails. 

But it worked previously. And only aarch64 is affected, x86_64 is fine.
Comment 3 Martin Vidner 2019-05-09 11:35:38 UTC
> $releasever
No.

The reason is that there are no patches at all in the repo: https://download.opensuse.org/update/leap/15.1/oss/

And if YaST finds no patches at all, it concludes that no patch repo has been configured.
https://github.com/yast/yast-online-update/blob/5484c4eb85e4969a66f51d93845811385f48efe3/src/clients/online_update.rb#L193

OTOH in https://download.opensuse.org/update/leap/15.1-test/ there are (testing) patches.
Comment 4 Guillaume GARDET 2019-05-09 12:21:27 UTC
(In reply to Martin Vidner from comment #3)
> > $releasever
> No.
> 
> The reason is that there are no patches at all in the repo:
> https://download.opensuse.org/update/leap/15.1/oss/
> 
> And if YaST finds no patches at all, it concludes that no patch repo has
> been configured.
> https://github.com/yast/yast-online-update/blob/
> 5484c4eb85e4969a66f51d93845811385f48efe3/src/clients/online_update.rb#L193
>

But it does work properly on x86_64: https://openqa.opensuse.org/tests/926897#step/yast2_control_center/24
Comment 5 Guillaume GARDET 2019-05-09 12:45:53 UTC
(In reply to Guillaume GARDET from comment #4)
> (In reply to Martin Vidner from comment #3)
> > > $releasever
> > No.
> > 
> > The reason is that there are no patches at all in the repo:
> > https://download.opensuse.org/update/leap/15.1/oss/
> > 
> > And if YaST finds no patches at all, it concludes that no patch repo has
> > been configured.
> > https://github.com/yast/yast-online-update/blob/
> > 5484c4eb85e4969a66f51d93845811385f48efe3/src/clients/online_update.rb#L193
> >
> 
> But it does work properly on x86_64:
> https://openqa.opensuse.org/tests/926897#step/yast2_control_center/24

Maybe related to: https://bugzilla.suse.com/show_bug.cgi?id=1120938 ?
Comment 6 Guillaume GARDET 2019-05-10 11:36:33 UTC
x86_64 is finally affected: https://openqa.opensuse.org/tests/929984#step/yast2_control_center/26

The comment in Comments tab says it is due to patchinfos removed from repo. So, it should be back soon.
Comment 7 Lukas Ocilka 2019-05-10 14:20:23 UTC
Ludwig, we don't plan any changes here. Looks like you already know about the
problem and you can also control the fix. Reassigning to you.
Comment 8 Ludwig Nussel 2019-05-13 08:29:57 UTC
yes, the online update repo is empty currently, updates on the way:
https://build.opensuse.org/request/show/702037
Comment 9 Guillaume GARDET 2019-06-05 08:13:42 UTC
Fixed.