[Bug 2130649] Re: [SRU] whoopsie drops the ShellJournal field

Skia 2130649 at bugs.launchpad.net
Tue Dec 2 08:50:51 UTC 2025


# Noble

$ SERIES=noble; podman run --hostname $SERIES --name $SERIES -it --rm ubuntu:$SERIES
root at noble:/# apt-get -qq update
apt-get install -qqy lsb-release wget
echo "deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted main multiverse universe" >/etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-proposed.list
apt-get -qq update
apt-get install -qqy -t $(lsb_release -cs)-proposed whoopsie
dpkg-query -W whoopsie
cd $(mktemp -d)
chown whoopsie .
wget -q https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/2130649/+attachment/5929464/+files/_usr_libexec_gnome-shell-calendar-server_smaller_fields.1000.crash
wget -q https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/2130649/+attachment/5929465/+files/_usr_libexec_gnome-shell-calendar-server.1000.crash
touch _usr_libexec_gnome-shell-calendar-server.1000.upload _usr_libexec_gnome-shell-calendar-server_smaller_fields.1000.upload
CRASH_DB_URL=https://daisy.ubuntu.com APPORT_REPORT_DIR=$(pwd) CRASH_DB_IDENTIFIER=bug-2130649-verification-$(lsb_release -cs) whoopsie --no-polling -f
[...]
whoopsie	0.2.77ubuntu0.1
[08:25:14] Using lock path: /tmp/tmp.MPeiK01Ti5/whoopsie_lock
[08:25:14] Parsing /tmp/tmp.MPeiK01Ti5/_usr_libexec_gnome-shell-calendar-server_smaller_fields.1000.crash.
[08:25:14] Uploading /tmp/tmp.MPeiK01Ti5/_usr_libexec_gnome-shell-calendar-server_smaller_fields.1000.crash.
[08:25:28] Sent; server replied with: No error
[08:25:28] Response code: 200
[08:25:28] Reported OOPS ID 6d7b2b90-cf58-11f0-a9b2-fa163ec8ca8c
[08:25:28] Parsing /tmp/tmp.MPeiK01Ti5/_usr_libexec_gnome-shell-calendar-server.1000.crash.
[08:25:28] Uploading /tmp/tmp.MPeiK01Ti5/_usr_libexec_gnome-shell-calendar-server.1000.crash.
[08:26:20] Sent; server replied with: No error
[08:26:20] Response code: 200
[08:26:20] Reported OOPS ID 77ed17b4-cf58-11f0-a9b2-fa163ec8ca8c
root at noble:/tmp/tmp.MPeiK01Ti5#

https://errors.ubuntu.com/oops/6d7b2b90-cf58-11f0-a9b2-fa163ec8ca8c => Has `JournalAll`, `JournalErrors`, and `ShellJournal` (✅)
https://errors.ubuntu.com/oops/77ed17b4-cf58-11f0-a9b2-fa163ec8ca8c => Has `JournalAll`, `JournalErrors`, and `ShellJournal` (✅)


# Plucky

SERIES=plucky; podman run --hostname $SERIES --name $SERIES -it --rm ubuntu:$SERIES
root at plucky:/# apt-get -qq update
apt-get install -qqy lsb-release wget
echo "deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted main multiverse universe" >/etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-proposed.list
apt-get -qq update
apt-get install -qqy -t $(lsb_release -cs)-proposed whoopsie
dpkg-query -W whoopsie
cd $(mktemp -d)
chown whoopsie .
wget -q https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/2130649/+attachment/5929464/+files/_usr_libexec_gnome-shell-calendar-server_smaller_fields.1000.crash
wget -q https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/2130649/+attachment/5929465/+files/_usr_libexec_gnome-shell-calendar-server.1000.crash
touch _usr_libexec_gnome-shell-calendar-server.1000.upload _usr_libexec_gnome-shell-calendar-server_smaller_fields.1000.upload
CRASH_DB_URL=https://daisy.ubuntu.com APPORT_REPORT_DIR=$(pwd) CRASH_DB_IDENTIFIER=bug-2130649-verification-$(lsb_release -cs) whoopsie --no-polling -f
[...]
whoopsie	0.2.79ubuntu0.25.04.1
[08:29:26] Using lock path: /tmp/tmp.fC4wHiwWUJ/whoopsie_lock
[08:29:26] Looking for .upload files in /tmp/tmp.fC4wHiwWUJ
[08:29:26] Found .crash corresponding to .upload (/tmp/tmp.fC4wHiwWUJ/_usr_libexec_gnome-shell-calendar-server_smaller_fields.1000.crash)
[08:29:26] Parsing /tmp/tmp.fC4wHiwWUJ/_usr_libexec_gnome-shell-calendar-server_smaller_fields.1000.crash.
[08:29:26] Uploading /tmp/tmp.fC4wHiwWUJ/_usr_libexec_gnome-shell-calendar-server_smaller_fields.1000.crash.
[08:29:35] Sent; server replied with: No error
[08:29:35] Response code: 200
[08:29:35] Reported OOPS ID 02edf717-cf59-11f0-b937-fa163ec44ecd
[08:29:35] Found .crash corresponding to .upload (/tmp/tmp.fC4wHiwWUJ/_usr_libexec_gnome-shell-calendar-server.1000.crash)
[08:29:35] Parsing /tmp/tmp.fC4wHiwWUJ/_usr_libexec_gnome-shell-calendar-server.1000.crash.
[08:29:35] Uploading /tmp/tmp.fC4wHiwWUJ/_usr_libexec_gnome-shell-calendar-server.1000.crash.
[08:29:46] Sent; server replied with: No error
[08:29:46] Response code: 200
[08:29:46] Reported OOPS ID 09d7f162-cf59-11f0-a222-fa163e171f02
root at plucky:/tmp/tmp.fC4wHiwWUJ#

