Merge ~bladernr/plainbox-provider-checkbox:1853892-reduce-gpu-burn-output into plainbox-provider-checkbox:master

Proposed by Jeff Lane 
Status: Merged
Approved by: Sylvain Pineau
Approved revision: b855c1e1c439a9e87e3f275ac474469883eeb843
Merged at revision: 4e7d008d17c2f55d58d5953a1d512f60abf6eb27
Proposed branch: ~bladernr/plainbox-provider-checkbox:1853892-reduce-gpu-burn-output
Merge into: plainbox-provider-checkbox:master
Diff against target: 10 lines (+1/-1)
1 file modified
units/gpgpu/jobs.pxu (+1/-1)
Reviewer Review Type Date Requested Status
Sylvain Pineau (community) Approve
Review via email: mp+375974@code.launchpad.net

Commit message

Reduce gpu-burn output with a simple grep filter

Description of the change

Reduce output of gpu-burn using a simple grep filter. Since gpu-burn doesn't support a quiet or summary only output mode, and since we want to keep this simple without wrapping it in python, a grep filter for each line of output should work.

Tested on the only system I have with a gpgpu and it reduces the oputput to only a few lines of summary from the start and completion of the test run.

To post a comment you must log in.
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/units/gpgpu/jobs.pxu b/units/gpgpu/jobs.pxu
2index 2c823a0..8f2f871 100644
3--- a/units/gpgpu/jobs.pxu
4+++ b/units/gpgpu/jobs.pxu
5@@ -5,4 +5,4 @@ estimated_duration: 300
6 requires:
7 package.name == 'cuda'
8 _summary: GPGPU stress testing
9-command: cd /opt/gpu-burn/ && ./gpu_burn 1800
10+command: cd /opt/gpu-burn/ && ./gpu_burn 1800 | grep -v -e '^[[:space:]]*$' -e "errors:" -e "Summary at"

Subscribers

People subscribed via source and target branches