Bug 1177506 - [Migration][Build 209.2] openQA test fails in register_system - http://download.opensuse.org/repositories/SUSE:/SLE-15-SP2 is not existed
Summary: [Migration][Build 209.2] openQA test fails in register_system - http://downl...
Status: CONFIRMED
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: BuildService (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Lubos Kocman
QA Contact: Adrian Schröter
URL: https://openqa.nue.suse.com/tests/479...
Whiteboard:
Keywords: Migration
Depends on:
Blocks:
 
Reported: 2020-10-09 06:47 UTC by Huajian Luo
Modified: 2020-10-22 09:43 UTC (History)
12 users (show)

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


Attachments
yast2log part1 (10.00 MB, application/x-bzip)
2020-10-09 06:52 UTC, Huajian Luo
Details
yast2log part2 (308.41 KB, application/octet-stream)
2020-10-09 06:53 UTC, Huajian Luo
Details
register system error (30.36 KB, image/png)
2020-10-19 09:15 UTC, Huajian Luo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Huajian Luo 2020-10-09 06:47:04 UTC
## Observation

openQA test in scenario sle-15-SP2-Migration-from-Leap-15.2-to-SLE15-SP2-x86_64-online_leap15_jump_scc_gnome_def_full_y@64bit_cirrus fails in
[register_system](https://openqa.nue.suse.com/tests/4799417/modules/register_system/steps/7)

## Test suite description
Migration from leap15.2.1 
 Jump to SLE15SP3 with yast UI
HDD_1=opensuse-Jump:15.2-x86_64-latest-gnome@64bit.qcow2


## Reproducible

Fails since (at least) Build [209.2](https://openqa.nue.suse.com/tests/4746213)


## Expected result

Last good: (unknown) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.nue.suse.com/tests/latest?arch=x86_64&distri=sle&flavor=Migration-from-Leap-15.2-to-SLE15-SP2&machine=64bit_cirrus&test=online_leap15_jump_scc_gnome_def_full_y&version=15-SP2)
Comment 1 Huajian Luo 2020-10-09 06:52:43 UTC
Created attachment 842448 [details]
yast2log part1
Comment 2 Huajian Luo 2020-10-09 06:53:12 UTC
Created attachment 842449 [details]
yast2log part2
Comment 3 Huajian Luo 2020-10-09 06:54:33 UTC
I've uploaed the log files with split, you can merge them with 'cat *part1 *part2 > register_system-y2logs.tar.bz2'
Comment 4 Lubos Kocman 2020-10-12 10:11:42 UTC
Seems like there is an issue with SUSE:SLE repos on the OBS side correct?



openSUSE_Jump_15.2.1_x86_64:SLE-15-SP2-Updates:

http://dowload.opensuse.org/repositories/SUSE:/SLE-15-SP2:/Update/standard

this repo path seems to be missing
Comment 5 Huajian Luo 2020-10-12 10:13:57 UTC
We found that the directory was not existed.
Comment 6 Adrian Schröter 2020-10-12 11:26:12 UTC
SLE content is published as 

http://download.opensuse.org/update/jump/15.2/sle/

download.o.o admins could configure a redirect though.

However, this is "pool" repo, not "standard".
Comment 7 Lubos Kocman 2020-10-12 11:56:30 UTC
https://progress.opensuse.org/issues/73237 admin ticket
Comment 8 Ladislav Slezák 2020-10-12 13:11:30 UTC
Moving to the opensuse.org component...

(Note: Alternatively the SCC data could be changed to point to the URL above. I'm not sure what is a better solution...)
Comment 9 Lubos Kocman 2020-10-12 15:11:34 UTC
From Hernan/SCC:

the "missing" repo is in SCC, and SCC got the list of repos from OBS
https://scc.suse.com/admin/products/2206

I guess then that the OBS API is listing a non-existent repo




So seems we have to fix data returned by OBS first.
Comment 10 Lubos Kocman 2020-10-13 11:47:16 UTC
Adrian do we have a use for this pool repository? Or should we remove it from the api?

Thank you
Comment 11 Adrian Schröter 2020-10-13 13:06:25 UTC
the pool repo is used for the sle updates. It is one out of three update repos we need. All of them are available below:

  http://download.opensuse.org/update/jump/15.2/

oss_debug will get moved to /debug most likely
Comment 12 Max Lin 2020-10-14 07:35:00 UTC
If I understand this correct, the repo openSUSE_Jump_15.2.1_x86_64:SLE-15-SP2-Updates: http://download.opensuse.org/repositories/SUSE:/SLE-15-SP2:/Update/standard was added by scc after the system registration, however the URL is wrong, according to the previous Leap migration, new repos should point to updates.suse.com, eg.

 8 | SUSE_Linux_Enterprise_Server_15_x86_64:SLE-Product-SLES15-Pool              | SLE-Product-SLES15-Pool                   | Yes     | (r ) Yes  | No      |   99     | rpm-md | https://updates.suse.com/SUSE/Products/SLE-Product-SLES/15/xxxxxxxx     | SUSE_Linux_Enterprise_Server_15_x86_64

and its friends sources/debuginfo, etc. Therefore I think neither http://download.opensuse.org/repositories/SUSE:/SLE-15-SP2:/Update/standard nor http://download.opensuse.org/update/jump/15.2/(it's about updates content, not for migrate to SLE) is needed to be there for migration, no, they shouldn't, and any d.o.o repos should be disabled during migration and be removed after migration, that is also our official upgrade document noted[1].

IMO the question is why do SLE repos(point to https://updates.suse.com) aren't added but wrong repo was, and we have to fix that.

[1] https://documentation.suse.com/sles/15-SP1/single-html/SLES-upgrade/#sec-upgrade-online-opensuse-to-sle
Comment 13 Lubos Kocman 2020-10-19 09:06:17 UTC
Hello team,

Max told me that he removed this repository from product file as he believes it's not required. 
https://api.opensuse.org/public/source/openSUSE:Jump:15.2/000product?view=products&product=Leap

Can you please re-test the issue on latest build 98.1?

Thank you
Comment 14 Huajian Luo 2020-10-19 09:10:02 UTC
Ok, we'll test and let you know the result once it done. thanks
Comment 15 Huajian Luo 2020-10-19 09:13:49 UTC
I've just checked the results and that failure still there.
https://openqa.nue.suse.com/tests/4850093#step/register_system/13, would you please take a look again. thanks
Comment 16 Huajian Luo 2020-10-19 09:15:04 UTC
Created attachment 842780 [details]
register system error
Comment 17 Lubos Kocman 2020-10-19 11:18:00 UTC
I did reach out to SCC team as we believe that the changes to avoid this issue from product-file / obs api point of view should be fixed.

https://api.opensuse.org/public/source/openSUSE:Jump:15.2/000product?view=products&product=Leap (has no SUSE:SLE-15-SP2 reference)
Comment 18 Huajian Luo 2020-10-22 09:43:59 UTC
Hi Lubos,

We've just checked the jump 99.1 build and found this issue is fixed. and all 
cases passed the register_system module. like the following case

https://openqa.nue.suse.com/tests/4870826

thanks

Huajian.Luo