From efcc0e8121a69b3060a3b527e0653fd645c19a0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Kadl=C4=8D=C3=ADk?= Date: Thu, 22 May 2025 10:51:03 +0200 Subject: [PATCH 1/2] Downstream tests moved to CentOS --- plans/ci.fmf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plans/ci.fmf b/plans/ci.fmf index b6a344d..b661134 100644 --- a/plans/ci.fmf +++ b/plans/ci.fmf @@ -1,7 +1,7 @@ summary: CI Gating Plan discover: how: fmf - url: https://src.fedoraproject.org/tests/gcc.git + url: https://gitlab.com/redhat/centos-stream/tests/gcc.git filter: 'tag: Fedora-CI-gating' execute: how: tmt From c8c65778d7c2c64102936425866bd08d5b57fb6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Kadl=C4=8D=C3=ADk?= Date: Wed, 13 Aug 2025 07:43:53 +0200 Subject: [PATCH 2/2] Make rpminspect in CI less loud Configure exceptions for rpminspect (fedora-ci.koji-build.rpminspect.static-analysis in Fedora CI) so the reports don't overwhelm us with failures (be it false ones or genuine ones that we are OK with). --- rpminspect.yaml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 rpminspect.yaml diff --git a/rpminspect.yaml b/rpminspect.yaml new file mode 100644 index 0000000..f31bc02 --- /dev/null +++ b/rpminspect.yaml @@ -0,0 +1,37 @@ +inspections: + # GCC subpackages are inter-dependent but without requesting an explicit + # version - which rpmdeps dislikes and creates huge reports. We can't fix + # it easily and it's not a practical problem anyway. Unfortunately we + # can't tell rpmdeps to ignore just that particular warning. Switching off + # the rpmdeps checks looks like a lesser evil. + rpmdeps: off + +badfuncs: + # GCC doesn't use the so called bad functions "much". If they appear then + # - it is instrumenting them in sanitizers + # - in languages that don't move further downstream. + # We are OK with that. + ignore: + - /usr/lib*/libasan.so.*.*.* + - /usr/lib*/libtsan.so.*.*.* + - /usr/lib*/libgnat-*.so + - /usr/lib*/libgphobos.so.*.*.* + - /usr/lib*/libm2iso.so.*.*.* + - /usr/lib*/libm2pim.so.*.*.* + +pathmigration: + # Incomplete UsrMove, known but not planned at the moment + ignore: + - /lib*/libgcc_s-*.so.* + - /lib*/libgcc_s.so.* + +debuginfo: + # Skip the Go binaries, they ship unstripped + ignore: + - /usr/bin/go.gcc + - /usr/bin/gofmt.gcc + - /usr/lib*/libgo.so.*.*.* + - /usr/libexec/gcc/*-redhat-linux/*/buildid + - /usr/libexec/gcc/*-redhat-linux/*/cgo + - /usr/libexec/gcc/*-redhat-linux/*/test2json + - /usr/libexec/gcc/*-redhat-linux/*/vet