Wednesday, 2017-04-12

*** karimb has quit IRC00:34
*** cuongnv has joined #ara01:05
*** dmsimard has quit IRC06:55
*** dmsimard has joined #ara06:56
*** karimb has joined #ara07:14
*** karimb has quit IRC07:29
*** karimb has joined #ara08:01
*** vcn[m] has joined #ara09:15
*** karimb has quit IRC10:52
*** cuongnv has quit IRC10:55
*** karimb has joined #ara10:57
*** karimb has quit IRC11:16
*** karimb has joined #ara12:14
openstackgerritDavid Moreau Simard proposed openstack/ara master: jUnit report generation : Support unicode characters in play and task names  https://review.openstack.org/45568812:59
openstackgerritDavid Moreau Simard proposed openstack/ara master: Improve integration testing for non-ascii characters  https://review.openstack.org/45418113:00
openstackgerritDavid Moreau Simard proposed openstack/ara master: jUnit report generation : Support unicode characters in play and task names  https://review.openstack.org/45568813:00
openstackgerritDavid Moreau Simard proposed openstack/ara master: jUnit report generation : Support unicode characters in play and task names  https://review.openstack.org/45568813:00
dmsimardsorry for the spam, switching parent and children patches around13:00
*** themurph has quit IRC13:04
openstackgerritDavid Moreau Simard proposed openstack/ara master: jUnit report generation : Support unicode characters in play and task names  https://review.openstack.org/45568813:06
*** themurph has joined #ara13:08
openstackgerritDavid Moreau Simard proposed openstack/ara master: Improve integration testing for non-ascii characters  https://review.openstack.org/45418113:12
openstackgerritMerged openstack/ara master: jUnit report generation : Support unicode characters in play and task names  https://review.openstack.org/45568813:34
openstackgerritMerged openstack/ara master: Improve integration testing for non-ascii characters  https://review.openstack.org/45418113:35
dmsimardnooooooo, wtf13:36
dmsimardmerged an empty commit, what is this nonsense13:36
dmsimardಠ_ಠ13:37
hughsaundersdmsimard: I'm playing with the html reports, and noticed that the tables don't populate when browsing static reports locally13:39
hughsaundersdmsimard: however If I start python -m SimpleHTTPServer on the same dir, it works fine..13:40
openstackgerritDavid Moreau Simard proposed openstack/ara master: Improve integration testing for non-ascii characters (take two)  https://review.openstack.org/45622113:40
dmsimardhughsaunders: how are you using them ? statically generated ? reverse proxy to dev webserver ? mod_wsgi ?13:41
dmsimardnginx in there somewhere ?13:41
hughsaundersdmsimard: my first try was to generate statics to a local dir and point chrome at that dir13:41
hughsaundersthat didnt work.. however if I run a local webserver pointing at the same dir, then point chrome at that, it works fine.13:41
dmsimardhughsaunders: hum, that's odd. Do you have a javascript blocker thing ?13:42
dmsimardhughsaunders: I have a chrome addon that blocks javascript unless whitelisted13:42
hughsaundershmm, js generally works, but it hangs on "loading x results" when I expand hosts/plays/files/tasks13:43
hughsaundersI'm guessing that does some sort of ajax thing that doesn't work against local URLs?13:43
dmsimardhughsaunders: it does some sort of ajax thing but it should work locally -- you're using latest version of ARA I guess ?13:45
dmsimardhughsaunders: I mean arguably those are static files but still served through a webserver http://logs.openstack.org/21/456221/1/check/gate-ara-integration-latest-centos-7/7c72380/logs/build/reports/index.html13:45
dmsimardbut I'll try locally straight from files, sec13:45
hughsaundersYeah latest13:45
dmsimardhughsaunders: hm, you're right13:48
dmsimardI'll file a bug now13:48
openstackgerritMerged openstack/ara master: Improve integration testing for non-ascii characters (take two)  https://review.openstack.org/45622113:51
dmsimardhughsaunders: https://storyboard.openstack.org/#!/story/2000981 I added a screenshot of the problem as well13:52
dmsimardnot sure what's the fix, I'll try and take a look when I have a chance13:53
dmsimardproblem looks obvious though13:53
hughsaundersheh, I looked in the network section of the debug console and couldn't see failed requests. I guess thats because they didn't go across the network... I should have checked the console.13:53
*** tbielawa has joined #ara14:09
*** tbielawa is now known as tbielawa|mtg14:17
hughsaundersdmsimard: next problem... there seems to be a request for a file/id dir, rather than file/id/index.html. That fails on our CDN as directories can't be fetched, only files.14:58
hughsaundersExample fail: Request URL:http://0d2158eaaaf973ff7daf-2bd7d0c5a1f5e14f95e037b05b4e150c.r64.cf3.rackcdn.com/file/2465f080-b793-4b01-a1a0-b865038addb4/14:58
hughsaundersexample success: http://0d2158eaaaf973ff7daf-2bd7d0c5a1f5e14f95e037b05b4e150c.r64.cf3.rackcdn.com/file/2465f080-b793-4b01-a1a0-b865038addb4/index.html14:58
dmsimardhughsaunders: sort of known issue, one which is partially explained here https://review.openstack.org/#/c/450965/15:00
dmsimardI don't really have a solution for it, ideally you have a web server in front that knows what to do about it (when serving static files) or load the application itself (embedded webserver, wsgi, etc.)15:01
dmsimardThe URLs are laid out that way to provide easy feature parity between dynamic (database-driven/wsgi) and static versions15:02
hughsaundersdmsimard: sounds like a case for BICYCLE REPAIR MAN.. erm I mean recursive sed.15:03
dmsimardIt stems from the fact that flask-frozen needs to know that there are routes/paths/files underneath a flask route and thus why there's a slash15:03
dmsimardIt sort of sucks, but I don't want to build my own flask-frozen so it's the compromise15:04
dmsimardhopefully that makes sense though15:04
hughsaundersyeah, I guess it works for the most used use-cases.15:04
dmsimarddoesn't resolve your particular issue but hope it's understandable15:04
dmsimardis that rax swift cdn btw ?15:04
hughsaundersI'll see how easy it is to postprocess the links15:04
hughsaundersyeah15:04
hughsaundershaving a go at publishing ara reports into swift15:05
dmsimardhughsaunders: probably ugly but maybe try a reverse proxy in front of the cdn ? sort of defeats the purpose but yeah ..15:06
dmsimardhughsaunders: or maybe there's the possibility of doing rewrite rules or something, not familiar with rax implementation15:06
*** tbielawa|mtg is now known as tbielawa15:07
dmsimardhughsaunders: I'm interested in knowing if you end up figuring something out that is not too dirty, I'd document it15:07
*** tbielawa is now known as tbielawa|brb15:10
*** tbielawa|brb is now known as tbielawa15:15
*** karimb has quit IRC15:24
*** karimb has joined #ara16:32
*** karimb has quit IRC17:55
*** karimb has joined #ara17:56
*** tbielawa has quit IRC18:30
*** karimb has quit IRC18:42
*** karimb has joined #ara19:35
*** karimb has quit IRC20:38
*** karimb has joined #ara20:52
openstackgerritKarim BEN YOUSSEF proposed openstack/ara master: UI : Convert 'Browsing tips' panels to tooltips  https://review.openstack.org/45638920:58
-openstackstatus- NOTICE: Restarting Gerrit for our weekly memory leak cleanup.21:24
*** karimb has quit IRC21:28

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