[Bug 1131301] [Build 441.4] openQA test fails in yast2_firstboot - License Agreement view is shown in Leap15.1
2019-04-05 05:39:44 <1> susetest(1650) [Ruby] clients/inst_license.rb:99 Using directory (from control file): /usr/share/licenses/p$ oduct/base/ 2019-04-05 05:39:44 <1> susetest(1650) [Ruby] clients/inst_license.rb:120 License directories after additional modifications: ["/us$ /share/licenses/product/base/"] 2019-04-05 05:39:44 <1> susetest(1650) [Ruby] modules/ProductLicense.rb:1427 Searching for licenses... (src_id: nil, fallback_dir: $ usr/share/licenses/product/base/, mode: installation, stage: firstboot) 2019-04-05 05:39:44 <1> susetest(1650) [Ruby] modules/ProductLicense.rb:1447 Base product, not in initial stage 2019-04-05 05:39:44 <1> susetest(1650) [Ruby] modules/ProductLicense.rb:1321 Using default license directory /usr/share/licenses/pr$ duct/base/ 2019-04-05 05:39:44 <2> susetest(1650) [Ruby] modules/ProductLicense.rb:1328 Fallback dir doesn't exist /usr/share/licenses/product$
http://bugzilla.suse.com/show_bug.cgi?id=1131301 http://bugzilla.suse.com/show_bug.cgi?id=1131301#c10 David Diaz <dgonzalez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dgonzalez@suse.com --- Comment #10 from David Diaz <dgonzalez@suse.com> --- TL;DR The licenses directory (`/usr/share/licenses/product/base`) was not found. Then, the Licenses Agreement client is skipping. --- Long explanation As Ludwig pointed out, this is related to the recent change of the default licenses directory. According to fate#324043 / jsc#SLE-4173 / jsc#SLE-4271, the `base_product_license_directory` global option was changed ~1 month ago[1] from `/etc/YaST2/licenses/base` to /usr/share/licenses/product/base`. Logs do not contain the control file (I'll propose `save_y2logs` to include it), but they say that the product is an openSUSE TW 20190403, which I am sure has the stated option updated since I checked it in an openSUSE TW 20190402 that I have installed. Additionally, it also can be seen in the logs that the system is using `yast2-installation 4.2.0`, in which the hard-coded licenses fallback path is updated too[2]. So, the inst_licenses client is skipped because licenses could not be found. base/
2019-04-05 05:39:44 <1> susetest(1650) [Ruby] modules/ProductLicense.rb:1473 ProductLicense settings: license_dir: nil, tmpdir: nil$ beta_file: nil 2019-04-05 05:39:44 <1> susetest(1650) [Ruby] modules/ProductLicense.rb:194 Returning `auto
You can read more details at [3]. Probably, tested openSUSE Leap 15.1 is using a `yast2-installation < 4.1.43` and found licenses at `/etc/YaST2/licenses/base`, the hard-coded fallback. Then, I think that there is nothing wrong in the YaST side. Thank you. [1] https://github.com/yast/skelcd-control-openSUSE/pull/173 - https://github.com/yast/skelcd-control-openSUSE/pull/175 [2] https://github.com/yast/yast-installation/pull/784 [3] https://github.com/yast/skelcd-control-Kubic/pull/31#pullrequestreview-21334... -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com