Tuesday, 2015-04-14

sputnik13vipul: hey, how do you run the coverage report?  I tried downloading the review for cue https://review.openstack.org/#/c/171016/1 and I ran `coverage run` from the cue project directory00:02
sputnik13and nothing happens00:02
sputnik13coverage says "Nothing to do"00:02
openstackgerritAbitha Palaniappan proposed stackforge/cue: Broker image selection  https://review.openstack.org/16943700:03
openstackgerritAbitha Palaniappan proposed stackforge/cue: Updating database models to fix time stamp errors  https://review.openstack.org/16912800:03
openstackgerritDavide Agnello proposed stackforge/cue: Updating database models to fix time stamp errors  https://review.openstack.org/16912800:22
*** sputnik13 has quit IRC00:23
*** davideagnello has quit IRC00:24
*** abitha has quit IRC01:12
*** danielallegood has quit IRC01:25
*** davideagnello has joined #openstack-cue02:10
*** davideagnello has quit IRC02:41
*** harlowja is now known as harlowja_away03:58
*** davideagnello has joined #openstack-cue04:29
*** davideagnello has quit IRC04:34
*** abitha has joined #openstack-cue04:41
openstackgerritAbitha Palaniappan proposed stackforge/cue: Broker image selection  https://review.openstack.org/16943705:03
openstackgerritAbitha Palaniappan proposed stackforge/cue: Updating database models to fix time stamp errors  https://review.openstack.org/16912805:03
*** abitha_ has joined #openstack-cue05:08
*** abitha has quit IRC05:10
*** abitha_ has quit IRC05:43
*** abitha has joined #openstack-cue05:45
*** abitha has quit IRC05:46
*** harlowja_away has quit IRC10:02
*** davideagnello has joined #openstack-cue11:44
*** davideagnello has quit IRC11:49
*** miqui has joined #openstack-cue13:20
*** danielallegood has joined #openstack-cue16:44
*** harlowja has joined #openstack-cue16:59
*** abitha has joined #openstack-cue17:05
*** davideagnello has joined #openstack-cue17:06
*** abitha has quit IRC17:18
*** abitha has joined #openstack-cue17:20
*** abitha has quit IRC17:21
openstackgerritAbitha Palaniappan proposed stackforge/cue: Unit test wsme objects  https://review.openstack.org/17225317:50
*** sputnik13 has joined #openstack-cue17:51
esmuted18:01
esmutevipul, sputnik13: Is there a cue meeting today?18:01
sputnik13there's supposed to be18:02
esmutesputnik13: Do you want to lead it?  Looks like vipul is not available. Here are the commands for meetbot https://wiki.debian.org/MeetBot18:03
sputnik13already on it18:03
sputnik13come to #openstack-meeting-alt18:04
*** abitha has joined #openstack-cue18:10
*** abitha has quit IRC19:18
*** abitha has joined #openstack-cue20:00
openstackgerritSteve Leon proposed stackforge/cue: Refactor tests.  https://review.openstack.org/17350920:33
vipuldavideagnello: just looking at this patch around the SoftDeleteMixin20:38
vipuldavideagnello: you mentioned that we already have db api tests that exercise soft-delete? https://github.com/stackforge/cue/blob/master/cue/tests/db/test_api.py20:39
vipuli don't see any of those tests there20:39
vipulor here https://github.com/stackforge/cue/blob/master/cue/tests/db/test_models.py20:39
davideagnellovipul: I said we have tests that create cluster objects from DB layer and objects layer not just API through post20:40
davideagnelloSoft delete is being tested indirectly through the API test that I have added in that patch20:40
davideagnellothrough issuing a delete in the api20:40
davideagnellowhich then makes use of softdelete functionality20:41
davideagnellotimestamps are being checked for relative time compared to created_at and updated_at20:41
vipuldavideagnello: right.. that makes sense.  It would be nice to have these things verified from the dbapi directly20:41
davideagnellovipul: yes it would, I noticed that we don't have tests for any of our mixin db classes at all yet.20:42
davideagnelloI can add some tests directly at the db api level as part of this patch or can we add them as part of QA (will create work item to capture this coverage)20:43
vipulYea how do you want to handle it.. we gotta get to these sooner or later20:43
sputnik13well, additional tests can be a new patch, we just need the action captured in Jira or launchpad20:47
sputnik13the patch as it is looks ok if we capture the action to create these additional tests, then we can plan that in to the next sprint20:48
vipuli'm fine with that.. let's capture it then20:48
davideagnellook20:48
davideagnellofiled in launchpad:  https://bugs.launchpad.net/cue/+bug/144414020:51
openstackLaunchpad bug 1444140 in Cue "Add unit/function tests for DB Mixin classes" [Undecided,New]20:51
openstackgerritMerged stackforge/cue: Adding .coveragerc to exclude tests and oslo modules  https://review.openstack.org/17101620:52
sputnik13davideagnello thanks for filing that, I added the above conversation as a comment to provide some context20:52
vipulcool thanks davideagnello, sputnik1320:53
openstackgerritMerged stackforge/cue: Updating database models to fix time stamp errors  https://review.openstack.org/16912820:53
sputnik13yay, 2 reviews closed today :-)20:54
sputnik13the fix for the taskflow/flow tests raised coverage to 63%20:56
davideagnelloawesome!20:57
vipulnice! that's almost a free 9720:58
vipul7%20:58
sputnik13yeah :)20:58
openstackgerritMin Pae proposed stackforge/cue: adding coverage tempfiles to gitignore  https://review.openstack.org/17351821:00
openstackgerritMin Pae proposed stackforge/python-cueclient: Add .coveragerc to better control coverage outputs  https://review.openstack.org/17128921:05
*** miqui has quit IRC21:11
*** abitha has quit IRC21:14
*** abitha has joined #openstack-cue21:20
sputnik13vipul just added the same coverage tempfile stuff to gitignore ^21:30
openstackgerritMerged stackforge/cue: adding coverage tempfiles to gitignore  https://review.openstack.org/17351821:36
openstackgerritSteve Leon proposed stackforge/cue: Refactor tests  https://review.openstack.org/17350921:38
openstackgerritSteve Leon proposed stackforge/cue: Refactor tests  https://review.openstack.org/17350921:40
*** abitha has quit IRC22:06
*** abitha has joined #openstack-cue22:25
openstackgerritAbitha Palaniappan proposed stackforge/cue: Change network_id argument to list type  https://review.openstack.org/16906522:41
sputnik13esmute: added a comment to https://review.openstack.org/#/c/173509/23:25
esmutesputnik13: Ok.23:31
openstackgerritSteve Leon proposed stackforge/cue: Refactor tests  https://review.openstack.org/17350923:37
esmutesputnik13 ^ :)23:37
sputnik13esmute thx23:45

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