1468915489.236 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 (accountInfo.data()) : {"authMethod":0,"changeType":2,"displayName":"New account","serviceId":"com.ubuntu.tests_coolshare"}
Expected (expectedAccountInfo): {"authMethod":0,"changeType":0,"displayName":"New account","serviceId":"com.ubuntu.tests_coolshare"}
Loc: [/«BUILDDIR»/online-accounts-api-0.1+15.04.20160719/tests/daemon/functional_tests/functional_tests.cpp(550)]
1468915517.823 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+16.10.20160719/tests/daemon/functional_tests/functional_tests.cpp(561)]
Both look consistent with this being related to the "exit on idle" code. As discussed on IRC, it might be best to run the majority of tests with the exit on idle behaviour disabled, and have have one test with it enabled that is explicitly testing the behaviour.
With the attached branch added to the silo, we got failures for 2 out of the 20 builds.
First was the vivid i386 build: https:/ /launchpadlibra rian.net/ 273878957/ buildlog_ ubuntu- vivid-i386. online- accounts- api_0.1+ 15.04.20160719- 0ubuntu1_ BUILDING. txt.gz
1468915489.236 GetConnectionAp pArmorSecurityC ontext ":1.11" ::testAccountCh anges() QDBusConnection: name 'com.ubuntu. OnlineAccounts. Manager' had owner '' but we thought it was ':1.8' ::testAccountCh anges() Compared values are not the same data()) : {"authMethod" :0,"changeType" :2,"displayName ":"New account" ,"serviceId" :"com.ubuntu. tests_coolshare "} tInfo): {"authMethod" :0,"changeType" :0,"displayName ":"New account" ,"serviceId" :"com.ubuntu. tests_coolshare "} /online- accounts- api-0.1+ 15.04.20160719/ tests/daemon/ functional_ tests/functiona l_tests. cpp(550) ]
QWARN : FunctionalTests
FAIL! : FunctionalTests
Actual (accountInfo.
Expected (expectedAccoun
Loc: [/«BUILDDIR»
Second was yakkety arm64: https:/ /launchpadlibra rian.net/ 273879816/ buildlog_ ubuntu- yakkety- arm64.online- accounts- api_0.1+ 16.10.20160719- 0ubuntu1_ BUILDING. txt.gz
1468915517.823 GetConnectionAp pArmorSecurityC ontext ":1.11" ::testAccountCh anges() QDBusConnection: name 'com.ubuntu. OnlineAccounts. Manager' had owner '' but we thought it was ':1.8' ::testAccountCh anges() Compared values are not the same ed.count( )))): 0 /online- accounts- api-0.1+ 16.10.20160719/ tests/daemon/ functional_ tests/functiona l_tests. cpp(561) ]
QWARN : FunctionalTests
FAIL! : FunctionalTests
Actual (((accountChang
Expected (1) : 1
Loc: [/«BUILDDIR»
Both look consistent with this being related to the "exit on idle" code. As discussed on IRC, it might be best to run the majority of tests with the exit on idle behaviour disabled, and have have one test with it enabled that is explicitly testing the behaviour.