Public bug reported:

While building online-accounts-api in a silo, I hit test failures on two
builds.  Here is the yakkety armhf build that failed, and the relevant
output:

https://launchpadlibrarian.net/273307128/buildlog_ubuntu-yakkety-armhf
.online-accounts-api_0.1+16.10.20160716-0ubuntu1_BUILDING.txt.gz

1468639216.012 getIdentity 35
1468639216.013 getAuthSessionObjectPath 35 "oauth2"
1468639216.015 process {"host": "coolmail.ex", "UiPolicy": 2, "delay": 3, 
"requestorPid": 7466} "user_agent"
FAIL!  : FunctionalTests::testLifetime() '!reply.isError()' returned FALSE. ()
   Loc: 
[/«BUILDDIR»/online-accounts-api-0.1+16.10.20160716/tests/daemon/functional_tests/functional_tests.cpp(603)]

And here is the vivid armhf build failure:

https://launchpadlibrarian.net/273311762/buildlog_ubuntu-vivid-armhf
.online-accounts-api_0.1+15.04.20160716-0ubuntu1_BUILDING.txt.gz

1468640752.957 GetConnectionAppArmorSecurityContext ":1.11"
QWARN  : FunctionalTests::testAccountChanges() QDBusConnection: name 
'com.ubuntu.OnlineAccounts.Manager' had owner '' but we thought it was ':1.8'
FAIL!  : FunctionalTests::testAccountChanges() Compared values are not the same
   Actual   (((accountChanged.count()))): 0
   Expected (1)                         : 1
   Loc: 
[/«BUILDDIR»/online-accounts-api-0.1+15.04.20160716/tests/daemon/functional_tests/functional_tests.cpp(567)]

I don't know what caused the failures.  I tried updating the assertion
in the first case to print the D-Bus error on failure, but the test
passed on the next build.  There's obviously something going on here,
but I don't have time to track it down.

** Affects: online-accounts-api (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Possible races in tst_daemon tests.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/online-accounts-api/+bug/1603706/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to