Perl 6 - the future is here, just unevenly distributed

IRC log for #openstack-rally, 2016-12-05

| Channels | #openstack-rally index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:03 adiantum joined #openstack-rally
00:30 yingjun joined #openstack-rally
00:42 yingjun_ joined #openstack-rally
00:55 yingjun joined #openstack-rally
01:22 yingjun joined #openstack-rally
01:25 psuriset_ joined #openstack-rally
01:37 zackf joined #openstack-rally
01:41 yanyanhu joined #openstack-rally
01:51 openstackgerrit Ma Xinjian proposed openstack/rally: GlanceImages.create_and_update_image  https://review.openstack.org/386433
02:04 openstackgerrit Ma Xinjian proposed openstack/rally: Add NovaServers.boot_and_evacuate_server  https://review.openstack.org/385351
02:48 ilbot3 joined #openstack-rally
02:48 Topic for #openstack-rally is now Gitter https://gitter.im/rally-dev/Lobby ☁ Review board: https://goo.gl/iYw2m0 ☁ Rally RoadMap: http://goo.gl/JZkmwY ☁ IRC logs http://irclog.perlgeek.de/openstack-rally ☁ Key persons to ask:  andreykurilin, boris-42, amaretskiy, rvasilets, stpierre  ☁ Documentation: https://rally.readthedocs.org/en/latest/ ☁ To publish changes to Rally:  https://rally.readthedocs.org/en/late
03:02 yamamoto_ joined #openstack-rally
03:20 psuriset_ joined #openstack-rally
03:32 zackf joined #openstack-rally
04:50 yamamoto_ joined #openstack-rally
05:15 rdas joined #openstack-rally
05:44 Alex_Stef joined #openstack-rally
05:55 mgagne joined #openstack-rally
05:59 ipo joined #openstack-rally
06:01 psuriset_ joined #openstack-rally
06:27 psuriset_ joined #openstack-rally
06:31 jojden joined #openstack-rally
06:32 jojden how to run rally commands using python
06:32 jojden is there any api available for the rally ?
06:34 rallydev-bot [From Gitter] shihai1991 : what's you mean?
06:36 zackf joined #openstack-rally
06:36 yamamoto_ joined #openstack-rally
06:46 igormarnat__ joined #openstack-rally
06:49 jojden I want to call rally tests from python
06:50 jojden for example
06:50 jojden rally verify start --system-wide --regex  tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON.test_volume_list
06:50 jojden is my test
06:50 jojden i want to run this test from python
06:50 jojden how can i do that
06:50 jojden rallydev-bot
06:51 jojden for now I am using subprocess to run this command
06:51 jojden Is there any otherway to run the test
06:53 castulo joined #openstack-rally
06:57 rallydev-bot [From Gitter] shihai1991 : OK, I got it. If your test is a tempest test case,  maybe you can try "python -m testtools.run xxxx" command.
06:58 adiantum joined #openstack-rally
07:01 jojden <rallydev-bot> i didnt get it
07:02 rallydev-bot [From Gitter] andreykurilin : jojden: hi! You can use rally.api module with several hacks
07:02 e0ne joined #openstack-rally
07:02 jojden oh ok
07:03 jojden can i get the link for the same ?
07:03 jojden https://github.com/openstack/rally/blob/master/rally/api.py
07:03 jojden ?
07:08 zackf joined #openstack-rally
07:10 rallydev-bot [From Gitter] andreykurilin : jojden: you can use it like http://xsnippet.org/362134/
07:12 jojden thank you <rallydev-bot>
07:12 jojden do we have code to run the rally task
07:13 jojden rally verify start --system-wide --regex tempest_sidecar_plugin.tests.api.test_sidecar.TestTempestSidecar.test_pecan_is_running
07:18 rallydev-bot [From Gitter] andreykurilin : jojden: rallydev-bot is just bot for syncing mesages IRC<-->Gitter :) It can repost messages from different users, so first username in message displays author name:) in my case, I'm andreykurilin, not a rallydev-bot :)
07:18 jojden ok :)
07:18 jojden thanks andreykurilin
07:20 rallydev-bot [From Gitter] andreykurilin : jojden: unfortunately, I do not have any samples now. We are planning to redesign api module in near future and after that we will add samples and doc pages
07:21 rallydev-bot [From Gitter] andreykurilin : in case of usage rally verify start, you should use https://github.com/openstack/rally/blob/master/rally/api.py#L458 and https://github.com/openstack/rally/blob/master/rally/api.py#L391
07:21 rallydev-bot [From Gitter] andreykurilin : just api.Verification.install_tempest(...) and api.Verification.verify(...)
07:28 rcernin joined #openstack-rally
07:32 rcernin joined #openstack-rally
07:36 jojden :)
07:36 jojden i think better i will use subprocess to run the command
07:36 jojden while checking i found that the api is also using the same
07:37 jojden subprocess.check_call(test_cmd, cwd=self.path(),
07:37 jojden env=self.env, shell=True)
07:55 Alex_Stef joined #openstack-rally
07:59 rcernin joined #openstack-rally
08:00 tosky joined #openstack-rally
08:02 sshnaidm joined #openstack-rally
08:03 rcernin joined #openstack-rally
08:21 zackf joined #openstack-rally
08:22 mvk joined #openstack-rally
08:31 kambiz joined #openstack-rally
08:34 afazekas joined #openstack-rally
08:55 alexchadin joined #openstack-rally
09:11 e0ne joined #openstack-rally
09:39 vaidy joined #openstack-rally
09:41 alexchadin joined #openstack-rally
09:41 yanyanhu joined #openstack-rally
09:42 ushkalim joined #openstack-rally
09:46 igajsin joined #openstack-rally
09:48 igajsin left #openstack-rally
10:16 adiantum joined #openstack-rally
10:29 zackf joined #openstack-rally
10:31 Serlex joined #openstack-rally
10:43 yamamoto joined #openstack-rally
10:53 albertw joined #openstack-rally
10:56 albertw joined #openstack-rally
10:57 psuriset_ joined #openstack-rally
11:05 tesseract joined #openstack-rally
11:17 yingjun joined #openstack-rally
11:21 zackf joined #openstack-rally
11:24 tesseract- joined #openstack-rally
11:43 ushkalim joined #openstack-rally
11:43 Daviey joined #openstack-rally
12:00 rallydev-bot [From Gitter] andreykurilin : @redixin how many vcpu cli jobs have?
12:02 openstackgerrit joined #openstack-rally
12:02 openstackgerrit Andrey Kurilin proposed openstack/rally: [Services] redesign metaclass to support subclasses  https://review.openstack.org/395096
12:02 openstackgerrit Andrey Kurilin proposed openstack/rally: Port all keystone scenarios to Identity Service  https://review.openstack.org/394583
12:08 rallydev-bot [From Gitter] redixin : @andreykurilin: 2
12:09 rallydev-bot [From Gitter] andreykurilin : @redixin ok. but it is redundant in case of unittest.discover. It works only in serial mode :( that is why cli job takes ~1h at mirantis-ci and just ~30-40 minutes at upstream ci
12:09 rallydev-bot [From Gitter] andreykurilin : can we switch to use testtools or pytest there?
12:13 rallydev-bot [From Gitter] redixin : @andreykurilin: yes
12:14 rallydev-bot [From Gitter] andreykurilin : nice
12:15 jkilpatr joined #openstack-rally
12:21 ushkalim joined #openstack-rally
12:34 e0ne joined #openstack-rally
12:36 alexchadin joined #openstack-rally
12:43 psuriset_ joined #openstack-rally
12:52 chenhb joined #openstack-rally
13:22 kbaikov joined #openstack-rally
13:28 yingjun joined #openstack-rally
13:29 kbaikov joined #openstack-rally
13:29 yingjun_ joined #openstack-rally
13:34 tosky_ joined #openstack-rally
13:40 dave-mccowan joined #openstack-rally
13:44 yamamoto joined #openstack-rally
13:48 xionchen_ joined #openstack-rally
13:51 openstackgerrit Andrey Kurilin proposed openstack/rally: Update setuptools only when needed  https://review.openstack.org/406970
13:53 yingjun joined #openstack-rally
14:02 rallydev-bot [From Gitter] andreykurilin : @/all meeting at #openstack-meeting (Freenode)
14:03 yingjun joined #openstack-rally
14:04 chenhb__ joined #openstack-rally
14:05 stpierre joined #openstack-rally
14:05 astudenov joined #openstack-rally
14:08 openstackgerrit Yaroslav Lobankov proposed openstack/rally: DO NOT TOUCH, DO NOT LOOK: refactor verification  https://review.openstack.org/372334
14:08 openstackgerrit Anton Studenov proposed openstack/rally: [WIP][Core] Remove map_for_scenario  https://review.openstack.org/406979
14:14 sskripnick joined #openstack-rally
14:28 openstackgerrit Xiang Chen proposed openstack/rally: [CI] try to fix gate job  https://review.openstack.org/406990
14:28 zackf joined #openstack-rally
14:31 openstackgerrit Xiang Chen proposed openstack/rally: [CI] try to fix gate job  https://review.openstack.org/406990
14:55 openstackgerrit Yaroslav Lobankov proposed openstack/rally: DO NOT TOUCH, DO NOT LOOK: refactor verification  https://review.openstack.org/372334
14:58 snecklifter joined #openstack-rally
15:03 snecklifter ugh, setuptools looks broken
15:03 snecklifter or is it just me?
15:30 openstackgerrit Anton Studenov proposed openstack/rally: [WIP][Core] Remove map_for_scenario  https://review.openstack.org/406979
15:31 snecklifter andreykurilin: thanks for opening ticket https://github.com/pypa/setuptools/issues/871
15:32 snecklifter any idea on a quick workaround?
15:54 andreykurilin snecklifter: It hink we can try to install harcoded version of setuptools, like here https://review.openstack.org/406990
15:56 snecklifter andreykurilin: works for me but I'm now getting [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/test-easy-install-993805.write-test'
15:57 andreykurilin O_o
15:57 snecklifter which I wasn't getting last week
15:57 andreykurilin hm
16:24 stpierre joined #openstack-rally
16:29 openstackgerrit Anton Studenov proposed openstack/rally: Revert "[Install] Improve installation script"  https://review.openstack.org/407060
16:48 stpierre joined #openstack-rally
16:52 vaidy joined #openstack-rally
17:14 openstackgerrit Anton Studenov proposed openstack/rally: Bump virtualenv version in install_rally.sh  https://review.openstack.org/407060
17:20 yamamoto joined #openstack-rally
17:26 mvk joined #openstack-rally
17:27 mgagne joined #openstack-rally
17:50 harlowja joined #openstack-rally
17:59 snecklifter andreykurilin: http://paste.openstack.org/show/591458/
18:02 stpierre joined #openstack-rally
18:02 andreykurilin snecklifter: it looks like we can adopt first answer from http://stackoverflow.com/questions/21826859/setting-up-a-virtualenv-no-module-named-pip
18:02 snecklifter andreykurilin: ACK, testing now
18:03 andreykurilin somewhere here https://github.com/openstack/rally/blob/master/install_rally.sh#L423
18:06 andreykurilin snecklifter: what is default version of python in your env?
18:06 snecklifter andreykurilin: 2.7.5
18:07 snecklifter specifically, python-2.7.5-48.el7.x86_64
18:16 rallydev-bot [From Gitter] tohin : snecklifter: do you have ~/.virtualenv/virtualenv.ini ?
18:17 snecklifter nope
18:20 e0ne joined #openstack-rally
18:29 stpierre joined #openstack-rally
18:33 stpierre joined #openstack-rally
18:33 snecklifter andreykurilin: --no-setuptools isn't working for me
18:36 rallydev-bot [From Gitter] tohin : snecklifter: can you share logs ?
18:37 snecklifter rallydev-bot: yes, what do you need?
18:38 rallydev-bot [From Gitter] tohin : snecklifter: output for install_rally.sh
18:38 snecklifter rallydev-bot: http://paste.openstack.org/show/591458/
18:40 rallydev-bot [From Gitter] tohin : snecklifter: do you have ohe for  --no-setuptools ?
18:40 rallydev-bot [From Gitter] tohin : [edit] snecklifter: do you have one for  --no-setuptools ?
18:43 snecklifter rallydev-bot: its the same output, should that go at the end of line 424?
18:50 rallydev-bot [From Gitter] tohin : snecklifter: try replace this line
18:50 rallydev-bot [From Gitter] tohin :  https://github.com/openstack/rally/blob/master/install_rally.sh#L423
18:50 rallydev-bot [From Gitter] tohin : with:
18:50 rallydev-bot [From Gitter] tohin : "$PYTHON" "$VIRTUALENV_DST" $VERBOSE --no-setuptools  -p "$PYTHON" "$DESTDIR"
18:50 albertw left #openstack-rally
18:54 openstackstatus joined #openstack-rally
19:05 andreykurilin snecklifter: rallydev-bot is a bot for syncing messages between IRC(this channel) and Gitter( http://gitter.im/Rally-dev/Lobby ). First word after [From Gitter] is a nickname of user who is talking, so you should ping that username instead of rallydev-bot :)
19:05 snecklifter andreykurilin: haha, i didn't know what the heck to do, couldnt see a tohin though
19:06 andreykurilin ))
19:06 snecklifter andreykurilin: I now get a permissions error about pip
19:06 snecklifter andreykurilin: should I be able to run install_rally.sh as a regular user?
19:07 snecklifter I have always been able to...
19:07 rallydev-bot [From Gitter] andreykurilin : Yes
19:15 diogogmt joined #openstack-rally
19:20 cjmarti joined #openstack-rally
19:26 bapalm_ joined #openstack-rally
19:26 SergeyLukjanov2 joined #openstack-rally
19:31 hecliunyx joined #openstack-rally
19:34 mvk joined #openstack-rally
19:35 noama joined #openstack-rally
19:38 codebauss joined #openstack-rally
20:02 openstackgerrit Anton Studenov proposed openstack/rally: Bump virtualenv version in install_rally.sh  https://review.openstack.org/407060
20:10 gus joined #openstack-rally
20:17 mbeaulie joined #openstack-rally
20:20 mbeaulie Hitting the setuptools issue too... Tried both workarounds from the chat above and no luck. Did anyone find something that works?
20:23 rallydev-bot [From Gitter] tohin : mbeaulie: can you try https://review.openstack.org/#/c/407060/2 ?
20:24 mbeaulie Will do.
20:48 jkilpatr joined #openstack-rally
20:53 mbeaulie Tried the above... fails with: Cannot find a whelle for setuptools, pip... Import error: No module names pip
21:00 mbeaulie missed a change... rechecking
21:29 adiantum joined #openstack-rally
21:32 mbeaulie ok, seems it was working up to the point where a team-mate decided to redeploy my node where I was testing the fix. :(
21:32 rallydev-bot [From Gitter] andreykurilin : heh
21:32 mbeaulie But it was looking good!
21:33 rallydev-bot [From Gitter] andreykurilin : @tohin your fix helped ^
22:40 rcernin joined #openstack-rally
22:56 e0ne joined #openstack-rally
22:56 openstackgerrit Merged openstack/rally: Bump virtualenv version in install_rally.sh  https://review.openstack.org/407060
22:56 e0ne joined #openstack-rally
22:57 e0ne joined #openstack-rally
22:58 e0ne joined #openstack-rally
22:59 e0ne joined #openstack-rally
23:00 e0ne joined #openstack-rally
23:00 e0ne joined #openstack-rally

| Channels | #openstack-rally index | Today | | Search | Google Search | Plain-Text | summary