Tuesday, 2018-09-04

openstackgerritMerged openstack/sahara master: Import the legacy grenade sahara job  https://review.openstack.org/59058301:16
*** rcernin has quit IRC01:24
*** rcernin has joined #openstack-sahara01:24
*** dave-mccowan has quit IRC02:13
*** Bhujay has joined #openstack-sahara04:33
*** links has joined #openstack-sahara05:41
*** zigo has quit IRC05:49
*** links has quit IRC06:09
*** Bhujay has quit IRC06:16
*** hoonetorg has joined #openstack-sahara06:24
*** rcernin has quit IRC06:33
*** Bhujay has joined #openstack-sahara06:38
*** tosky has joined #openstack-sahara07:41
openstackgerritLuigi Toscano proposed openstack/sahara master: Make sahara-grenade job voting on the "gate" queue too  https://review.openstack.org/59953008:42
toskytellesnobrega: first release of sahara-tests with rocky support (which will be followed by a 0.7.1 with more S3 support): https://review.openstack.org/#/c/599540/09:21
openstackgerritLuigi Toscano proposed openstack/sahara master: DNM grenade test: do we really need to specify the branch for the source?  https://review.openstack.org/59954209:35
openstackgerritLuigi Toscano proposed openstack/sahara master: DNM Naively try etcd3 instead of memcached as tooz backend  https://review.openstack.org/59954810:00
*** dave-mccowan has joined #openstack-sahara10:42
tellesnobregatosky, looking now10:49
tellesnobregatosky, I'm down to 9 failing tests10:58
toskyoh12:04
tellesnobregacan you take a look and see if you know what it is? it is on assert_has_calls13:24
tellesnobregait says the call are not in the calls list13:24
tellesnobregaI'm not really sure what is going on13:24
toskyuh, where?13:25
toskymaybe you changed the code in a way that the functions which were called before are not the same13:26
toskyso now the assertion is failing because the list of functions that the mock system expected to see are not there anymore13:26
tellesnobregaI will show you the error13:28
tellesnobregahttp://pastebin.test.redhat.com/64080113:29
tellesnobregathis is one of the tests13:30
tellesnobregabut most fail the same way13:30
toskyehm, the pastebin :)13:33
toskywell, yeah, probably something with the calls parameter of r.execute_command.assert_has_calls (I guess execute_command is a mock)13:34
toskyit probably contains some calls which are not executed anymore, because they changed13:34
toskyor the new code does not execute them anymore but it should, and then it's a real porting error13:35
tellesnobregathis one with extjs I don't think it changed13:36
tellesnobregalet me show you the code13:36
tellesnobregahttps://github.com/tellesnobrega/sahara-plugins/blob/master/sahara_plugins/plugins/cdh/plugin_utils.py#L356-L36813:36
tellesnobregahttps://github.com/tellesnobrega/sahara-plugins/blob/master/sahara_plugins/plugins/cdh/plugin_utils.py#L356-L36813:37
toskyand the test code?13:37
tellesnobregahttps://github.com/tellesnobrega/sahara-plugins/blob/master/sahara_plugins/tests/unit/plugins/cdh/base_plugin_utils_test.py#L245-L26213:40
openstackgerritLuigi Toscano proposed openstack/sahara master: DNM Naively try etcd3 instead of memcached as tooz backend  https://review.openstack.org/59954814:16
*** Bhujay has quit IRC14:17
toskytellesnobrega: uhm, I would try to print out the real calls14:19
tellesnobregatosky, will try that14:19
tellesnobregathanks14:19
*** openstackgerrit has quit IRC15:20
*** openstackgerrit has joined #openstack-sahara16:06
openstackgerritLuigi Toscano proposed openstack/sahara stable/rocky: Import the legacy grenade sahara job  https://review.openstack.org/59966616:06
*** Bhujay has joined #openstack-sahara16:17
openstackgerritLuigi Toscano proposed openstack/sahara master: DNM Naively try etcd3 instead of memcached as tooz backend  https://review.openstack.org/59954816:24
openstackgerritbhujay kumar proposed openstack/sahara master: Correct repo_id_map for hdp 2.5  https://review.openstack.org/59967716:26
openstackgerritLuigi Toscano proposed openstack/sahara stable/queens: Import the legacy grenade sahara job  https://review.openstack.org/59968316:33
openstackgerritLuigi Toscano proposed openstack/sahara stable/pike: Import the legacy grenade sahara job  https://review.openstack.org/59968416:36
*** openstackgerrit has quit IRC17:22
*** Bhujay has quit IRC17:31
toskytellesnobrega: https://review.openstack.org/#/c/599530/ is ready to go too19:28
*** openstackgerrit has joined #openstack-sahara19:50
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-os_sahara stable/rocky: Update branch to point to Rocky  https://review.openstack.org/59980619:50
tellesnobregatosky, will review19:58
tellesnobregadone19:59
toskythanks20:00
toskyI need to recheck the two other grenade backports20:00
toskyit's a bit of a mess20:00
tellesnobregahow come?20:04
toskythere are few knots to solve, and as usual we are the only ones which depends on another package (heat)20:06
toskyso for some reason python-heatclient is installed from the wrong branch20:06
tellesnobregahmm20:07
tellesnobregaI see20:07
toskyyou can see it from the grenade.txt.something.gz log20:08
tellesnobregawill take a look20:11
tellesnobregado you know how to print calls from remote?20:17
tellesnobregar.execute_command.calls?20:17
toskytellesnobrega: maybe mock_calls: https://docs.python.org/3/library/unittest.mock.html#unittest.mock.Mock.mock_calls20:20
toskybut I didn't understand where the mock for r.execute_command is created20:20
tellesnobregaso, weird stuff is happening here20:23
tellesnobregaI see the calls when I print r.execute_command.mock_calls20:24
tellesnobrega(Pdb) print(r.execute_command.mock_calls)20:24
tellesnobrega[call('ls /var/lib/oozie/ext-2.2', raise_when_error=False),20:24
tellesnobrega call().__getitem__(0),20:24
tellesnobrega call().__getitem__().__ne__(0),20:24
tellesnobrega call("curl -L -o '/var/lib/oozie/extjs.zip' http://tarballs.openstack.org/sahara/dist/common-artifacts/ext-2.2.zip", run_as_root=True),20:24
tellesnobrega call('unzip /var/lib/oozie/extjs.zip -d /var/lib/oozie', run_as_root=True)]20:24
tellesnobregaAssertionError: (call("curl -L -o '/var/lib/oozie/extjs.zip' https://tarballs.openstack.org/sahara-extra/dist/common-artifacts/ext-2.2.zip", run_as_root=True),) not all found in call list20:24
tellesnobregawhen I run the tests from current sahara code20:26
tellesnobregathe only difference is this at the end of call list20:27
tellesnobrega call.calls.__str__()20:27
toskynotice the difference http -> https20:29
toskywonder how it works now, you probably forked the plugins earlier but rebased the base20:30
toskyhttp://tarballs... vs https://tarballs20:30
toskytellesnobrega: ^^20:31
tellesnobregaI can't believe I missed that20:31
openstackgerritMerged openstack/sahara stable/rocky: Import the legacy grenade sahara job  https://review.openstack.org/59966620:34
tellesnobregaa bit more, there was also a link sahara-extra20:41
tellesnobrega3 failing tests now20:42
openstackgerritMerged openstack/sahara master: Make sahara-grenade job voting on the "gate" queue too  https://review.openstack.org/59953021:34
openstackgerritLuigi Toscano proposed openstack/sahara master: DNM Naively try etcd3 instead of memcached as tooz backend  https://review.openstack.org/59954822:45
*** rcernin has joined #openstack-sahara22:55
*** tosky has quit IRC23:48
openstackgerritLuigi Toscano proposed openstack/sahara master: DNM Naively try etcd3 instead of memcached as tooz backend  https://review.openstack.org/59954823:58

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