Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ember tests not running on Cento6 in ci mode #873

Open
tuhintshukla opened this issue May 18, 2016 · 1 comment
Open

Ember tests not running on Cento6 in ci mode #873

tuhintshukla opened this issue May 18, 2016 · 1 comment

Comments

@tuhintshukla
Copy link

I am running into this issue in my environment:-
When running ember tests in the ci mode, the call never returns and hangs. I can confirm this by looking at the following log:-
When I run DEBUG=* ember test ci I can see that the thread is stuck at this point:

express:router:layer new /^/(?:[0-9]+)(/.+)$/ +0ms
express:router:route get /^/(?:[0-9]+)(/.+)$/ +1ms
express:router:layer new / +0ms
express:router:route new /^/(?:[0-9]+)(/.+)$/ +0ms
express:router:layer new /^/(?:[0-9]+)(/.+)$/ +0ms
express:router:route post /^/(?:[0-9]+)(/.+)$/ +0ms
express:router:layer new / +0ms
express:router:route new /^(.+)$/ +0ms
express:router:layer new /^(.+)$/ +0ms
express:router:route get /^(.+)$/ +0ms
express:router:layer new / +0ms
express:router:route new /^(.+)$/ +0ms
express:router:layer new /^(.+)$/ +0ms
express:router:route post /^(.+)$/ +1ms
express:router:layer new / +0ms
express:router use / +0ms
express:router:layer new / +0ms

If I use firefox in ci mode instead of phantom the call returns with this error in the end:-
not ok 1 Firefox - Browser "firefox -no-remote -profile /tmp/testem.firefox http://localhost:7357/4691" exited unexpectedly.

Following are my environment details:-
ember-cli: 2.5.0
node: 4.2.1
os: linux x64
testem --version
1.7.1
phantomjs -v
2.1.1
[satest@:~]$ which phantomjs
/usr/bin/phantomjs
Centos:6.7

testem.json looks like this:-
{
"framework": "qunit",
"test_page": "tests/index.html?hidepassed",
"disable_watching": true,
"launch_in_ci": [
"PhantomJS"
],
"launch_in_dev": [
"PhantomJS",
"Chrome"
]
}

Any suggestions/resolutions/workarounds ?

Thanks.

@johanneswuerbach
Copy link
Member

Could you try starting ember test --serve and check, whether firefox starts properly?

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

No branches or pull requests

2 participants