From 5e412a689ab56ae1bef1dfb34442137d809fc5d8 Mon Sep 17 00:00:00 2001 From: linuxgcc Date: Fri, 8 Mar 2024 22:06:03 +0800 Subject: [PATCH] disable selinux,fix end-to-end-test.sh error(#2934) (#2937) Signed-off-by: heyitao Co-authored-by: heyitao --- collector/fixtures/e2e-64k-page-output.txt | 4 ---- collector/fixtures/e2e-output.txt | 4 ---- end-to-end-test.sh | 2 +- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/collector/fixtures/e2e-64k-page-output.txt b/collector/fixtures/e2e-64k-page-output.txt index 5b0ac8db..c670fd95 100644 --- a/collector/fixtures/e2e-64k-page-output.txt +++ b/collector/fixtures/e2e-64k-page-output.txt @@ -2933,7 +2933,6 @@ node_scrape_collector_success{collector="processes"} 1 node_scrape_collector_success{collector="qdisc"} 1 node_scrape_collector_success{collector="rapl"} 1 node_scrape_collector_success{collector="schedstat"} 1 -node_scrape_collector_success{collector="selinux"} 1 node_scrape_collector_success{collector="slabinfo"} 1 node_scrape_collector_success{collector="sockstat"} 1 node_scrape_collector_success{collector="softirqs"} 1 @@ -2951,9 +2950,6 @@ node_scrape_collector_success{collector="xfrm"} 1 node_scrape_collector_success{collector="xfs"} 1 node_scrape_collector_success{collector="zfs"} 1 node_scrape_collector_success{collector="zoneinfo"} 1 -# HELP node_selinux_enabled SELinux is enabled, 1 is true, 0 is false -# TYPE node_selinux_enabled gauge -node_selinux_enabled 0 # HELP node_slabinfo_active_objects The number of objects that are currently active (i.e., in use). # TYPE node_slabinfo_active_objects gauge node_slabinfo_active_objects{slab="dmaengine-unmap-128"} 1206 diff --git a/collector/fixtures/e2e-output.txt b/collector/fixtures/e2e-output.txt index 8920e562..2caceedb 100644 --- a/collector/fixtures/e2e-output.txt +++ b/collector/fixtures/e2e-output.txt @@ -2955,7 +2955,6 @@ node_scrape_collector_success{collector="processes"} 1 node_scrape_collector_success{collector="qdisc"} 1 node_scrape_collector_success{collector="rapl"} 1 node_scrape_collector_success{collector="schedstat"} 1 -node_scrape_collector_success{collector="selinux"} 1 node_scrape_collector_success{collector="slabinfo"} 1 node_scrape_collector_success{collector="sockstat"} 1 node_scrape_collector_success{collector="softirqs"} 1 @@ -2973,9 +2972,6 @@ node_scrape_collector_success{collector="xfrm"} 1 node_scrape_collector_success{collector="xfs"} 1 node_scrape_collector_success{collector="zfs"} 1 node_scrape_collector_success{collector="zoneinfo"} 1 -# HELP node_selinux_enabled SELinux is enabled, 1 is true, 0 is false -# TYPE node_selinux_enabled gauge -node_selinux_enabled 0 # HELP node_slabinfo_active_objects The number of objects that are currently active (i.e., in use). # TYPE node_slabinfo_active_objects gauge node_slabinfo_active_objects{slab="dmaengine-unmap-128"} 1206 diff --git a/end-to-end-test.sh b/end-to-end-test.sh index 46d52603..60263d54 100755 --- a/end-to-end-test.sh +++ b/end-to-end-test.sh @@ -40,7 +40,6 @@ enabled_collectors=$(cat << COLLECTORS qdisc rapl schedstat - selinux slabinfo sockstat softirqs @@ -58,6 +57,7 @@ enabled_collectors=$(cat << COLLECTORS COLLECTORS ) disabled_collectors=$(cat << COLLECTORS + selinux filesystem timex uname