Bug 1330816 - [RFE] supply implementation of rhts-flush
Summary: [RFE] supply implementation of rhts-flush
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Restraint
Classification: Retired
Component: general
Version: 0.1.24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 0.1.25
Assignee: Dan Callaghan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-27 03:39 UTC by Dan Callaghan
Modified: 2016-08-26 04:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-26 04:49:01 UTC


Attachments (Terms of Use)

Description Dan Callaghan 2016-04-27 03:39:21 UTC
In beah, the rhts-flush command makes the harness write all its buffered "events" (results and logs) up to the LC. Well it tries to anyway. The idea would be to call that before crashing the system or doing some other potentially destructive operation in the test. (I'm not sure exactly because it seems rhts-flush was never documented anywhere.)

Comment 1 Dan Callaghan 2016-04-27 03:41:07 UTC
With restraint I don't think there is anything to actually flush, since it reports results and uploads logs to the LC synchronously, there is no on-disk event buffering stuff like in beah.

So I think it should be enough to just supply an empty script that does nothing, to keep existing tasks that call rhts-flush happy.

Comment 2 Dan Callaghan 2016-04-27 03:44:41 UTC
http://gerrit.beaker-project.org/4837

Comment 3 Dan Callaghan 2016-08-26 04:49:01 UTC
Fixed in 0.1.25.


Note You need to log in before you can comment on or make changes to this bug.