/srv/irclogs.ubuntu.com/2015/09/25/#ubuntu-quality.txt

=== chihchun_afk is now known as chihchun
=== spineau is now known as spineau_afk
=== spineau_afk is now known as spineau
=== chihchun is now known as chihchun_afk
brendanddobey, i finally got round to checking about that account creation. after the account creation has been attempted on the phone, my attempt to login to the same account on login.staging.ubuntu.com fails14:56
brendanddobey, so either the account creation failed or it was created in the wrong place14:56
brendanddobey, ok it seems it was actually created on production14:57
dobeyok, so the staging env wasn't created then15:01
dobeythere may be some restrictions about team membership on the staging server too15:02
brendanddobey, setup-staging.sh has definitely been run, as i see the staging apps15:11
dobeythen maybe you had something already running in the online-accounts system, and it didn't get restarted afterward15:15
brendanddobey, good point i'll check if that was started before i ran setup-staging.sh15:18
brendanddobey, setup-staging.sh itself doesn't start online-accounts-service right? it just sets the environment appropriately to make it use staging?15:23
brendanddobey, if so it shouldn't be a problem as we restart online-accounts-service with testability enabled after running it15:23
dobeyright. it restarts scope-registry and pay-service15:23
dobeybrendand: oh, are you running online-accounts-service with an infinite timeout, with testsability, for testing?15:24
brendanddobey, exactly15:24
dobeybrendand: how is it run with testability? is that an env var?15:25
brendanddobey, initctl set-env QT_LOAD_TESTABILITY=115:25
brendanddobey, so would setup-staging set the right variables to make online-accounts-service use staging or would we have to do more than that?15:26
dobeyyes, it does set the right variables. but if online-accounts-service is already running, and has an infinite timeout, it won't get the env15:27
brendanddobey, it is running when i run setup-staging.sh, but then i kill it and restart it with testability15:32
brendanddobey, maybe to be safe i should kill it before running setup-staging15:32
brendanddobey, any way i can check online-accounts-service is running against staging? i don't see any upstart log for it at least15:48
dobeybrendand: you'd have to poke at the env for it in /proc and verify that the env variables are set, i guess15:49
dobeybrendand: do you actually need to keep onine-acocunts-service running all the time for some reason other than the qt testability?15:50
brendanddobey, i'm not sure we do really15:54
brendanddobey, what's the normal timeout?15:54
dobeyi don't know, but it's a dbus-activated thing afaik15:55
brendanddobey, what environment variable am i looking out for here?15:56
brendanddobey, i don't see anything with STAGING in it anyway15:56
dobeyU1_AUTH_BASE_URL15:57
dobeyiirc15:57
dobeybrendand: use this to set up the testability env: http://pastebin.ubuntu.com/12555779/16:00
dobeybrendand: then, any programs launched, or any services activated by dbus after, will have the env var16:00
dobeyand you don't need to manually run the online-accounts-service with an infinite timeout16:00
dobeyyou can expand that to have other variables set in the same manner, if they are needed16:01

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!