whoopsie's network-manager state querying is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
whoopsie (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Xenial |
Fix Released
|
High
|
Unassigned | ||
Zesty |
Fix Released
|
High
|
Unassigned | ||
Artful |
Fix Released
|
High
|
Brian Murray |
Bug Description
[Impact]
whoopsie's querying of network-manager's state is broken and this results in whoopsie only being able to detect if the system is on-line when network manager's state changes. Subsequently, if one manually restarts whoopsie then whoopsie will stay off-line until an n-m state change. This can result in crashes not being uploaded. Additionally, whoopsie's systemd service file does not start after networking which is incorrect since it initially needs to query network-manager's state. (However, this ended up allowing crash reports to still be submitted because whoopsie would start first then the n-m's state would change and whoopsie would detect that.)
[Test Case] (state detection failure)
1) Manually restart the whoopsie service
2) Observe the following two messages:
"Jul 14 14:48:09 speedy whoopsie[14137]: [14:48:09] Could not get the Network Manager state:
Jul 14 14:48:09 speedy whoopsie[14137]: [14:48:09] GDBus.Error:
with the version of network-manager from -proposed you will not see these messages when restarting whoopsie.
[Test Case] (starting after network-manager0
1) Boot your system
2) Observe the following in syslog:
"Jul 17 06:46:47 speedy whoopsie[1156]: [06:46:47] Could not get the Network Manager state:
Jul 17 06:46:47 speedy whoopsie[1156]: [06:46:47] GDBus.Error:
"
with the version of network-manager in -proposed you will not see the "NetworkManager was not provided" messages.
[Regression Potential]
Its possible that systems that were not submitting crash reports suddenly will and that will use some network bandwidth and Error Tracker resources.
- Original Description -
-------
On artful crash reports are not uploaded automatically (several .crash files in /var/crash and no corresponding upload or .uploaded files)
ProblemType: BugDistroRelease: Ubuntu 17.10
Package: whoopsie 0.2.56
ProcVersionSign
Uname: Linux 4.10.0-22-generic x86_64
ApportVersion: 2.20.5-0ubuntu4
Architecture: amd64
CurrentDesktop: GNOME
Date: Mon Jun 12 09:39:29 2017
InstallationDate: Installed on 2013-09-03 (1377 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
ProcEnviron:
TERM=screen-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=fr_FR.UTF-8
SHELL=/bin/bash
RelatedPackageV
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
Changed in whoopsie (Ubuntu): | |
assignee: | nobody → Brian Murray (brian-murray) |
milestone: | none → ubuntu-17.06 |
Changed in whoopsie (Ubuntu): | |
milestone: | ubuntu-17.06 → ubuntu-17.07 |
Changed in whoopsie (Ubuntu Artful): | |
status: | New → In Progress |
importance: | Undecided → High |
description: | updated |
summary: |
- crash reports are not uploaded automatically + whoopsie's network-manager state querying is broken |
Changed in whoopsie (Ubuntu Zesty): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in whoopsie (Ubuntu Xenial): | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: id-59695177efc355a29a203a96 |
$ grep whoopsie /var/log/syslog /daisy. ubuntu. com /daisy. ubuntu. com /daisy. ubuntu. com p/NetworkManage r/ActiveConnect ion/12 p/NetworkManage r/ActiveConnect ion/12 p/NetworkManage r/ActiveConnect ion/12 p/NetworkManage r/ActiveConnect ion/12 p/NetworkManage r/ActiveConnect ion/12 p/NetworkManage r/ActiveConnect ion/12 whoopsie/ lock org.freedesktop .DBus.Error. InvalidArgs: La propriété « state » n'existe pas
Jun 11 23:17:41 herm whoopsie[1027]: [00:17:41] offline
Jun 11 23:17:42 herm whoopsie[1027]: [00:17:42] Cannot reach: https:/
Jun 11 23:17:42 herm whoopsie[1027]: [00:17:42] Cannot reach: https:/
Jun 11 23:17:42 herm whoopsie[1027]: [00:17:42] Cannot reach: https:/
Jun 12 08:00:14 herm whoopsie[1027]: [09:00:14] The default IPv4 route is: /org/freedeskto
Jun 12 08:00:14 herm whoopsie[1027]: [09:00:14] Not a paid data plan: /org/freedeskto
Jun 12 08:00:14 herm whoopsie[1027]: [09:00:14] Found usable connection: /org/freedeskto
Jun 12 08:00:14 herm whoopsie[1027]: [09:00:14] online
Jun 12 08:00:14 herm whoopsie[1027]: [09:00:14] offline
Jun 12 08:00:14 herm whoopsie[1027]: [09:00:14] The default IPv4 route is: /org/freedeskto
Jun 12 08:00:14 herm whoopsie[1027]: [09:00:14] Not a paid data plan: /org/freedeskto
Jun 12 08:00:14 herm whoopsie[1027]: [09:00:14] Found usable connection: /org/freedeskto
Jun 12 08:00:14 herm whoopsie[1027]: [09:00:14] online
Jun 12 08:37:47 herm whoopsie[25826]: [09:37:47] Using lock path: /var/lock/
Jun 12 08:37:47 herm whoopsie[25826]: [09:37:47] Could not get the Network Manager state:
Jun 12 08:37:47 herm whoopsie[25826]: [09:37:47] GDBus.Error: