From 1ff88e82e53035760a3def4ab136e7ef6b0dff2f Mon Sep 17 00:00:00 2001 From: Jerome Marchand Date: Wed, 6 Nov 2024 12:24:48 +0100 Subject: [PATCH] Fix the gating tests of libbpf tools Set TERM envar for *top tools and remove btrfs* tests. Related: RHEL-49640 Signed-off-by: Jerome Marchand --- bcc.spec | 5 ++++- tests/basics.fmf | 6 +++--- tests/versions.fmf | 8 -------- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/bcc.spec b/bcc.spec index f8e281f..41d50f4 100644 --- a/bcc.spec +++ b/bcc.spec @@ -25,7 +25,7 @@ Name: bcc Version: 0.30.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: BPF Compiler Collection (BCC) License: ASL 2.0 URL: https://github.com/iovisor/bcc @@ -265,6 +265,9 @@ cp -a libbpf-tools/tmp-install/bin/* %{buildroot}/%{_sbindir}/ %endif %changelog +* Wed Nov 06 2024 Jerome Marchand - 0.30.0-9 +- Fix gating tests of libbpf gating. + * Tue Nov 05 2024 Jerome Marchand - 0.30.0-8 - Explicitely disable blazesym support (RHEL-49640) diff --git a/tests/basics.fmf b/tests/basics.fmf index a2f679c..d1133a1 100644 --- a/tests/basics.fmf +++ b/tests/basics.fmf @@ -39,7 +39,7 @@ /filetop: summary: basic tracing - test: "bpf-filetop 1 1" + test: "TERM=xterm bpf-filetop 1 1" /fsdist: summary: basic tracing @@ -89,7 +89,7 @@ /slabratetop: summary: basic tracing - test: "bpf-slabratetop 1 1" + test: "TERM=xterm bpf-slabratetop 1 1" /softirqs: summary: basic tracing @@ -105,7 +105,7 @@ /tcptop: summary: basic tracing - test: "bpf-tcptop 1 1" + test: "TERM=xterm bpf-tcptop 1 1" /tcpsynbl: summary: basic tracing diff --git a/tests/versions.fmf b/tests/versions.fmf index 81abb18..c318949 100644 --- a/tests/versions.fmf +++ b/tests/versions.fmf @@ -22,14 +22,6 @@ summary: get version test: "bpf-bitesize -V" -/btrfsdist: - summary: get version - test: "bpf-btrfsdist -V" - -/btrfsslower: - summary: get version - test: "bpf-btrfsslower -V" - /cachestat: summary: get version test: "bpf-cachestat -V"