Problem sync repo between Foreman to Artifactory: Parsing interrupted: Out of order metadata

Hello everyone,

The changelog of the RPMs contains emojis, and Artifactory doesn’t like that.

2025-02-03T10:54:38.540Z [jfrt ] [WARN ] [205f81c8d38d3588] [o.j.m.e.m.RpmMetadata:191     ] [8d38d3588|art-exec-4] - Package fonts-filesystem-2.0.5 XML stream has invalid xml characters in the line : '- 3.0.3-1                        
🐞 Fix bugs in the 3.0.2 refactoring                                                                                                                                                                                                       
- 3.0.2-1                                                                                                                                                                                                                                  
🐞 Workaround Fedora problems created by rpm commit 93604e2                                                                                                                                                                                
   harder'                                                                                                                                                                                                                                 
2025-02-03T10:54:38.544Z [jfrt ] [WARN ] [205f81c8d38d3588] [o.j.m.e.m.RpmMetadata:191     ] [8d38d3588|art-exec-4] - Package dejavu-sans-fonts-2.37 XML stream has invalid xml characters in the line : '- 2.37-13                        
🐞 Workaround Fedora problems created by rpm commit 93604e2'                                                                                                                                                                               
2025-02-03T10:54:38.548Z [jfrt ] [WARN ] [205f81c8d38d3588] [o.j.m.e.m.RpmMetadata:191     ] [8d38d3588|art-exec-4] - Package google-droid-sans-fonts-20200215 XML stream has invalid xml characters in the line : '- 20200215-6           
🐞 Workaround Fedora problems created by rpm commit 93604e2'

The security level we have configured in Artifactory is very strict.

The solution is to set the variable artifactory.yum.xml.printer.mode=-1, but that comes with other side effects that our Artifactory team is currently analyzing.

Regards.
Luis Rubio

2 Likes