https://errors.ubuntu.com/oops/02edf717-cf59-11f0-b937-fa163ec44ecd => Has `JournalAll`, `JournalErrors`, and `ShellJournal` (✅)
https://errors.ubuntu.com/oops/09d7f162-cf59-11f0-a222-fa163e171f02 => Has `JournalAll`, `JournalErrors`, and `ShellJournal` (✅)


# Questing

❯ SERIES=questing; podman run --hostname $SERIES --name $SERIES -it --rm ubuntu:$SERIES
root at questing:/# apt-get -qq update
apt-get install -qqy lsb-release wget
echo "deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted main multiverse universe" >/etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-proposed.list
apt-get -qq update
apt-get install -qqy -t $(lsb_release -cs)-proposed whoopsie
dpkg-query -W whoopsie
cd $(mktemp -d)
chown whoopsie .
wget -q https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/2130649/+attachment/5929464/+files/_usr_libexec_gnome-shell-calendar-server_smaller_fields.1000.crash
wget -q https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/2130649/+attachment/5929465/+files/_usr_libexec_gnome-shell-calendar-server.1000.crash
touch _usr_libexec_gnome-shell-calendar-server.1000.upload _usr_libexec_gnome-shell-calendar-server_smaller_fields.1000.upload
CRASH_DB_URL=https://daisy.ubuntu.com APPORT_REPORT_DIR=$(pwd) CRASH_DB_IDENTIFIER=bug-2130649-verification-$(lsb_release -cs) whoopsie --no-polling -f
[...]
whoopsie	0.2.79ubuntu0.25.10.1
[08:33:59] Using lock path: /tmp/tmp.dXgYlYRpPs/whoopsie_lock
[08:33:59] Looking for .upload files in /tmp/tmp.dXgYlYRpPs
[08:33:59] Found .crash corresponding to .upload (/tmp/tmp.dXgYlYRpPs/_usr_libexec_gnome-shell-calendar-server_smaller_fields.1000.crash)
[08:33:59] Parsing /tmp/tmp.dXgYlYRpPs/_usr_libexec_gnome-shell-calendar-server_smaller_fields.1000.crash.
[08:33:59] Uploading /tmp/tmp.dXgYlYRpPs/_usr_libexec_gnome-shell-calendar-server_smaller_fields.1000.crash.
[08:34:15] Sent; server replied with: No error
[08:34:15] Response code: 200
[08:34:15] Reported OOPS ID a6919a80-cf59-11f0-a222-fa163e171f02
[08:34:15] Found .crash corresponding to .upload (/tmp/tmp.dXgYlYRpPs/_usr_libexec_gnome-shell-calendar-server.1000.crash)
[08:34:15] Parsing /tmp/tmp.dXgYlYRpPs/_usr_libexec_gnome-shell-calendar-server.1000.crash.
[08:34:15] Uploading /tmp/tmp.dXgYlYRpPs/_usr_libexec_gnome-shell-calendar-server.1000.crash.
[08:34:40] Sent; server replied with: No error
[08:34:40] Response code: 200
[08:34:40] Reported OOPS ID b0f32db0-cf59-11f0-a9b2-fa163ec8ca8c
root at questing:/tmp/tmp.dXgYlYRpPs#

