Public bug reported:

During apport-collect for the bug a crash occurred:

$ sudo apport-collect 2101158

*** Collecting problem information

The collected information can be sent to the developers to improve the
application. This might take a few minutes.
.......ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/report.py", line 297, in _run_hook
    symb["add_info"](report, ui)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/usr/share/apport/general-hooks/ubuntu.py", line 81, in add_info
    apport.hookutils.attach_casper_md5check(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        report, f"/var/log/installer/{casper_md5check}"
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 1142, in 
attach_casper_md5check
    mismatches = check["checksum_missmatch"]
                 ~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'checksum_missmatch'
..............


The JSON file exists:

$ cat /var/log/installer/casper-md5check.json 
{
  "result": "skip"
}
--- 
ProblemType: Bug
ApportLog:
 
ApportVersion: 2.32.0-0ubuntu2
Architecture: riscv64
CasperMD5json:
 {
   "result": "skip"
 }
CrashReports:
 640:0:130:29677:2025-03-07 09:40:08.934373279 +0100:2025-03-07 
09:40:09.034374412 +0100:/var/crash/_usr_bin_landscape-monitor.0.crash
 644:0:130:0:2025-03-07 09:40:08.934373279 +0100:2025-03-07 09:40:08.934373279 
+0100:/var/crash/_usr_bin_landscape-monitor.0.upload
 600:120:130:37:2025-03-07 09:40:10.212713238 +0100:2025-03-07 
09:40:10.206387667 +0100:/var/crash/_usr_bin_landscape-monitor.0.uploaded
 600:0:130:223559:2025-03-05 04:26:00.075996652 +0100:2025-03-07 
07:01:03.443158446 +0100:/var/crash/apparmor.0.crash
DistroRelease: Ubuntu 25.04
InstallationDate: Installed on 2023-12-04 (459 days ago)
InstallationMedia: Ubuntu-Server 24.04 "Noble Numbat" - Daily riscv64 (20231204)
Package: apport 2.32.0-0ubuntu2
PackageArchitecture: all
ProcVersionSignature: Ubuntu 6.14.0-7.7.1-generic 6.14.0-rc4
Tags: plucky
Uname: Linux 6.14.0-7-generic riscv64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-collected plucky

** Tags added: apport-collected plucky

** Description changed:

  During apport-collect for the bug a crash occurred:
  
  $ sudo apport-collect 2101158
  
  *** Collecting problem information
  
  The collected information can be sent to the developers to improve the
  application. This might take a few minutes.
  .......ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport/report.py", line 297, in 
_run_hook
      symb["add_info"](report, ui)
      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^
    File "/usr/share/apport/general-hooks/ubuntu.py", line 81, in add_info
      apport.hookutils.attach_casper_md5check(
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
          report, f"/var/log/installer/{casper_md5check}"
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      )
      ^
    File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 1142, in 
attach_casper_md5check
      mismatches = check["checksum_missmatch"]
                   ~~~~~^^^^^^^^^^^^^^^^^^^^^^
  KeyError: 'checksum_missmatch'
  ..............
  
  
  The JSON file exists:
  
  $ cat /var/log/installer/casper-md5check.json 
  {
    "result": "skip"
  }
+ --- 
+ ProblemType: Bug
+ ApportLog:
+  
+ ApportVersion: 2.32.0-0ubuntu2
+ Architecture: riscv64
+ CasperMD5json:
+  {
+    "result": "skip"
+  }
+ CrashReports:
+  640:0:130:29677:2025-03-07 09:40:08.934373279 +0100:2025-03-07 
09:40:09.034374412 +0100:/var/crash/_usr_bin_landscape-monitor.0.crash
+  644:0:130:0:2025-03-07 09:40:08.934373279 +0100:2025-03-07 
09:40:08.934373279 +0100:/var/crash/_usr_bin_landscape-monitor.0.upload
+  600:120:130:37:2025-03-07 09:40:10.212713238 +0100:2025-03-07 
09:40:10.206387667 +0100:/var/crash/_usr_bin_landscape-monitor.0.uploaded
+  600:0:130:223559:2025-03-05 04:26:00.075996652 +0100:2025-03-07 
07:01:03.443158446 +0100:/var/crash/apparmor.0.crash
+ DistroRelease: Ubuntu 25.04
+ InstallationDate: Installed on 2023-12-04 (459 days ago)
+ InstallationMedia: Ubuntu-Server 24.04 "Noble Numbat" - Daily riscv64 
(20231204)
+ Package: apport 2.32.0-0ubuntu2
+ PackageArchitecture: all
+ ProcVersionSignature: Ubuntu 6.14.0-7.7.1-generic 6.14.0-rc4
+ Tags: plucky
+ Uname: Linux 6.14.0-7-generic riscv64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: N/A
+ _MarkForUpload: True

-- 
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/2101159

Title:
  Crash in /usr/lib/python3/dist-packages/apport/hookutils.py", line
  1142, in attach_casper_md5check

Status in apport package in Ubuntu:
  New

Bug description:
  During apport-collect for the bug a crash occurred:

  $ sudo apport-collect 2101158

  *** Collecting problem information

  The collected information can be sent to the developers to improve the
  application. This might take a few minutes.
  .......ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport/report.py", line 297, in 
_run_hook
      symb["add_info"](report, ui)
      ~~~~~~~~~~~~~~~~^^^^^^^^^^^^
    File "/usr/share/apport/general-hooks/ubuntu.py", line 81, in add_info
      apport.hookutils.attach_casper_md5check(
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
          report, f"/var/log/installer/{casper_md5check}"
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      )
      ^
    File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 1142, in 
attach_casper_md5check
      mismatches = check["checksum_missmatch"]
                   ~~~~~^^^^^^^^^^^^^^^^^^^^^^
  KeyError: 'checksum_missmatch'
  ..............

  
  The JSON file exists:

  $ cat /var/log/installer/casper-md5check.json 
  {
    "result": "skip"
  }
  --- 
  ProblemType: Bug
  ApportLog:
   
  ApportVersion: 2.32.0-0ubuntu2
  Architecture: riscv64
  CasperMD5json:
   {
     "result": "skip"
   }
  CrashReports:
   640:0:130:29677:2025-03-07 09:40:08.934373279 +0100:2025-03-07 
09:40:09.034374412 +0100:/var/crash/_usr_bin_landscape-monitor.0.crash
   644:0:130:0:2025-03-07 09:40:08.934373279 +0100:2025-03-07 
09:40:08.934373279 +0100:/var/crash/_usr_bin_landscape-monitor.0.upload
   600:120:130:37:2025-03-07 09:40:10.212713238 +0100:2025-03-07 
09:40:10.206387667 +0100:/var/crash/_usr_bin_landscape-monitor.0.uploaded
   600:0:130:223559:2025-03-05 04:26:00.075996652 +0100:2025-03-07 
07:01:03.443158446 +0100:/var/crash/apparmor.0.crash
  DistroRelease: Ubuntu 25.04
  InstallationDate: Installed on 2023-12-04 (459 days ago)
  InstallationMedia: Ubuntu-Server 24.04 "Noble Numbat" - Daily riscv64 
(20231204)
  Package: apport 2.32.0-0ubuntu2
  PackageArchitecture: all
  ProcVersionSignature: Ubuntu 6.14.0-7.7.1-generic 6.14.0-rc4
  Tags: plucky
  Uname: Linux 6.14.0-7-generic riscv64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: N/A
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2101159/+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