/srv/irclogs.ubuntu.com/2015/01/06/#ubuntu-quality.txt

=== chihchun_afk is now known as chihchun
Philiphey i need some help04:13
Philipi am using linux 14.04 LTS how can i give full permission to user like a root04:15
=== chihchun is now known as chihchun_afk
rhuddiepitti, good morning :)09:49
rhuddiepitti, could you have a look at this error log I am getting with adt-run? http://pastebin.ubuntu.com/9681217/09:50
pittirhuddie: your test bed didn't run apt-get update recently09:51
pittirhuddie: probably best to create a fresh one or dist-upgrade it09:51
pittirhuddie: or, if there is no newer image, at least run "sudo apt-get update"09:52
pittirhuddie: you could do something like09:52
rhuddiepitti, this is a read-only test-bed, does that make a difference?09:52
pitti--setup-commands "mount -o remount,rw /; apt-get update; mount -o remount,ro /"09:52
pittirhuddie: yes, it's a bit awkward, but not much that we can do -- the old apt indexes that are on the r/o image just won't work as the old package versions are gone from archive.u.c.09:53
rhuddiepitti, thank you, let me give that a try09:53
pittirhuddie: the above will temporarily make the image r/w, run apt-get update, and make it r/o again09:53
rhuddiepitti, yes, as you say I don't see much else we could do09:54
rhuddiepitti, that is working now, thank you :)09:58
pittinice09:58
rhuddiepitti, I have now moved onto the next problem...10:43
rhuddiepitti, I am writing a test that uses imagemagick. However when I run the test with adt-run and install imagemagick the binaries get installed to: /tmp/adt-run.mVs3yf/deps/usr/lib/arm-linux-gnueabihf/ImageMagick-6.8.9/bin-Q1610:45
rhuddieand they are not found when I want to call them from my test10:45
rhuddieso, it seems I either need to add that directory to my path, or copy the binaries into another directory. But just wondering if you have any suggestion how to deal with this problem?10:46
pittirhuddie: it seems imagemagick changed in a strange way; but those in lib/.../bin-Q16/ wouldn't be in the $PATH for a regular system eitehr10:47
pittirhuddie: those are the files from the  imagemagick-6.q16 package; perhaps you want to use the ones from imagemagick, like usr/bin/mogrify-im6?10:47
pittilrwxrwxrwx 1 root root 25 Nov 20 11:47 /usr/bin/mogrify -> /etc/alternatives/mogrify10:48
pittilrwxrwxrwx 1 root root 20 Nov 20 11:47 /etc/alternatives/mogrify -> /usr/bin/mogrify-im610:48
pittirhuddie: alternatives obviously don't work with the "unpack into temp dir" approach, but the -im6 ones should be fine10:48
rhuddiepitti, I'll check out the -im6 ones10:48
pittirhuddie: (note, I don't have the slightest idea about this odd layout/naming -- seems some transition is going on?)10:48
pitti" This version of imagemagick is compiled for quantum depth of 16 bits.10:49
pittinow, that doesn't tell me *anything*10:49
rhuddiepitti, yes, seems very strange :)10:49
pittiPerhaps with those you can better align the quantum field phases in the warp field coils10:50
rhuddiepitti, using convert-im6, I get the following error: convert-im6: error while loading shared libraries: libMagickCore-6.Q16.so.2: cannot open shared object file: No such file or directory11:53
rhuddiepitti, the file itself is located here: /tmp/adt-run.cdEia7/deps/usr/lib/arm-linux-gnueabihf/libMagickCore-6.Q16.so.2.0.011:54
pittirhuddie: that ought to work; can you please file a bug about  it?11:55
rhuddiepitti, sure11:55
pittirhuddie: oh the fun of using deb packages on a platform that says "don't use deb packages" :)11:55
rhuddiepitti, :)11:56
elopiogood morning.14:21
elopiorhuddie: trying your apt-get update branch. Thanks for that.14:36
rhuddieelopio, oh good, hopefully you should have no problems14:36
elopiorhuddie: I'll let you know.14:37
elopiorhuddie: I found that the test that gets stuck in rtm is the wizard one. During launch_unity.14:37
elopionow I'm not quite sure if it ever worked on rtm. I think I tried it, but last year is a blur :)14:38
rhuddieelopio, oh. that is strange, I don't think I'm doing anything special there14:38
elopioI will give it a try on vivid if this update works. Then more debugging.14:39
rhuddieelopio, I've also been looking querying the device's features14:39
rhuddiewhat I have is a set of features defined for a device and a platform version, e.g. mako and vivid14:40
rhuddiethen I import them using importlib.import_module() which allows you to import a module using a variable name14:41
rhuddieso you can then combine the 2 values to work out if a specific feature should work on a device/platform combination14:42
elopiorhuddie: that sounds cool. I'm not sure how it looks like, but I'm sure it will be useful.14:42
rhuddieelopio, but I was thinking if we have a feature list defined for a device (even by codename) wouldn't that be a confidentiality problem?14:43
elopiorhuddie: the ubuntu_sanity_test project is private. I don't like it, and I don't know why thomi made it that way, but that's what we have now.14:44
rhuddieelopio, ok. well in this case I guess that would be useful :)14:44
elopiorhuddie: yes. Later I will try to make it public, so it's good that you bring that now. We can ask to the guys that work with the partners with a better view of what we will publish14:46
elopiorhuddie: the update branch installed all the debs, and the wizard test passed.14:47
elopioalesage: can you give the second review to that branch, please?14:47
elopiohttps://code.launchpad.net/~canonical-platform-qa/ubuntu-sanity-tests/apt-get-update/+merge/24563214:48
rhuddieelopio, super14:48
elopiorhuddie, alesage: for cases when a test goes crazy we need to set a timeout. We can do it per test, or per run, it's easy. The hard part is to find a suitable number of seconds.14:50
elopioshould I set something like 5 minutes more than the average it currently takes, and we update it as we add more tests?14:50
rhuddieelopio, I've noticed that re-starting unity8 can sometimes take quite a long time, which makes it difficult to timeout each test14:52
elopiorhuddie: yes, per test doesn't sound so good, because we currently can't set a different timeout for each test.14:53
rhuddieelopio, can we run tests individually yet? If we could do that we would need a way to specify smaller timeouts14:54
elopiowe run individually the external tests. We could extend that text file to include a column for timeout.14:55
elopiowe currently run all the internal tests with one single autopilot command. We could also extend it to run them one by one, and maybe add a variable for the timeout.14:55
elopiothat may turn a little messy. But it's doable.14:56
rhuddieelopio, so perhaps we should set a default value of say 2 minutes per test, and provide some method to over-ride it for longer tests?14:56
elopioa better solution could be to define a timeout variable in the base autopilot test case, and implement the code in autopilot that respects that timeout.14:56
elopiorhuddie: yes, that sounds nice. I will add cards for that, and as a quick-n-dirty solution for this week I'll set a timeout of maybe 10 minutes for the whole run.14:59
rhuddieelopio, I did a timeout on the video playback tests similar to that. It is pretty simple14:59
elopiorhuddie: can you show me the code?14:59
rhuddiefor the online video you obviously don't know how long they are going to be so I set a 10 second playback timeout15:00
rhuddielet me find it15:00
=== roadmr is now known as roadmr_afk
rhuddiehttps://bazaar.launchpad.net/~canonical-platform-qa/ubuntu-sanity-tests/video-autopilot/view/head:/ubuntu_sanity_tests/tests/test_videos.py#L9215:01
rhuddieelopio, when the timer is fired, it just sets a flag to indicate it has timed out. The test then checks that value.15:02
elopiorhuddie: I think we can do something more general with fixtures now. See http://bazaar.launchpad.net/~autopilot/autopilot/trunk/view/head:/autopilot/testcase.py#L12915:09
elopioI can do two quick things. Wrap launch_unity in that timeout fixture, which will solve our immediate problem, and is like what you are doing for the video tests.15:10
elopioor I could make a fixture that overwrites the test_timeout global value for the duration of the test. Then each test can define its timeout.15:11
elopioI'm not sure thomi and veebers are going to like that one.15:11
rhuddieelopio, yes, sounds like a good discussion15:16
=== roadmr_afk is now known as roadmr
=== charles_ is now known as charles
balloonselopio, do you have the bug about needing to update the template for autopilot in the sdk16:44
elopioballoons: I'm not sure if there is one.16:45
balloonselopio, your old branch / mp then perhaps?16:45
elopioballoons: https://code.launchpad.net/~elopio/qtcreator-plugin-ubuntu/update_tabs_autopilot_template/+merge/22525616:46
balloonsty16:46
=== qwebirc621519 is now known as slickymasterWork
=== roadmr is now known as roadmr_afk
=== bfiller is now known as bfiller_dentist
=== roadmr_afk is now known as roadmr
elopioballoons: can we now install click packages on desktop?18:56
elopionevermind, I found it.18:58
elopiosudo click install --user18:58
balloonsaye18:59
elopioballoons: how do we dbus-probe enable on the desktop?19:23
balloonselopio, lol.. we don't have aa rules so we shouldn't need it afaik19:32
elopioballoons: it's not finding the introspection things19:33
balloonselopio, on unity8?19:34
elopioballoons: yes19:34
balloonselopio, you could ask.. i'd be curious to know also19:39
balloonselopio, you could turn off apparmor i guess to confirm it's not blocking19:39
balloonshey Letozaf_19:51
Letozaf_balloons, hey, how are you ?19:51
balloonshanging in there. i have something for you to look at if you are able19:53
Letozaf_balloons, ok what?19:53
* Letozaf_ is curious19:53
balloonsLetozaf_, Roman needs help with this mp: https://code.launchpad.net/~mrqtros/ubuntu-rssreader-app/ubuntu-rssreader-app-new-devel-period/+merge/24465619:54
balloonsgood old rssreader19:54
Letozaf_balloons, oh, yes, good old rssreader19:54
* Letozaf_ is looking a the mp19:54
balloonsif you could help, it would be most excellent19:55
balloonsdid you have a good holiday?19:55
balloonsi had too much fun, heh, and injured myself19:56
Letozaf_balloons, sure I will try to help, I had quite nice holidays slept a lot :-P19:56
balloonsLetozaf_, feel free to ping or ask roman if you have questions. i'll be back in a bit19:57
Letozaf_balloons, yeah I read it on Google + are you alright now ?19:57
balloonsno, quite injured still. hunt and peck to type19:57
balloonsit's frustrating for me.. i'll have to learn humulity and patience19:57
Letozaf_balloons, :( sorry, hope you recover soon19:57
balloonsme too :--)19:58
balloonsglad to hear things went well for you.. i had a nice time besides the injury19:58
Letozaf_balloons, I am glad you enjoyed yourself, as I said I needed good sleeps and did so, so for me they were good holidays too, stayed with my family19:59
Letozaf_balloons, ok, so let me look at the mp19:59
elopioballoons: yes, I ran the dbus command on desktop and tests work.20:00
elopioI suppose we need to move that from phablet-tools to autopilot20:00
doug5balloons, mp for you20:01
Letozaf_ls -l20:12
Letozaf_ooops :-P wrong window :-P20:12
Letozaf_balloons, I had already fixed one of the problems during holidays: https://code.launchpad.net/~carla-sella/ubuntu-rssreader-app/fixed-tests-for-feed-checkbox20:18
Letozaf_balloons, this should fix the checkbox not being selected while adding a new feed in various tests20:19
Letozaf_balloons, and I had also fixed the edit topic test that was skipped: https://code.launchpad.net/~carla-sella/ubuntu-rssreader-app/fixed-test-edit-topic20:20
Letozaf_balloons, oh wait, the latter needs fixing... so if you could merge the first I will check what else is wrong20:21
Letozaf_elfy, knome, doug5 dkessel  hello everyone o/20:24
elfyhi Letozaf_ - happy new year to you :)20:25
Letozaf_elfy, happy new year to you too :-)20:25
elfyty :)20:25
=== bfiller_dentist is now known as bfiller
knomehello Letozaf_20:33
Letozaf_knome, hello happy new year :)20:34
knomeyou too20:34
Letozaf_knome, ty :)20:34
doug5Letozaf_, hellooo! :)20:34
Letozaf_doug5, hi, happy new year :)20:37
doug5Letozaf_, you too :)20:37
Letozaf_doug5, ty20:37
elopioalesage: hey, can you please update me on the status of the system settings introspection error?21:11
alesageelopio, hi, just finishing lunch21:12
alesageelopio, waiting on a Jenkins build21:12
alesageelopio, here is the latest https://code.launchpad.net/~allanlesage/ubuntu-system-settings/testing-ignore-me-many-prints-in-setup/+merge/24568421:13
elopioalesage: cool, thanks.21:14
alesageelopio, any strategic advice there?21:15
elopioalesage: are you able to reproduce the failure locally, on desktop or the phone?21:15
alesageelopio, no this failure occurs only on Jenkins21:16
elopioalesage: then I would start skipping test modules one by one, until it goes to green.21:18
alesageelopio yes it's a bit of a mess, as a couple of failures are in trunk now, not clear how they got in  https://code.launchpad.net/ubuntu-system-settings21:19
elopiomake three runs, to make sure it's actually green and stable.21:19
elopiothen two things can happen. If you add them one by one, and you spot the one that causes the error, that's the easy case. You can start skipping individual tests or statements.21:19
elopiothe hard case is when you add them one by one and things go crazy. That probably means that the problem is with the order of the tests or something is leaving a dirty environment sometimes.21:20
alesageelopio, here's a failure that's more recent, wonder if this looks familiar https://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-vivid-mako/565/testReport/junit/ubuntu_system_settings.tests.test_about/AboutTestCase/test_settings_show_correct_version_of_the_os/21:20
alesageelopio, I'm pretty sure it's in the setUp for the sound settings, as a sound test always makes a failure but not always the same test (e.g. when they're re-ordered)21:21
elopioalesage: yes. That sounds like a problem with the autopilot cache. It might be using a generic custom proxy object instead of the one corresponding to that page.21:21
elopioactually, I'm almost sure it's that. There is a mess with the validate_dbus_object details, so if you ever select a PageComponent that has no custom proxy object, it will remain on the cache making the following tests fail.21:22
alesageelopio, ok hmm, that sounds difficult21:23
alesageelopio, is there a bug for that specific issue?21:23
elopioalesage: https://bugs.launchpad.net/autopilot/+bug/135053221:24
ubot5Launchpad bug 1350532 in Autopilot "validate_dbus_object can cause more than one class in the cpo cache" [Undecided,New]21:24
elopiomight not be exactly the same, as your test is not saying that there are two classes.21:25
elopiobut it's definitely using PageComponent as the CPO, instead of the right class for that specific page.21:25
elopioalesage: it shouldn't be that hard. An error like that one can't be specific to jenkins. It will happen everywhere.21:26
alesageelopio, I see, so my short-term remedy might be to correct the test to the proper name21:26
alesageelopio, ack21:26
elopioalesage: put a breackpoint on the place where self.about_page gets instantiated. That will tell you why it's using PageComponent, instead of AboutPage or whatever it's named.21:27
alesageelopio, gotcha thx21:27
elopioalesage: if you are still stuck tomorrow, I will have time to try debugging it. Let me know how it goes.21:28
alesageelopio, k thx21:28

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