Tuesday, 2018-10-09

*** yamamoto has quit IRC00:22
*** yamamoto has joined #openstack-qa00:50
*** hongbin has joined #openstack-qa01:08
openstackgerritzhufl proposed openstack/tempest master: Add response schema validation for encryption types  https://review.openstack.org/60680901:32
*** d0ugal has quit IRC01:48
*** d0ugal has joined #openstack-qa01:51
*** yamamoto has quit IRC01:56
*** aojea has joined #openstack-qa02:19
*** aojea has quit IRC02:21
*** aojea_ has joined #openstack-qa02:21
*** aojea_ has quit IRC02:22
*** aojea has joined #openstack-qa02:22
*** yamamoto has joined #openstack-qa02:24
*** aojea has quit IRC02:26
*** lbragstad has joined #openstack-qa02:43
*** gouthamr has left #openstack-qa03:01
*** dave-mccowan has quit IRC03:02
*** ramishra has joined #openstack-qa03:08
*** samP has joined #openstack-qa03:15
*** lbragstad has quit IRC03:46
*** lbragstad has joined #openstack-qa03:48
*** lbragstad has quit IRC03:58
*** hongbin has quit IRC04:00
openstackgerritManik Bindlish proposed openstack/tempest master: Correcting confusing name used in account_generator.py  https://review.openstack.org/60860904:21
*** e0ne has joined #openstack-qa04:27
*** pcaruana has joined #openstack-qa04:38
*** brinzhang has joined #openstack-qa04:53
*** e0ne has joined #openstack-qa05:04
*** e0ne has quit IRC05:04
*** agurenko has joined #openstack-qa05:30
*** Luzi has joined #openstack-qa05:48
*** ccamposr has joined #openstack-qa06:19
mbindlishAnybody can help me on this Query:  I need to set (--os-username, --os-password) values in my tests for running "tempest account generator" command. So from where I can get these values. Should I collect it from openrc file?06:26
mbindlish@gmann ^ ^06:26
*** brinzhang has quit IRC06:30
*** brinzhang has joined #openstack-qa06:31
gmannmbindlish: it does not matter what value you take because those are going to be used in unit tests and using mock. you can use 'fake_user', 'fake_password'06:33
gmannmbindlish: like this -https://github.com/openstack/tempest/blob/d2cb025c5f2e1834334a827359f910ae30ba3fc4/tempest/tests/cmd/test_account_generator.py#L2806:34
mbindlish@gmann : Actually I am trying to run "tempest account-generator" using subprocess.popen06:35
mbindlishp = subprocess.Popen(cmd, stdout=subprocess.PIPE,06:35
mbindlish                             stderr=subprocess.PIPE)06:35
mbindlishcmd : with different parameters06:35
mbindlishSo it asks for the credentials06:35
*** aojea has joined #openstack-qa06:35
mbindlishI have currently set these --os-username', 'admin', '--os-password', 'secret'. So it is running fine06:36
mbindlishSo my quesion, when ZUUL will be running, it will use devstack. So always it will use such credentials?06:36
gmannmbindlish: that is running because your env where u r running the test have 'admin' user. which would not be case everywhere06:36
gmannmbindlish: better way is to stub the cred part06:37
mbindlishwithout these cred, command can not be run, event not with fake credentials. So how will it be possible?06:38
*** kopecmartin|off is now known as kopecmartin|ruck06:38
gmannmbindlish: there is already mock class for all those requirement of account generator - MockHelpersMixin06:39
gmannmbindlish: https://github.com/openstack/tempest/blob/d2cb025c5f2e1834334a827359f910ae30ba3fc4/tempest/tests/cmd/test_account_generator.py#L4006:39
AJaegergmann: could you look at https://review.openstack.org/604631 and tell me what to do with it - happy if somebody else takes it over... I can also split up the pieces that are ok - or abandon completely. Just would like some guideance, please06:39
mbindlishI used this but command is failing due to invalid credential06:39
gmannmbindlish: you need to mock those. which is what MockHelpersMixin does,. it will give you all stub response from keystone06:39
gmannmbindlish: for which param ?06:42
gmannAJaeger: checking..06:42
mbindlish@gmann : I have used like below06:43
mbindlishhttps://www.irccloud.com/pastebin/ZyyLS1hv/06:43
mbindlishOutput: InvalidCredentials: Invalid Credentials06:44
mbindlishDetails: {'username': None, 'project_name': None, 'project_domain_id': None, 'user_domain_id': None, 'tenant_id': None, 'user_domain_name': 'Default', 'domain_name': 'Default', 'tenant_name': None, 'user_id': None, 'project_id': None, 'domain_id': None, 'project_domain_name': 'Default'}06:44
gmannmbindlish: do you have patch up? there it will be easy to debug. it looks like you need more mocking here06:45
mbindlishNot created any patch yet06:46
mbindlishI have no clue further to mock06:46
mbindlishIt was running fine with my env's cred:06:48
mbindlish def test_account_generator_exist_accounts_file(self):06:48
mbindlish        self.assertRunExit(06:48
mbindlish            ['tempest', 'account-generator', '--os-username', 'admin',06:48
mbindlish             '--os-password', 'secret', '--os-project-name', 'admin',06:48
mbindlish             '--os-tenant-name', 'admin', 'accounts.yaml'], 0)06:48
gmannmbindlish: that is running because your env where u r running the test have 'admin' user. which would not be case everywhere06:52
mbindlishyups, it was just for information06:53
*** slaweq has joined #openstack-qa06:59
*** mvkr has quit IRC06:59
*** rcernin has quit IRC07:08
AJaegergmann: I'll be back later, please comment on 604631 when you have some time. Thanks.07:11
gmannmbindlish: if you can give m,e traceback then, i can tell here what to mock07:20
gmannAJaeger done. I will say 604631 can remove tempest-cinder-v1-api job and rest of other taken care by https://review.openstack.org/#/c/580364/207:29
openstackgerritAndreas Jaeger proposed openstack/tempest master: Remove legacy-tempest-dsvm-cinder-v1  https://review.openstack.org/60886307:33
AJaegergmann: I'll push a new one instead ^ - will abandon the other one soon. Thanks07:33
gmannAJaeger: +207:34
openstackgerritAntonio Ojea proposed openstack-dev/devstack master: Add devstack ipv6 jobs  https://review.openstack.org/60869107:34
AJaegerthanks, gmann07:35
gmannAJaeger: np! thanks for taking care of those.07:37
AJaegernp07:38
openstackgerritGhanshyam Mann proposed openstack-dev/devstack master: Remove setting of unnecessary tempest config options  https://review.openstack.org/60886907:44
*** tosky has joined #openstack-qa07:46
openstackgerritzhufl proposed openstack/tempest master: Add response schema validation for volume manage  https://review.openstack.org/60887507:53
*** gkadam has joined #openstack-qa07:57
openstackgerritGhanshyam Mann proposed openstack/tempest master: Run static account tests based on tempest-full-py3  https://review.openstack.org/58036408:04
openstackgerritGhanshyam Mann proposed openstack/tempest master: Run static account tests based on tempest-full-py3  https://review.openstack.org/58036408:05
*** dtantsur|afk is now known as dtantsur08:08
dalvarezmasayukig[m]: ping re. openstack-health08:10
openstackgerritManik Bindlish proposed openstack/tempest master: [WIP] Test coverage for tempest account-generator  https://review.openstack.org/60887808:10
*** rossella_s has quit IRC08:10
masayukig[m]hi dalvarez08:11
dalvarezmasayukig[m]: hey! do you have a min? :)08:11
*** e0ne has joined #openstack-qa08:11
masayukig[m]dalvarez: yeah, sure08:11
dalvarezmasayukig[m]: i am trying to test openstack-health locally, so i installed it, i have the api running, the frontend, i created the db, users, etc. and fed a testsubunit.result file into it08:11
dalvarezmasayukig[m]: when i open the browser i have a job (no name, i guess i need to get some metadata in it) and it says the number of failures which i can see08:12
dalvarezmasayukig[m]: but i cant see the total number of tests nor passed tests08:12
dalvarezmasayukig[m]: i cant find the code in openstack-infra where the subunit2sql command is actually run to try to mimick it08:13
dalvarezwould you pls help me out? :)08:14
dalvarezid like to see the tests that are passing too08:14
*** rossella_s has joined #openstack-qa08:14
masayukig[m]dalvarez:  hm,  what kind of metadata did you added for subunit2sql?08:16
dalvarezmasayukig[m]: nothing, i just downlaoded a testubunit.report.gz from gerrit and fed it to subunit2sql with my config file (after gunzip)08:16
*** e0ne has quit IRC08:17
masayukig[m]dalvarez: ok, I think that's the reason. Let me check the metadata which openstack needs. Just a moment.08:18
dalvarezmasayukig[m]++ thanks a lot08:18
*** e0ne has joined #openstack-qa08:18
dtantsurmorning folks! can someone please review https://review.openstack.org/#/c/608620/ to unblock ironic-inspector CI?08:18
dalvarezmasayukig[m]: im trying to spot that code with codesearch but im unable to find it...08:19
dtantsurgmann: if you're still around ^^^08:19
mbindlish@gmann I have pushed:  https://review.openstack.org/608878 as WIP. So we can discuss the problem on this patch. Already added the problem situation there. If anybody could help08:22
*** e0ne has quit IRC08:26
*** sshnaidm|afk is now known as sshnaidm08:29
masayukig[m]dalvarez: so, you can see some metadata keys in the openstack-health api.py code like this https://git.openstack.org/cgit/openstack/openstack-health/tree/openstack_health/api.py#n76808:32
dalvarezmasayukig[m]: right, im trying to figure out where in zuul, openstack-infra or whatever, we are inserting those keys08:33
dalvarezmasayukig[m]: do you know where is that?08:33
masayukig[m]dalvarez: I guess this one https://git.openstack.org/cgit/openstack-infra/puppet-subunit2sql/tree/files/subunit-gearman-worker.py#n7108:34
*** agurenko has quit IRC08:36
dalvarezmasayukig[m]: so this https://git.openstack.org/cgit/openstack-infra/puppet-subunit2sql/tree/files/subunit-gearman-worker.py#n230  is not only processing the testsubunit.report.gz file but also console logs??08:36
*** rossella_s has quit IRC08:37
*** rossella_s has joined #openstack-qa08:38
masayukig[m]dalvarez: yeah, it looks like but I'm not sure.. I'm not familiar with the gearman worker.. clarkb mtreinish any comments?08:38
*** shardy has joined #openstack-qa08:40
*** agurenko has joined #openstack-qa08:47
gmanndtantsur: +2. may be dansmith can approve this as first thing in his morning.08:50
dtantsurthnx!08:50
gmannmbindlish: thanks, ll check that but may be tomorrow08:50
mbindlish@gmann fine!!08:51
openstackgerritMerged openstack-dev/devstack master: Convert to openSUSE Leap 15.0 platform testing  https://review.openstack.org/57679808:51
*** ccamposr__ has joined #openstack-qa08:56
*** lbragstad has joined #openstack-qa08:56
masayukig[m]dalvarez:  fwiw, I'm using thses metadata keys build_name, build_uuid, project, etc in my local environment.08:59
*** ccamposr has quit IRC08:59
dalvarezmasayukig[m]: oh ok so build_name would be something like 'tempest_whatever', project would be 'openstack-neutron', build_uuid?09:00
dalvarezmasayukig[m]: you're populating those from where?09:00
dalvarezMariaDB [subunit2sql]> insert into run_metadata (key, value, run_id) values ('build_name', 'tempest_test_1', 1);09:01
dalvarezERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'key, value, run_id) values ('build_name', 'tempest_test_1', 1)' at line 109:01
dalvarezim trying this meh09:01
dalvarezsry09:01
masayukig[m]dalvarez: I actually generate uuids with uuidgen command manually :-p.09:04
dalvarezmasayukig[m]: but those uuids are linked to the jobs? im confused09:04
dalvarez:D09:04
masayukig[m]dalvarez: hm, I guess you need to quote with backquotes for inserting with mysql command?09:04
dalvarezalso masayukig[m] im trying to run the query above and it doesnt work... i guess that the valid metadata keys have to be present somewhere else?09:04
dalvarezthey are MUL09:05
dalvarezoh could be lemme check09:05
dalvarezno09:05
dalvarezthat wasnt09:05
masayukig[m]dalvarez: like this? insert into run_metadata (`key`, `value`, `run_id`) values ('build_name', 'tempest_test_1', 1);09:06
dalvarezmasayukig[m]: im guessing that the keys have to be in some other table defined09:06
dalvarez?09:06
dalvarezmasayukig[m]: oh that did it09:07
dalvarezmasayukig[m]++09:07
masayukig[m]:)09:07
dalvarezmasayukig[m]: that made 'tempest_test1' to show up in the frontend now09:07
dalvarezcool thanks!09:07
dalvarezi wish those keys would be documented somwhere :P09:08
masayukig[m]dalvarez: yeah, we should have that. Any patches are welcome! :-p09:08
masayukig[m]Or, I'll push a patch for that, of course.09:09
dalvarezmasayukig[m]: haha i would love to do it but i have no idea what they mean :P i can confirm that 'project' and 'build_name' worked for me!09:10
dalvarezthat's great09:10
dalvarezthanks a lot man09:10
dalvarez\o/09:10
masayukig[m]dalvarez: It's my pleasure :)09:12
dalvarez:)) thanks!09:13
*** ccamposr has joined #openstack-qa09:16
*** ccamposr__ has quit IRC09:18
*** mvkr has joined #openstack-qa09:22
openstackgerritzhufl proposed openstack/tempest master: Add response schema validation for volume transfer  https://review.openstack.org/60889809:28
*** imacdonn has quit IRC09:39
*** aojea_ has joined #openstack-qa09:46
openstackgerritzhufl proposed openstack/tempest master: Add response schema validation for volume manage  https://review.openstack.org/60887509:48
slaweqgmann: masayukig[m]: hi, can You take a look at https://review.openstack.org/#/c/607958/ ?09:49
slaweqthx in advance09:49
*** dave-mccowan has joined #openstack-qa09:49
*** aojea_ has quit IRC09:50
*** imacdonn has joined #openstack-qa09:52
openstackgerritArx Cruz proposed openstack-infra/devstack-gate master: Enable process_stackviz function to be optional  https://review.openstack.org/47578809:56
openstackgerritMerged openstack/qa-specs master: fix tox python3 overrides  https://review.openstack.org/60670410:04
openstackgerritMerged openstack/qa-specs master: Update the URL in doc  https://review.openstack.org/60472310:04
*** tosky has quit IRC10:04
*** tosky has joined #openstack-qa10:04
*** rossella_s has quit IRC10:09
*** rossella_s has joined #openstack-qa10:10
*** yamamoto has quit IRC10:12
*** yamamoto has joined #openstack-qa10:13
*** yamamoto has quit IRC10:13
*** yamamoto has joined #openstack-qa10:14
*** lbragstad has quit IRC10:16
*** markvoelker has joined #openstack-qa10:25
*** yamamoto has quit IRC10:25
*** yamamoto has joined #openstack-qa10:26
*** yamamoto has quit IRC10:30
*** mvkr has quit IRC10:44
*** rossella_s has quit IRC10:46
*** rossella_s has joined #openstack-qa10:49
openstackgerritFederico Ressi proposed openstack/tempest master: Always requires for a tenant network when creating a VM  https://review.openstack.org/60471810:57
*** markvoelker has quit IRC10:58
*** mvkr has joined #openstack-qa11:02
*** rossella_s has quit IRC11:04
*** rossella_s has joined #openstack-qa11:05
openstackgerritMerged openstack/patrole master: Remove extra_attr kwarg from RbacMalformedResponse  https://review.openstack.org/60466811:09
openstackgerritSlawek Kaplonski proposed openstack-dev/grenade master: DNM Some debugging of not reachable FIP issue  https://review.openstack.org/60220411:12
*** yamamoto has joined #openstack-qa11:15
gmannmasayukig[m]: afazelas can u check this to unblock many of the patches-  https://review.openstack.org/#/c/608039/311:15
*** agurenko has quit IRC11:18
*** agurenko has joined #openstack-qa11:20
openstackgerritMerged openstack/tempest master: Use show_volume_type to check the result of update_volume_type  https://review.openstack.org/60683811:46
*** yamamoto has quit IRC11:49
*** yamamoto has joined #openstack-qa11:50
*** yamamoto has quit IRC11:50
*** yamamoto has joined #openstack-qa11:50
*** markvoelker has joined #openstack-qa11:51
*** rossella_s has quit IRC11:56
*** rossella_s has joined #openstack-qa12:00
*** jesusaur has quit IRC12:01
*** jesusaur has joined #openstack-qa12:06
*** rh-jelabarre has joined #openstack-qa12:10
*** brinzhang has quit IRC12:17
*** chandankumar has joined #openstack-qa12:19
*** raildo has joined #openstack-qa12:22
*** yamamoto has quit IRC12:23
*** yamamoto has joined #openstack-qa12:24
*** yamamoto has quit IRC12:29
*** yamamoto has joined #openstack-qa12:34
*** dustins has joined #openstack-qa13:02
*** yamamoto has quit IRC13:17
*** yamamoto has joined #openstack-qa13:17
*** mriedem has joined #openstack-qa13:19
openstackgerritMartin Kopec proposed openstack-infra/elastic-recheck master: Add check for bug 1796849  https://review.openstack.org/60896813:21
openstackbug 1796849 in tripleo "Mirror/network issues at mirror.us-west-1.packethost.openstack.org" [Undecided,New] https://launchpad.net/bugs/179684913:21
*** mvkr has quit IRC13:23
*** aojeagarcia has joined #openstack-qa13:25
openstackgerritAntonio Ojea proposed openstack/tempest master: Add ipv6 tempest jobs  https://review.openstack.org/60870613:28
*** lbragstad has joined #openstack-qa13:28
*** aojea has quit IRC13:28
dalvarezmasayukig[m]: pign re. openstack-health right now it's registering only results in the gate pipeline? how can i check?13:33
*** aojea has joined #openstack-qa13:38
*** awaugama has joined #openstack-qa13:42
dalvarezhttp://git.openstack.org/cgit/openstack-infra/project-config/tree/roles/submit-subunit-jobs/tasks/main.yaml#n213:44
dalvarezmasayukig[m]: ^ looks like only gate periodic and post13:44
*** hongbin has joined #openstack-qa13:48
*** michael-beaver has joined #openstack-qa13:51
*** felipemonteiro has joined #openstack-qa13:58
*** aojea has quit IRC14:02
*** aojea has joined #openstack-qa14:03
*** aojea has quit IRC14:05
*** aojea has joined #openstack-qa14:05
*** Luzi has quit IRC14:05
*** raildo has quit IRC14:06
*** raildo has joined #openstack-qa14:07
openstackgerritAntonio Ojea proposed openstack-dev/devstack master: Add devstack ipv6 jobs  https://review.openstack.org/60869114:07
*** aojea has quit IRC14:10
*** aojea has joined #openstack-qa14:10
*** mugsie has joined #openstack-qa14:14
*** aojea has quit IRC14:15
openstackgerritAntonio Ojea proposed openstack-dev/devstack master: Add devstack ipv6 jobs  https://review.openstack.org/60869114:15
*** yamamoto has quit IRC14:16
*** yamamoto has joined #openstack-qa14:17
*** yamamoto has quit IRC14:21
openstackgerritMerged openstack-dev/grenade master: nova: do not verify standard resource classes when using ironic  https://review.openstack.org/60862014:51
openstackgerritMykola Yakovliev proposed openstack/patrole master: [WIP] Group based RBAC  https://review.openstack.org/60611014:53
*** ramishra has quit IRC14:55
*** munimeha1 has joined #openstack-qa14:55
*** yamamoto has joined #openstack-qa14:57
openstackgerritSergey Vilgelm proposed openstack/patrole master: Test list functions of Neutron's API  https://review.openstack.org/60848415:15
openstackgerritLucas Alvares Gomes proposed openstack/tempest master: Use remote_client from tempest.lib.common instead of tempest.common  https://review.openstack.org/60903215:19
*** munimeha1 has quit IRC15:43
*** aojeagarcia has quit IRC15:46
openstackgerritMykola Yakovliev proposed openstack/patrole master: [WIP] Multi role RBAC validation  https://review.openstack.org/60611015:51
*** agurenko has quit IRC16:09
*** felipemonteiro has quit IRC16:19
*** ccamposr has quit IRC16:21
*** gkadam has quit IRC16:25
*** michael-beaver has quit IRC16:29
*** Michael_Beaver has joined #openstack-qa16:29
*** aojea has joined #openstack-qa16:30
*** mriedem is now known as mriedem_stew16:43
*** aojea has quit IRC16:46
*** gouthamr has joined #openstack-qa16:54
*** yamamoto has quit IRC17:08
*** yamamoto has joined #openstack-qa17:08
*** dtantsur is now known as dtantsur|afk17:08
*** aojea has joined #openstack-qa17:22
*** agurenko has joined #openstack-qa17:27
*** shardy has quit IRC17:41
*** aojea has quit IRC17:56
*** gkadam has joined #openstack-qa18:01
*** michaelbeaver has joined #openstack-qa18:04
*** yamamoto has quit IRC18:07
*** yamamoto has joined #openstack-qa18:07
*** Michael_Beaver has quit IRC18:08
*** yamamoto has quit IRC18:08
*** yamamoto has joined #openstack-qa18:09
*** yamamoto has quit IRC18:13
*** mriedem_stew is now known as mriedem18:31
openstackgerritSergey Vilgelm proposed openstack/patrole master: Test list functions of Neutron's API  https://review.openstack.org/60848418:38
*** Michael_Beaver has joined #openstack-qa18:38
*** michaelbeaver has quit IRC18:42
*** aojea has joined #openstack-qa18:49
openstackgerritMykola Yakovliev proposed openstack/patrole master: Add tests to cover network ip availability API  https://review.openstack.org/60025718:50
*** yamamoto has joined #openstack-qa18:51
*** aojea has quit IRC18:53
*** aojea has joined #openstack-qa18:53
*** aojea has quit IRC18:54
*** aojea has joined #openstack-qa18:54
*** markvoelker has quit IRC19:09
*** markvoelker has joined #openstack-qa19:09
*** markvoelker has quit IRC19:15
*** markvoelker has joined #openstack-qa19:17
*** gkadam has quit IRC19:19
*** awaugama has quit IRC19:35
*** mvkr has joined #openstack-qa19:44
*** AJaeger has left #openstack-qa19:56
*** stevebaker has quit IRC19:57
*** gouthamr has quit IRC19:58
*** dmellado has quit IRC19:58
*** michaelbeaver has joined #openstack-qa20:02
*** Michael_Beaver has quit IRC20:05
*** Michael_Beaver has joined #openstack-qa20:15
*** michaelbeaver has quit IRC20:19
*** pcaruana has quit IRC20:37
*** gouthamr has joined #openstack-qa20:50
*** dmellado has joined #openstack-qa20:53
openstackgerritSergey Vilgelm proposed openstack/patrole master: Test list functions of Neutron's API  https://review.openstack.org/60848421:01
openstackgerritSergey Vilgelm proposed openstack/patrole master: Test list functions of Neutron's API  https://review.openstack.org/60848421:07
*** stevebaker has joined #openstack-qa21:10
*** raildo has quit IRC21:18
*** aojea has quit IRC21:21
*** dustins has quit IRC21:24
*** rossella_s has quit IRC22:03
*** rossella_s has joined #openstack-qa22:03
*** slaweq has quit IRC22:17
*** michaelbeaver has joined #openstack-qa22:19
*** Michael_Beaver has quit IRC22:23
*** michaelbeaver has quit IRC22:25
*** rossella_s has quit IRC22:36
*** rossella_s has joined #openstack-qa22:40
*** rcernin has joined #openstack-qa22:42
*** mriedem has quit IRC22:57
*** hongbin has quit IRC22:58
*** lbragstad has quit IRC23:01
*** slaweq has joined #openstack-qa23:11
*** slaweq has quit IRC23:16
*** tosky has quit IRC23:21
*** yamamoto has quit IRC23:28
*** sshnaidm is now known as sshnaidm|afk23:32
*** yamamoto has joined #openstack-qa23:55

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