https://errors.ubuntu.com/oops/a6919a80-cf59-11f0-a222-fa163e171f02 => Has `JournalAll`, `JournalErrors`, and `ShellJournal` (✅)
https://errors.ubuntu.com/oops/b0f32db0-cf59-11f0-a9b2-fa163ec8ca8c => Has `JournalAll`, `JournalErrors`, and `ShellJournal` (✅)


** Tags removed: verification-needed verification-needed-noble verification-needed-plucky verification-needed-questing
** Tags added: verification-done verification-done-noble verification-done-plucky verification-done-questing

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to whoopsie in Ubuntu.
https://bugs.launchpad.net/bugs/2130649

Title:
  [SRU] whoopsie drops the ShellJournal field

Status in Whoopsie:
  Confirmed
Status in whoopsie package in Ubuntu:
  Fix Released
Status in whoopsie source package in Noble:
  Fix Committed
Status in whoopsie source package in Plucky:
  Fix Committed
Status in whoopsie source package in Questing:
  Fix Committed
Status in whoopsie source package in Resolute:
  Fix Released

Bug description:
  [ Impact ]

  This bug revolves around the error reporting story in Ubuntu, which is what's
  behind https://errors.ubuntu.com .

  GNOME is generating error reports that include a `ShellJournal` field [1], but
  `whoopsie` (the service uploading the report) doesn't allow it.
  That means the error reporting story for GNOME crashes isn't great, and slows
  down the fixing of bugs in this particular situation.

  More generally, the proposed fix would add the current `ShellJournal` field,
  because it's the name currently in use in GNOME, but also adds a more generic
  `JournalAll` field, that only has a better naming, in the goal of deprecating
  the `ShellJournal` field when GNOME is updated.
  `JournalAll` would in effect allow any other application to include generic
  `journalctl` output.

  [ Test Plan ]

  To perform this test plan, one needs to be part of the `error-tracker-
  access` LP group.

  * Put the two crash files attached to this bug in an empty folder (see their description for details).
  * From that folder, run the following to make sure both crashes would be candidate for upload:
    touch _usr_libexec_gnome-shell-calendar-server.1000.upload _usr_libexec_gnome-shell-calendar-server_smaller_fields.1000.upload
  * Then, still from that folder, run the `whoopsie` under test with the following:
    CRASH_DB_URL=https://daisy.ubuntu.com APPORT_REPORT_DIR=$(pwd) CRASH_DB_IDENTIFIER=bug-2130649-verification-$(lsb_release -cs) whoopsie --no-polling -f

  This should report two OOPSes being reported with a line like the following:
    [13:24:52] Reported OOPS ID bd7ad35e-c9f9-11f0-a191-fa163e171f02

  Gather the two UUIDs and go to each OOPS page (https://errors.ubuntu.com/oops/<uuid>).
  With a non-fixed `whoopsie`, only `JournalError` will appear on the non "smaller_fields" crash report, whereas all three fields will be there with a fixed `whoopsie`.
  With the "smaller_fields" crash, all three fields should always be there.

  [ Where problems could occur ]

  * `whoopsie` is a C application doing networking and parsing. Many things could
    go wrong, but the patch only adds two lines to an allow-list, so hopefully if
    it's working today, it shouldn't break too much.
  * `whoopsie` isn't directly useful to an Ubuntu system, and is actually not
    enabled by default on Ubuntu Server. It's only triggered when some change
    happen in `/var/crash` (like file creation). Hopefully if it's broken, the user
    impact is very limited, and only Ubuntu development (crash reporting) would see
    the effects.

  [ Other Info ]

  This was first discussed on Matrix [2], as well as in person with the
  Desktop team.

  [1]: https://salsa.debian.org/gnome-team/gnome-shell/-/blob/ubuntu/latest/debian/source_gnome-shell.py?ref_type=heads#L42
  [2]: https://matrix.to/#/!QMtJBibTYYOCvXJEdv:ubuntu.com/$aZlRcLJiPXDNk_sWwfkDTtcKZrJ3L4iUaMZ_HvK1WdI?via=ubuntu.com&via=matrix.org&via=matrix.debian.social

To manage notifications about this bug go to:
https://bugs.launchpad.net/whoopsie/+bug/2130649/+subscriptions




More information about the foundations-bugs mailing list