*** fawadkhaliq has quit IRC | 00:06 | |
*** fawadkhaliq has joined #openstack-dns | 00:07 | |
*** johnbelamaric has joined #openstack-dns | 00:08 | |
*** fawadkhaliq has quit IRC | 00:13 | |
*** fawadkhaliq has joined #openstack-dns | 00:16 | |
*** fawadkhaliq has quit IRC | 00:21 | |
*** fawadkhaliq has joined #openstack-dns | 00:23 | |
*** _shaps_ has joined #openstack-dns | 00:38 | |
*** ducttape_ has joined #openstack-dns | 00:39 | |
*** johnbelamaric has left #openstack-dns | 00:39 | |
*** _shaps_ has quit IRC | 00:42 | |
*** ducttape_ has quit IRC | 00:50 | |
*** kei_yama has quit IRC | 01:01 | |
*** kei_yama has joined #openstack-dns | 01:01 | |
*** ducttape_ has joined #openstack-dns | 01:04 | |
*** ducttape_ has quit IRC | 01:09 | |
*** bpokorny_ has joined #openstack-dns | 01:12 | |
*** fawadkhaliq has quit IRC | 01:14 | |
*** fawadkhaliq has joined #openstack-dns | 01:14 | |
*** bpokorny has quit IRC | 01:15 | |
*** EricGonc_ has joined #openstack-dns | 01:16 | |
*** bpokorny_ has quit IRC | 01:16 | |
*** EricGonczer_ has quit IRC | 01:19 | |
*** fawadkhaliq has quit IRC | 01:20 | |
*** fawadkhaliq has joined #openstack-dns | 01:23 | |
*** fawadkhaliq has quit IRC | 01:24 | |
*** fawadkhaliq has joined #openstack-dns | 01:25 | |
*** fawadkhaliq has quit IRC | 01:27 | |
*** rudrajit has joined #openstack-dns | 01:33 | |
*** rudrajit has quit IRC | 01:33 | |
*** rudrajit has joined #openstack-dns | 01:38 | |
*** EricGonc_ has quit IRC | 01:41 | |
*** ducttape_ has joined #openstack-dns | 01:49 | |
*** stanzgy has joined #openstack-dns | 01:59 | |
*** ducttape_ has quit IRC | 02:02 | |
*** ducttape_ has joined #openstack-dns | 02:03 | |
*** kei_yama has quit IRC | 02:06 | |
*** kei_yama has joined #openstack-dns | 02:06 | |
*** ducttape_ has quit IRC | 02:08 | |
*** richm has quit IRC | 02:13 | |
*** bpokorny has joined #openstack-dns | 02:32 | |
*** _shaps_ has joined #openstack-dns | 02:53 | |
*** _shaps_ has quit IRC | 02:58 | |
*** bpokorny has quit IRC | 03:01 | |
*** fawadkhaliq has joined #openstack-dns | 03:08 | |
*** simonmcc_ has joined #openstack-dns | 03:26 | |
*** fawadkhaliq has quit IRC | 03:26 | |
*** fawadkhaliq has joined #openstack-dns | 03:26 | |
*** rudrajit has quit IRC | 03:28 | |
*** rudrajit has joined #openstack-dns | 03:29 | |
*** pfreund_ has joined #openstack-dns | 03:29 | |
*** krotscheck has joined #openstack-dns | 03:30 | |
*** fawadkhaliq has quit IRC | 03:32 | |
*** fawadkhaliq has joined #openstack-dns | 03:32 | |
*** simonmcc has quit IRC | 03:32 | |
*** dougwig has quit IRC | 03:32 | |
*** krotscheck_dcm has quit IRC | 03:32 | |
*** pfreund has quit IRC | 03:32 | |
*** andrewbogott has quit IRC | 03:33 | |
*** serverascode has quit IRC | 03:33 | |
*** adreznec has quit IRC | 03:33 | |
*** amitry has quit IRC | 03:33 | |
*** simonmcc_ is now known as simonmcc | 03:33 | |
*** adreznec has joined #openstack-dns | 03:34 | |
*** pfreund_ is now known as pfreund | 03:35 | |
*** andrewbogott has joined #openstack-dns | 03:38 | |
*** dougwig has joined #openstack-dns | 03:38 | |
*** amitry has joined #openstack-dns | 03:38 | |
*** bpokorny has joined #openstack-dns | 03:40 | |
*** serverascode has joined #openstack-dns | 03:41 | |
*** fawadkhaliq has quit IRC | 03:58 | |
*** fawadkhaliq has joined #openstack-dns | 03:59 | |
*** fawadkhaliq has quit IRC | 04:00 | |
*** fawadkhaliq has joined #openstack-dns | 04:01 | |
*** fawadkhaliq has quit IRC | 04:02 | |
*** fawadkhaliq has joined #openstack-dns | 04:02 | |
*** bpokorny has quit IRC | 04:08 | |
*** bpokorny has joined #openstack-dns | 04:24 | |
*** fawadkhaliq has quit IRC | 04:29 | |
*** fawadkhaliq has joined #openstack-dns | 04:30 | |
*** bpokorny has quit IRC | 04:47 | |
*** fawadkhaliq has quit IRC | 05:15 | |
*** fawadkhaliq has joined #openstack-dns | 05:16 | |
*** johnbelamaric has joined #openstack-dns | 05:31 | |
*** johnbelamaric has left #openstack-dns | 05:31 | |
*** fawadkhaliq has quit IRC | 05:37 | |
*** fawadkhaliq has joined #openstack-dns | 05:39 | |
*** rudrajit has quit IRC | 05:44 | |
*** rudrajit has joined #openstack-dns | 05:44 | |
*** nyechiel_ has joined #openstack-dns | 05:46 | |
*** rudrajit has quit IRC | 05:49 | |
*** pcaruana has quit IRC | 05:49 | |
*** nyechiel_ has quit IRC | 05:54 | |
*** fawadkhaliq has quit IRC | 05:59 | |
*** fawadkhaliq has joined #openstack-dns | 06:00 | |
*** fawadkhaliq has quit IRC | 06:04 | |
*** fawadkhaliq has joined #openstack-dns | 06:08 | |
*** Alex_Stef has joined #openstack-dns | 06:10 | |
*** fawadkhaliq has quit IRC | 06:19 | |
*** fawadkhaliq has joined #openstack-dns | 06:19 | |
*** fawadkhaliq has quit IRC | 06:48 | |
*** fawadkhaliq has joined #openstack-dns | 06:49 | |
*** _shaps_ has joined #openstack-dns | 07:19 | |
*** _shaps_ has quit IRC | 07:21 | |
*** _shaps_ has joined #openstack-dns | 07:22 | |
*** pcaruana has joined #openstack-dns | 07:41 | |
*** fawadkhaliq has quit IRC | 07:59 | |
*** jordanP has joined #openstack-dns | 08:01 | |
*** fawadkhaliq has joined #openstack-dns | 08:01 | |
*** fawadkhaliq has quit IRC | 08:03 | |
*** fawadkhaliq has joined #openstack-dns | 08:04 | |
*** nyechiel_ has joined #openstack-dns | 08:08 | |
*** fawadkhaliq has quit IRC | 08:37 | |
*** kei_yama has quit IRC | 08:38 | |
*** fawadkhaliq has joined #openstack-dns | 08:40 | |
*** fawadkhaliq has quit IRC | 09:05 | |
*** fawadkhaliq has joined #openstack-dns | 09:09 | |
*** fawadkhaliq has quit IRC | 09:25 | |
*** fawadkhaliq has joined #openstack-dns | 09:26 | |
*** fawadkhaliq has quit IRC | 09:41 | |
*** fawadkhaliq has joined #openstack-dns | 09:42 | |
*** fawadkhaliq has quit IRC | 09:44 | |
*** fawadkhaliq has joined #openstack-dns | 09:50 | |
*** fawadkhaliq has quit IRC | 10:09 | |
*** fawadkhaliq has joined #openstack-dns | 10:10 | |
*** fawadkhaliq has quit IRC | 10:18 | |
*** fawadkhaliq has joined #openstack-dns | 10:19 | |
*** fawadkhaliq has quit IRC | 10:25 | |
*** fawadkhaliq has joined #openstack-dns | 10:39 | |
*** fawadkhaliq has quit IRC | 10:49 | |
*** km has quit IRC | 11:15 | |
*** adreznec has quit IRC | 11:22 | |
*** lkoranda has quit IRC | 11:22 | |
*** dhellmann has quit IRC | 11:22 | |
*** dhellmann_ has joined #openstack-dns | 11:22 | |
*** adreznec has joined #openstack-dns | 11:23 | |
*** lkoranda has joined #openstack-dns | 11:23 | |
*** dhellmann_ is now known as dhellmann | 11:26 | |
*** nyechiel has joined #openstack-dns | 12:04 | |
*** nyechiel_ has quit IRC | 12:04 | |
*** EricGonczer_ has joined #openstack-dns | 12:12 | |
*** ducttape_ has joined #openstack-dns | 12:16 | |
*** stanzgy has quit IRC | 12:19 | |
*** ducttape_ has quit IRC | 12:33 | |
*** rsyed_away is now known as rsyed | 12:43 | |
*** penick has quit IRC | 12:57 | |
*** penick has joined #openstack-dns | 13:13 | |
*** richm has joined #openstack-dns | 13:14 | |
openstackgerrit | Kiall Mac Innes proposed openstack/designate: Run the cli functional tests in openstack ci https://review.openstack.org/298441 | 13:20 |
---|---|---|
openstackgerrit | Kiall Mac Innes proposed openstack/designate: Adding v2 namespaced event to zone manager https://review.openstack.org/280160 | 13:23 |
*** lkoranda has quit IRC | 13:25 | |
openstackgerrit | Graham Hayes proposed openstack/designate: Docs update https://review.openstack.org/295511 | 13:43 |
openstackgerrit | Graham Hayes proposed openstack/designate: Move to OpenStack Docs theme https://review.openstack.org/299940 | 13:43 |
openstackgerrit | Graham Hayes proposed openstack/designate: Roll up migrations to start from liberty. https://review.openstack.org/299942 | 13:48 |
*** ducttape_ has joined #openstack-dns | 13:57 | |
openstackgerrit | Merged openstack/python-designateclient: Fix an issue causing a blacklist test to fail https://review.openstack.org/299469 | 14:02 |
*** mlavalle has joined #openstack-dns | 14:06 | |
*** penick has quit IRC | 14:07 | |
openstackgerrit | Merged openstack/python-designateclient: Show responses on zone and recordset deletes https://review.openstack.org/299530 | 14:12 |
*** pglass has joined #openstack-dns | 14:23 | |
*** lkoranda has joined #openstack-dns | 14:31 | |
openstackgerrit | Merged openstack/designate: Run the cli functional tests in openstack ci https://review.openstack.org/298441 | 14:41 |
rsyed | would i need a core to "recheck no bug" or whatever to get the gates to run again for https://review.openstack.org/#/c/297477/ ? | 14:42 |
*** nyechiel has quit IRC | 14:42 | |
*** nyechiel has joined #openstack-dns | 14:43 | |
rsyed | (given that https://review.openstack.org/298441 just merged) | 14:43 |
elarson | rsyed: nope! | 14:43 |
*** andrewbogott has quit IRC | 14:47 | |
*** andrewbogott has joined #openstack-dns | 14:47 | |
eandersson^ | Any solution to the broken multi domain token support is broken in Kilo/Liberty/Mitaka yet? | 15:08 |
*** Alex_Stef has quit IRC | 15:09 | |
elarson | federico3: I get an error on my ALIAS patches b/c this patch doesn't seem to happen https://github.com/openstack/designate/blob/master/designate/tests/test_zone_manager/test_tasks.py#L113 | 15:10 |
elarson | I'm curious what the advantages are of fixtures MockPatch vs. just using patch? | 15:10 |
rsyed | elarson nothing happened! https://review.openstack.org/#/c/297477 | 15:10 |
rsyed | i feel like this: https://www.youtube.com/watch?v=HuGIgf-ICHM | 15:10 |
pglass | rsyed: it takes a bit for it to pick it up, I think | 15:11 |
rsyed | cool, thanks pglass! | 15:11 |
federico3 | elarson: undoing the patching where needed | 15:11 |
elarson | federico3: using patch as a context manage does that as well thought, right? | 15:12 |
elarson | unless I'm missing something | 15:12 |
federico3 | yes | 15:12 |
pglass | rsyed: you can check zuul too http://status.openstack.org/zuul/ it lets you filter on the review number | 15:12 |
pglass | yours is in a queue | 15:12 |
federico3 | (but you can't always use it as a context manager) | 15:12 |
rsyed | is that a ghostbusters reference | 15:12 |
rsyed | (TIL, thanks) | 15:13 |
elarson | federico3: really? do you have an example? | 15:13 |
federico3 | elarson: when you want to set up a mock during setUp and remove it inside tearDown | 15:13 |
elarson | fair enough | 15:13 |
federico3 | [unlike py.test mocking...] | 15:14 |
elarson | you know the bummer about that and unittest is that if there is a failure in setUp teardown doesn't get called at all and you only have access the class no t the instance | 15:14 |
elarson | man seriously | 15:14 |
elarson | py.test setup/teardown behavior is much nicer IMHO | 15:15 |
federico3 | and the side-effect might lead to false-positive tests, as it happened | 15:15 |
federico3 | yep | 15:15 |
Kiall | well, I believe self.useFixture(foo) will execute during the cleanup, now teardown... | 15:17 |
Kiall | but - if your using patch as a context manager or decorator, makes zero difference. | 15:18 |
Kiall | timsim: if yer around - https://review.openstack.org/#/q/status:open+project:openstack/designate+branch:stable/mitaka+topic:designate-mitaka-backports | 15:21 |
eandersson^ | Kiall: Looking into your broken multi domain token support at the moment. | 15:21 |
eandersson^ | It's impossible to use designate if you have multi domain set up. | 15:22 |
Kiall | Keystone multi domain? Really? I've seen it work in that scenario? | 15:22 |
eandersson^ | Not sure how | 15:22 |
eandersson^ | The only way it would work would be if you sent this | 15:22 |
eandersson^ | designate --os-project-name=my_lab domain-list | 15:22 |
eandersson^ | but that will fail with | 15:22 |
eandersson^ | ERROR: Authentication cannot be scoped to multiple targets. Pick one of: project, domain, trust or unscoped | 15:22 |
eandersson^ | so you need to unset the domain | 15:23 |
Kiall | So, you're using a domain scoped token? | 15:23 |
eandersson^ | Yes | 15:23 |
Kiall | rather than a project scoped (which belongs to a domain) token | 15:23 |
eandersson^ | In this case yea, as I am trying to perform this as an admin. | 15:23 |
Kiall | Ah.. Right, that's unsupported and a rather large change to make work (if that's even desired) | 15:23 |
eandersson^ | I'll test a project scoped token | 15:24 |
Kiall | e.g. nova list with that same token, I'm betting you get nothing back (but it's been a while) | 15:24 |
*** bpokorny has joined #openstack-dns | 15:24 | |
eandersson^ | Nova list works fine | 15:24 |
Kiall | The issue is, with a domain scoped token - we know the domain ID, but not the Nx projects within the domain. So we can't show you anything meaningful | 15:24 |
Kiall | Does it show the instances for all projects within the domain? | 15:25 |
eandersson^ | The only cli not working is Designate | 15:25 |
eandersson^ | hmm although we might be using the openstack client for nova | 15:25 |
eandersson^ | so maybe you are right | 15:25 |
mugsie | eandersson^: try "openstack zone list" if you have the v2 API + a newer version of designate client | 15:26 |
eandersson^ | enabling it now | 15:26 |
pglass | elarson: the addCleanups() you do in the fixture setUp get called even if there's a subsequent exception in either the fixture setup or the test setup | 15:26 |
pglass | but the tearDown() will not get called. | 15:27 |
*** bpokorny has quit IRC | 15:28 | |
eandersson^ | mugsie: That does indeed work | 15:28 |
eandersson^ | So I'll enable v2 and just use the openstack client then | 15:28 |
eandersson^ | :D | 15:28 |
mugsie | what zones does it show? | 15:29 |
eandersson^ | It shows my domain | 15:29 |
elarson | pglass: yeah, I'm just confused as to what the extra lib is bringing to the table in my case. the code hasn't changed and the pool manager api hasn't been patched, so tracking it down has meant digging into fixtures which I hadn't really looked at before. it has brought up my dislike of unittest when compared to pytest and federico3 is a fellow pytest sympathizer :P | 15:29 |
elarson | ignore my whining! | 15:29 |
eandersson^ | It does indeed not work with the domain scoped token, but it does with the project scoped token | 15:30 |
eandersson^ | which is fine | 15:30 |
eandersson^ | which makes sense | 15:30 |
*** bpokorny has joined #openstack-dns | 15:30 | |
mugsie | elarson: what I got from that was "I am just confused .... ignore my whining" | 15:30 |
federico3 | elarson: wait until I post my next CR, I had to fight testr quite a bit :-/ | 15:30 |
pglass | i'm not a big fan of those fixtures | 15:30 |
* mugsie makes a not too ignore the next review from elarson :P | 15:30 | |
pglass | at least the ones i made in the functionaltests | 15:30 |
mugsie | a note* | 15:30 |
eandersson^ | btw only have one domain int his env | 15:31 |
mugsie | ok# | 15:31 |
eandersson^ | so it only shows that one zone | 15:31 |
elarson | mugsie: :) | 15:31 |
eandersson^ | at least with openstack client and v2 we can bypass the ugly hack we had in place | 15:32 |
* mugsie needs to add projects + domains + hiriarchical projects to his reading list for newton | 15:32 | |
mugsie | make sure you have designateclient > 2.0.0 if you use openstack client | 15:32 |
mugsie | it was there in 1.5.0 with ... issues | 15:32 |
eandersson^ | Yea, will need to figure out how to approach that. | 15:32 |
elarson | mugsie: I just read that really as you were adding things to your newtwon ;) | 15:32 |
mugsie | (like never showing more than 20 records) | 15:33 |
eandersson^ | hmm only got 1.5.1 :( | 15:33 |
mugsie | 2.0.0 get released about 2 months ago | 15:35 |
elarson | federico3: do you need this fixture https://github.com/openstack/designate/blob/master/designate/tests/fixtures.py#L158 when testing the deleted zone purge test? https://github.com/openstack/designate/blob/master/designate/tests/test_zone_manager/test_tasks.py#L45 | 15:36 |
mugsie | 2.1.0 was released last night | 15:36 |
elarson | does that partition bit that happens make a difference? | 15:36 |
elarson | federico3: it looks like you could just instantiate it in setUp, set the my_partitions there and be done | 15:36 |
elarson | federico3: btw, I'm just trying to unwind things to see why they are failing for me. looking for any implicit assumptions I might be missing | 15:37 |
*** bpokorny has quit IRC | 15:48 | |
*** bpokorny has joined #openstack-dns | 15:48 | |
federico3 | elarson: it could be moved to setUp, I guess, given that we don't seem to need any complex cleanup or anything stateful in the fixture | 15:49 |
elarson | federico3: whoops! linked the wrong test https://github.com/openstack/designate/blob/master/designate/tests/test_zone_manager/test_tasks.py#L121 | 15:52 |
elarson | there the self.generate_delayed_notify_task_fixture is the one I was thinking of | 15:52 |
Kiall | timsim / elarson / mugsie: https://review.openstack.org/#/c/280160/ | 15:53 |
Kiall | (I made changes to it, so can't really +2 myself) | 15:53 |
*** ccneill has joined #openstack-dns | 15:53 | |
Kiall | I'd call it a mitaka candidate too | 15:53 |
elarson | Kiall: it is good to know that if you could +2 yourself, you would :) | 15:53 |
Kiall | I can +A it myself, I won't ;) | 15:54 |
mugsie | Kiall: that is a mitaka candiate - can you push the backport | 15:55 |
Kiall | done | 15:55 |
Kiall | https://review.openstack.org/#/c/300048/1 | 15:56 |
Kiall | https://review.openstack.org/#/c/300048/1 | 15:56 |
elarson | Kiall: hope you don't mind my comment regarding adding a comment. | 16:06 |
*** james_li has joined #openstack-dns | 16:06 | |
Kiall | meta | 16:06 |
Kiall | lol | 16:06 |
federico3 | elarson: same pattern - have you tried not using the fixtures? | 16:06 |
Kiall | let me look | 16:06 |
elarson | federico3: yeah, and I still get an error, which is good! it means they aren't broken and I'm misunderstanding them | 16:07 |
mugsie | timsim: around? | 16:07 |
Kiall | Not sure i follow elarson, we want to ensure that at least 1 of the N calls to notifier.info contains each of the 2 sets of arguments. | 16:08 |
*** pcaruana has quit IRC | 16:08 | |
elarson | Kiall: the two things that would be good clarify are 1) why do we have a zone and domain and 2) that both should be called for each zone. | 16:09 |
timsim | o/ | 16:10 |
Kiall | Ah, compatibility .. this is an "API" between us an e.g. ceilometer etc. We can't just change it, we have to move from 1 to the other over time. I'll add that comment. | 16:10 |
rsyed | hey pglass i forgot: in your change to enable the CLI functionaltests, they were added to the post-test hook for the devstack gate. meaning rechecking my CLI change wouldn't have triggered those tests (they don't apply to CLI gates) | 16:10 |
pglass | rsyed: the devstack gate in python-designateclient should be identical to one in the designate gate | 16:11 |
pglass | i think | 16:11 |
Kiall | they are identical | 16:11 |
rsyed | cool, thanks for the clarification | 16:11 |
openstackgerrit | Kiall Mac Innes proposed openstack/designate: Adding v2 namespaced event to zone manager https://review.openstack.org/280160 | 16:12 |
Kiall | mugsie / elarson: updated with a comment explaing the 2 event | 16:12 |
Kiall | s | 16:12 |
elarson | badoosh! | 16:12 |
mugsie | timsim: https://review.openstack.org/#/q/status:open+project:openstack/designate+branch:stable/mitaka+topic:designate-mitaka-backports | 16:13 |
mugsie | + https://review.openstack.org/#/c/300048/2 | 16:13 |
mugsie | elarson: if you could review these as well, so we can gte your stable review stats up so I can get you added to our list of stable reviewers | 16:14 |
elarson | will do! | 16:14 |
elarson | mugsie: I was able to +2 https://review.openstack.org/c/299960 timsim had already workflowed that change, but just a fyi | 16:16 |
mugsie | ah, stable mitaka has different rules it seems | 16:18 |
Kiall | Which review is that? (url invalid ;)) | 16:18 |
*** rudrajit has joined #openstack-dns | 16:18 | |
mugsie | https://github.com/openstack-infra/project-config/blob/master/gerrit/acls/openstack/designate.config#L19-L33 | 16:18 |
mugsie | Kiall: stick a #/ in front of the c/ | 16:18 |
mugsie | https://review.openstack.org/#/c/299960 | 16:18 |
Kiall | effort :P | 16:18 |
*** fawadkhaliq has joined #openstack-dns | 16:19 | |
elarson | Kiall: my web browser reloads does a redirect for me | 16:19 |
Kiall | lies :P | 16:19 |
elarson | and it is in emacs... so... | 16:19 |
elarson | ok, that is not true ;) | 16:19 |
mugsie | elarson: did you see you can now run emacs on Windows 10 :P | 16:20 |
Kiall | mugsie: he's been running windows in emacs for years ;) | 16:20 |
mugsie | my favorite line from the demo is "and of course I have no idea how to close emacs, so I am just going to close the terminal window" | 16:21 |
Kiall | ^ loved that one too ;) | 16:21 |
elarson | mugsie: haha, I didn't see the demo. did that really happen? | 16:21 |
mugsie | yeah | 16:22 |
*** lkoranda has quit IRC | 16:22 | |
mugsie | it was great :) | 16:23 |
mugsie | I saw a comment somehwere that "its easy to close emacs - you just M+x reboot" | 16:23 |
mugsie | (or whatever the shell macro is in emacs) | 16:24 |
elarson | lol, that is awesome :0 | 16:25 |
elarson | :) | 16:26 |
*** lkoranda has joined #openstack-dns | 16:29 | |
*** rudrajit has quit IRC | 16:32 | |
*** penick has joined #openstack-dns | 16:34 | |
*** fawadkhaliq has quit IRC | 16:36 | |
*** fawadkhaliq has joined #openstack-dns | 16:37 | |
*** _shaps_ has quit IRC | 16:38 | |
*** fawadkhaliq has quit IRC | 16:41 | |
*** fawadkhaliq has joined #openstack-dns | 16:41 | |
*** nyechiel has quit IRC | 16:48 | |
*** rsyed is now known as rsyed_away | 16:48 | |
*** nyechiel has joined #openstack-dns | 16:56 | |
mugsie | https://hangouts.google.com/hangouts/_/managedit.ie/austinplanningmeetup Kiall timsim elarson mlavalle | 16:58 |
*** lkoranda has quit IRC | 16:58 | |
* timsim untangles his headphones | 17:00 | |
* elarson puts on his wizard hat | 17:01 | |
mugsie | https://docs.google.com/presentation/d/1xQ4cJ1rDZlVwnL1RwYE5Arvv9sbTKMRW3Tu6zQZEeHc/edit?usp=sharing | 17:04 |
*** james_li has quit IRC | 17:11 | |
*** lkoranda has joined #openstack-dns | 17:14 | |
*** rudrajit has joined #openstack-dns | 17:15 | |
*** penick has quit IRC | 17:21 | |
*** penick has joined #openstack-dns | 17:27 | |
*** fawadkhaliq has quit IRC | 17:28 | |
*** fawadkhaliq has joined #openstack-dns | 17:30 | |
*** ccneill has quit IRC | 17:33 | |
*** ccneill has joined #openstack-dns | 17:35 | |
*** ducttape_ has quit IRC | 17:39 | |
*** rsyed_away is now known as rsyed | 17:40 | |
openstackgerrit | Federico Ceratto proposed openstack/designate: WIP Move unit and functional testing to MySQL https://review.openstack.org/300112 | 17:41 |
*** rudrajit_ has joined #openstack-dns | 17:44 | |
*** nyechiel has quit IRC | 17:45 | |
*** fawadkhaliq has quit IRC | 17:46 | |
*** fawadkhaliq has joined #openstack-dns | 17:46 | |
*** rudrajit has quit IRC | 17:47 | |
*** fawadkhaliq has quit IRC | 17:47 | |
*** fawadkhaliq has joined #openstack-dns | 17:47 | |
-openstackstatus- NOTICE: Job failures for missing traceroute packages are in the process of being fixed now, ETA 30 minutes to effectiveness for new jobs | 17:47 | |
*** fawadkhaliq has quit IRC | 17:47 | |
*** fawadkhaliq has joined #openstack-dns | 17:48 | |
*** fawadkhaliq has quit IRC | 17:48 | |
*** fawadkhaliq has joined #openstack-dns | 17:49 | |
*** fawadkhaliq has quit IRC | 17:50 | |
*** ducttape_ has joined #openstack-dns | 17:50 | |
*** fawadkhaliq has joined #openstack-dns | 17:50 | |
*** fawadk has joined #openstack-dns | 18:06 | |
*** fawadkhaliq has quit IRC | 18:07 | |
*** fawadk has quit IRC | 18:09 | |
*** jasonsb has joined #openstack-dns | 18:10 | |
*** jasonsb has quit IRC | 18:13 | |
*** nyechiel has joined #openstack-dns | 18:18 | |
*** james_li has joined #openstack-dns | 18:19 | |
*** bpokorny has quit IRC | 18:24 | |
*** penick has quit IRC | 18:27 | |
*** fawadkhaliq has joined #openstack-dns | 18:29 | |
*** nyechiel has quit IRC | 18:34 | |
*** bpokorny has joined #openstack-dns | 18:40 | |
*** bpokorny has quit IRC | 18:40 | |
*** bpokorny has joined #openstack-dns | 18:41 | |
*** nyechiel has joined #openstack-dns | 18:47 | |
*** rudrajit_ has quit IRC | 18:49 | |
*** rudrajit has joined #openstack-dns | 18:49 | |
*** nyechiel has quit IRC | 18:52 | |
*** nkinder has joined #openstack-dns | 18:58 | |
*** jordanP has quit IRC | 19:00 | |
*** openstackgerrit has quit IRC | 19:03 | |
*** openstackgerrit has joined #openstack-dns | 19:04 | |
*** ChanServ sets mode: +v openstackgerrit | 19:04 | |
*** penick has joined #openstack-dns | 19:06 | |
*** penick has quit IRC | 19:07 | |
*** penick has joined #openstack-dns | 19:14 | |
*** nkinder has quit IRC | 19:15 | |
*** penick has quit IRC | 19:16 | |
-openstackstatus- NOTICE: Any jobs which erroneously failed on missing traceroute packages should be safe to recheck now | 19:54 | |
*** penick has joined #openstack-dns | 20:25 | |
*** fawadkhaliq has quit IRC | 20:27 | |
*** fawadkhaliq has joined #openstack-dns | 20:27 | |
*** bpokorny has quit IRC | 20:32 | |
*** bpokorny has joined #openstack-dns | 20:34 | |
elarson | pglass: do you know of a way to ignore the pythonlogging capture when running a test with tox? | 20:35 |
elarson | running a single test seems to be missing some setup bits that make it fail loading the config so I've been stuck with tox -e py27 mod.path.to.test and ther e is a massive log I have to try to hop around in | 20:35 |
pglass | nope | 20:40 |
elarson | bummer :( | 20:40 |
pglass | i haven't really run those unittests | 20:40 |
pglass | elarson: you can try `export OS_LOG_CAPTURE=0` | 20:41 |
*** fawadkhaliq has quit IRC | 20:42 | |
* elarson double checks if that is what he did | 20:42 | |
* elarson tried -1 | 20:43 | |
elarson | trying 0 now | 20:43 |
pglass | although you might need to add a `passenv = OS_LOG_CAPTURE` in tox.ini | 20:43 |
pglass | it looks like | 20:43 |
elarson | pglass: isn't that already there? | 20:43 |
* elarson checks | 20:43 | |
pglass | it's not for the `[testenv]` block | 20:44 |
pglass | it is for the functional tests | 20:44 |
*** fawadkhaliq has joined #openstack-dns | 20:45 | |
pglass | although I don't actually know what picks up on that variable | 20:46 |
elarson | yeah, just noticed that | 20:46 |
Kiall | if OS_LOG_CAPTURE is missing from the passenv, we should add it | 20:58 |
Kiall | (and there are others like it too...) | 20:58 |
Kiall | https://github.com/openstack/oslotest/blob/master/oslotest/base.py#L35 | 20:58 |
pglass | so `OS_LOG_CAPTURE=0` will get rid of the pythonlogging bit, but you'll still get stderr printing stuff | 21:00 |
elarson | pglass: really? that didn't work for me | 21:01 |
* elarson keeps trying | 21:01 | |
pglass | elarson: on the one test case I was checking (designate.tests.unit.test_central.test_basic.CentralServiceTestCase.test_create_zone_forbidden), it would no longer say "captured pythonlogging" or whatever, but all the same logs would get printed to stderr | 21:02 |
Kiall | Right, when you don't capture the logs, the end up on stderr, which can also silence with OS_STDERR_CAPTURE=0 - now, if that causes them to end up on the real stderr, you can redirect to /dev/null | 21:03 |
Kiall | Though, I think I've just learned to live with all the logs. | 21:04 |
*** rsyed is now known as rsyed_away | 21:04 | |
elarson | geez | 21:05 |
Kiall | with a real shell, it's reasonable to deal with them.. with a poor text editor like emacs, it must be harder :D | 21:06 |
elarson | holy crapola... are you serious Kiall. OMG | 21:06 |
pglass | yeah, that works. | 21:07 |
pglass | export OS_LOG_CAPTURE=0 | 21:07 |
pglass | export OS_STDERR_CAPTURE=0 | 21:07 |
pglass | tox -e py27 -- designate.tests.unit.test_central.test_basic.CentralServiceTestCase.test_create_zone_forbidden 2>/dev/null | 21:07 |
pglass | with the appropriate passenvs added in tox.ini | 21:07 |
elarson | yeah, doing both does the jazz | 21:07 |
elarson | yup | 21:07 |
Kiall | Anyway, the real moral of the story is, we shouldn't execute every line of designate code in every test ;) | 21:08 |
elarson | indeed | 21:08 |
elarson | right now I'm trying to figure out why test_generate_delayed_notify_zones is not returning the 10 delayed zones even though it confirms it they are there before actually testing the task | 21:09 |
*** jschwarz has joined #openstack-dns | 21:09 | |
elarson | my only theory is my migration screwed up something... | 21:09 |
Kiall | could the service be running and the notifies sent? | 21:11 |
Kiall | (also, are our tests actually sending notifies somewhere? lol) | 21:11 |
openstackgerrit | Merged openstack/designate: Adding v2 namespaced event to zone manager https://review.openstack.org/280160 | 21:11 |
elarson | hmm... I don't think so ? | 21:11 |
Kiall | I'd say they probably are ;) But that's unrelated I gues | 21:12 |
Kiall | s | 21:12 |
elarson | services are definitely not running | 21:14 |
*** nyechiel has joined #openstack-dns | 21:15 | |
Kiall | elarson: https://bugs.launchpad.net/designate/+bug/1411717 | 21:18 |
openstack | Launchpad bug 1411717 in Designate "Service Fixture in Unit Tests Does not Stop Service" [Medium,Triaged] | 21:18 |
elarson | if that is the issue I'm going to lose it | 21:20 |
mugsie | elarson: Kiall they certainly used to emit notifications.... no idea if they still do | 21:27 |
* mugsie got bitten testing something a while back | 21:27 | |
elarson | ok, here is another one. https://gist.github.com/e5bd780310266fbe2a8418f35a3c822c | 21:30 |
elarson | that happens if I don't run the test via tox | 21:30 |
elarson | so with unittest and py.test that happens, which suggest something doesn't get loaded before running the test | 21:31 |
elarson | by something I'm thinking it is the config... | 21:31 |
Kiall | yea, we have a BUNCH of issues with running via anything but tox ;) | 21:32 |
Kiall | in that case, lets see.. | 21:32 |
*** EricGonc_ has joined #openstack-dns | 21:32 | |
Kiall | actually, no clue why that's exploding. | 21:34 |
Kiall | setting a config override shouldn't need the config option to have already been defined. | 21:34 |
Kiall | (or, didn't used to require that ordering) | 21:34 |
Kiall | tests/__init__.py could do cfg.CONF.import_opt(...) to make sure it gets defined right after the imports in the file.. | 21:35 |
*** EricGonczer_ has quit IRC | 21:36 | |
*** fawadkhaliq has quit IRC | 21:38 | |
*** rsyed_away is now known as rsyed | 21:39 | |
*** fawadkhaliq has joined #openstack-dns | 21:39 | |
*** fawadkhaliq has quit IRC | 21:40 | |
*** nyechiel has quit IRC | 21:40 | |
*** fawadkhaliq has joined #openstack-dns | 21:41 | |
*** rsyed is now known as rsyed_away | 21:43 | |
*** fawadkhaliq has quit IRC | 21:44 | |
*** fawadkhaliq has joined #openstack-dns | 21:44 | |
*** gord0 has joined #openstack-dns | 21:48 | |
*** ccneill_ has joined #openstack-dns | 22:25 | |
*** ccneill has quit IRC | 22:25 | |
*** ccneill_ is now known as ccneil | 22:25 | |
*** ccneil is now known as ccneill | 22:25 | |
*** bpokorny_ has joined #openstack-dns | 22:28 | |
*** ducttape_ has quit IRC | 22:30 | |
*** bpokorny_ has quit IRC | 22:30 | |
*** bpokorny_ has joined #openstack-dns | 22:30 | |
*** bpokorny has quit IRC | 22:32 | |
*** james_li has quit IRC | 22:42 | |
*** bpokorny_ has quit IRC | 22:44 | |
*** bpokorny has joined #openstack-dns | 22:44 | |
*** pglass has quit IRC | 22:45 | |
*** doublek has joined #openstack-dns | 22:56 | |
*** penick has quit IRC | 22:58 | |
*** jschwarz has quit IRC | 23:08 | |
*** kei_yama has joined #openstack-dns | 23:26 | |
*** km has joined #openstack-dns | 23:29 | |
*** ccneill has quit IRC | 23:35 | |
*** doublek has quit IRC | 23:37 | |
*** bpokorny_ has joined #openstack-dns | 23:41 | |
*** bpokorny has quit IRC | 23:41 | |
*** bpokorny_ has quit IRC | 23:41 | |
*** bpokorny has joined #openstack-dns | 23:42 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!