** Description changed:

- I seared for "wikipedia" and "wikipedia.org" in the Software app and was
- surprised to see all of this in my systemd journal:
+ [Impact]
+ Using the old snapd search API causes messages to be written to the systemd 
log.
  
+ [Test Case]
+ 1. Start GNOME Software
+ 2. Search for some apps (e.g. "moon")
+ 
+ Expected result:
+ Results are shown, no significant logs written to systemd journal.
+ 
+ Observed result:
+ Many logs like this written:
  Jun 26 18:55:43 /usr/lib/snapd/snapd[1085]: api.go:474: jumping to "find" to 
better support legacy request "/v2/snaps?q=wikipe
  Jun 26 18:55:43 /usr/lib/snapd/snapd[1085]: api.go:393: DEBUG: use of 
obsolete "q" parameter: "/v2/snaps?q=wikipedia.org"
  Jun 26 18:55:41 /usr/lib/snapd/snapd[1085]: daemon.go:181: DEBUG: uid=1000;@ 
GET /v2/snaps?q=wikipedia 170.9766ms 200
- Jun 26 18:55:41 /usr/lib/snapd/snapd[1085]: api.go:474: jumping to "find" to 
better support legacy request "/v2/snaps?q=wikipe
- Jun 26 18:55:43 snapd[1085]: 2016/06/26 18:55:43.082461 api.go:474: jumping 
to "find" to better support legacy request "/v2/sn
- Jun 26 18:55:41 /usr/lib/snapd/snapd[1085]: api.go:393: DEBUG: use of 
obsolete "q" parameter: "/v2/snaps?q=wikipedia"
- Jun 26 18:55:39 /usr/lib/snapd/snapd[1085]: daemon.go:181: DEBUG: uid=1000;@ 
GET /v2/snaps?q=ipedia 3.484227633s 200
- Jun 26 18:55:42 snapd[1085]: 2016/06/26 18:55:41.632050 api.go:474: jumping 
to "find" to better support legacy request "/v2/sn
  
- ProblemType: Bug
- DistroRelease: Ubuntu 16.10
- Package: gnome-software 3.20.1+git20160617.1.0440874.ubuntu-xenial-0ubuntu1
- ProcVersionSignature: Ubuntu 4.4.0-25.44-generic 4.4.13
- Uname: Linux 4.4.0-25-generic x86_64
- ApportVersion: 2.20.2-0ubuntu1
- Architecture: amd64
- CurrentDesktop: GNOME
- Date: Sun Jun 26 19:19:51 2016
- EcryptfsInUse: Yes
- InstallationDate: Installed on 2016-04-09 (77 days ago)
- InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Beta amd64 
(20160408)
- SourcePackage: gnome-software
- UpgradeStatus: No upgrade log present (probably fresh install)
+ [Regression potential]
+ Low. We just use the new request name in snapd.

** Also affects: gnome-software (Ubuntu Yakkety)
   Importance: Medium
     Assignee: Robert Ancell (robert-ancell)
       Status: Fix Committed

** Also affects: gnome-software (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: gnome-software (Ubuntu Xenial)
       Status: New => Triaged

** Changed in: gnome-software (Ubuntu Xenial)
   Importance: Undecided => Medium

** Changed in: gnome-software (Ubuntu Xenial)
   Importance: Medium => Low

** Changed in: gnome-software (Ubuntu Yakkety)
   Importance: Medium => Low

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1596378

Title:
  Uses legacy /v2/snapd?q= instead of /v2/find?q= API - caused many
  messages in log

Status in gnome-software package in Ubuntu:
  Fix Committed
Status in gnome-software source package in Xenial:
  Triaged
Status in gnome-software source package in Yakkety:
  Fix Committed

Bug description:
  [Impact]
  Using the old snapd search API causes messages to be written to the systemd 
log.

  [Test Case]
  1. Start GNOME Software
  2. Search for some apps (e.g. "moon")

  Expected result:
  Results are shown, no significant logs written to systemd journal.

  Observed result:
  Many logs like this written:
  Jun 26 18:55:43 /usr/lib/snapd/snapd[1085]: api.go:474: jumping to "find" to 
better support legacy request "/v2/snaps?q=wikipe
  Jun 26 18:55:43 /usr/lib/snapd/snapd[1085]: api.go:393: DEBUG: use of 
obsolete "q" parameter: "/v2/snaps?q=wikipedia.org"
  Jun 26 18:55:41 /usr/lib/snapd/snapd[1085]: daemon.go:181: DEBUG: uid=1000;@ 
GET /v2/snaps?q=wikipedia 170.9766ms 200

  [Regression potential]
  Low. We just use the new request name in snapd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1596378/+subscriptions

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

Reply via email to