I have a problem trying to run the
grunt test step from
openmrs-module-bahmniapps on my CI (Buildkite). On my local machine I have no problem, everything runs ok. I'm running the steps on the
release-0.89 branch on a forked repo.
I have Firefox already installed on the CI server which is a Linux Ubuntu 14.04.5 LTS.
firefox -v I get
Mozilla Firefox 55.0.2 and also I added the
FIREFOX_BIN env var with the location
But for any reason that I don't know it can't start Firefox. And this is the output I get:
12 09 2017 01:57:30.860:INFO [karma]: Karma v0.13.22 server started at http://localhost:9876/
12 09 2017 01:57:30.865:INFO [launcher]: Starting browser Firefox
12 09 2017 01:57:30.896:ERROR [launcher]: Cannot start Firefox
12 09 2017 01:57:30.904:INFO [launcher]: Trying to start Firefox again (1/2).
12 09 2017 01:57:30.932:ERROR [launcher]: Cannot start Firefox
12 09 2017 01:57:30.933:INFO [launcher]: Trying to start Firefox again (2/2).
12 09 2017 01:57:30.960:ERROR [launcher]: Cannot start Firefox
12 09 2017 01:57:30.961:ERROR [launcher]: Firefox failed 2 times (cannot start). Giving up.
Warning: Task "karma:unit" failed.a Use --force to continue.
Aborted due to warnings.
I have been looking to get this work for a long day, but I haven't had success so far.
Can someone give me ideas to solve this?