Tuesday, 2013-07-30

*** hemna is now known as hemnafk00:06
*** mberwanger has quit IRC00:12
openstackgerritA change was merged to openstack/tempest: Use assertIn and assertNotIn instead of assertTrue/assertFalse  https://review.openstack.org/3901900:52
*** dkranz has joined #openstack-qa00:53
*** dosaboy has quit IRC00:59
*** dkranz has quit IRC01:04
openstackgerritA change was merged to openstack/tempest: Add Neutron CLI tests to tempest  https://review.openstack.org/3882901:08
openstackgerritA change was merged to openstack/tempest: Unskip test_register_get_deregister_ari_image  https://review.openstack.org/3874401:08
openstackgerritA change was merged to openstack/tempest: Handle a possible volume attachment visibility wait/race issue  https://review.openstack.org/3884101:08
openstackgerritA change was merged to openstack/tempest: Simplify whitebox/manager  https://review.openstack.org/3530201:09
openstackgerritA change was merged to openstack/tempest: Ignore the default quota values  https://review.openstack.org/3694101:09
openstackgerritA change was merged to openstack-dev/devstack: Fix various things when n-cell is enabled  https://review.openstack.org/3889701:14
openstackgerritA change was merged to openstack-dev/devstack: Update OpenVZ driver image  https://review.openstack.org/3893601:14
openstackgerritA change was merged to openstack-dev/devstack: xenapi: Uninstall instances  https://review.openstack.org/3904201:14
openstackgerritA change was merged to openstack/tempest: Add tenant isolation for glance api tests  https://review.openstack.org/3837101:25
*** anteaya has quit IRC01:30
openstackgerritRavi Chunduru proposed a change to openstack-dev/devstack: blueprint quantum-fwaas-devstack Adds support for Openstack Networking FWaaS (Firewall)  https://review.openstack.org/3714701:33
openstackgerritA change was merged to openstack/tempest: Allow to run swift and keystone api tests standalone  https://review.openstack.org/3900101:34
openstackgerritArata Notsu proposed a change to openstack-dev/devstack: Add option to serve PXE for baremetal from nova-network  https://review.openstack.org/3879401:49
openstackgerritAlex Vasilyev proposed a change to openstack-dev/devstack: Add Midonet plugin support to devstack.  https://review.openstack.org/3660702:00
openstackgerritJohn Griffith proposed a change to openstack/tempest: Add wait_for_volume_status in upload_to_image test  https://review.openstack.org/3917802:04
*** woodspa_ has quit IRC02:23
*** mberwanger has joined #openstack-qa03:08
*** HenryG has quit IRC03:10
*** hrebicek_ has quit IRC03:24
ianwlifeless: hi, i'm trying to debug a testr issue; hoping you have some insights03:37
ianw    aggregate_name = rand_name(self.aggregate_name_prefix)03:38
ianwAttributeError: 'AggregatesAdminTestJSON' object has no attribute 'aggregate_name_prefix'03:38
*** marun has quit IRC03:38
ianwit seems like the class isn't being setup correctly, if that's possible03:38
afazekas__ianw: subunit version ?03:41
ianwafazekas__: hi! ...  python_subunit-0.0.13-py2.6.egg-info03:44
ianwthis is tempest, first time i'm really trying running with testr03:44
*** mberwang_ has joined #openstack-qa03:45
ianwafazekas__: i can put completely invalid code in setUpClass and get no syntax error, so i'm guessing it's not being called03:46
ianwhuh, and if i modify it03:47
ianw    @attr(type=['negative', 'gate'])03:47
ianw    def test_aggregate_add_host_as_user(self):03:47
ianw        # Regular user is not allowed to add a host to an aggregate.03:47
ianwself.setUpClass()03:47
ianw        aggregate_name = rand_name(self.aggregate_name_prefix)03:47
ianwthat works; so yeah, setUpClass isn't being called i guess is the root issue03:48
*** afazekas__ has quit IRC03:48
*** mberwanger has quit IRC03:48
clarkbianw py26 doesnt do setupClass I thought03:52
clarkbwell unittest/testools doesnt under py2603:53
ianwclarkb: yeah, i'm getting to that conclusion :)  but i don't understand how it works under nose yet03:53
clarkbnose supports it03:54
clarkbas part of its runner stuff03:54
ianwoh, ok, that makes sense03:54
ianwclarkb: do you know off-hand if unittest2 supports it?03:56
clarkbit does03:56
ianwok, that might be the solution then, thanks03:57
clarkbwell no. unittest2 is meh03:57
clarkbpreferably testools + testresources would happen but that is down the road aiui03:58
ianwclarkb: making testr support running it?03:58
clarkbtestresources and fixtures would run under py2603:58
ianwnose has at least two issues (incompat with unittest skip exception & ability to skip tests with --exclude) that make it annoying for CI testing with python2.603:59
ianwunfortunately upstream seems to have abandoned nose03:59
Anjuianw : ping03:59
clarkbnose does a lot of funky stuff too04:00
ianwAnju: hi04:00
clarkbsetup class can fail in some cases and nose reports success04:00
Anjuianw : i want to add a test for resscue a vm in paused state04:01
Anjuianw :https://github.com/openstack/tempest/blob/master/tempest/api/compute/servers/test_server_rescue.py#L7104:01
Anjuianw :want to ask that i should use the server_is for pausing a vm ?04:02
*** afazekas has joined #openstack-qa04:03
afazekasDid you tried it with 'tox -etestr-full' ?04:03
* afazekas connection issue04:03
*** prekarat has joined #openstack-qa04:05
*** sthaha has joined #openstack-qa04:05
ianwafazekas: clarkb helped me figure out that python2.6 unittest doesn't call setUpClass so it doesn't work, and nose has work-arounds04:06
ianwAnju: i'm not sure i have any special knowledge about this.  do you mean server_id?04:07
*** guest__ has joined #openstack-qa04:07
*** prekarat has quit IRC04:09
ianwafazekas: also, no i was running in a venv created by run_tests.sh04:13
Anjuafazekas:ping04:19
*** krtaylor has joined #openstack-qa04:20
*** prekarat has joined #openstack-qa04:23
Anjuafazekas:i wrote a test for rescuing a paused vm04:26
Anjuit is running04:26
Anjubut when i am adding other tests "test_rescue_unrescue_instance" in the same file04:26
Anjuthen this tests is fail04:27
afazekasAnju: maybe you forget to clean up something , or creating something04:28
Anjuwhat should i clean here?04:29
AnjuAfazekas: i just use this  method pause_server(self.server_id)04:31
Anjuand after pausing this i am throwing an exception for rescue the vm04:31
Anjuafazekas:after a pause call ther sholud be a clenup for unpausing?04:38
afazekasWithout seeing the diff and the exception, I can't say anything. You can pestebin it to somewhere..04:39
*** SergeyLukjanov has joined #openstack-qa04:42
Anjuafazekas: http://pastebin.com/BgGdD2cQ04:43
afazekasAnju: what is the exception ?04:51
Anjudupliacte04:51
afazekasbut in your test case it is the expected one04:52
Anjumeans?04:52
afazekasI see, you pauses a shared server04:53
Anjuhmm ,,bcz of this ither server test are not working04:53
afazekasyou should add an self.addCleanup for unpause before the pause call04:54
Anjuthe i can use the server_id? in that04:55
afazekasyes04:56
Anjuafazekas: if i ma not pausing a server that means it is in pause state04:57
Anjuthen why nedd to unpause and then pause04:57
afazekasyou pause the server in this test case, and it remains paused for the another test cases04:58
afazekasthe addCleanUp ensures it will be unaused04:59
afazekasBTW, why not possible to rescue a paused server ?04:59
Anjuit is giving an error05:02
*** mberwang_ has quit IRC05:03
Anjuafazekas:i told you before05:16
Anjuthat resvuing a vm in paused state is giving an error05:16
Anju"rescuing"05:16
Anjuafazekas:http://pastebin.com/QSVjAD1C05:16
*** saurabh has joined #openstack-qa05:23
*** afazekas is now known as afazekas__05:25
openstackgerritEdgar Magana proposed a change to openstack-dev/devstack: Set horizon configuration for security groups  https://review.openstack.org/3918105:29
*** afazekas__ has quit IRC05:30
openstackgerritZhi Kun Liu proposed a change to openstack/tempest: add image tests v2  https://review.openstack.org/3921205:31
*** prekarat1 has joined #openstack-qa05:34
*** prekarat has quit IRC05:36
*** Anju has quit IRC05:36
*** afazekas has joined #openstack-qa05:49
*** jhenner has joined #openstack-qa06:10
*** SergeyLukjanov has quit IRC06:10
*** prekarat1 has quit IRC06:14
*** prekarat has joined #openstack-qa06:24
kashyapafazekas, Any hints here - http://paste.openstack.org/show/42566/06:56
afazekasTry to remove the Ipv6 localhost from the /etc/hosts file06:58
*** jhenner has quit IRC07:00
afazekascheck the qpid security settings, you may have secure defaults and the other parts are not prepared/configured for secure communication07:01
afazekasCheck the iptables rules, AMQP is disabled by default .07:01
afazekaskashyap: BTW as I remember the qpid is ipv6 ready, just some clients are confused by ipv6,  can you check is it bug, or just configuration issue ?07:05
*** SergeyLukjanov has joined #openstack-qa07:10
afazekassdague: will it be fixed by the nova V3 API ? https://bugs.launchpad.net/nova/+bug/108027807:11
afazekaspsedlak: ^^07:11
kashyapafazekas, Sorry, was on phone07:20
kashyapafazekas,  I added this too $ lokkit -p 5672:tcp07:21
kashyapafazekas, This is with Grizzly bits07:21
afazekasIs it solved your issue ?07:22
kashyapafazekas, No, I just removed the  ::1  IPv6 entry entry07:23
kashyapandreaf, what else qpid settings? I just have  auth=no  in it07:23
kashyapafazekas, It maybe iptables (my weakness area)07:23
afazekastry to restart everything after removing the ipv6 entry07:24
kashyapandreaf, what should be the iptables rules07:24
kashyap(whoops, meant afazekas ^)07:24
* kashyap first goes for lunch07:25
afazekaskashyap: As I remember the command you showed is working07:26
*** Anju has joined #openstack-qa07:26
Anjuafazekas:ping07:29
Anjuare you not aggree07:29
Anjuwith this neagtive test (raescuingb a vm in paused state)07:29
Anju(rescuing a vm in paused state)07:29
afazekasAnju: pong07:34
afazekasgit diff ?07:34
afazekasgit diff master ?07:35
Anjuafazekas:07:39
Anjunot understanding07:39
Anjuafazekas: it is running now you can see it here07:39
Anjuhttp://pastebin.com/STEJELRb07:40
Anjuif agree with this test07:40
afazekasLGTM07:40
Anjuafazekas:is this for me?07:41
afazekasAnju: looks good to me07:41
Anjuohh thanks :afazekas:)07:41
afazekasBut usually is better if you show it as patch,  for example as a  'git diff master' command output07:42
Anjuok next time i will try this07:43
Anjuwant to ask many things about xml/json07:43
Anjuthis is crawling in my mind day and night07:43
*** mkollaro has joined #openstack-qa07:43
*** jhenner has joined #openstack-qa07:52
openstackgerritanju Tiwari proposed a change to openstack/tempest: Negative test added for rescuing a paused vm  https://review.openstack.org/3923007:58
*** psedlak has joined #openstack-qa08:01
*** SergeyLukjanov has quit IRC08:02
*** SergeyLukjanov has joined #openstack-qa08:05
*** jgallard has joined #openstack-qa08:40
*** jhenner has quit IRC08:42
*** jhenner has joined #openstack-qa08:42
openstackgerritanju Tiwari proposed a change to openstack/tempest: Negative test added for rescuing a paused vm  https://review.openstack.org/3923008:44
openstackgerritBob Ball proposed a change to openstack-dev/devstack: Some bash versions don't support negative lengths  https://review.openstack.org/3923608:46
openstackgerritNejc Saje proposed a change to openstack/tempest: Adds client for Ceilometer alarms  https://review.openstack.org/3923708:50
openstackgerritZhi Kun Liu proposed a change to openstack/tempest: add image tests v2  https://review.openstack.org/3921209:14
*** Anju has left #openstack-qa09:15
*** jgallard has quit IRC09:37
*** jgallard has joined #openstack-qa09:37
*** Anju has joined #openstack-qa09:42
Anjuafazekas:ping09:42
*** mkollaro has quit IRC10:15
afazekasAnju: pong10:18
afazekasmtreinish: looks like the oslo.logging with little tempset/config.py modification can work, but It might be incompatible with the https://review.openstack.org/#/c/38980/ ,  but it is not +2 blocker now10:20
Anjuafazekas: https://review.openstack.org/#/c/39230/10:28
Anjuplease have a look10:28
Anjuafazekas: i wnat to ask many question in xml/json10:28
*** sthaha has quit IRC10:31
*** prekarat1 has joined #openstack-qa10:39
*** prekarat has quit IRC10:39
*** prekarat1 has quit IRC10:46
*** prekarat has joined #openstack-qa10:49
*** prekarat has joined #openstack-qa10:49
Anjuhow to wnable swift in devstack?10:51
afazekasAnju: http://logs.openstack.org/80/38980/1/check/gate-tempest-devstack-vm-full/36908/logs/localrc.txt.gz10:53
afazekas"s-proxy,s-account,s-container,s-object"10:53
Anjuwhat should be the value of SWIFT_HASH10:54
afazekasThe same as on the gate :)10:54
afazekasyou can pick any random string10:54
Anjuok afazekas thanks10:55
Anjubut still i am puzzled in xml/json10:55
*** saurabh has quit IRC10:57
*** prekarat has quit IRC10:59
afazekas$(openssl rand -hex 10)  for random vales can work10:59
afazekasAnju: which request/repose you would like to parse/craft in xml ?11:00
Anjuafazekas:https://github.com/openstack/tempest/blob/master/tempest/services/volume/json/volumes_client.py11:02
*** jgallard has quit IRC11:02
Anjuafzekas :no not thsi one ,wait a second11:03
Anjuafazekas:https://github.com/openstack/tempest/blob/master/tempest/services/volume/json/volumes_client.py#L8811:04
Anjufunction like upload ,attach ,dettach is missing in https://github.com/openstack/tempest/blob/master/tempest/services/volume/xml/volumes_client.py11:05
*** sthaha has joined #openstack-qa11:08
*** sthaha has joined #openstack-qa11:08
*** prekarat has joined #openstack-qa11:08
afazekasAnju: first you can report a bug it is undocumented: http://api.openstack.org/api-ref.html#volumes-api11:10
afazekas"attach ,dettach" might be just for internal usage but the upload should be a public one, this feature appeared in grizzly AFAIK11:11
Anjuafazekas: ok i will11:12
Anjuafazekas: a cli is available for creating arole keystone role-create11:14
Anjubut i think this also not documented11:14
Anjuafazekas: any idea so i can start work on this11:15
Anjui working in this from many days11:15
Anjubut i am not getting any soluntion11:15
afazekasIMHO you can report all not documented api call11:16
Anjuafazekas :is this a bug11:16
Anju????11:16
afazekasin is bug in the documentation11:17
Anjubut i will report it11:17
Anjuafazekas :but to start in this11:17
*** dosaboy has joined #openstack-qa11:17
afazekasI will try to figure out which repo/and project is responsible for the api.openstack.org11:17
afazekaspsedlak: do you remember to how this pages are generated ? AS I remember you reported a similar bug ..11:20
Anjuafazekas : suggest me something in this https://review.openstack.org/#/c/39230/     :)11:22
*** prekarat has quit IRC11:22
*** Dmitry-I has quit IRC11:31
afazekascan you move the self.addCleanup(self._unpause, self.server_id)  before the ' self.assertEqual(202, resp.status)' ?11:32
Anjuhmm11:33
Anjuis this not correct?11:33
afazekasSe the addCleanUp method should be as close as possible to the operation, what it actually wants to undo11:34
Anjuok i doing11:35
psedlakafazekas, Anju: https://github.com/openstack/identity-api ... https://github.com/openstack/volume-api ... and others?11:35
afazekaspsedlak: So that page is assembled from multiple repo , right ?11:35
psedlakafazekas: not sure now, it's some time ago already, but i think yes ... what i remember that it seemed messy for me how to change something there11:36
psedlakhttps://wiki.openstack.org/wiki/Documentation/HowTo11:37
psedlakjust in the first https://wiki.openstack.org/wiki/Documentation/HowTo#Tools_and_Content_Overview ...  DocBook and WADL source files for http://api.openstack.org, look for the openstack/api-site ... API spec documentation that builds to http://docs.openstack.org/api is housed in image-api, identity-api11:38
afazekasAre they belongs to the https://bugs.launchpad.net/openstack-manuals project or to the service project,  in case of bug report ?11:38
psedlakafazekas, Anju: ... "Doc bugs are logged and triaged at http://bugs.launchpad.net/openstack-manuals." but there is also https://bugs.launchpad.net/openstack-api-site ... so clearly i'm not sure about this11:40
openstackgerritanju Tiwari proposed a change to openstack/tempest: Negative test added for rescuing a paused vm  https://review.openstack.org/3923011:40
psedlakAnju: you better ask annegentle for where to put api/docs bugs etc11:41
*** prekarat has joined #openstack-qa11:42
*** prekarat has quit IRC12:25
*** mkollaro has joined #openstack-qa12:33
openstackgerritafazekas proposed a change to openstack/tempest: Switching to oslo importutils in stress tests  https://review.openstack.org/3927912:40
*** dkranz has joined #openstack-qa12:42
openstackgerritafazekas proposed a change to openstack/tempest: Use state transition checker wait function in the ec2 image tests  https://review.openstack.org/3880512:46
*** meteorfox has quit IRC12:53
*** prekarat has joined #openstack-qa12:55
dkranzafazekas: Are you ready with https://review.openstack.org/#/c/38980/1 or are you going to change it more?12:55
afazekasdkranz: I you have specific request I can add it now, but is working now12:59
dkranzafazekas: No, just checking.13:00
afazekasI am thinking about just using test_method config option, with full class path13:00
*** mkollaro has quit IRC13:01
*** anteaya has joined #openstack-qa13:02
afazekasdkranz: The other option is defining multiple test methods from the same class, but I think  you would consider it miss-using of the stress engine :)13:05
afazekasBTW: I looking for the api doc gen macro, after that I'll check the setUpClass call chain correctness13:06
openstackgerritA change was merged to openstack/tempest: Add wait_for_volume_status in upload_to_image test  https://review.openstack.org/3917813:12
sdagueafazekas: re nova v3 API, I don't know. I'd ask on the list13:29
afazekassdague: thank you13:33
sdagueafazekas: your thoughts on this? - https://review.openstack.org/#/c/37838/ as you are the boto expert13:35
*** krtaylor has quit IRC13:36
*** meteorfox has joined #openstack-qa13:40
afazekasLGTM, the helper method could "_run_instance" could be moved outside and used by all test other test cases, but it would be a re-factor change type instead of add test case change type.13:42
*** mkollaro has joined #openstack-qa13:57
openstackgerritKyle Mestery proposed a change to openstack-dev/devstack: Update the ML2 configuration in devstack  https://review.openstack.org/3796314:00
openstackgerritafazekas proposed a change to openstack/tempest: Generate temepst API doc from source  https://review.openstack.org/3929114:09
afazekassdague: ^^14:09
afazekasThere is no macro for document all, I had an rst file per module ...14:18
*** krtaylor has joined #openstack-qa14:18
*** dkranz has quit IRC14:19
*** mlavalle has joined #openstack-qa14:30
*** burt has joined #openstack-qa14:31
*** dkranz has joined #openstack-qa14:34
openstackgerritEoghan Glynn proposed a change to openstack-dev/devstack: Launch ceilometer-alarm-* services.  https://review.openstack.org/3930014:39
*** jgallard has joined #openstack-qa14:42
openstackgerritA change was merged to openstack/tempest: Add boto tests for idempotent RunInstances calls  https://review.openstack.org/3783814:47
*** jgallard has quit IRC14:49
*** jgallard has joined #openstack-qa14:49
mtreinishafazekas: on https://review.openstack.org/#/c/38879 in config.py I have to move the 3 logging lines right before cfg.CONF or right after?14:50
mlavallesdague: I read your comment in the patch set I submitted for review in nova. Thanks. I have never written a unit test for nova. Is this guide valid / up to date? http://docs.openstack.org/developer/nova/devref/unit_tests.html14:52
afazekasmtreinish: yes14:52
afazekasmtreinish: would be nice If you would add the log option the tempest.conf.sample as well14:53
*** dkranz has quit IRC14:55
*** prekarat has left #openstack-qa14:59
mtreinishafazekas: which one before or after?14:59
afazekas606,607,621 should be deleted15:01
*** dkranz has joined #openstack-qa15:01
afazekasThe lines in 3th comment should be after the 629 line15:01
afazekascfg.CONF  will setup the cli config parameters, after that the logging.setup can use it15:02
*** malini has joined #openstack-qa15:02
*** malini has quit IRC15:03
*** krtaylor has quit IRC15:05
mtreinishafazekas: ok that's what I thought, but the comment was before15:09
burtsdague: ping15:10
*** jgallard has quit IRC15:11
*** jgallard has joined #openstack-qa15:11
afazekasmtreinish: Yes, If I click an exact line the comment will be above that, next I try to pick a line below.15:13
*** sthaha has quit IRC15:16
*** jgallard has quit IRC15:36
*** jgallard has joined #openstack-qa15:37
mtreinishafazekas: do you think that we should rename logging.conf.sample to something else especially if I'm going to put it in the config file?15:42
mtreinishmaybe just logging.conf15:42
afazekasmtreinish: AFAIK to openstack custom us to add sample conf15:43
afazekasIf we ever want to use it on the gate we should rename it15:44
afazekaspsedlak: http://mainlydata.kubadev.com/python/sphinx-how-to-make-autodoc-really-automatic/15:45
*** dkranz has quit IRC15:47
openstackgerritMatthew Treinish proposed a change to openstack/tempest: Add locking to test_aggregates  https://review.openstack.org/3885715:56
openstackgerritMatthew Treinish proposed a change to openstack/tempest: Switch to using Oslo logging  https://review.openstack.org/3887915:56
openstackgerritMatthew Treinish proposed a change to openstack/tempest: Add tenant isolation for scenario tests  https://review.openstack.org/3909915:56
*** dkranz has joined #openstack-qa16:00
*** jgallard has quit IRC16:08
*** lexinator has joined #openstack-qa16:10
*** marun has joined #openstack-qa16:12
*** SergeyLukjanov has quit IRC16:23
openstackgerritChristian Berendt proposed a change to openstack-dev/devstack: renamed deprecated glanceclient parameter  https://review.openstack.org/3932316:28
*** krtaylor has joined #openstack-qa16:30
*** sourabh has joined #openstack-qa16:42
*** ankit_ has joined #openstack-qa16:45
*** sourabh has left #openstack-qa16:47
*** Anju_ has joined #openstack-qa16:49
*** sourabh has joined #openstack-qa16:50
*** sourabh has left #openstack-qa16:51
*** sourabh has joined #openstack-qa16:51
*** SergeyLukjanov has joined #openstack-qa16:51
*** sourabh has quit IRC16:52
Anju_afazekas: where should i have to report that bug16:53
Anju_?16:53
*** sdague has quit IRC16:56
*** lexinator has quit IRC16:58
afazekasannegentle, psedlak: ^^^16:58
psedlakAnju_: check that https://wiki.openstack.org/wiki/Documentation/HowTo16:59
Anju_afaezkas :https://review.openstack.org/#/c/39230/ i commit code here.please check16:59
psedlakAnju_: for api probably in https://bugs.launchpad.net/openstack-api-site otherwise maybe in https://bugs.launchpad.net/openstack-manuals17:00
psedlakAnju_: check those two if there is similar bug report to what you want to report17:00
Anju_psedlak:checking17:00
*** lexinator has joined #openstack-qa17:02
Anju_psedlak:no it is not reported17:02
*** jhenner has quit IRC17:04
Anju_psedlak:i just want to report that some api are not documented17:04
kashyapafazekas, Heya, do you have any hints for this stupid error - http://paste.openstack.org/show/42649/ . Why does it deny access17:05
kashyapOr psedlak ^ :-)17:06
psedlakkashyap: as it was already installed, is it really fresh install? who asks for that password ... ?17:08
kashyappsedlak, It's already installed, and all other services were init'ed on it17:08
kashyappsedlak, Quantum server seems to ask for it  as you see there17:09
psedlakAnju_: yeah, it seems that https://launchpad.net/openstack-api-site is the right one for you17:10
afazekaskashyap: check that script is it really knows you have mariadb instead of mysql17:10
*** psedlak has quit IRC17:10
afazekaskashyap: which branch do you using ?17:11
kashyapafazekas, Heya, Grizzly this is.17:11
kashyapafazekas, Havana doesn't even have Neutron pkgs yet.17:11
afazekasI mean F19 stable or  testing  ?17:11
afazekaskoji has17:11
afazekasf2017:12
kashyapafazekas, F1917:12
afazekaskashyap: as I remember that script has password argument17:13
*** sdague has joined #openstack-qa17:13
* kashyap reads man page17:13
*** sourabh has joined #openstack-qa17:15
afazekasyou can read the script17:15
burtany advice on how to test nova instance shutdown/termination in tempest?   It relies on sync_interval_power_state, which is periodic but only called every 600s by default.17:16
afazekasAccording to log it is confused ..17:16
Anju_kashyap: yoc can try this just tellig you according to  database basics http://www.howtoforge.com/setting-changing-resetting-mysql-root-passwords17:16
*** sourabh has quit IRC17:18
afazekasburt: in a tempest test ?17:20
kashyapAnju_, Yes, I could muck around with this. But was figuring why this piece of $@#^ is behaving this way.  afazekas - Yep, reading the script.17:20
afazekasburt: Can it be configured to several seconds ? does it have significant performance impact ?17:20
burtafazekas: yes.  I want to test this (once it's merged) https://review.openstack.org/#/c/38081/17:21
afazekaskashyap: as I remember the scripts main task is creating a symbolic link.. :)17:21
burtafazekas: yes, it's a nova config parameter configurable via sync_power_state_interval in the nova.conf.  I think for QA it shouldn't have a big performance impact, but I don't know if it should be the default for devstack17:21
afazekassdague: ^^^17:22
sdagueburt: pong17:24
burtsdague: thanks for the reviews.  I was wondering about what I was just discussing with afazekas17:25
sdaguemtreinish: helps to test the logging code :)17:25
mtreinishsdague: yeah I know17:26
mtreinishits all that stuff merging in the background17:26
mtreinishI tested it before I rebased17:26
openstackgerritMatthew Treinish proposed a change to openstack/tempest: Add locking to test_aggregates  https://review.openstack.org/3885717:27
openstackgerritMatthew Treinish proposed a change to openstack/tempest: Switch to using Oslo logging  https://review.openstack.org/3887917:27
openstackgerritMatthew Treinish proposed a change to openstack/tempest: Add tenant isolation for scenario tests  https://review.openstack.org/3909917:27
Anju_adazekas :i reported that in a very few words https://bugs.launchpad.net/openstack-api-site/+bug/120660817:31
Anju_afazekas:i reported that in a very few words https://bugs.launchpad.net/openstack-api-site/+bug/120660817:31
*** sdague has quit IRC17:32
Anju_afazekas :stil waiting for your suggestions https://review.openstack.org/#/c/39230/17:33
*** sdague has joined #openstack-qa17:36
burtsdague: this is the tempest test I'm thinking of: https://review.openstack.org/#/c/39340/17:37
openstackgerritMatthew Treinish proposed a change to openstack/tempest: Fix neutron cli tests skip for testr  https://review.openstack.org/3934217:40
adalbasmtreinish, ping17:41
*** sdague has quit IRC17:41
mtreinishadalbas: pong17:41
*** sdague has joined #openstack-qa17:42
adalbasmtreinish, from this list of failure, https://etherpad.openstack.org/debugging-testr-tempest , any suggestions for one i could look at (to avoid going over some you are already investigating)17:42
adalbas?17:42
mtreinishadalbas: one sec let me take a look at the list. But, I think that I've marked the ones that I have started working on.17:43
burtsdague: think you got bounced before I responded.  I was wondering about how to handle https://review.openstack.org/#/c/39340/, but the sync_power_state only runs every 600s by default.17:43
mtreinishadalbas: how about failure #2 that happened a few times earlier (although I don't think I've seen it recently)17:44
*** Anju_ has quit IRC17:44
openstackgerritEoghan Glynn proposed a change to openstack-dev/devstack: Launch ceilometer-alarm-* services.  https://review.openstack.org/3930017:44
mtreinishadalbas: actually that may have already been fixed17:44
*** ankit_ has quit IRC17:44
adalbasmtreinish, i started looking #6, what do you think?17:45
mtreinishadalbas: no nm I was thinking of https://review.openstack.org/#/c/39178/ which was a different test17:45
mtreinishadalbas: yeah that should be fine17:46
mtreinishadalbas: although I haven't seen a bunch of these failures in a while. Partially because there have been a couple of changes which broke the testr runs for a while. (I've got fixes pending for all of them though)17:48
adalbasmtreinish, in your devel env, is it free of failures (except by th the ones pointed out)17:48
adalbas?17:48
adalbasim getting many failures running it now.17:48
mtreinishadalbas: no, not really I have failures that pop up with things related to cinder and other broken state from testing. So I can't really differentiate that from testr issues.17:49
mtreinishI need to clean things up17:49
mtreinishadalbas: what are you hitting?17:49
adalbasmtreinish, let me investigate if all is running fine in my env first. Image failures and other things.17:50
mtreinishif it's on the glance v2 with schemas there is a bug related to dependencies there17:50
mtreinishbecause you could have an old version lying around which won't work17:50
adalbasmtreinish, ok. i ll think i need to run devstack from the beginning again, to ensure i have the latests patches.17:51
mtreinishadalbas: I'm not sure that would fix it actually17:52
mtreinishsdague: ^^^ do you know since you had to revert me pinning the version?17:52
adalbasmtreinish, what is this old version?17:52
sdagueburt: I thought you could forcably trigger it?17:53
sdagueor is this really only on the periodic17:53
burtIf you tell me how I could force it, that would be cool.17:53
sdagueadalbas: right, the requirements issue isn't resolvable for a while17:53
burtbut I didn't see anything obvious17:53
mtreinishadalbas: I believe you need jsonschema>=1.3.017:54
sdagueburt: https://review.openstack.org/#/c/39340/ is not found for me17:55
adalbasmtreinish, alright, you are talking about the requirement that broke grenade, right?17:55
burteh, try again. I published it as a draft.17:55
mtreinishadalbas: yeah its the same one. The patch I pushed out to set the right version broke grenade. But if you have the old one installed the tests will fail17:56
adalbasmtreinish, ok!17:56
mtreinishadalbas: you can just manually install it with 'pip install -U jsonschema==1.3.0' and then restack17:56
mtreinishI think17:56
adalbasi ll try that17:56
*** prekarat has joined #openstack-qa17:57
openstackgerritminsel proposed a change to openstack/tempest: Add testing of Neutron per tenant quotas API  https://review.openstack.org/3572417:57
openstackgerritafazekas proposed a change to openstack/tempest: setUpClass/tearDownClass full chain  https://review.openstack.org/3934617:59
openstackgerritafazekas proposed a change to openstack/tempest: setUpClass/tearDownClass full chain  https://review.openstack.org/3934618:07
*** marun has quit IRC18:12
kashyapafazekas, I just replaced the RPM name in the quantum script18:22
openstackgerritMatthew Treinish proposed a change to openstack/tempest: Switch to using Oslo logging  https://review.openstack.org/3887918:22
afazekaskashyap: I am not sure why you need that script, but If it not ok it should be fixed anyway :)18:22
afazekasbye18:22
*** afazekas has quit IRC18:23
openstackgerritMatthew Treinish proposed a change to openstack/tempest: Add locking to test_aggregates  https://review.openstack.org/3885718:23
openstackgerritMatthew Treinish proposed a change to openstack/tempest: Add tenant isolation for scenario tests  https://review.openstack.org/3909918:23
*** prekarat has quit IRC18:28
*** marun has joined #openstack-qa18:29
openstackgerritMatthew Treinish proposed a change to openstack/tempest: Fix fail logic for server of another tenant test  https://review.openstack.org/3935718:35
sdagueburt: that seems like what I was thinking, you don18:39
sdague't think that will work without periodic?18:40
mtreinishsdague, dkranz, jaypipes: can you take a look at: https://review.openstack.org/3934218:40
mtreinishit's breaking the testr runs right now18:40
mtreinishwell, just marking them as failed they still run18:41
sdaguelgtm18:41
*** marun has quit IRC18:42
*** marun has joined #openstack-qa18:43
burtsdague: no, I don't think so.  AFAICT the only way nova knows that the VM has shut itself down is via the periodic call.18:45
sdagueI thought we were reporting that back more timely now18:48
sdagueyou could be right though18:48
sdaguehmmmm18:48
openstackgerritMate Lakat proposed a change to openstack-dev/devstack: xenapi: Use a jeos vm as a template  https://review.openstack.org/3936018:50
openstackgerritMate Lakat proposed a change to openstack-dev/devstack: xenapi: Use a jeos vm as a template  https://review.openstack.org/3936019:04
dkranzmtreinish: Sorry, at a meeting. Done.19:09
mtreinishdkranz, sdague: cool thanks19:11
sdagueoh, hey, dkranz voted the same second I did on the log19:50
dkranzsdague: :)19:50
mtreinishsdague: sweet19:50
mtreinishsdague: can you look at https://review.openstack.org/#/c/38526/ I'd like to start getting some of these race fixes through19:52
sdaguemtreinish: yep, good with that19:53
sdaguejust put it to merge queue19:53
mtreinishsdague: great19:53
sdaguedkranz: https://review.openstack.org/#/c/38828/ - can you look at that?19:54
dkranzsdague: Just a sec...19:55
*** afazekas has joined #openstack-qa19:55
dkranzsdague: I don't see anything wrong with it but I am no python+fixtures expert.19:57
dkranzsdague: If you are confident though I will +1 it.19:58
sdagueyeh, it comes out of nova equiv of this19:58
sdagueso it's been working over there19:58
dkranzsdague: ok. "in the land of the blind, the one-eyed man is king" :)19:59
dkranzsdague: Done.20:00
sdagueheh20:08
dkranzmtreinish: How close are we to being able to take nose out of the gate, using serial testr instead?20:10
mtreinishdkranz: hmm that's an interesting thought, I didn't even think about doing that. Do you have a clean devstack environment to test it?20:11
dkranzmtreinish: I am having trouble getting "ignore slow" to work in nose the way we are using tags.20:11
dkranzmtreinish: I hope too tomorrow. I have not had a real environment which is whiy I havne't made much progress.20:11
mtreinishdkranz: well if it works with testr, I don't see a reason why serially testr would introduce any problems20:11
mtreinish(the tags that is)20:12
dkranzmtreinish: WHere is the best doc about how to use testr? I've been avoiding it :)20:12
mtreinish'testr help' is pretty useful, there is also: https://testrepository.readthedocs.org/en/latest/MANUAL.html and https://testrepository.readthedocs.org/en/latest/20:13
dkranzmtreinish: OK, thanks. I'll check it out.20:13
mtreinishif you just run 'testr run' from your tempest root dir that will run everything serially20:13
mtreinishdkranz: if you want I can push a patch out that switches everything over to testr serially20:14
mtreinishjust so we can get a feel for how it would work in the gate20:14
openstackgerritafazekas proposed a change to openstack/tempest: setUpClass/tearDownClass full chain  https://review.openstack.org/3934620:16
sdaguemtreinish: add a new tox target for it20:16
sdaguethat would be better20:16
mtreinishsdague: but then it wouldn't run in the gate?20:17
mtreinish(why the question mark...)20:17
*** lexinator has quit IRC20:17
sdaguemtreinish: but it would make it easy for dkranz to kick the tires on20:18
dkranzmtreinish: I think I should play with it first.20:19
dkranzmtreinish: I presume testr has an option like nose --collect-only where you can play with what will run quickly.  At least I hope it does.20:20
dkranzmtreinish: Then use just testr in the gate, then skip slow tests, then add heat job.20:20
*** torandu has quit IRC20:23
sdaguedkranz: what does --collect-only do?20:25
*** torandu has joined #openstack-qa20:25
dkranzmtreinish: Actually it would be good if you put a tox job in for this. Then it coujld be tested20:25
*** torandu has quit IRC20:25
dkranzsdague: It prints out the names of the tests that will be run as usual, but doesn't actually run them20:25
dkranzsdague: I think it is an undocumented feature I found on stackoverflow20:26
*** torandu has joined #openstack-qa20:26
mtreinishdkranz: yeah it does 'testr list-tests'20:26
dkranzmtreinish: Cool. That's what I was looking for.20:26
mtreinishso to mimic the gate it would be 'testr list-tests tempest.api tempest.scenario tempest.thirdparty tempest.cli'20:26
*** torandu has quit IRC20:27
mtreinishdkranz: for the new tox job have it just run the same set as the gate but serially?20:27
dkranzmtreinish: Yes.20:28
dkranzmtreinish: I will then add the slow tag and make sure everything works.20:28
*** torandu has joined #openstack-qa20:28
openstackgerritMatthew Treinish proposed a change to openstack/tempest: Add eventlet to requirements.txt  https://review.openstack.org/3936820:28
mtreinishdkranz: ok one sec20:29
*** lexinator has joined #openstack-qa20:30
openstackgerritA change was merged to openstack/tempest: Fix neutron cli tests skip for testr  https://review.openstack.org/3934220:32
*** annegentle is now known as anneisgentle20:40
afazekasfungi: ping20:40
fungiafazekas: pong20:42
dkranzmtreinish: I see that in testr you can provide regexps that will be OR'ed but don't see how to exclude tests based on name. Is there?20:42
afazekasfungi: https://review.openstack.org/#/c/39291/ How could I use that script referred in the commit message without adding it to the tempest repo ?20:44
fungiafazekas: sphinx-autopackage-script?20:45
afazekasfungi: yes20:45
fungiafazekas: is the author willing to package it and upload to pypi?20:46
mtreinishdkranz: that was the negative lookahead stuff that clarkb was talking about the other day. You just make the regex the test name.20:47
afazekasfungi: I do not know the author will, I just found that script on the internet20:47
dkranzmtreinish: Can you be slightly more specific?20:47
fungiafazekas: we can run things that are either part of the project being tested, or which are packaged either for the target distribution (deb, rpm) or on pypi20:48
openstackgerritA change was merged to openstack/tempest: Switch to using Oslo logging  https://review.openstack.org/3887920:48
fungiafazekas: i'd be hesitant to suggest embedding it in one of our infra repos like the utility scripts we've written, because that would basically be forking the original author's work20:49
afazekasfungi: can we just wget/curl that script ?  it is one file.20:49
fungiafazekas: that makes the job flaky. what happens when there's a network blip? or when bitbucket is down for maintenance?20:49
mtreinishdkranz: testr doesn't differentiate tags and testname they all get combined in the testid. So if you want to filter out a test you just have to do the same thing you would do with filtering out a tag.20:49
afazekasfungi: can it be copied to some "internal" web server ?20:50
mtreinishdkranz: here is an example from nova which clarkb added to filter out the coverage unit tests: '^(?!.*test.*coverage).*$'20:50
fungiafazekas: we try to minimize the number of places on the internet a job needs to talk to. each one of them becomes a single point of failure20:50
fungiafazekas: if it's something we use, we'd have to publish it. then we'd be forking it20:50
dkranzmtreinish: I see. Just need to be a regex wizard.20:50
fungiafazekas: easiest path forward is to see if the author would mind terribly getting it onto pypi. we can even provide resources to help in that regard20:51
mtreinishdkranz: yeah, which I'm not. I pretty much fail whenever I try to use regex20:51
dkranzmtreinish: Ditto20:51
fungiafazekas: alternative approach, if the author has no interest in continuing to maintain that script long-term, is that we can talk about becoming the upstream maintainers of it20:53
afazekasfungi: I do not think we need ant maintenance or future version, it does what I need.20:53
openstackgerritMatthew Treinish proposed a change to openstack/tempest: Add tox job for serial testr  https://review.openstack.org/3937120:54
fungiclarkb: do you have any suggestions i'm overlooking for being able to run a third-party script for tempest doc generation when said script is only published unversioned on bitbucket?20:54
mtreinishdkranz: ^^^ there you go. Hot of the presses20:54
mtreinish*off20:55
dkranzmtreinish: Thanks. tempest.api should be tempest\.api right?20:56
dkranzmtreinish: And I have to turn those arguments into an alternation followed by exclusion of 'slow'. Blah.20:56
*** comstud has joined #openstack-qa20:57
mtreinishdkranz: you should be ok if you add the slow exclusion as another arg to the end of the list I think20:57
mtreinishdkranz: and yes you're right it should be \. but . works too :)20:58
openstackgerritA change was merged to openstack/tempest: Add environmental variables to test.conf  https://review.openstack.org/3882820:58
dkranzmtreinish: I'll play, hopefully for not too long.20:58
clarkbfungi: uh, we could vendor it20:59
clarkbfungi: which is painful, but assuming the licenses are compatible is a thing we can do20:59
fungiclarkb: yeah, seems marginally impolite but it's a path forward i suppose21:00
clarkbmtreinish: dkranz if you describe the thing you want to exclude I can give you a regex21:00
clarkbs/thing/strings/21:01
mtreinishafazekas: my google search for that script said it's now part of sphinx as apidoc21:01
mtreinishhttp://sphinx-doc.org/man/sphinx-apidoc.html does this do what you need?21:01
afazekasclarkb: https://xkcd.com/208/ :)21:01
dkranzmtreinish: \[\bslow\b\]21:01
sdagueafazekas: ask dhelman what he's doing for ceilo, I thought he'd solved this one21:02
afazekasmtreinish: we are using relatively old sphinx21:02
clarkboh yeah you want to exclude the slow tag. ^(?!.*\[\bslow\b\]).*$ should be close to what you want21:02
comstudsdague: ok, so ya, now that we're into tempest for the cells gate, there's a crapload of tests that I need to skip.. like aggregates, etc :)21:02
sdagueafazekas: bump the requirement21:02
fungiafazekas: that xkcd was particularly apropos21:03
sdaguecomstud: so what's the eventual plan for these features?21:03
afazekasBut there is way to use newer version in tempest and bypassing the common requirements ..21:03
* fungi loled21:03
clarkbI need the shirt from that comic21:03
sdaguebecause up until this point we've really not let people turn off parts of nova testing, because it's all nova21:03
comstudsdague: Implement them... there's been a patch up for aggregates.. but I don't know that it's ready or the right way...21:03
jeblairafazekas: pbr does automatic api doc generation for sphinx21:03
dkranzclarkb: Thanks.21:03
dkranzGotta run now.21:03
comstudsague: things like floating ips... well... there's tests against nova-network and there's not any point in implementing a bunch of cells work for nova-network since it'll be going away..21:04
afazekasjeblair: can you show me an example usage ?21:04
comstudsdague even21:04
sdaguecomstud: not any time soon I don't think, as neutron isn't passing gate21:04
comstudsdague: If it's easier.. the gate is actually worthwhile JUST with the devstack exercises.21:04
comstudsdague: right21:04
clarkbsdague: yeah it won't be deprecated until icehouse at the earliest21:04
sdagueso I think the past answer has been you are non-voting until you pass the tests, and so run at getting working as fast as possible21:05
comstudsdague: devstack exercises at least test 'build'... although it'd be nice to test basic actions with tempest.. like reboot, etc21:05
mtreinishcomstud: if they need to be skipped there are 2 ways I'd go about it: 1. make a config option for tempest and skipIf each test (this is very time consuming but cleaner) or you could add a tox job which runs the subset you need21:05
mtreinishbut I'll defer to sdague on whether we should or not21:05
sdagueI think the problem is that it's a pretty extensive set of skips21:05
comstudsadgue: Yea, but a non-voting 'fail' on every single run is meaningless21:05
sdaguecomstud: right, which is the incentive to get it all working faster21:06
comstudIt looks to be... although if I can skip a whole class, it's easier21:06
comstudsdague: Yeah, that's just not going to be possible in the relative near-term21:06
comstudsecurity groups is an interesting problem21:06
afazekasmtreinish: cool, looks it is in my tox venv, I'll check it tomorrow21:07
comstudtechnically security groups and aggregates, etc are extensions.21:08
mtreinishcomstud: you can skip a class. You just raise a skipException we do that a lot for config options. For example: https://review.openstack.org/#/c/39342/21:08
comstudok21:08
jeblairafazekas: i think you add 'autodoc_index_modules' to setup.cfg21:09
jeblairafazekas: but ask mordred21:09
mordredarro?21:09
comstudmtreinish: I'll go ahead and look at that and propose something similar for cells.. and then I guess we'll see how nasty it is :)21:09
mordredyeah. I believe that's the word21:09
mordredbtw-21:09
mordredapparently there is a sphinx util to do that21:09
mordredso I might be ripping out the impl code and replacing it with an upstream thing21:09
*** dkranz has quit IRC21:10
jeblairmordred: http://sphinx-doc.org/man/sphinx-apidoc.html  that?21:10
jeblairmordred: mtreinish pointed that out earlier21:10
mordredyeah21:10
jeblairmordred: what do you think the right path forward for afazekas is wrt to adding that to tempest?21:10
jeblairmordred: see this review https://review.openstack.org/#/c/39291/21:11
mordredjeblair: to use the pbr interface21:11
* afazekas regen my venv I had newer sphinx from the past ..21:11
mordredoh yeah - not that21:11
mordredyup21:12
mordredautodoc_index_modules=true21:12
mordredin a [pbr] section21:12
mordredin setup.cfg21:12
mordredand that should write a file doc/source/api/autoindex.rst21:13
mordredthat you can reference in your docs21:13
afazekasmordred: thx, I'll try that too21:15
*** mkollaro has quit IRC21:24
*** meteorfox has quit IRC21:36
*** SergeyLukjanov has quit IRC21:37
afazekasA simple long module list seams  too flat  to me21:44
*** burt has quit IRC22:02
*** meteorfox has joined #openstack-qa22:07
*** meteorfox has quit IRC22:12
sdaguecomstud: so I was thinking about the cells skips22:17
sdagueon the drive home22:17
sdagueI think what we need to do is the following22:17
sdague1) add a available_service.cells to the config22:17
sdague2) all skips in tempest need specific high priority nova bugs22:18
sdaguewe have a way to track skip bugs to know that they were resolved, which we run periodically22:18
sdagueto unskip to make progress22:18
*** dosaboy has quit IRC22:29
*** dosaboy has joined #openstack-qa22:30
*** anteaya has quit IRC22:45
*** EmilienM has quit IRC22:47
*** EmilienM has joined #openstack-qa22:52
*** krtaylor has quit IRC22:57
*** mlavalle has quit IRC23:02
openstackgerritA change was merged to openstack/tempest: Add locking to test_aggregates  https://review.openstack.org/3885723:04
comstudsdague: That's fair23:21
comstudsdague: Yea, I was def going to start with looking at #123:21
comstudI had some other distractions today so I didn't get started yet23:21
sdaguecomstud: that's a devstack change23:21
sdaguewell a devstack & a tempest change23:21
comstudok23:21
comstudnod23:21
sdagueto config it right for the gate23:21
sdagueanyway, I think it's a path forward23:22
comstudI'm not planning on just forgetting that there's skips for cells23:23
comstudwe'll work towards addressing them, I just don't know how quickly it's going to be23:23
comstudThere's some other high priority things for H-3 for nova to complete23:24
comstudWe need to revive this: https://review.openstack.org/#/c/25813/23:25
comstudAnd make sure it's 'the right way'23:25
comstudsdague: I assume a link to a BP is also acceptable?  Or maybe there should be a related tempest bug linking to the BP?23:26
comstudI'm thinking the latter23:27
sdagueso it should be a nova bug23:27
sdaguewhich can link to the BP23:27
sdaguebecause it's actually a bug in nova that we are skipping on23:28
comstuddepending on how you look at it23:28
sdagueit's not a tempest bug that cells doesn't implement sec groups :)23:28
comstudit's really an unimplemented feature23:28
comstud:)23:28
comstudwell.. depending on how you look at it ;)23:28
comstudBut yes, that is true.. it's not a tempest bug.23:28
comstudI don't mind finding a nova bug for them at all23:29
comstuder filing23:29
sdaguecool23:31
sdaguethey should be descreet enough to be plucked off one at a time. So one for aggregates support, one for sec groups, one for floating ips23:32
comstudyeah23:33
comstudi'll prob start working on that tomorrow.. i'm out for now23:35
sdaguehave a good evening23:49

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