Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

Karma fails to kill SlimerJS #1

Open
sonnyp opened this issue Jan 3, 2014 · 7 comments
Open

Karma fails to kill SlimerJS #1

sonnyp opened this issue Jan 3, 2014 · 7 comments

Comments

@sonnyp
Copy link

sonnyp commented Jan 3, 2014

Here is what I get.
WARN [launcher]: SlimerJS was not killed in 2000 ms, sending SIGKILL.

And the process just hang on.

@nfroidure
Copy link
Contributor

Can you give me the SlimerJS and Karma versions you are using ?

Is it specific to a particular website or the problem happens on every website ?

@sonnyp
Copy link
Author

sonnyp commented Jan 3, 2014

    "grunt-karma": "~0.6.2",
    "karma": "~0.10.9",
    "karma-mocha": "~0.1.1",
    "karma-slimerjs-launcher": "~0.1.2",

https://github.com/sonnyp/request.js

@nfroidure
Copy link
Contributor

What is the SlimerJS version (not the karma plugin), your OS, your SlimerJS install (XULRunner, Firefox + their version).

@nfroidure
Copy link
Contributor

Just tried your project with SlimerJS+XulRunner under Debian GNU/Linux without facing the issue:

nfroidure@production:~/Bureau/Projects/request.js$ env "SLIMERJS_BIN=/home/nfrdure/Bureau/slimerjs-0.9.0/slimerjs" karma start --browsers=SlimerJS
INFO [karma]: Karma v0.10.9 server started at http://localhost:9876/
INFO [launcher]: Starting browser SlimerJS
INFO [Other 0.0.0 (Linux)]: Connected on socket Py0lNf5IQdrGnuX9lyey
Other 0.0.0 (Linux) request.js send object json FAILED
    timeout of 10000ms exceeded
    @/home/nfroidure/Bureau/Projects/request.js/node_modules/mocha/mocha.js:4241

Other 0.0.0 (Linux): Executed 1 of 5 (1 FAILED) ERROR (10.143 secs / 10.001 secs)
INFO [watcher]: Changed file "/home/nfroidure/Bureau/Projects/request.js/test/test.js".
Other 0.0.0 (Linux) request.js send object json FAILED
    timeout of 10000ms exceeded
    @/home/nfroidure/Bureau/Projects/request.js/node_modules/mocha/mocha.js:4241

Other 0.0.0 (Linux): Executed 1 of 5 (1 FAILED) ERROR (10.323 secs / 10 secs)

@feltnerm
Copy link

I'm seeing this same issue. It is preventing me from running Slimer-based tests on Travis-CI. It's also a hassle locally since I have to manually close the XulRunner/Firefox window when the tests have completed.

Locally I have:
SlimerJS (full application): 0.9.0
OS: Mavericks

On Travis:
SlimerJS: 0.9.0
OS: Ubuntu 64-bit
Firefox: 25

It appears that a Gecko window is opened and it is prompting me to confirm navigation away from the page. The SIGKILL is sent by karma, but does not seem to actually do anything.

@nfroidure
Copy link
Contributor

Ok, so it looks like it is not a karma issue. Maybe you should submit the bug to the SlimerJS project. If there is a command line to avoid having any prompt, let me know, i'll add it to the slimerjs launch command line.

Feel free to PR anyway if you find a workaround since at my level i'm unable to reproduce the bug.

@sonnyp
Copy link
Author

sonnyp commented Jan 15, 2014

@nfroidure
Firefox 25.0
SlimerJS 0.9.0
OSX 10.9.1, also happens on travis-ci (Ubuntu 12.04 LTS Server Edition 64 bit see: http://about.travis-ci.org/docs/user/ci-environment/)

No prompt appears here so I think it's a different issue than @feltnerm'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants