Project

General

Profile

Actions

action #37665

closed

[sle][functional][y][fast] parse y2log to create pattern & package report

Added by mloviska almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
SUSE QA - Milestone 17
Start date:
2018-06-22
Due date:
2018-07-03
% Done:

0%

Estimated time:
3.00 h
Difficulty:

Description

Observation

openQA test in scenario sle-12-SP4-Server-DVD-aarch64-allmodules+allpatterns@aarch64 fails in
select_patterns_and_packages

Motivation

To avoid manually retyping pop error messages as it is in below mentioned bug, we would like to upload related information to openqa directly so it eases our effort to report bugs properly.
https://bugzilla.suse.com/show_bug.cgi?id=1098170

Information is already scattered around /var/log/YaST/y2log plain text file. All we need to do is to parse this log and fetch information regarding patterns/packages.

Reproducible

Fails since (at least) Build 0256

Expected result

Last good: 0256 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by okurz almost 6 years ago

  • Target version set to Milestone 17
Actions #2

Updated by JERiveraMoya almost 6 years ago

  • Estimated time set to 3.00 h
Actions #3

Updated by mloviska almost 6 years ago

  • Due date changed from 2018-07-03 to 2018-07-17

So far the code was successfully tested outside of openQA, where I have encountered a problem with the schedule. It will be fixed in next sprint due mine education and unavailability at the end of current sprint.

Actions #4

Updated by riafarov almost 6 years ago

  • Due date changed from 2018-07-17 to 2018-07-03

@mloviska, we have a review to decide what to do with the ticket which we were not able to deliver during the sprint. So I move it back. Could you please just paste current status, maybe point to your feature branch where you have code changes, so someone else potentially could pick it up and deliver. Will it work for you?

Actions #5

Updated by mloviska almost 6 years ago

Alright, I will upload it later, after I am done with the training.

Actions #6

Updated by mloviska almost 6 years ago

  • Status changed from In Progress to Workable
  • Assignee deleted (mloviska)

https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/5326

There are duplicate records because SAT Solver runs several times in the job. Created output needs to be bit more trimmed to get better alignment.

Actions #7

Updated by okurz almost 6 years ago

IMHO it can be way easier using the existing method "investigate_yast2_failure". I wrote an idea in the PR. I guess we can handle this easily but I understood you might not be available in the following days and therefore unassigned? So whoever picks up this ticket please see the existing PR and my comment https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/5326#issuecomment-401533063 . It might be easier for another person to just create a new PR with the proposed one-line-change

Actions #8

Updated by riafarov almost 6 years ago

  • Assignee set to riafarov
Actions #9

Updated by riafarov almost 6 years ago

  • Status changed from Workable to Feedback
Actions #10

Updated by okurz almost 6 years ago

  • Status changed from Feedback to Resolved

looks good

Actions

Also available in: Atom PDF