/irc-logs / w3c / #testing / 2013-10-01 / end

Options:

  1. # Session Start: Tue Oct 01 00:00:00 2013
  2. # Session Ident: #testing
  3. # [00:13] * Quits: darobin (rberjon@public.cloak) (Client closed connection)
  4. # [00:57] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  5. # [00:57] * Joins: zcorpan (~zcorpan@public.cloak)
  6. # [01:04] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
  7. # [01:50] * Joins: bhill1 (~Brad@public.cloak)
  8. # [01:54] * Quits: bhill (~Brad@public.cloak) (Ping timeout: 180 seconds)
  9. # [02:05] * heycam|away is now known as heycam
  10. # [02:08] * Joins: zcorpan (~zcorpan@public.cloak)
  11. # [02:15] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
  12. # [02:42] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
  13. # [03:17] * Joins: rhauck (~Adium@public.cloak)
  14. # [03:51] * Quits: ArtB (~abarsto@public.cloak) ("Leaving.")
  15. # [04:00] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
  16. # [05:52] * heycam is now known as heycam|away
  17. # [07:08] * heycam|away is now known as heycam
  18. # [08:19] * heycam is now known as heycam|away
  19. # [08:27] * Joins: Ms2ger (~Ms2ger@public.cloak)
  20. # [08:56] * Quits: Lachy (~Lachy@public.cloak) ("My MacBook Pro has gone to sleep. ZZZzzz…")
  21. # [09:00] * Joins: gitbot (~gitbot@public.cloak)
  22. # [09:00] -gitbot:#testing- [web-platform-tests] Ms2ger opened pull request #360: Reflect the changes to DOMTokenList in the microdata tests (master...fix-dom-microdata-test-new-spec) https://github.com/w3c/web-platform-tests/pull/360
  23. # [09:00] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  24. # [09:10] * Quits: Ms2ger (~Ms2ger@public.cloak) ("bbl")
  25. # [09:21] * Joins: dom (dom@public.cloak)
  26. # [09:34] * Joins: darobin (rberjon@public.cloak)
  27. # [09:48] * Joins: zcorpan (~zcorpan@public.cloak)
  28. # [10:08] * Joins: Lachy (~Lachy@public.cloak)
  29. # [12:09] * Joins: abarsto (~abarsto@public.cloak)
  30. # [12:09] * abarsto is now known as ArtB
  31. # [12:17] * heycam|away is now known as heycam
  32. # [12:53] * Joins: AutomatedTester (~AutomatedTester@public.cloak)
  33. # [12:56] * heycam is now known as heycam|away
  34. # [13:10] * Quits: dom (dom@public.cloak) (Ping timeout: 180 seconds)
  35. # [13:47] * Joins: dom (dom@public.cloak)
  36. # [13:50] * Joins: Ms2ger (~Ms2ger@public.cloak)
  37. # [14:19] <jgraham> andreastt: Is odin around?
  38. # [14:22] <andreastt> He is, prodden him to log in.
  39. # [14:23] * Joins: Velmont (~Velmont@public.cloak)
  40. # [14:23] * Velmont is now known as odinho
  41. # [14:23] <Ms2ger> odinho!
  42. # [14:23] <odinho> o'hai!
  43. # [14:24] * Ms2ger switches lecture rooms
  44. # [14:25] <jgraham> odinho: So, I am trying to pythonify the CORS tests
  45. # [14:25] <jgraham> and it is not always easy :)
  46. # [14:26] <jgraham> Well, also make them run in a different network setup
  47. # [14:26] * Joins: Ms2ger` (~Ms2ger@public.cloak)
  48. # [14:26] <jgraham> If I push the bits I have, will you have a chance to look at the failures sometime and tell me what I'm doing wrong?
  49. # [14:26] <jgraham> I understand that you have other things to work on ofc
  50. # [14:28] <odinho> Heh, I promised annevk to look at something many weeks ago, but I still haven't done it. :(
  51. # [14:28] <odinho> Basically because I have to set up my test env again (new computer since I used to do Core-stuff)
  52. # [14:29] <odinho> But it'd be interesting to look at! :]
  53. # [14:29] <jgraham> Yeah, well the new theory is that the test environment should come pre-packaged
  54. # [14:29] <jgraham> Almost
  55. # [14:30] <jgraham> But, OK, I will finish doing a rough conversion and then send you some links
  56. # [14:30] <jgraham> Well a link
  57. # [14:31] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 180 seconds)
  58. # [14:31] <odinho> jgraham: Yes, exactly that is a reason why it might be very cool to look at. :D
  59. # [14:31] <odinho> jgraham: It will be potentially less setup, and more actually work.
  60. # [14:32] <odinho> s/actually/actual/
  61. # [14:43] <jgraham> Hmm how could $_SERVER["REQUEST_METHOD"] not be set?
  62. # [15:41] * Quits: darobin (rberjon@public.cloak) (Client closed connection)
  63. # [16:10] * Quits: ArtB (~abarsto@public.cloak) ("Leaving.")
  64. # [16:12] * Joins: gitbot (~gitbot@public.cloak)
  65. # [16:12] -gitbot:#testing- [web-platform-tests] jgraham pushed 15 new commits to jgraham/python: https://github.com/w3c/web-platform-tests/compare/ca262fda5d17...eb6f4b879265
  66. # [16:12] -gitbot:#testing- web-platform-tests/jgraham/python 7b500e9 James Graham: Add web server as a submodule
  67. # [16:12] -gitbot:#testing- web-platform-tests/jgraham/python 11cef40 James Graham: Add submodule for pywebsocket
  68. # [16:12] -gitbot:#testing- web-platform-tests/jgraham/python 3dca4e3 James Graham: Add a launcher file to create a test environment
  69. # [16:12] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  70. # [16:13] * Joins: mdas_ (~mdas@public.cloak)
  71. # [16:19] * Quits: anssik (~uid10742@public.cloak) (Ping timeout: 180 seconds)
  72. # [16:19] * Quits: timeless (~uid4015@public.cloak) (Ping timeout: 180 seconds)
  73. # [16:20] * Quits: mdas (~mdas@public.cloak) (Ping timeout: 180 seconds)
  74. # [16:20] * Quits: mdas_ (~mdas@public.cloak) (Ping timeout: 180 seconds)
  75. # [16:21] * Quits: glenn (~gadams@public.cloak) (Client closed connection)
  76. # [16:28] * Joins: gitbot (~gitbot@public.cloak)
  77. # [16:28] -gitbot:#testing- [web-platform-tests] jgraham pushed 1 new commit to jgraham/python: https://github.com/w3c/web-platform-tests/commit/960a6dc3124667b6517db1827f271e7ba04000a3
  78. # [16:28] -gitbot:#testing- web-platform-tests/jgraham/python 960a6dc James Graham: Update readme file a bit
  79. # [16:28] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  80. # [16:31] * Joins: gitbot (~gitbot@public.cloak)
  81. # [16:31] -gitbot:#testing- [web-platform-tests] jgraham pushed 1 new commit to jgraham/python: https://github.com/w3c/web-platform-tests/commit/777cfcea6e17b733e12f9744c554764b7b6b2faf
  82. # [16:31] -gitbot:#testing- web-platform-tests/jgraham/python 777cfce jgraham: Fix readme formatting
  83. # [16:31] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  84. # [16:31] <jgraham> odinho: https://github.com/w3c/web-platform-tests/tree/jgraham/python
  85. # [16:32] <jgraham> Clone the repo, checkout that branch, read the instructions and see how far you get?
  86. # [16:33] * Joins: abarsto (~abarsto@public.cloak)
  87. # [16:33] * abarsto is now known as ArtB
  88. # [16:36] * Joins: rhauck (~Adium@public.cloak)
  89. # [16:44] <odinho> ^_^
  90. # [16:45] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  91. # [16:46] * Joins: zcorpan (~zcorpan@public.cloak)
  92. # [16:46] <odinho> Sad that it doesn't use Python 3.
  93. # [16:47] <jgraham> Well it's much easier to just support one environment
  94. # [16:47] <jgraham> (at first)
  95. # [16:47] <jgraham> and this one is the one that both Google and Mozilla already use, so…
  96. # [16:48] <odinho> The config.json isn't included :)
  97. # [16:49] * Joins: mdas (~mdas@public.cloak)
  98. # [16:50] <andreastt> If we are to run these tests internally at Opera, it would be significant overhead for us to upgrade to 3 also.
  99. # [16:50] <odinho> And it doesn't seem trivial to figure out what to put there.
  100. # [16:50] <andreastt> (We have test harnesses that explicitly needs Python 2.5 and 2.6.)
  101. # [16:50] <odinho> andreastt: Ugh.
  102. # [16:50] <odinho> Burn it with fire!
  103. # [16:51] <andreastt> odinho: With pleasure! Give me a few developers for a couple of weeks. (-;
  104. # [16:51] <odinho> I use Python 3 for tests, as 3.1+ has awesome unittest thingy. :)
  105. # [16:52] <odinho> andreastt: But anyway ***real reasons bla bla bla I ain't listening blablabla ***
  106. # [16:52] <andreastt> I imagine the situation is somewhat the same at Mozilla and Google.
  107. # [16:53] <odinho> jgraham: please reply.
  108. # [16:53] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
  109. # [16:53] <odinho> jgraham: I needz the config.json
  110. # [16:53] <andreastt> Actually, I think we finally got rid of 2.5 a few weeks now. So we can actually purge 2.5 from some test slaves.
  111. # [16:53] <jgraham> odinho: Oh. I will check it in
  112. # [16:53] <andreastt> As the saying goes, I'm sure there's a bug on it.
  113. # [16:55] * Joins: gitbot (~gitbot@public.cloak)
  114. # [16:55] -gitbot:#testing- [web-platform-tests] jgraham pushed 1 new commit to jgraham/python: https://github.com/w3c/web-platform-tests/commit/dd4a42a32b45803660c87015113885029719e0b3
  115. # [16:55] -gitbot:#testing- web-platform-tests/jgraham/python dd4a42a James Graham: Add default config file
  116. # [16:55] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  117. # [16:55] <jgraham> odinho: Done
  118. # [16:57] <jgraham> Yeah, I have a feeling we had some slaves with only 2.5 or 2.6 or something. Might still have, even. AutomatedTester would know
  119. # [16:57] <Ms2ger`> andreastt, I think Mozilla is up to 2.7 everywhere now
  120. # [16:57] <Ms2ger`> Might be wishful thinking
  121. # [16:57] <andreastt> Ms2ger`: Oh how I'm looking forward to that…
  122. # [16:57] <AutomatedTester> at worst its 2.6
  123. # [16:57] <AutomatedTester> Talos was the outlier for while but I believe that has been updated
  124. # [16:57] <odinho> jgraham: hoho, it's working :]
  125. # [16:58] <AutomatedTester> 2.7.3+ is needed to build Firefox now
  126. # [16:58] <AutomatedTester> 2.7.3>= Python < 3
  127. # [16:58] <andreastt> They're discussing whether 2.6 is needed to build Opera in another channel right now. I suspect it isn't.
  128. # [16:58] <andreastt> Testing is a different matter, however.
  129. # [16:59] <AutomatedTester> we need it for our build tool
  130. # [16:59] <AutomatedTester> the build peer set that rule and it errors if it the correct value
  131. # [16:59] <andreastt> Yes, our dependency chain builder thing is written in Python.
  132. # [17:00] <odinho> Both the old and the new!
  133. # [17:00] <AutomatedTester> which was a PITA since getting python 2.7.3+ can be painful on *nix systems since it clashes with the original version
  134. # [17:01] <AutomatedTester> or maybe that was just my bad luck
  135. # [17:01] <andreastt> That sounds about right. I think Debian stable is still on 2.6.6 if you rely on that.
  136. # [17:01] <jgraham> Probably wprse on OSX
  137. # [17:01] <jgraham> *worse
  138. # [17:01] <AutomatedTester> both were linking issues
  139. # [17:02] <AutomatedTester> I was sad
  140. # [17:02] <AutomatedTester> I may have cried a little
  141. # [17:02] <odinho> w00t bugzilla@mozilla looks new
  142. # [17:02] <AutomatedTester> odinho I like the new design
  143. # [17:04] <jgraham> Yes, bugzilla had been dragged kicking and screaming into 2005
  144. # [17:04] * Joins: rhauck1 (~Adium@public.cloak)
  145. # [17:04] <jgraham> *has
  146. # [17:04] * Joins: rhauck2 (~Adium@public.cloak)
  147. # [17:04] * jgraham actually quite likes bugzilla
  148. # [17:04] <AutomatedTester> jgraham: and we love you for your eclectic taste :)
  149. # [17:04] <AutomatedTester> :D
  150. # [17:05] <jgraham> Well years spent using Jira 3 will make many things seem good
  151. # [17:06] <AutomatedTester> that is true
  152. # [17:06] <andreastt> The most annoying thing with our JIRA installation is the sheer amount of information it throws in your face.
  153. # [17:07] * Quits: rhauck (~Adium@public.cloak) (Ping timeout: 180 seconds)
  154. # [17:07] <AutomatedTester> andreastt: have you seen bugzilla?
  155. # [17:07] <andreastt> I dare say 50 % of it is stuff I don't care about.
  156. # [17:07] <andreastt> AutomatedTester: I have, quite like the new design (-:
  157. # [17:07] <AutomatedTester> but it still shows a silly amount of info
  158. # [17:10] <odinho> jgraham: Did you ever witness the jira upgrade? I think it much better now. :] Esp. the api is nice.
  159. # [17:11] <odinho> jgraham: Anywayz, I've fixed a few errors. Is it preflight-cache.htm you think mostly about, or?
  160. # [17:11] <jgraham> odinho: Yeah, I saw Jira 5 and it was indeed much better
  161. # [17:11] * Quits: rhauck1 (~Adium@public.cloak) (Ping timeout: 180 seconds)
  162. # [17:11] <jgraham> odinho: Yes, that one was a particular problem
  163. # [17:11] <jgraham> I couldn't see why I kept getting more options requests
  164. # [17:11] <jgraham> But I think there are some failures in other tests too
  165. # [17:12] <jgraham> I don't know if they are expected or not (I didn't look too closely at everything in the end)
  166. # [17:16] * Joins: zcorpan (~zcorpan@public.cloak)
  167. # [17:20] * Quits: Ms2ger` (~Ms2ger@public.cloak) (Ping timeout: 180 seconds)
  168. # [17:27] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
  169. # [17:32] <odinho> jgraham: The stash is not working correctly.
  170. # [17:32] <odinho> It stores stuff with UUID('1234-1234') but when I try to take it with the string '1234-1234', I get KeyError.
  171. # [17:33] <odinho> I guess I need to make a UUID() object, -- but it is not really made like that from the start. It gives it a string, but stuff is changed.
  172. # [17:33] <jgraham> odinho: You should be able to give it a string
  173. # [17:33] <jgraham> But this is all very rough, so there are probably bugs
  174. # [17:33] <odinho> It doesn't work.
  175. # [17:34] <jgraham> Can I see the code that isn't working?
  176. # [17:34] <odinho> (Pdb) request.server.stash.data
  177. # [17:34] <odinho> {'/cors/resources/preflight.py': {UUID('e9e389a9-4c44-4fe0-856b-fb7b75a16564'): 1, UUID('675dcd3a-459a-4194-b6d9-47a39746f4b3'): 1, UUID('12f485e5-143a-46a0-8d95-c3b0513658ac'): 1, UUID('80be4806-758f-4781-86ee-3f25e5c98319'): 1}}
  178. # [17:34] <odinho> (Pdb) request.server.stash.take('40c49350-a992-4f7c-a80c-325c2e772268')
  179. # [17:34] <odinho> *** KeyError: UUID('40c49350-a992-4f7c-a80c-325c2e772268')
  180. # [17:34] <odinho> hmz, it was not like that before.
  181. # [17:34] <odinho> That is obviously correct.
  182. # [17:34] <jgraham> I was going to say
  183. # [17:34] <jgraham> :)
  184. # [17:36] <odinho> http://dpaste.com/1402380/ Here's the actual run.
  185. # [17:36] <odinho> So it did in fact remove it(!).
  186. # [17:37] <odinho> (Pdb) request.server.stash.data
  187. # [17:37] <odinho> {'/cors/resources/preflight.py': {UUID('858b40c9-5447-41eb-a96d-083b9d0247b6'): 1}}
  188. # [17:37] <odinho> (Pdb) request.server.stash.take('858b40c9-5447-41eb-a96d-083b9d0247b6')
  189. # [17:37] <odinho> *** KeyError: '858b40c9-5447-41eb-a96d-083b9d0247b6'
  190. # [17:37] <odinho> (Pdb) request.server.stash.data
  191. # [17:37] <odinho> {'/cors/resources/preflight.py': {}}
  192. # [17:40] <jgraham> Ah, right the pyhton equivalent of a double-free
  193. # [17:40] <odinho> Yeah, Just saw it :P
  194. # [17:41] <odinho> Because I started looking at the code. You automatically remove it __getitem__ and try to delete again.
  195. # [17:41] <jgraham> I forgot that I moved that down into the PathStash
  196. # [17:41] <odinho> Well, it's a bit non-obvious and non-pythonish to actually do the delete in pathstash.
  197. # [17:41] <odinho> magic.
  198. # [17:42] <odinho> Makes more sense that take actually does that.
  199. # [17:42] <odinho> If you ever implement peek
  200. # [17:42] <jgraham> It's a bit non-obvious to write a data structure where reading also deletes the data :)
  201. # [17:42] <odinho> You wouldn't want that strange "read-once" semantic.
  202. # [17:42] <jgraham> (but I think it is a good idea here)
  203. # [17:42] <odinho> Where would you use pathstash other than it the stash'es take()?
  204. # [17:43] <jgraham> Nowhere.
  205. # [17:43] <jgraham> You could probably just fold the two objects into one
  206. # [17:45] <jgraham> (the thinking was that people would try to do something like request.server.stash.data[request.path] and then do "illegal" operations on it. Which would look pretty bad, but not as bad as if they have to do dict.__setitem__(request.server.stash.data[path], item)
  207. # [17:46] <jgraham> ; the __setitem__ pretty clearly indicates that you're breaking the API)
  208. # [17:52] <odinho> pywebsocket should get a .gitignore with *.pyc
  209. # [17:58] <jgraham> You could submit a PR to the author I guess
  210. # [17:58] <jgraham> Need to go through a lot of CLA stuff though
  211. # [17:59] * Quits: Lachy (~Lachy@public.cloak) ("My MacBook Pro has gone to sleep. ZZZzzz…")
  212. # [18:01] * Quits: ArtB (~abarsto@public.cloak) ("Leaving.")
  213. # [18:02] <odinho> :] Soeh. Why the ?sub on the support.js
  214. # [18:02] <odinho> pipe=sub that is
  215. # [18:03] <jgraham> Because the support file needs to know the local servers and ports, which are set at runtime
  216. # [18:04] <jgraham> So it is a template file which gets subsitutions applied
  217. # [18:04] <jgraham> ?pipe=sub tells it to get run through the template substitution
  218. # [18:04] <jgraham> Could also have used some magic extension, but this mechanism already existed so…
  219. # [18:10] <odinho> smart
  220. # [18:10] <odinho> I actually remembered I asked that Q because I read through the support.js file now and thought "ahh!"
  221. # [18:12] * Joins: gitbot (~gitbot@public.cloak)
  222. # [18:12] -gitbot:#testing- [web-platform-tests] Velmont pushed 1 new commit to jgraham/python: https://github.com/w3c/web-platform-tests/commit/e7cd7940629c6eea1f6af383e7aefb8189d869f5
  223. # [18:12] -gitbot:#testing- web-platform-tests/jgraham/python e7cd794 Odin Hørthe Omdal: Fix some of the CORS tests in the new Python-world.
  224. # [18:12] * Parts: gitbot (~gitbot@public.cloak) (gitbot)
  225. # [18:12] <odinho> I quite like your wptserve :)
  226. # [18:16] <jgraham> Good :)
  227. # [18:16] <jgraham> There is still work to be done making it more robust and so on, ofc
  228. # [18:18] * Joins: rhauck (~Adium@public.cloak)
  229. # [18:22] * Quits: rhauck2 (~Adium@public.cloak) (Ping timeout: 180 seconds)
  230. # [18:35] * Quits: dom (dom@public.cloak) ("")
  231. # [18:35] * Quits: rhauck (~Adium@public.cloak) (Client closed connection)
  232. # [18:36] <jgraham> odinho: Thanks for the fixes :)
  233. # [18:38] * Joins: Ms2ger` (~Ms2ger@public.cloak)
  234. # [18:43] * Joins: abarsto (~abarsto@public.cloak)
  235. # [18:43] * abarsto is now known as ArtB
  236. # [19:33] * Joins: jhammel (~jhammel@public.cloak)
  237. # [19:34] * Parts: jhammel (~jhammel@public.cloak) (jhammel)
  238. # [19:41] * Joins: rhauck (~Adium@public.cloak)
  239. # [19:43] * Joins: glenn (~gadams@public.cloak)
  240. # [19:47] * Joins: zcorpan (~zcorpan@public.cloak)
  241. # [19:48] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  242. # [19:48] * Joins: zcorpan (~zcorpan@public.cloak)
  243. # [20:02] * Joins: rhauck1 (~Adium@public.cloak)
  244. # [20:06] * Quits: rhauck (~Adium@public.cloak) (Ping timeout: 180 seconds)
  245. # [20:53] * Quits: rhauck1 (~Adium@public.cloak) ("Leaving.")
  246. # [21:27] * Joins: rhauck (~Adium@public.cloak)
  247. # [21:37] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  248. # [21:37] * Joins: zcorpan (~zcorpan@public.cloak)
  249. # [21:45] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
  250. # [22:05] * Joins: mdas_ (~mdas@public.cloak)
  251. # [22:05] * Quits: mdas (~mdas@public.cloak) (Client closed connection)
  252. # [22:22] * Quits: Ms2ger` (~Ms2ger@public.cloak) ("nn")
  253. # [22:23] * Joins: jhammel (~jhammel@public.cloak)
  254. # [22:23] * Parts: jhammel (~jhammel@public.cloak) (jhammel)
  255. # [22:42] * Joins: Lachy (~Lachy@public.cloak)
  256. # [22:48] * Joins: zcorpan (~zcorpan@public.cloak)
  257. # [22:55] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
  258. # [23:25] * Quits: mdas_ (~mdas@public.cloak) (Client closed connection)
  259. # [23:26] * Joins: mdas (~mdas@public.cloak)
  260. # [23:33] * Quits: mdas (~mdas@public.cloak) (Ping timeout: 180 seconds)
  261. # Session Close: Wed Oct 02 00:00:00 2013

The end :)