Commit Graph

5 Commits

Author SHA1 Message Date
Zuzana Miklankova
5c5c2f53d1
Handle optimization test in rpminspect's annocheck inspection
Ignore check_stack_overrun function in optimization test in rpminspect
check.
This function is purposely not being optimized, to preserve a
stack variable creation.

--

Resolves: #2012938
2022-06-14 15:26:19 +02:00
Michal Schorm
2f46772070 rpminspect - introduce a global ignore list
--

Related: #2092370
2022-06-13 13:45:41 +02:00
Zuzana Miklankova
119ed62f4f Whitelisting file Index.xml from rpminspect xml check
Reason is, that the bug is already reported on upstream:
https://jira.mariadb.org/browse/MDEV-26905.
Also we currently do not know how to fix it. If we eventually figure out
how to fix this bug, then the patch would be submitted directly to the
upstream, rather than to downstream, to avoid unintentionally breaking
some code that relied on the malformed XML.
2022-01-12 09:29:47 +01:00
Zuzana Miklankova
793527ec85 Disable badfunct rpinspect CI check for /usr/bin/resolveip
Resolveip binary is only used in mysql_install_db.sh script,
and only in non-"--rpm" mode [1]. However, we call this script with
"--rpm" option enabled, and thus the resolveip is not used [2],
and its badfuncs check can be disabled. [3]

Resolves: #1973194

[1] https://gitlab.com/redhat/centos-stream/rpms/mariadb/-/blob/c9s/mariadb-prepare-db-dir.sh#L100
[2] 5566cbadb0/scripts/mysql_install_db.sh (L425-L441)
[3] https://bugzilla.redhat.com/show_bug.cgi?id=1973194#c4
2021-12-16 10:47:36 +01:00
Zuzana Miklankova
0de9e0a77f Disable xmllint check for specific xmls in rpminspect CI task #2012936
based on https://lists.launchpad.net/maria-discuss/msg06133.html
discussion are the invalid xmls (except for Index.xml)
present in the sources on purpose and their xmllint
check can be thus disabled in the CI process.

A bug report [https://jira.mariadb.org/browse/MDEV-26905] was created
for the Index.xml file.

The CI picks up the rpmlimspect.yaml for specific package in the
dist-git repo.

Resolves: #2012936
2021-12-15 14:15:32 +00:00