Sunday, 2014-02-16

*** derekh has quit IRC01:09
*** jcooley_ has quit IRC02:25
*** dkehn_ has quit IRC03:50
*** dkehn_ has joined #openstack-ironic03:50
*** anniec has quit IRC04:09
*** dkehn__ has joined #openstack-ironic04:17
*** dkehn has quit IRC04:20
*** jcooley_ has joined #openstack-ironic04:20
*** dkehn_ has quit IRC04:21
*** dkehn has joined #openstack-ironic04:27
openstackgerritYongli He proposed a change to openstack/ironic: Use six.moves.urllib.parse instead of urlparse  https://review.openstack.org/7288904:52
*** jcooley_ has quit IRC04:54
*** jcooley_ has joined #openstack-ironic04:58
openstackgerritYongli He proposed a change to openstack/ironic: Remove extraneous vim configuration comments for horizon and tools  https://review.openstack.org/7316005:02
*** dkehn__ is now known as dkehn_05:10
*** jcooley_ has quit IRC05:21
*** jcooley_ has joined #openstack-ironic05:23
*** anniec has joined #openstack-ironic05:51
*** anniec_ has joined #openstack-ironic05:54
*** anniec has quit IRC05:56
*** anniec_ is now known as anniec05:56
openstackgerritJenkins proposed a change to openstack/ironic: Imported Translations from Transifex  https://review.openstack.org/7119206:06
*** killer_prince has joined #openstack-ironic06:21
*** jcooley_ has quit IRC07:00
*** jcooley_ has joined #openstack-ironic07:01
*** jcooley_ has quit IRC07:06
*** jcooley_ has joined #openstack-ironic07:18
*** jcooley_ has quit IRC07:25
*** dkehn__ has joined #openstack-ironic08:22
*** mdurnosvistov has joined #openstack-ironic08:23
*** dkehn has quit IRC08:25
*** dkehn_ has quit IRC08:25
*** dkehn has joined #openstack-ironic08:27
*** dkehn_ has joined #openstack-ironic10:54
*** dkehn__ has quit IRC10:57
*** dkehn has quit IRC10:57
*** dkehn has joined #openstack-ironic10:59
*** mdurnosvistov has quit IRC15:27
* NobodyCam makes coffee..16:11
devanandag'mornin16:17
devanandafairly sure i have a fix for our gate16:18
devanandaI spun up a RH6 instance in HPcloud to test on, and can reproduce the gate failure now16:18
devanandanot ever run fails, so I run them in a loop. that loop has not yet made it past 5 runs without failing16:19
devanandauntil this patch ...16:19
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Correct PXEPrivateMethodsTestCase.setUp  https://review.openstack.org/7387216:26
devanandaNobodyCam: ^16:26
*** jbjohnso has joined #openstack-ironic16:26
* NobodyCam takes breath16:27
NobodyCam:)16:27
NobodyCamand looks16:27
devanandalol16:27
NobodyCammorning devananda16:27
devanandag'morning!16:27
devanandagate failures were my fault, introduced in https://review.openstack.org/#/c/70468/16:28
NobodyCamahh without inheriting from16:28
NobodyCamDbTestCase16:28
devanandaand not mocking the driver load16:28
devanandathis is why we must mock stevedore in unit tests ....16:29
devanandainterestingly, we initially mocked stevedore because it wouldn't load anything repeatably in a .venv (at least, not for us)16:29
devanandait just fails randomly now16:29
NobodyCamguess we can't really come up with a test for that can we?16:30
devanandai'll file the bug in stevedore and see what dhellmann thinks16:32
NobodyCam:)16:32
devanandafor now, we need to not create a TaskManager instance in a unit test without first calling get_mockable_extension_manager16:32
NobodyCamahh, think its worth an agenda item to recap?16:34
devanandaoh, heh16:34
devanandaactually https://review.openstack.org/#/c/70481/3/ironic/tests/drivers/test_pxe.py introduced the bug16:34
devanandapart of that patch series16:34
* devananda updates commit message16:34
openstackgerritDevananda van der Veen proposed a change to openstack/ironic: Correct PXEPrivateMethodsTestCase.setUp  https://review.openstack.org/7387216:35
devanandaNobodyCam: probably better as small email16:35
NobodyCam:)16:35
devanandasome folks have been affected who don't attend the meeting16:35
NobodyCamya16:35
devanandaNobodyCam: are you goign to be around tomorrow, even though it's a holiday?16:36
NobodyCammostly.. :)16:37
NobodyCammay run out with John for a while16:38
devanandai'll be here :)16:38
devanandacode jam and team meeting and stuff ...16:39
devanandai'll be largely offline tues/wed though, hopping down to CA for the day16:39
NobodyCamwhat time we doing review / code jam16:39
NobodyCamack :)16:39
devananda8am iirc16:39
NobodyCam:-p evil16:40
*** aignatov_ has quit IRC16:46
*** datajerk1 has joined #openstack-ironic17:00
NobodyCamwoo hoo :)17:02
*** pquerna_ has joined #openstack-ironic17:03
*** pquerna_ has joined #openstack-ironic17:03
NobodyCamone +217:04
*** aignatov_ has joined #openstack-ironic17:04
*** SpamapS_ has joined #openstack-ironic17:04
*** aignatov_ is now known as aignatov17:04
*** jbjohnso has quit IRC17:08
*** datajerk has quit IRC17:08
*** SpamapS has quit IRC17:08
*** pquerna has quit IRC17:08
*** jbjohnso has joined #openstack-ironic17:15
devanandaapproved17:27
devanandaheading out for brunch in a bit, but have my phone and will be back in ~2hr, if something needs to be fixed further17:28
*** saju_m has joined #openstack-ironic17:31
NobodyCamI'll restart checks17:31
*** saju_m has quit IRC17:41
*** saju_m has joined #openstack-ironic17:42
openstackgerritA change was merged to openstack/ironic: Correct PXEPrivateMethodsTestCase.setUp  https://review.openstack.org/7387217:52
*** saju_m has quit IRC17:55
*** jcooley_ has joined #openstack-ironic18:05
*** saju_m has joined #openstack-ironic18:11
*** jbjohnso has quit IRC18:38
*** jcooley_ has quit IRC18:39
*** pquerna_ is now known as pquerna18:50
*** anniec has quit IRC19:09
*** max_lobur has joined #openstack-ironic19:31
max_loburHi Folks19:46
max_loburanybody here?19:46
max_loburNobodyCam: r u around? :)19:49
max_loburI was looking to the fix for gate19:50
max_loburwanted to make sure I correctly understand it19:50
max_loburwe had a lot of task_manager (and driver factory) calls even before https://review.openstack.org/#/c/70468/19:52
max_loburso why I worked before19:52
max_loburthe only difference is that before we had only one "not shared" task, and others were shared19:54
max_loburand now we have a lot of "not shared"19:54
max_loburthis only changes the db load, but not the driver factory...19:54
max_loburdevananda: r u around?19:59
devanandamax_lobur: hi20:14
devanandamax_lobur: this patch changes the driver loading by not trying to load extensions from the system20:14
devanandamax_lobur: take a look at tests/conductor/utils20:14
max_loburdevananda: hi there!20:14
max_loburyep, got it20:15
max_loburso this was because of real driver loading20:15
devanandayes20:15
devanandaat least, i'm pretty darn sure of that20:15
max_loburso how it worked before - we had a number of tests and everything did go smooth20:15
devanandaall the failures happened in the same test class, which was the only test class calling TaskManager and NOT patching it20:15
max_loburthey also used real task_manager20:15
devanandaand they stopped failnig when it is patched properly20:15
max_loburmaybe too much driver calls20:16
max_loburand it started failing20:16
max_loburlike critical number20:16
devanandano -- we didn't have any tests loading an extension without patching the driver load20:16
devanandauntil we landed the series of _update_neutron patches taht I wrote20:16
devanandayour patch for TaskManager wasn't the cause (though we did find and fix a problem with it)20:16
max_loburyep, that's interesting too20:17
max_loburI'm wondering - if we assume that there are some errors in pathes that we landed recently20:17
devanandathe problem was PXEPrivateMethodsTestCase not calling mgr_utils.get_mocked_node_manager(driver='fake_pxe')20:17
max_loburhow much more we will find20:17
devanandathis is why testing is important - we should never assume code is perfect20:18
max_loburahh, you're right20:18
max_loburnow I see20:18
max_loburclass PXEDriverTestCase(db_base.DbTestCase):20:18
max_lobur         mgr_utils.get_mocked_node_manager(driver='fake_pxe')20:19
max_loburit mocked node_manager20:19
max_loburbut PXEPrivateMethodsTestCase not20:20
devanandaright20:20
devanandaand it was OK before we created any TaskManager inside of PXEPrivateMethodsTestCase20:20
max_loburyep20:20
max_loburI see20:20
devanandaand when I moved some unit tests there, and added more, which created TaskManager, I forgot to patch it20:20
max_loburso you spinned RHEL vm to reproduce it?20:20
devanandayep20:20
devanandawell, CentOS20:20
max_loburis zuul running thos on CentOS?20:21
devananda$ cat /etc/centos-release20:21
devanandaCentOS release 6.3 (Final)20:21
devanandayep20:21
max_loburhmm, I didn't know20:21
max_loburI assumed the VM is exactly the same20:21
devanandawell, i think so -- zuul uses HPCloud, and I did this in HPCloud's CentOS image20:21
devanandaso20:21
devanandan20:21
devanandano20:21
devanandapy26 and py27 are not tested in teh same VM20:22
max_loburI'm running my tests inside ubuntu server 12.04 x6420:22
max_loburinteresting20:22
max_loburone more question if you have time20:22
devanandaso on centos 6.3, with a 2.6.32 kernel and py26, it fails about 40% of the time before my patch20:22
devanandai use this bash script to loop -- http://paste.openstack.org/show/66169/20:22
devanandaneed to run out very soon, have plans at 120:23
max_loburhttps://review.openstack.org/#/c/73872/2/ironic/tests/drivers/test_pxe.py why we inherited from db_base20:24
max_loburhttps://github.com/openstack/ironic/blob/master/ironic/tests/db/base.py20:24
max_loburit only creates contects20:24
max_loburbtw we creating it in our test too - currently overriding20:24
max_loburjust for consistency with others?20:25
max_loburI guess we may remove context initialization in PXEPrivateMethodsTestCase20:25
devanandahrm20:25
devanandait used to do setup/cleanup of DB20:26
devanandatest env runs multiple threads, needs to do per-thread db setup/cleanup20:26
devananda*per test setup/cleanup20:26
devanandai will look at it later20:26
max_loburk, thanks20:28
max_loburglad we figured out it20:28
*** jcooley_ has joined #openstack-ironic20:29
openstackgerritSirushti Murugesan proposed a change to openstack/ironic: Adds support for deploying Disk Images  https://review.openstack.org/7305420:32
*** jcooley_ has quit IRC20:35
max_loburhttps://review.openstack.org/#/c/66621/ failed 2620:37
max_loburnot sure how to check whether it includes the fix or not20:37
NobodyCami was to quick with the rechecks20:38
max_lobursame https://review.openstack.org/#/c/73279/20:38
max_loburahh20:38
NobodyCamya rechecked befor it actually landed20:38
max_loburhey hey NobodyCam :)20:38
NobodyCamhey hey max_lobur :)20:38
max_loburhow's your weekend going :)20:38
NobodyCamGreat so far20:39
*** saju_m has quit IRC20:39
NobodyCamhows about you20:39
max_loburnot bad :) just need to go sleep earlier today20:40
max_loburwhich is almost impossible :)20:40
NobodyCam:) and set up that local test env ...lol..j/k20:40
max_loburI already did :)20:42
max_loburyesterday20:42
NobodyCamlol :)20:42
openstackgerritSirushti Murugesan proposed a change to openstack/ironic: Adds support for deploying Disk Images  https://review.openstack.org/7305420:43
*** SpamapS_ is now known as SpamapS20:47
*** SpamapS has joined #openstack-ironic20:47
*** saju_m has joined #openstack-ironic20:54
max_loburk, night Ironic20:59
max_lobursee you tomorrow20:59
NobodyCamnight max_lobur20:59
*** max_lobur has quit IRC20:59
*** saju_m has quit IRC21:16
openstackgerritA change was merged to openstack/ironic: alembic with initial migration and tests  https://review.openstack.org/6741521:25
*** jcooley_ has joined #openstack-ironic21:25
*** jcooley_ has quit IRC21:30
*** jcooley_ has joined #openstack-ironic22:19
*** jcooley_ has quit IRC22:25
*** mdurnosvistov has joined #openstack-ironic22:42
*** mdurnosvistov has quit IRC23:29

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