[MDEV-27011] MariaDB 10.6.5 OpenSUSE 15 repository has invalid updateinfo.xml Created: 2021-11-09  Updated: 2021-11-15  Resolved: 2021-11-15

Status: Closed
Project: MariaDB Server
Component/s: Platform SUSE
Affects Version/s: 10.6.5
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Daniel Bartholomew Assignee: Daniel Bartholomew
Resolution: Fixed Votes: 0
Labels: None


 Description   

From customer:

https://yum.mariadb.org/10.6/opensuse/15/x86_64/repodata/8ec86480a2f34db7a7a29ac458dedb6c6db14ff5fd01b40b942ece7447047a35-updateinfo.xml.gz

is not valid xml. Seems to be missing the top elements. Bad release yesterday?

zypper's error during refresh for reference.
Error building the cache:
[|] Failed to cache repo (1).
History:

'repo2solv' '-o' '/var/cache/zypp/solv/mariadb/solv' '-X' '/var/cache/zypp/raw/mariadb'

/var/cache/zypp/raw/mariadb/repodata/8ec86480a2f34db7a7a29ac458dedb6c6db14ff5fd01b40b942ece7447047a35-updateinfo.xml.gz: repo_updateinfoxml: Extra content at the end of the document
at line 5:9



 Comments   
Comment by Daniel Bartholomew [ 2021-11-09 ]

I just took a look at the 10.6.5 and 10.5.13 and 10.4.22 opensuse 15 repositories from yesterday’s releases and thankfully only 10.6 looks like it is affected.

The same script was used to generate all of the updateinfo.xml.gz files, so something must have happened when it was run for 10.6.5 on opensuse.

To start with I’ll try re-generating it and see if that fixes things.

I'll also check our other zyyper and dnf repositories to see if the problem is just with the OpenSUSE repo, or if it is more widespread.

Comment by Daniel Bartholomew [ 2021-11-09 ]

Did a check of some of the other updateinfo.xml files in the releases from yesterday. Looks like more than just openSUSE are affected. To be safe I'm going to regenerate all of them.

I'll also add a xml validation check during repository prep to make sure the file is valid and throw an error if not so that this doesn't happen in the future.

Comment by Daniel Bartholomew [ 2021-11-10 ]

updateinfo.xml files have all been regenerated and uploaded.

Generated at Thu Feb 08 09:49:39 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.