Thursday, 2018-05-31

*** dave-mccowan has joined #openstack-barbican00:19
*** dave-mccowan has quit IRC00:30
redrobotHmm... I know it's been a while, but I don't understand why we're using `MagicMock`s for requests in the unit tests.  It's pretty straightforward to make a real WebOb request. :-\01:06
redrobotcalling quits for today, I'll finish this patch up tomorrow morning.01:22
*** namnh has joined #openstack-barbican01:48
namnhalee_:01:52
namnhhi Ade, do you know why some barbican gates fail?01:53
namnhalee_: there are some failure gates when i run on master, even py2701:55
*** annp has joined #openstack-barbican02:13
openstackgerritNguyen Van Trung proposed openstack/barbican master: Follow the new PTI for document build  https://review.openstack.org/57136503:02
*** annp has quit IRC03:25
openstackgerritNam Nguyen Hoai proposed openstack/barbican master: TrivialFix: Update block code to be more beautiful  https://review.openstack.org/57137003:29
*** annp has joined #openstack-barbican03:31
jaosoriornamnh: it's being fixed by alee_, and redrobot04:40
alee_namnh, there are issues due to webob and pykmip changes05:02
alee_namnh, redrobot is fixing the webob changes -- I created a partial fix for the pykmip changes, but redrobot will finish it tommorow05:03
alee_namnh, hopefuly we'll get all the gate issues resolved tommorow05:04
*** namnh has quit IRC05:26
*** namnh has joined #openstack-barbican05:27
jaosorioralee_: awesomeness05:44
*** jaosorior has quit IRC05:58
*** serlex has joined #openstack-barbican06:01
*** jaosorior has joined #openstack-barbican06:14
namnhjaosorior, alee_ thanks for your information. It's greate to know.06:37
*** pcaruana has joined #openstack-barbican06:43
*** namnh has quit IRC07:04
openstackgerritNguyen Van Trung proposed openstack/barbican master: Follow the new PTI for document build  https://review.openstack.org/57136507:58
*** salmankhan has joined #openstack-barbican09:08
*** tidwellr has joined #openstack-barbican09:30
*** salmankhan1 has joined #openstack-barbican09:32
*** salmankhan has quit IRC09:34
*** salmankhan1 is now known as salmankhan09:34
*** tidwellr has quit IRC09:35
*** pbourke has joined #openstack-barbican09:40
*** salmankhan has quit IRC10:33
*** salmankhan has joined #openstack-barbican10:49
*** salmankhan has quit IRC10:54
*** salmankhan has joined #openstack-barbican10:55
*** annp has quit IRC10:57
*** salmankhan has quit IRC11:01
*** salmankhan has joined #openstack-barbican11:11
*** abishop has joined #openstack-barbican11:23
*** dave-mccowan has joined #openstack-barbican11:35
*** dave-mcc_ has joined #openstack-barbican11:40
*** dave-mccowan has quit IRC11:43
*** raildo has joined #openstack-barbican12:00
*** alee_ has quit IRC12:28
*** alee_ has joined #openstack-barbican13:20
*** rmascena has joined #openstack-barbican13:26
*** raildo has quit IRC13:29
*** tidwellr has joined #openstack-barbican14:22
*** tidwellr has quit IRC14:23
*** tidwellr has joined #openstack-barbican14:23
*** tidwellr has quit IRC15:27
*** pcaruana has quit IRC15:28
*** tidwellr has joined #openstack-barbican15:29
redrobotHeh... eventlet errors were not the rabbit hole I was expecting to go down. 😅15:37
alee_redrobot, how goes it?15:37
redrobotalee_, so there's this request mock that is mocking the way that webob==1.7.1 behaves15:40
redrobotthat changed in 1.8.115:40
redrobothttp://git.openstack.org/cgit/openstack/barbican/tree/barbican/tests/api/test_resources_policy.py#n12715:40
redrobotspecifically, `req.accept` is never `None` anymore15:40
redrobotbut when I try to change the test case to pass an accept header I'm getting eventlet errors about the local context not having a request. :-\15:41
*** tidwellr has quit IRC15:57
*** tidwellr has joined #openstack-barbican16:06
*** tidwellr has quit IRC16:07
*** tidwellr has joined #openstack-barbican16:07
*** tidwellr has quit IRC16:07
*** tidwellr has joined #openstack-barbican16:07
*** tidwellr has quit IRC16:10
*** tidwellr has joined #openstack-barbican16:15
redrobotgot it!16:32
redrobotalee_, patch incoming16:32
redrobotWhat's the patch branch name and commit message flags for storyboard?16:44
redrobotused to be bug/XXXXXX for the branch wher XXXXXX was the launchpad bug16:44
redrobotis it story/XXXXXX now?16:44
redrobotthe message used to include Closes-Bug: #XXXXXX16:45
redrobotis it Closes-Story: #XXXXXX now?16:45
redrobotfound it16:50
redrobotit's `Story: XXXXXX`16:50
alee_redrobot, excellent -- did you roll in my kmip changes too?17:00
redrobotalee_, making a dependent patch on top of yours17:00
redrobotjust sorting out an issue with my yubikey ssh key right now17:00
*** noslzzp has quit IRC17:03
*** rmascena has quit IRC17:13
*** raildo has joined #openstack-barbican17:13
openstackgerritDouglas Mendizábal proposed openstack/barbican master: Fix broken gate due to WebOb 1.8.1  https://review.openstack.org/57152817:16
*** salmankhan has quit IRC17:20
*** tidwellr has quit IRC17:29
alee_redrobot, yeah - problem is that mine wont merge without yours ..17:38
alee_redrobot, but we can figure all that out once we have it all working17:38
redrobotalee_, I see.  I can rebase-squash them into a single commit if the gate jobs pass on my patch.17:39
redrobotbrb, lunchin' and walking ma' dawg.17:40
*** tidwellr has joined #openstack-barbican17:42
*** noslzzp has joined #openstack-barbican18:02
redrobotbak18:29
redrobotomg the gates are slooooooow18:30
*** tidwellr has quit IRC18:31
*** tidwellr has joined #openstack-barbican18:37
*** tidwellr has quit IRC18:42
redrobotlooks like i need to fix 4 functional tests18:45
alee_redrobot, yup - I saw those yesterday18:51
alee_redrobot, there are also a few functional tests that fail on the kmip gate that I have not had a chance to look at18:51
alee_Requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?18:54
redrobotweird18:55
*** tidwellr has joined #openstack-barbican18:55
redrobotthe gates on my patch should be testing both mine and your patches18:56
*** serlex has quit IRC19:27
redrobothaving to read https://tools.ietf.org/html/rfc7231.html#section-5.3 to figure this out19:31
redrobotseems webob is not matching 'text/plain' to 'text/plain;charset=utf-8'19:31
redrobotalthough it claims to be compliant to that RFC19:32
redrobot:-\19:32
*** toabctl has quit IRC19:33
*** toabctl has joined #openstack-barbican19:36
redrobotI think I found the solution to all our 406 test errors in that RFC:19:45
redrobot"the origin server can either honor the header field by sending a 406 (Not Acceptable) response or disregard the header field by treating the response as if it is not subject to content negotiation."19:46
redrobotDISREGARD ALL THE THINGS!!! :D19:46
*** salmankhan has joined #openstack-barbican19:58
*** alee_ has quit IRC20:18
*** alee_ has joined #openstack-barbican20:52
*** salmankhan has quit IRC20:53
*** tidwellr has quit IRC21:11
*** abishop has quit IRC21:20
*** tidwellr has joined #openstack-barbican21:30
*** tidwellr has quit IRC21:35
redrobotI think I just opened a big can of worms with this content negotiation stuff.21:35
redrobotI'm going to comment out the problematic functional tests to we can get the gate unclogged21:35
redrobotand then try to fix this mess21:36
openstackgerritDouglas Mendizábal proposed openstack/barbican master: Fix broken gate due to breaking dependency changes  https://review.openstack.org/57152821:49
redrobotalee_, ^ squashed your commit into mine and commented out the problematic functional tests21:50
redrobotgonna need some more elbow grease to fix the content negotiation21:50
redrobotI added a new task in Storyboard to track the skipped functional tests: https://storyboard.openstack.org/#!/story/200212222:03
openstackgerritDouglas Mendizábal proposed openstack/barbican master: Fix broken gate due to breaking dependency changes  https://review.openstack.org/57152822:15
redrobot^^ stupid pep8 error... 😅22:23
redrobotalee_, almost there.  The kmip gate is failing for some reason.  I'll dig into it tomorrow.23:38
*** tidwellr has joined #openstack-barbican23:52
*** tidwellr has quit IRC23:56

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