Latest online accounts breaks unity-scopes-api

Bug #1647946 reported by Michi Henning
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Online Accounts: Account plugins
Invalid
Undecided
Unassigned
unity-scopes-api (Ubuntu)
Invalid
Undecided
Marcus Tomlinson

Bug Description

We just got this test failure on zesty:

https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=zesty/1022/consoleFull

Search for "OnlineAccountClientTest.service_update_callback"

In the log, we see "GDBus.Error:com.google.code.AccountsSSO.SingleSignOn.Error.MethodNotKnown: Authentication method is not known."

This test has worked for well over a year and has never failed. Something must have changed outside scopes-api.

Revision history for this message
Alberto Mardegan (mardy) wrote :

This is certainly due to some of the latest changes in online-accounts-api, but the test is wrong and it was working by accident. :-)
The test creates an account for the "TestProvider" provider, but there is no TestProvider.provider file in the data/ directory of the tests. Just create such a file:

<?xml version="1.0" encoding="UTF-8"?>
<provider id="TestProvider">
  <name>Test provider</name>
  <icon>testprovider</icon>
</provider>

Changed in account-plugins:
status: New → Invalid
Changed in unity-scopes-api (Ubuntu):
status: New → In Progress
assignee: nobody → Marcus Tomlinson (marcustomlinson)
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

False alarm. This only seems to be failing on the zesty armhf build (not amd64). On the armhf builder it looks like the mock is not starting up quick enough (slow builder), so the tests just go on to use the system signon service instead.

Changed in unity-scopes-api (Ubuntu):
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.