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 1967640

Summary: traceevent plugins debug files are still being shipped even if we don't provide them anymore in the kernel
Product: Red Hat Enterprise Linux 9 Reporter: Herton R. Krzesinski <hkrzesin>
Component: kernelAssignee: Herton R. Krzesinski <hkrzesin>
kernel sub component: Perf QA Contact: Qiao Zhao <qzhao>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: acme, bsalon, jolsa, xiawu
Version: 9.0Keywords: Triaged
Target Milestone: betaFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-5.14.0-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2155509 (view as bug list) Environment:
Last Closed: 2021-12-03 21:13:41 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:
Bug Depends On: 1952426    
Bug Blocks: 2155509    

Description Herton R. Krzesinski 2021-06-03 14:12:58 UTC
Red Hat's OSCI testing is reporting this problem:

Error: Transaction test error:
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_cfg80211.so.debug from install of perf-debuginfo-5.13.0-0.rc3.25.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_function.so.debug from install of perf-debuginfo-5.13.0-0.rc3.25.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_futex.so.debug from install of perf-debuginfo-5.13.0-0.rc3.25.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_hrtimer.so.debug from install of perf-debuginfo-5.13.0-0.rc3.25.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_jbd2.so.debug from install of perf-debuginfo-5.13.0-0.rc3.25.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_kmem.so.debug from install of perf-debuginfo-5.13.0-0.rc3.25.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_kvm.so.debug from install of perf-debuginfo-5.13.0-0.rc3.25.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_mac80211.so.debug from install of perf-debuginfo-5.13.0-0.rc3.25.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_sched_switch.so.debug from install of perf-debuginfo-5.13.0-0.rc3.25.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_scsi.so.debug from install of perf-debuginfo-5.13.0-0.rc3.25.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_tlb.so.debug from install of perf-debuginfo-5.13.0-0.rc3.25.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_xen.so.debug from install of perf-debuginfo-5.13.0-0.rc3.25.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64


Seems the solution done in https://bugzilla.redhat.com/show_bug.cgi?id=1952426 was not complete.

While we are excluding tracevent plugins to be included in tools/perf package now that libtraceevent provides it, we are still shipping its debug files through kernel-debuginfo-common, we should also not ship/remove those.

Comment 2 Herton R. Krzesinski 2021-06-22 21:38:36 UTC
The osci.brew-build.installability.functional test fails in the update and downgrade tests for every build. The error is sligthly different now, but the root cause still should be the same, kernel stil ships tracevent plugins debug files but we shouldn't anymore:

Error: Transaction test error:
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_cfg80211.so.debug from install of kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc7.51.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_function.so.debug from install of kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc7.51.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_futex.so.debug from install of kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc7.51.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_hrtimer.so.debug from install of kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc7.51.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_jbd2.so.debug from install of kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc7.51.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_kmem.so.debug from install of kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc7.51.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_kvm.so.debug from install of kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc7.51.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_mac80211.so.debug from install of kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc7.51.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_sched_switch.so.debug from install of kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc7.51.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_scsi.so.debug from install of kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc7.51.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_tlb.so.debug from install of kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc7.51.el9.x86_64
  file /usr/lib/debug/usr/lib64/traceevent/plugins/plugin_xen.so.debug from install of kernel-debuginfo-common-x86_64-5.13.0-0.rc4.33.el9.x86_64 conflicts with file from package kernel-debuginfo-common-x86_64-5.13.0-0.rc7.51.el9.x86_64

Comment 3 Michael Petlan 2021-06-30 21:29:16 UTC
So the problem is not a conflict, but the fact that kernel-debuginfo-common still contains the traceevent plugins...