I cannot possible test all newly added kernel source packages. Focus on 
linux-latency and verify
that additional kernel data (dmesg) is collected.

1) Current behavior

Jammy with linux-base/4.5ubuntu9 from -release

$ apt-cache policy linux-base
linux-base:
  Installed: 4.5ubuntu9
  Candidate: 4.5ubuntu9

$ sudo ubuntu-bug linux-lowlatency
<snip>
Please choose (S/V/K/I/C): k
Problem report file: /tmp/apport.linux-lowlatency._vlbpgfy.apport

$ sudo grep -A 10 -i dmesg /tmp/apport.linux-lowlatency._vlbpgfy.apport

Kernel log is *not* collected.

2) New behavior

Jammy with linux-base/4.5ubuntu9+22.04.1 from -proposed

$ apt-cache policy linux-base
linux-base:
  Installed: 4.5ubuntu9+22.04.1
  Candidate: 4.5ubuntu9+22.04.1

$ sudo ubuntu-bug linux-lowlatency
<snip>
Please choose (S/V/K/I/C): k
Problem report file: /tmp/apport.linux-lowlatency.w4q2q0yw.apport

$ sudo grep -A 10 -i dmesg /tmp/apport.linux-lowlatency.w4q2q0yw.apport
CurrentDmesg:
 [    0.000000] Linux version 5.15.0-134-lowlatency (buildd@lcy02-amd64-103) 
(gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 
2.38) #145-Ubuntu SMP PREEMPT Mon Feb 17 11:28:25 UTC 2025 (Ubuntu 
5.15.0-134.145-lowlatency 5.15.173)
 [    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.15.0-134-lowlatency 
root=UUID=9299188c-6c74-479c-9f32-a6ab2fd06e58 ro console=tty1 console=ttyS0
 [    0.000000] KERNEL supported cpus:
 [    0.000000]   Intel GenuineIntel
 [    0.000000]   AMD AuthenticAMD
 [    0.000000]   Hygon HygonGenuine
 [    0.000000]   Centaur CentaurHauls
 [    0.000000]   zhaoxin   Shanghai  
 [    0.000000] BIOS-provided physical RAM map:
 [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable

Kernel log is now collected.


** Tags added: verification-done-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2018128

Title:
  Apport does not collect all logs when the package is HWE kernel (or
  any derivative)

Status in apport package in Ubuntu:
  Fix Released
Status in linux package in Ubuntu:
  Invalid
Status in linux-base package in Ubuntu:
  Fix Released
Status in linux-base source package in Jammy:
  Fix Committed
Status in linux-base source package in Noble:
  Fix Committed
Status in linux-base source package in Oracular:
  Fix Released

Bug description:
  [ Impact ]

  Ubuntu 22.04 LTS with kernel 5.19.0-41-generic

  When filing bugs against the package 'linux' apport collects all the logs 
needed
  to the kernel

  But in case the user is not on stock kernel anymore and has the HWE kernel
  apport only imports 2 logs Dependencies.txt + ProcCpuInfoMinimal.txt

  and forwards the package 'linux' towards linux-signed-hwe-5.19 (in my
  case)

  would it be possible to make apport collect all the logs needed in all
  kernel cases?

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: apport 2.20.11-0ubuntu82.4
  ProcVersionSignature: Ubuntu 5.19.0-41.42~22.04.1-generic 5.19.17
  Uname: Linux 5.19.0-41-generic x86_64
  ApportLog:

  ApportVersion: 2.20.11-0ubuntu82.4
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Apr 29 05:25:30 2023
  PackageArchitecture: all
  SourcePackage: apport
  UpgradeStatus: No upgrade log present (probably fresh install)

  [ Test Plan ]

  Install a derivative kernel, run 'ubuntu-bug linux-<foo>' and check
  that all necessary logs are collected.

  [ Where Problems Could Occur ]

  The fix adds additional source package hooks and removes some stale
  ones. Potential issue are log collection/upload problems.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2018128/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to