Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2012159

Summary: osci.brew-build.rpminspect.static-analysis () failed for dwarves-1.22-1.el9
Product: Red Hat Enterprise Linux 9 Reporter: Martin Cermak <mcermak>
Component: dwarvesAssignee: Jiri Olsa <jolsa>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-tools-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: nickc
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-08 15:21:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
compressed complete log none

Description Martin Cermak 2021-10-08 12:53:32 UTC
Created attachment 1830855 [details]
compressed complete log

I'm looking at a failure of an OSCI test called osci.brew-build.rpminspect.static-analysis:

https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/40193657?focus=id:f7a514ede233f9b2c9792af5c105efa74b2e58ee936910fc572c9fecde564410

Head of the log:

rpminspect version: 1.7-0.1.202109141352git.el9 (with data package: 1.5)
rpminspect profile: rhel-9-devel
new build: dwarves-1.22-1.el9
old build: not found (in rhel-9.0.0-pending brew tag)

Test description:
Perform annocheck tests defined in the configuration file on all ELF files in the build.  A single build specified will perform an analysis only.  Two builds specified will compare the test results between the before and after build.  If no annocheck tests are defined in the configuration file, this inspection is skipped.

======================================== Test Output ========================================

annocheck:
----------

1) annocheck 'rhel-policy' test passes for /usr/lib64/libdwarves.so.1.0.0 on aarch64

Result: INFO
Waiver Authorization: Not Waivable

Details:
annocheck: Version 10.06.
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: pie test 
Hardened: /usr/lib64/libdwarves.so.1.0.0: WARN: DW_FORM_GNU_strp_alt not yet handled
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: writable-got test 
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: dynamic-segment test 
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: bind-now test 
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: not-dynamic-tags test because BTI_PLT and PAC_PLT flags not in the dynamic tags 
Hardened: /usr/lib64/libdwarves.so.1.0.0: info: set binary producer to Gas version 2.
Hardened: /usr/lib64/libdwarves.so.1.0.0: info: notes produced by assembler plugin version 1
Hardened: /usr/lib64/libdwarves.so.1.0.0: info: set binary producer to Gimple version 10.
Hardened: /usr/lib64/libdwarves.so.1.0.0: info: notes produced by lto plugin version 1010
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: stack-prot test 
Hardened: /usr/lib64/libdwarves.so.1.0.0: (component: list__for_all_tags) unable to parse tool attribute: plugin name: annobin.
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: pic test 
Hardened: /usr/lib64/libdwarves.so.1.0.0: skip: fortify test because LTO compilation discards preprocessor options 
Hardened: /usr/lib64/libdwarves.so.1.0.0: skip: glibcxx-assertions test because source language not C++ 
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: optimization test 
Hardened: /usr/lib64/libdwarves.so.1.0.0: skip: warnings test because LTO compilation discards preprocessor options 
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: lto test because LTO compilation detected 
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: stack-clash test 
Hardened: /usr/lib64/libdwarves.so.1.0.0: (component: percpu_var_cmp) unable to parse tool attribute: plugin name: annobin.
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: gnu-stack test because stack segment exists with the correct permissions 
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: gnu-relro test 
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: notes test because no gaps found 
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: not-branch-protection test because the -mbranch-protection option was not used 
Hardened: /usr/lib64/libdwarves.so.1.0.0: skip: cf-protection test because not an x86 executable 
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: entry test 
Hardened: /usr/lib64/libdwarves.so.1.0.0: skip: go-revision test because no GO compiled code found 
Hardened: /usr/lib64/libdwarves.so.1.0.0: skip: only-go test because not compiled for x86 
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: production test 
Hardened: /usr/lib64/libdwarves.so.1.0.0: skip: property-note test because property note test only useful if branch protection is being checked 
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: run-path test 
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: rwx-seg test 
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: short-enums test 
Hardened: /usr/lib64/libdwarves.so.1.0.0: skip: stack-realign test because not an x86 executable 
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: textrel test 
Hardened: /usr/lib64/libdwarves.so.1.0.0: PASS: threads test 

Suggested Remedy:
See annocheck(1) for more information.


2) annocheck 'rhel-policy' test passes for /usr/lib64/libdwarves_emit.so.1.0.0 on aarch64

Result: INFO
Waiver Authorization: Not Waivable

Details:
annocheck: Version 10.06.
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: pie test 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: WARN: DW_FORM_GNU_strp_alt not yet handled
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: writable-got test 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: dynamic-segment test 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: bind-now test 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: not-dynamic-tags test because BTI_PLT and PAC_PLT flags not in the dynamic tags 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: info: set binary producer to Gas version 2.
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: info: notes produced by assembler plugin version 1
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: info: set binary producer to Gimple version 10.
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: info: notes produced by lto plugin version 1010
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: stack-prot test 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: (component: type_emissions__init) unable to parse tool attribute: plugin name: annobin.
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: pic test 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: skip: fortify test because LTO compilation discards preprocessor options 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: skip: glibcxx-assertions test because source language not C++ 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: optimization test 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: skip: warnings test because LTO compilation discards preprocessor options 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: lto test because LTO compilation detected 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: stack-clash test 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: gnu-stack test because stack segment exists with the correct permissions 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: gnu-relro test 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: notes test because no gaps found 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: not-branch-protection test because the -mbranch-protection option was not used 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: skip: cf-protection test because not an x86 executable 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: entry test 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: skip: go-revision test because no GO compiled code found 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: skip: only-go test because not compiled for x86 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: production test 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: skip: property-note test because property note test only useful if branch protection is being checked 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: run-path test 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: rwx-seg test 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: short-enums test 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: skip: stack-realign test because not an x86 executable 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: textrel test 
Hardened: /usr/lib64/libdwarves_emit.so.1.0.0: PASS: threads test 

Suggested Remedy:
See annocheck(1) for more information.


3) annocheck 'rhel-policy' test passes for /usr/lib64/libdwarves_reorganize.so.1.0.0 on aarch64

Result: INFO
Waiver Authorization: Not Waivable