Project

General

Profile

action #150959

Updated by livdywan 6 months ago

## Motivation 
 os-autoinst+openQA (and dependencies) are in Leap and/or backports repos aka. "SUSE PackageHub". Now for version 15.6 build tests fail for both os-autoinst+openQA, see https://bugzilla.suse.com/show_bug.cgi?id=1217246 and https://bugzilla.suse.com/show_bug.cgi?id=1217249 . Likely we want to support those packages there for the parent #127028 anyway so we should make sure that both bugs are fixed based on whatever the test failures tell us. 

 Failures seem to be related to spurt deprecation warnings, for example: 

 ```   
     [     96s] 3: Failed 1/9 subtests  
 [     96s] 3: [10:40:59] ./20-openqa-benchmark-stopwatch-utils.t .. ok        129 ms ( 0.00 usr    0.00 sys +    0.12 cusr    0.01 csys =    0.13 CPU) 
 [     96s] 3: Mojo::File::spurt is deprecated in favor of Mojo::File::spew at /home/abuild/rpmbuild/BUILD/os-autoinst-4.6.1639403953.ae94c4bd/bmwqemu.pm line 73. 
 ``` 

 ## Acceptance criteria 
 * **AC1:** https://bugzilla.suse.com/show_bug.cgi?id=1217246 and https://bugzilla.suse.com/show_bug.cgi?id=1217249 both RESOLVED 

 ## Suggestions 
 * Look into the test failures. As needed reproduce locally in a corresponding environment 
 * Fix the build+check, i.e. either fix the tests or exclude irrelevant tests from build time testing 
 * Submit according updates to packages as needed to upstream and backport or just backport patches as applicable (create a submit request on build.opensuse.org from the relevant packages from the openSUSE:Factory project to the openSUSE:Backports:SLE-15-SP6 project) 
 * See if we need to backport a newer os-autoinst matching the mojo used 
 * Maybe it helps to just backport `Test::Warnings` and our changes to the specfile to disabled treating warnings as errors during builds (PERL_TEST_WARNINGS_ONLY_REPORT_WARNINGS=1)

Back