/srv/irclogs.ubuntu.com/2014/08/28/#ubuntu-desktop.txt

=== Ursinha is now known as Ursinha-afk
pittiGood morning03:45
didrocksgood morning05:33
didrockshum, biab05:36
pittibonjour didrocks05:59
pittididrocks: so what's that "BaseException: foo bar" thing that apparenlty breaks ubuntu-developer-tools-center?05:59
didrockspitti: it's part of a test and expected (I don't remove stderr, but it's just a print)06:01
didrocksmorning pitti btw ;)06:01
pittiah right06:01
pittiso it' sjust06:01
pittiadt-run [15:39:04]: test all:  - - - - - - - - - - results - - - - - - - - - -06:01
pittiall                  FAIL stderr: 2014-08-27 15:38:35,645 [nose.plugins.manager] DEBUG: DefaultPluginManager load plugin cov = nose_cov:Cov06:01
pitti(i. e. the whole two metric tons of debug log)06:01
didrocksargh06:02
pittididrocks: alors, tu veux ajouter "allow-stderr"06:02
didrocksor see if I can remove debug infos frmo nose-cov itself06:02
didrocksor yeah, just adding your tag06:03
didrockson teardown of my tests, I'm ensuring I don't have any warning/error on stderr06:03
didrocks(for each tests)06:03
didrocksor it will raise in error06:03
pittithat's nicer for catching unexpected warnings, indeed06:04
didrocksso, I guess that's good enough, I control my own stderr from my tests06:04
pittithat's also why the "fail on stderr" is still useful by default06:04
didrocksyeah, but as it's covered in my tests for me…06:04
didrocksI have also a flag that I turn in some tests06:04
didrockswhich do the contrary06:04
didrockslike "I know I'll have a warning/error here, raise if there is none"06:04
didrocksok, so, let me add this tag06:05
didrocksI fixed the coverage wrong report issue as well06:05
didrocksso now, small tests covers 77%06:05
didrocksand I'm still at 99% with the large ones06:05
pittididrocks: wow06:07
pittididrocks: in things like umockdev I find it excessively hard to get above 80%, as the remaining code paths are error handling for obscure conditions which are not practially reproducible in tests..06:08
pittiso, congrats!06:08
didrockspitti: that's why large tests are integration tests (small are units/modules)06:08
pittiyeah, but rare corner cases are even harder to hit with integration tests than with unit tests06:09
pittilike, malloc() failures, or socket() failing, etc.06:09
didrocksand medium are large tests without network and fake data (they inherit from large tests) + as, I'm in control of the mocks, I play with sending download not matching md5sum for instance :p06:09
didrocksyeah06:09
=== jpds_ is now known as jpds
didrockspitti: ok, pushed now! Thanks for the help, I'll know where to look at now :)06:15
didrockspitti: so, as soon as you have a minute for enabling the medium tests…06:15
=== jpds is now known as Guest68298
pittididrocks: that should have failed the same way in a local run, though? didn't it?06:15
=== Guest68298 is now known as jpds_
pittididrocks: ah, that's the one which needs webternet access?06:16
didrockspitti: I'm pretty sure it didn't, (RET code was 0)06:16
didrocksI can check again if needed06:16
didrockspitti: right, so medium only need to download a docker image from the docker hub06:16
didrockslarge, if enabled, would need a fake X server (I guess xvfb can work) + webternet access06:17
pittididrocks: ok, you can sort out adding xvfb-run (you can test that locally), I'll look into wiring the http_prxy06:19
pittiI'll use the gem2deb autopkgtest for that, it fails for the same reason06:19
didrockspitti: yeah, I'll try with the medium tests first anyway, not sure I want to wire the large tests in that stage, or will do only in my daily tests run in another vm06:20
didrockspitti: ok, you're right, exit code was 4 btw without the allow-stderr06:20
didrockslocally06:20
didrocksI'll blame jetlag in China when I did this06:21
didrocks(I guess the OK at the end derouted me)06:21
seb128good morning desktopers06:43
pittibonjour seb12806:44
seb128pitti, salut, wie gehts?06:44
pittiseb128: quite fine, thanks!06:44
pittiseb128: we made an interesting observation today06:45
pittiseb128: messaging-app has 31 strings upstream, and 65 strings in ubuntu06:45
seb128is "today" started enough to be able to do observations? ;-)06:45
pittiat first I thought it was an error in message sharing/imports, but it's actually correct06:45
seb128pitti, outdated upstream template?06:45
pittiseb128: right06:45
seb128that makes sense06:45
pittiseb128: IOW, it seems ubuntu's are always current (after landing, anyway)06:45
pittiso it's possible/better to translate the ubuntu one than the upstream one, as that's notoriously outdated06:46
seb128hum06:46
pittiI directly pushed a POT update to messaging-app, but it affects others, too06:46
seb128well06:46
seb128the issue is clicks06:46
seb128they don't use langpacks06:46
pittiyes, of course06:46
seb128we need to ship back the translations to trunk06:46
pittibut still, it helps somewhat for the debs06:46
seb128right06:46
seb128but those are supposed to be the minority06:46
pittiwell, "supposed", but they aren't yet06:47
pittiseb128: anyway, it seems the imports worked well, and message sharing works06:48
seb128great06:48
pittiseb128: and FTR, yes, it was early enough :) 2014-08-28 05:43: arrived06:48
seb128so upstream got updated translations?06:49
seb128bah, you early bird ;-)06:49
pittiseb128: yes, I pushed the pot, and now upstream has the same ones06:49
pittiseb128: I noticed some broken strings, I sent an MP06:49
pittihttps://code.launchpad.net/~pitti/messaging-app/i18n-fixes/+merge/23250706:49
pitti(still needs to be reviewed)06:49
seb128https://translations.launchpad.net/messaging-app06:49
seb12846 untranslated in french, what is our team doing!06:49
pittiright06:49
pittistrings are changing like mad06:49
pittiand the POT hasn't been updated in ages06:50
pittiand some strings like the attachment ones can't be translated as they are buggy06:50
pitti(see above MP)06:50
seb128right06:50
seb128I wish we had a proper solution/option to commit pot updates to trunk06:50
seb128ideally launchpad should have recipies or integration to refresh/commit those06:51
pittiwell, you'd need to actually be able to update them without installing a gazillion build deps and building06:51
pittithen it could be done on landing06:51
didrockssweet! https://jenkins.qa.ubuntu.com/job/utopic-adt-ubuntu-developer-tools-center/206:54
pittididrocks: c'est vert !06:54
didrockspitti: j'aime le vert :)06:55
pittididrocks: moi aussi !06:55
seb128pitti, well, usually the pot update is basically running xgettext06:55
pittic'est la plus bonne coleur06:55
pitticouleur06:55
pitti(je suis sûr que c'est ^ encore faux ☺ )06:56
seb128belle06:57
seb128if that's what you mean06:57
seb128ou "la meilleur"06:57
seb128we don't use "plus bon"06:57
seb128well, we do, but not in the "+" meaning ;-)06:57
pittiseb128: ah, I thought "plus adv" -> "more adv", "la plus adv" -> "the most adv", but yeah, "good" is always special06:59
pittigood/better/best, gut/besser/bester06:59
seb128yeah06:59
seb128it's like "more good" in english06:59
pittiseb128: so it's mieux ("plus bon") and meilleur ("la plus bon")?06:59
seb128sounds wrong06:59
seb128yes07:00
pittiseb128: but it would be "cette pomme est plus grand que l'autre pomme", and "c'est la plus pomme"?07:00
pitti"c'est la plus grande pomme"?07:00
seb128grande07:00
seb128but yes ;-)07:00
pittioui; merci !07:01
seb128de rien !07:01
ypwongIs bug 1362086 a known issue in current daily build?07:24
ubot2`Launchpad bug 1362086 in ubuntu "install the system, start the os, some windows flashing" [Undecided,New] https://launchpad.net/bugs/136208607:24
ubot5bug 1362086 in Ubuntu "install the system, start the os, some windows flashing" [Undecided,New] https://launchpad.net/bugs/136208607:24
willcookeMorning all07:29
willcookeHi TheMuso07:29
seb128hey ypwong07:29
seb128hey willcooke07:29
seb128not a known issue07:29
ypwongseb128, morning07:29
ypwongseb128, another bug 1356825 saying compiz is not running07:30
ubot2`Launchpad bug 1356825 in ubuntukylin "Compiz doesn't run after log in system" [Undecided,New] https://launchpad.net/bugs/135682507:30
ubot5bug 1356825 in Ubuntu Kylin "Compiz doesn't run after log in system" [Undecided,New] https://launchpad.net/bugs/135682507:30
TheMusoHey willcooke.07:30
seb128ypwong, look at .cache/upstart/gnome-session-Unity.log?07:31
didrocksmorning willcooke07:32
seb128ypwong, is that a liveCD iso? or an installed system?07:32
seb128hey TheMuso07:32
ypwongseb128, not sure, it's tested by NUDT QA07:32
TheMusoHey folks.07:33
didrocksevening TheMuso :)07:34
happyarondidrocks: don't forget the fcitx MIR07:37
happyaron:)07:37
* happyaron off of the day, 0:37AM...07:38
ypwonghappyaron, goodnight07:38
didrockshappyaron: don't worry, told you I couldn't yesterday with the backlog, but it's on my list07:38
happyaronok07:39
happyaronypwong: thanks, :)07:39
willcookehappyaron, where are you atm?07:49
willcookehappyaron, do you want to meet today?07:49
happyaronwillcooke: I'm at Debconf, can't make it I think...07:49
willcookeahhhh - yes of course.07:49
willcookeMy brain is like swiss cheese at the moment07:49
willcookeok, happyaron I'll email you some stuff07:49
willcookehappyaron, have fun!07:49
happyaronthanks!07:50
pittididrocks: ok, I adjusted autopkgtest's VM build script for proxy handling and tested gem2deb manually in the DC; now deploying this07:51
didrockspitti: excellent!07:52
willcookedidrocks, is the PPA for dev desktop in your PPA?07:53
didrockswillcooke: for trusty yeah (ppa:didrocks/ubuntu-developer-tools-center), for utopic, just use distro07:53
willcookedidrocks, thx07:53
didrocksinstall ubuntu-developer-tools-center should be enough07:53
didrocksyw07:53
didrocks(the command is udtc)07:54
pittididrocks: the command name obviously should have started with "udev-"!07:55
* pitti apologizes; you can tell I'm waiting for test runs to finish, which don't take long enough to do something useful in between :)07:55
didrockspitti: I can see in particular that you still endure pain with the halsectomy and all this udisk/udev/ubrokenbrain things :p07:56
pittiudev is fine :)07:56
pittididrocks, jibel: *screw* *hammer* *lube* *wrench* et voilà -- your new interweb tube for autopkgtests!08:04
pittihttps://jenkins.qa.ubuntu.com/job/utopic-adt-gem2deb/?08:04
larsuinterweb tube! *giggle*08:05
didrockspitti: \o/08:06
didrockspitti: no metadata to add to enable the proxy?08:07
pittididrocks: there is, the proxy needs to be set in the cloud-init metadata08:08
pittididrocks: but that's done automatically now08:08
pittididrocks: so the tests themselves don't need to do anything08:08
didrocksexcellent :)08:08
didrocksI need to build a new vm locally, to try?08:08
didrockswith cloud-init?08:08
pittididrocks: no08:08
didrocksI just add the tests then and cross fingers without testing locally? ;)08:08
pittididrocks: that's just for the DC as it is firewalled; your local VMs (presumably) have unrestricted webternet access08:08
didrocksok08:08
pittididrocks: no, please do test locally first08:09
pittiif they don't pass locally, they won't pass in the DC either08:09
didrockssure08:09
didrocksI'm fixing the medium tests as we speak, I understand why it's failing, but not why it changed08:09
pittididrocks: btw, now that the test succeeded once, any future failure will block the package08:10
pitti(we block on regressions, but not on "always failed")08:10
didrocksyeah08:10
=== hikiko-lpt is now known as hikikoo
=== hikikoo is now known as hikiko
didrocks  Issued certificate has expired.08:19
didrockssnif :p08:19
Sweetsha1kmoin!08:31
willcookehey Sweetsha1k08:33
willcookewrong name :)08:33
willcookedidrocks, JackYu will have those translations done today he thinks08:34
seb128hey Sweetsha1k08:35
didrockswillcooke: yeah, I received an email as well, thanks a lot!08:35
=== Sweetsha1k is now known as Sweetshark
* Sweetshark feels better.08:38
pittididrocks: I'll retry the failed udtc run on i38609:19
didrockspitti: I was wondering if I can do that myself?09:19
pittiself.assertTrue(len(map_result) == 1)09:19
pittiargh!09:19
pittididrocks: yes, if you have VPN09:19
* didrocks changes silently for an equals :p09:19
pittididrocks: I find this useful:09:20
pittiself.assertEqual(len(map_result), 1, str(map_result))09:20
pittididrocks: then you see the actual value on failure09:20
didrockspitti: oh nice, didn't know that one, will update in multiple places then, thanks!09:20
pittiunless you can assert the string contents of course, then assertEquals(map_result, ['foo']) is even better09:20
didrocksI can't assert the content09:20
pittididrocks: yes, assert*() all take an optional last argument which is shown on failure; usually a string09:21
pittilike assertEqual(a, b, 'got %s, my debug variable x = %s' % (b, x))09:21
didrocksok, let me update that, while I'm testing the fixed medium tests with new certificate in adt09:21
pittididrocks: do you see http://d-jenkins.ubuntu-ci:8080/job/utopic-adt-ubuntu-developer-tools-center/ ?09:22
pittididrocks: i. e. do you have VPN set up?09:22
didrockspitti: sure, I do, the whole CI was based on it :)09:22
pittididrocks: if so, you can log in and click on "Build now"09:22
didrockspitti: yeah, doing that meanwhile09:22
didrocksthanks!09:23
pittididrocks: ah, and now of couse udtc holds back python-apt :) (but nevermind, we are in freeze anyway)09:23
didrocksahah, sorry ;)09:23
didrocks(relaunched)09:23
pitti#4 running, Gestartet durch Benutzer Didier Roche09:23
pitti\o/09:23
* pitti ^5s didrocks09:24
pittididrocks: don't use the "matrix reloaded" btw, it confuses things09:24
* didrocks high five back pitti09:24
didrockspitti: yeah, we had issues with it as well in CI09:24
didrocksok, I had assertEqual for all the others09:25
didrockslet me add the arg though09:25
didrockspitti: ok, I'll need to dig in medium tests why it can't start a docker container there. Ideally, I will be able to find how to drop myself inside the chroot09:31
=== alan_g is now known as alan_g|afk
=== alan_g|afk is now known as alan_g
didrockspitti: 2014/08/28 09:56:24 Post http:///var/run/docker.sock/v1.12/containers/create: dial unix /var/run/docker.sock: permission denied09:56
didrockspitti: do I need to relax any constraint? (I guess maybe the allow-root?)09:56
didrocksthe docker service (which needs more perms) is activated by the docker command (which doesn't need root)09:57
pittididrocks: if you need to be root to access docker, then yes, "needs-root"10:01
didrockspitti: but it doesn't log me as root, right?10:01
pittididrocks: you can run those in a separate Tests:, so the others run as user10:01
didrocks(as I have tests where I don't want that)10:01
didrockshum10:01
pittiand it's better to have finer-grained tests anyway10:01
didrocksyeah, it will just change my coverage report logic :p10:01
pittididrocks: it runs the test script as root with "needs-root"; otherwise, a user (usually "ubuntu", but can be "phablet", or something else -- that depends on the testbed)10:02
didrocksok, let's try the medium tests with that separately first10:02
didrockspitti: the command itself doesn't need to be root, it's the activated service that needs that, let's see if the tag will allow that10:03
pittididrocks: activated by what?10:03
pittididrocks: if it's a system service which is running, then your test doesn't need root10:03
pittididrocks: if you want to access the socket yourself, then you need to, of course10:03
didrockshum, /me checks the docker documentation10:06
didrocksah, actually, I think it's just that the "ubuntu" user needs to be in the docker group10:06
didrocksbut then, it needs to refresh the groups list10:06
pittididrocks: hm, that makes it complicated indeed10:07
didrocksyeah, need to add manually, and the launch bash?10:07
pittiyou'd need to start as root, detect some user (uid >= 500), add that to the group, then call the tests through su "testsuite" $user10:07
didrocksyeah, not sounds hackish…10:08
tkamppeterwillcooke, around?10:16
willcookehey tkamppeter10:18
=== jpds_ is now known as jpds
=== MacSlow is now known as MacSlow|lunch
didrockspitti: ok, I'm quite unsure, I'll be able to get the medium tests running soon inside autopkgtests though11:51
didrocksI can download the container, starts it11:51
didrocksbut for weird reason, I can't ssh to it, like if the user (that has harcoded password for this temporary session) wouldn't let me log in11:52
didrocksand same container (checked the ID) would let me log in outside the autopkg chroot, weird11:52
* didrocks starts a second container manually inside the chroot to check users11:52
didrocksah, it seems that stdout is blocked, if I cat anything…11:53
didrocksand so then, I get no prompt back11:54
didrocks(I guess someone in the autopkg setup)11:54
didrocksahah, it all comes down to that: su: System error11:55
didrockshence ssh not answering11:56
didrocks52 results only on google12:02
didrocksthat's the cost of trying something really new I guess ;)12:02
* didrocks tries to build an image with utopic docker's version, just in case there is an incompatibility12:02
=== alan_g is now known as alan_g|lunch
pittididrocks: yeah, I don't remember any test that involves docker so far12:18
didrockspitti: I'm trying 2 things: building a new trusty image with the new docker or trying utopic docker image on utopic12:19
didrocksbut building an image is taking ~30min, so I switched back to the MIRs meanwhile12:19
* pitti hands didrocks the "Pioneer!" shirtr12:19
pittis/r$//12:19
didrockspitti: ahah :) on the back, is it written "suffering"?12:20
pittididrocks: aren't these synonyms?12:20
didrocksI guess you're right ;)12:20
pittiTo boldly test where noone has tested before!12:20
didrocksheh12:20
didrocksspeaking of pain! no space left inside the chroot12:20
* didrocks <- sad face12:20
pittididrocks: reminds me of the first time we tried to run autopilot tests in autopkgtests12:21
didrocksyeah, I guess that was "fun"12:21
didrocksSweetshark: of course, it stopped on libreoffice! all your fault12:21
pittiafter 3 days or so we finally figured it out; I spent a whole afternoon with jibel trying to track down a 30 s timeout which eventually turned out to be a bamf issue12:21
didrocksargh "nice"12:22
pittididrocks: uh, you're building a biiig image there .. why not start with something smaller?12:22
didrockspitti: well, that's what I used for my medium tests, I'm building the desktop image12:22
didrocksto "simulate" the real env udtc in running in12:23
didrocksI can strip down for this test at least12:24
Trevinhopitti: oh, what is doing wrong bamf?12:27
didrockspitti: yeah, there is really something inside the chroot: PAM: System error12:28
didrocks/usr/bin/chfn -f  user returns 112:28
didrocks(inside docker)12:28
pittiTrevinho: I think back then the issue was that autopilot talked to bamf without declaring a dependency, so we didn't install it in the test env12:31
pittiTrevinho: so it just dbus-timed out for 25 s on each test, which blew up the test time from the usual 10 seconds to like 20 minutes12:31
pittibut it was not at all easy to see that :)12:31
Trevinhoouch :P12:32
pittiand then some fun setting up enough of Xvfb, dbus-server, some Xvfb options etc. to make everything actually work12:32
Trevinhoyeah, bamf is a subtle dependency...12:32
pittithen autopilot-sandbox-run was born to do all that automagically :)12:32
Trevinhoprobably that bamf module should be moved away from new AP, and just kept for the desktop version12:33
Trevinhocool12:33
=== MacSlow|lunch is now known as MacSlow
=== Ursinha-afk is now known as Ursinha
=== alan_g|lunch is now known as alan_g
Sweetsharkdidrocks: what stopped on libreoffice?13:07
Sweetsharkdidrocks: nobody expects to stop on libreoffice!13:08
didrocksSweetshark: apart if your disk is full! ;)13:08
Sweetsharklo13:08
Sweetsharklol13:08
=== Ursinha is now known as Ursinha-afk
Sweetsharkdidrocks: see the text on the back of the t-shirt: http://vmiklos.hu/blog/so-many-bugs.html13:10
didrocksahah :)13:11
larsuhaha, nice one13:11
=== Ursinha-afk is now known as Ursinha
=== jmunsch is now known as Guest11861
=== gatox is now known as gatox_lunch
didrocksok, i18n translations merged back in udtc done (and udtc 0.0.4 uploaded), now, time for a very late run :)14:37
larsudidrocks: it's not that late…14:41
larsuenjoy anyway ;)14:41
didrockslarsu: no break for 9h, I count that late :)14:41
didrocksthanks ;)14:41
larsudidrocks: man, take more breaks14:42
didrocksbut you know this "just that and I'll be done"… :p14:42
didrocksand it's just to reveal more issues, of course :)14:43
larsuyeah I know the feeling14:43
=== m_conley_away is now known as m_conley
=== gatox_lunch is now known as gatox
happyaronwillcooke: ping15:26
willcookehappyaron, hey - in a meeting, but can type15:27
=== tiheum_ is now known as tiheum
=== alan_g is now known as alan_g|EOD
didrockshappyaron: I'll finish the MIR 2nd pass tomorrow morning17:15
* didrocks EOD, see you tomorrow guys!17:15
happyarongreat, see you, :)17:16
seb128kenvandine, hey17:19
seb128kenvandine, would it be annoying if I ask to rename that DialpadSounds property?17:19
seb128like DialpadSoundsEnabled17:19
seb128or something that makes it clear from reading it that it's a on/off bool17:19
seb128and not a sound name17:19
LaneyMakeDialpadSounds17:22
happyaronbad day bad day17:22
Laney?17:22
happyaronrelatively personal issue..17:23
kenvandineseb128, fine with me17:23
seb128kenvandine, ok, please do it then ;-)17:24
kenvandineseb128, and i still want feedback from boiko17:24
seb128k17:24
kenvandineseb128, renamed17:35
seb128kenvandine, thanks, approved17:36
=== shiznix_ is now known as shiznix
=== m_conley is now known as m_conley_away

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