Open pswai opened 10 years ago
I ran into the same problem. The only workaround I could find was to make the master jenkins node be a slave itself, and run the job on the slave. Effectively, it runs the job on the same machine, but this seems to work... FWIW
Any further progress on this? I'm facing the same issue when running Karma via grunt on a team city build agent. Running the process manually on the box works fine. IE only fails when it is run a part of a team city CI build?
Not really sure if this is something that can be fixed in grunt-karma or needs fixing somewhere else. If anybody has any ideas I'm happy to help out, but I'm out of ideas when it comes to fixing this.
Having the same problem while trying to run in jenkins windows slave.
[33mWARN [IE 11.0.0 (Windows 7)]: [39mDisconnected (1 times), because no message in 240000 ms.
[1A[2KChrome 40.0.2214 (Windows 7): Executed 11 of 11[32m SUCCESS[39m (0.093 secs / 0.083 secs)
IE 11.0.0 (Windows 7): Executed 0 of 0[31m DISCONNECTED[39m (4 mins 0.017 secs / 0 secs)
[32mINFO [karma]: [39mRestarting IE 11.0.0 (Windows 7) (1 of 1 attempts)
[32mINFO [IE 11.0.0 (Windows 7)]: [39mConnected on socket 6E8hhdbgUETfIG56zZYB with id 19615130
[33mWARN [IE 11.0.0 (Windows 7)]: [39mDisconnected (2 times), because no message in 240000 ms.
[1A[2KChrome 40.0.2214 (Windows 7): Executed 11 of 11[32m SUCCESS[39m (0.093 secs / 0.083 secs)
IE 11.0.0 (Windows 7): Executed 0 of 0[31m DISCONNECTED[39m (8 mins 0.357 secs / 0 secs)
[33mWarning: Task "karma:jenkins" failed. Use --force to continue.[39m
[31mAborted due to warnings.[39m
I'm trying to setup a CI build with Jenkins. The build will execute grunt tool chain which includes grunt-karma for unit tests. It works fine with Chrome, Firefox and Safari but unfortunately not for IE. IE will just not exit and cause the whole build to stall. I've tried to run the grunt chain via command prompt on the same system and it works perfectly. May someone points out whether i missed something during the setup?
System Windows 7 x64 SP1 Internet Explorer 8.0 (Tried IE 9 also)
grunt-karma 0.6.2 karma 0.10.2 karma-ie-launcher 0.1.1
IE_BIN (Tried both) C:\Program Files (x86)\Internet Explorer\iexplore.exe C:\Program Files\Internet Explorer\iexplore.exe
Here's the log of karma, i deleted some for clarity:
karma.conf.js
Gruntfile.js
Thanks!