| Summary: | BeakerLib should submit just the phase-relevant log on rlPhaseEnd | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Muller <pmuller> | ||||||
| Component: | beakerlib | Assignee: | Dalibor Pospíšil <dapospis> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 26 | CC: | chuhu, dapospis, ohudlick, pmuller | ||||||
| Target Milestone: | --- | Keywords: | Reopened | ||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | beakerlib-1.17-6 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2018-01-15 21:37:02 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
|
Description
Petr Muller
2013-10-22 12:49:50 UTC
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22 *** Bug 1198878 has been marked as a duplicate of this bug. *** Created attachment 998250 [details]
phase relevant logs
I have created a patch trying to solve this issue, please review it if this solution is ok.
Created attachment 998442 [details]
phase relevant logs
I realized that my previous patch was too naive. I have improved it.
(In reply to Dalibor Pospíšil from comment #5) > Created attachment 998442 [details] > phase relevant logs > > I realized that my previous patch was too naive. I have improved it. hi Dalibor, I tried your patch, find that the log is 7 lines shorter than expected. The reason is that at the end of the journal-all.txt , will append 7 lines summary,looks like the following, as a result, the log of the phase will miss the header and start lines. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: /kernel/errata/Regression :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Phases: 33 good, 1 bad :: [ FAIL ] :: RESULT: /kernel/errata/Regression Here is a log of one phase using the current patch. http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2015/03/8974/897465/1852339/28726852/141919589/test_log-Test-bz500299.log I tried to Changed to : cat "$logfile" | tail -n +$((log_size-7+1)) > $logfile2 , have another try: http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2015/03/8974/897465/1852339/28726852/141923281/test_log-Test-bz634462.log --- thanks. Chunyu The patch was a blind patch. I did not do any testing. But while I am thinking about it. It would be probably better to create a new functionality in journallig.py to avoid any unwanted outputs. (In reply to Dalibor Pospíšil from comment #7) > The patch was a blind patch. I did not do any testing. But while I am > thinking about it. It would be probably better to create a new functionality > in journallig.py to avoid any unwanted outputs. I agree. Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'. |