Bugzilla – Bug 1144894
[Build 20190806] autoyast profile doesn't validate
Last modified: 2022-02-04 11:55:41 UTC
Created attachment 813357 [details] xml schema ## Observation Might be related to the issue mentioned in https://bugzilla.opensuse.org/show_bug.cgi?id=1144007 jing reports: /usr/share/YaST2/schema/autoyast/rng/profile.rng:47:45: error: reference to undefined pattern "org.opensuse.yast.Mail" /usr/share/YaST2/schema/autoyast/rng/profile.rng:29:49: error: reference to undefined pattern "org.opensuse.yast.Firewall" /usr/share/YaST2/schema/autoyast/rng/profile.rng:110:50: error: reference to undefined pattern "org.opensuse.yast.Firstboot" /usr/share/YaST2/schema/autoyast/rng/profile.rng:101:46: error: reference to undefined pattern "org.opensuse.yast.Users" /usr/share/YaST2/schema/autoyast/rng/profile.rng:59:50: error: reference to undefined pattern "org.opensuse.yast.NISServer" /usr/share/YaST2/schema/autoyast/rng/profile.rng:129:46: error: reference to undefined pattern "org.opensuse.yast.Kdump" /usr/share/YaST2/schema/autoyast/rng/profile.rng:126:51: error: reference to undefined pattern "org.opensuse.yast.Bootloader" /usr/share/YaST2/schema/autoyast/rng/profile.rng:56:44: error: reference to undefined pattern "org.opensuse.yast.NIS" /usr/share/YaST2/schema/autoyast/rng/profile.rng:92:50: error: reference to undefined pattern "org.opensuse.yast.Sysconfig" /usr/share/YaST2/schema/autoyast/rng/profile.rng:53:50: error: reference to undefined pattern "org.opensuse.yast.NFSServer" /usr/share/YaST2/schema/autoyast/rng/profile.rng:65:66: error: reference to undefined pattern "org.opensuse.yast.OnlineUpdateConfiguration" /usr/share/YaST2/schema/autoyast/rng/profile.rng:123:46: error: reference to undefined pattern "org.opensuse.yast.AddOn" /usr/share/YaST2/schema/autoyast/rng/profile.rng:50:44: error: reference to undefined pattern "org.opensuse.yast.NFS" /usr/share/YaST2/schema/autoyast/rng/profile.rng:83:56: error: reference to undefined pattern "org.opensuse.yast.ServicesManager" /usr/share/YaST2/schema/autoyast/rng/profile.rng:86:46: error: reference to undefined pattern "org.opensuse.yast.Sound" openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-clone_system@64bit fails in [yast2_clone_system](https://openqa.opensuse.org/tests/1000130/modules/yast2_clone_system/steps/32) ## Test suite description Maintainer: okurz@suse.de Clone the system into an autoyast profile to be used by downstream jobs, e.g. to test reinstall from that profile. ## Reproducible Fails since (at least) Build [20190731](https://openqa.opensuse.org/tests/997194) ## Expected result Last good: [20190730](https://openqa.opensuse.org/tests/996249) (or more recent) ## Further details Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD&machine=64bit&test=clone_system&version=Tumbleweed)
Dup of https://bugzilla.opensuse.org/show_bug.cgi?id=1144007 *** This bug has been marked as a duplicate of bug 1144007 ***
(In reply to Dominique Leuenberger from comment #1) > Dup of https://bugzilla.opensuse.org/show_bug.cgi?id=1144007 > > *** This bug has been marked as a duplicate of bug 1144007 *** I'm not sure how is it duplicate if these are two different issues. I leave it to the YaST team to decide how to proceed. Issue described in 1144007 is resolved and this is another one.
https://bugzilla.opensuse.org/show_bug.cgi?id=1144007 is resolved, it's next issue. We see this issue in SLE 15 SP2 now too: https://openqa.suse.de/tests/3246056
Thank you Rodion. It seems that @Imobach realized that it could happen in https://bugzilla.opensuse.org/show_bug.cgi?id=1144007#c1 And now we have the confirmation. Adding it to our Trello scrum board to look for a solution.
still happening in the latest Build 20.3
I will take over....
The problem has been that the filename of the desktop files has been changed. Parts of these names have been taken to evaluate the tags in the AutoYast configuration file IF the flag X-SuSE-YaST-AutoInstResource has not been set in the desktop file. So I have set X-SuSE-YaST-AutoInstResource flags in all desktop files: https://github.com/yast/yast-firewall/pull/126 https://github.com/yast/yast-mail/pull/46 https://github.com/yast/yast-nfs-client/pull/85/files https://github.com/yast/yast-nfs-server/pull/36 https://github.com/yast/yast-nis-client/pull/43 https://github.com/yast/yast-nis-server/pull/19 https://github.com/yast/yast-online-update-configuration/pull/23 https://github.com/yast/yast-services-manager/pull/194 https://github.com/yast/yast-sound/pull/35 https://github.com/yast/yast-sysconfig/pull/29 https://github.com/yast/yast-users/pull/218 https://github.com/yast/yast-firstboot/pull/76 https://github.com/yast/yast-add-on/pull/84 https://github.com/yast/yast-bootloader/pull/580 https://github.com/yast/yast-kdump/pull/107 https://github.com/yast/yast-schema/pull/61
Additional one: https://github.com/yast/yast-installation/pull/810 https://github.com/yast/yast-kdump/pull/108 https://github.com/yast/yast-add-on/pull/85 https://github.com/yast/yast-autoinstallation/pull/521 Hopefully it is fixed now.
Leap has autoyast2 4.2.8 but the openqa job still fails: https://openqa.opensuse.org/tests/1025781
ping?
I see that the test still uses: xmllint --noout --relaxng /usr/share/YaST2/schema/autoyast/rng/profile.rng /root/autoinst.xml ; echo qJBbl-$?- Could we change this to jing in order to see what is going wrong? Otherwise I have to download each time the current ISO and have to try it out by my own in order to see what is going wrong.
In order to try it out by my own. Where can I get openSUSE-Leap-15.2-DVD-x86_64-Build492.3-Media.iso ?
(In reply to Stefan Schubert from comment #13) > In order to try it out by my own. Where can I get > openSUSE-Leap-15.2-DVD-x86_64-Build492.3-Media.iso ? Hi Shubi! So first things first, on TW we have patch already: https://openqa.opensuse.org/tests/1029518 So seems we might miss submission for Leap 15.2 As for jing, we run both tools in the test, and for Leap 15.2 current error is shown here: https://openqa.opensuse.org/tests/1029803#step/yast2_clone_system/32 namely "/usr/share/YaST2/schema/autoyast/rng/profile.rng:83:31: error: reference to undefined pattern "runlevel"" As for the iso, you can find it on the Assets tab in openQA: https://openqa.opensuse.org/tests/1029803#downloads https://openqa.opensuse.org/tests/1029803/asset/iso/openSUSE-Leap-15.2-DVD-x86_64-Build493.4-Media.iso this is the link to the latest image we have used. Let me know if you need anything else ;)
Thanks Radion. Hm, I have not found this information in: (In reply to Ludwig Nussel from comment #10) > Leap has autoyast2 4.2.8 but the openqa job still fails: > https://openqa.opensuse.org/tests/1025781 So I am a little bit confused when the information is there or not :-)
OK, next round :-) https://github.com/yast/yast-schema/pull/62
Fixed in 20190923