Project

General

Profile

action #106916

Updated by szarate over 2 years ago

## Observation 

 While investigating https://bugzilla.suse.com/show_bug.cgi?id=1196015 it looks like that there are warnings that we're not catching at all, like this one... and those could be important, perhaps when catched 

 implementing a regex search for every occurence of: `RpmPostTransCollector.cc(executeScripts):.* scriptlet failed, exit status` and report them in a single record_info box that is triggered when zypper's return code is `107` 107 which resolves to ZYPPER_EXIT_INF_RPM_SCRIPT_FAILED, similar to how it is implemented [here](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/0e5ab5fbf3a6657ba2e0c34596c29b79b4fedffd/lib/utils.pm#L577) already 

 see #70129 

 ``` 
 2022-02-16 02:35:07 <2> susetest(2729) [zypp::posttrans] RpmPostTransCollector.cc(executeScripts):157 warning: %posttrans(rmt-server-config-2.7.0-3.12.1.x86_64.rpm) scriptlet failed, exit status 1 
 ``` 

 openQA test in scenario sle-15-SP3-Server-DVD-Updates-x86_64-qam_rmt@64bit fails in 
 [rmt_feature](https://openqa.suse.de/tests/8177093/modules/rmt_feature/steps/13) 

 ## Test suite description 
 Testsuite maintained at https://gitlab.suse.de/qa-maintenance/qam-openqa-yml. Meant for scheduling rmt tests on QAM Updates 


 ## Reproducible 

 Fails since (at least) Build [20220204-1](https://openqa.suse.de/tests/8103105) 


 ## Expected result 

 Last good: [20220203-1](https://openqa.suse.de/tests/8093028) (or more recent) 


 ## Further details 

 Always latest result in this scenario: [latest](https://openqa.suse.de/tests/latest?arch=x86_64&distri=sle&flavor=Server-DVD-Updates&machine=64bit&test=qam_rmt&version=15-SP3) 

Back