Title: Crappy error message when smoketest before-hook crashes · Issue #7 · jamesshore/lets_code_javascript · GitHub
Open Graph Title: Crappy error message when smoketest before-hook crashes · Issue #7 · jamesshore/lets_code_javascript
X Title: Crappy error message when smoketest before-hook crashes · Issue #7 · jamesshore/lets_code_javascript
Description: My Ubuntu 15.04 automatically upgraded Firefox to v38.0, which breaks the selenium smoke tests. The selenium-bug is already reported to Selenium, see SeleniumHQ/selenium#437. This issue isn't with selenium though, but with the crappy err...
Open Graph Description: My Ubuntu 15.04 automatically upgraded Firefox to v38.0, which breaks the selenium smoke tests. The selenium-bug is already reported to Selenium, see SeleniumHQ/selenium#437. This issue isn't with ...
X Description: My Ubuntu 15.04 automatically upgraded Firefox to v38.0, which breaks the selenium smoke tests. The selenium-bug is already reported to Selenium, see SeleniumHQ/selenium#437. This issue isn't w...
Opengraph URL: https://github.com/jamesshore/lets_code_javascript/issues/7
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Crappy error message when smoketest before-hook crashes","articleBody":"My Ubuntu 15.04 automatically upgraded Firefox to v38.0, which breaks the selenium smoke tests.\nThe selenium-bug is already reported to Selenium, see https://github.com/SeleniumHQ/selenium/issues/437.\n\n_This issue_ isn't with selenium though, but with **the crappy error messages** in the smoke tests, and I know how you feel about crappy error messages :).\n\nFirst time I run the smoke tests I get:\n\n```\nmattias@maas-linux-1:~/git/lets_code_javascript$ ./jake.sh loose=true smoketest\nCollating client files: .\nBundling client files with Browserify: ..\nSmoke testing app:\n\n\n ․․\n\n 1 passing (2s)\n 1 failing\n\n 1) Smoke test \"before all\" hook:\n Uncaught Error: Failed to install profile; firefox terminated with Result(code=null, signal=SIGSEGV)\n at Error (native)\n at Array.forEach (native)\n From: Task: WebDriver.createSession()\n at src/_smoke_test.js:26:14\n at Socket.\u003canonymous\u003e (src/_run_server.js:18:55)\n at readableAddChunk (_stream_readable.js:163:16)\n at Socket.Readable.push (_stream_readable.js:126:10)\n at Pipe.onread (net.js:538:20)\n```\n\nThis message isn't the worst I've seen. At least it mentions both _firefox_ and _WebDriver_. If I re-run the command though (which I often tend to do when I'm unfocused), the server on port 5000 hasn't shutdown correctly and I instead get:\n\n```\nmattias@maas-linux-1:~/git/lets_code_javascript$ ./jake.sh loose=true smoketest\nCollating client files: .\nBundling client files with Browserify: ..\nSmoke testing app:\n\n\n ․․\n\n 1 passing (11s)\n 1 failing\n\n 1) Smoke test \"before all\" hook:\n Error: timeout of 10000ms exceeded. Ensure the done() callback is being called in this test.\n```\n\nNow it takes 10 seconds to time out and the error message is really vague. It wasn't obvious to me I suddenly had an abandoned server running on port 5000.\n","author":{"url":"https://github.com/aquamoth","@type":"Person","name":"aquamoth"},"datePublished":"2015-05-19T19:00:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/7/lets_code_javascript/issues/7"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1aaa4f26-e921-b751-0cd4-349543000265 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A692:19115:7DFC5B:A48772:69927DB7 |
| html-safe-nonce | c70a799d71ed53404cd3d6b0a23718624585918d7c550d3f08f116bfee58694e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjkyOjE5MTE1OjdERkM1QjpBNDg3NzI6Njk5MjdEQjciLCJ2aXNpdG9yX2lkIjoiMjIxMjE1Mzc1NDAzMTEyNzk5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 26e277ff5465a7478cdce0fc3da2149e5a88c470d21de84b9c6fd5e35e9cb988 |
| hovercard-subject-tag | issue:78211407 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/jamesshore/lets_code_javascript/7/issue_layout |
| twitter:image | https://opengraph.githubassets.com/71cf382ecd3945d2efa2736a9679b1b1c4286b5b1f6aac85249a384fae29abfd/jamesshore/lets_code_javascript/issues/7 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/71cf382ecd3945d2efa2736a9679b1b1c4286b5b1f6aac85249a384fae29abfd/jamesshore/lets_code_javascript/issues/7 |
| og:image:alt | My Ubuntu 15.04 automatically upgraded Firefox to v38.0, which breaks the selenium smoke tests. The selenium-bug is already reported to Selenium, see SeleniumHQ/selenium#437. This issue isn't with ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aquamoth |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/jamesshore/lets_code_javascript git https://github.com/jamesshore/lets_code_javascript.git |
| octolytics-dimension-user_id | 123129 |
| octolytics-dimension-user_login | jamesshore |
| octolytics-dimension-repository_id | 4981757 |
| octolytics-dimension-repository_nwo | jamesshore/lets_code_javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 4981757 |
| octolytics-dimension-repository_network_root_nwo | jamesshore/lets_code_javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width