karma-runner / karma-runner/karma

RUN Karma on docker - maybe problem with basePath key.

Open
#2,062 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### Expected behavior

Only error or success
### Actual behavior

```
root@c27d498e015a:/site/frontend# karma start karma.conf.js
19 04 2016 15:27:52.350:DEBUG [plugin]: Loading karma-* from /nodejs/lib/node_modules
19 04 2016 15:27:52.362:DEBUG [plugin]: Loading plugin /nodejs/lib/node_modules/karma-jasmine.
19 04 2016 15:27:52.366:DEBUG [plugin]: Loading plugin /nodejs/lib/node_modules/karma-phantomjs-launcher.
19 04 2016 15:27:52.493:WARN [watcher]: Pattern "/templates/public/assets/components/angular/angular.min.js" does not match any file.
19 04 2016 15:27:52.494:WARN [watcher]: Pattern "/templates/public/assets/components/angular-mocks/angular-mocks.js" does not match any file.
19 04 2016 15:27:52.495:WARN [watcher]: Pattern "/templates/public/assets/js/main.js" does not match any file.
19 04 2016 15:27:52.497:WARN [watcher]: Pattern "/templates/public/assets/js/app/**/*.js" does not match any file.
19 04 2016 15:27:52.498:WARN [watcher]: Pattern "/templates/public/assets/js/tests/unit/**/*.js" does not match any file.
19 04 2016 15:27:52.509:DEBUG [karma]: List of files has changed, trying to execute
19 04 2016 15:27:52.510:WARN [karma]: No captured browser, open http://localhost:9876/
19 04 2016 15:27:52.516:DEBUG [watcher]: Watching "/templates/public/assets/components/angular/angular.min.js"
19 04 2016 15:27:52.518:DEBUG [watcher]: Watching "/templates/public/assets/components/angular-mocks/angular-mocks.js"
19 04 2016 15:27:52.519:DEBUG [watcher]: Watching "/templates/public/assets/js/main.js"
19 04 2016 15:27:52.519:DEBUG [watcher]: Watching "/templates/public/assets/js/app"
19 04 2016 15:27:52.520:DEBUG [watcher]: Watching "/templates/public/assets/js/tests/unit"
19 04 2016 15:27:52.525:INFO [karma]: Karma v0.13.22 server started at http://localhost:9876/
19 04 2016 15:27:52.535:INFO [launcher]: Starting browser PhantomJS
19 04 2016 15:27:52.537:DEBUG [temp-dir]: Creating temp dir at /tmp/karma-37520174
19 04 2016 15:27:52.543:DEBUG [launcher]: /nodejs/lib/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs /tmp/karma-37520174/capture.js
19 04 2016 15:27:52.694:DEBUG [web-server]: serving: /nodejs/lib/node_modules/karma/static/client.html
19 04 2016 15:27:52.719:DEBUG [web-server]: serving: /nodejs/lib/node_modules/karma/static/karma.js
19 04 2016 15:27:52.778:DEBUG [karma]: A browser has connected on socket /#LBDyhr_dPtPXAS2qAAAA
19 04 2016 15:27:52.783:DEBUG [web-server]: upgrade /socket.io/?EIO=3&transport=websocket&sid=LBDyhr_dPtPXAS2qAAAA
19 04 2016 15:27:52.853:INFO [PhantomJS 2.1.1 (Linux 0.0.0)]: Connected on socket /#LBDyhr_dPtPXAS2qAAAA with id 37520174
19 04 2016 15:27:52.854:DEBUG [launcher]: PhantomJS (id 37520174) captured in 0.327 secs
19 04 2016 15:27:52.855:DEBUG [karma]: All browsers are ready, executing
19 04 2016 15:27:52.865:DEBUG [phantomjs.launcher]:

19 04 2016 15:27:52.870:DEBUG [web-server]: serving: /nodejs/lib/node_modules/karma/static/context.html
19 04 2016 15:27:52.878:DEBUG [middleware:source-files]: Requesting /basenodejs/lib/node_modules/jasmine-core/lib/jasmine-core/jasmine.js?391e45351df9ee35392d2e5cb623221a969fc009 /
19 04 2016 15:27:52.879:DEBUG [middleware:source-files]: Fetching /nodejs/lib/node_modules/jasmine-core/lib/jasmine-core/jasmine.js
19 04 2016 15:27:52.880:DEBUG [web-server]: serving (cached): /nodejs/lib/node_modules/jasmine-core/lib/jasmine-core/jasmine.js
19 04 2016 15:27:52.882:DEBUG [middleware:source-files]: Requesting /basenodejs/lib/node_modules/karma-jasmine/lib/boot.js?945a38bf4e45ad2770eb94868231905a04a0bd3e /
19 04 2016 15:27:52.883:DEBUG [middleware:source-files]: Fetching /nodejs/lib/node_modules/karma-jasmine/lib/boot.js
19 04 2016 15:27:52.884:DEBUG [web-server]: serving (cached): /nodejs/lib/node_modules/karma-jasmine/lib/boot.js
19 04 2016 15:27:52.885:DEBUG [middleware:source-files]: Requesting /basenodejs/lib/node_modules/karma-jasmine/lib/adapter.js?1e4f995124c2f01998fd4f3e16ace577bf155ba9 /
19 04 2016 15:27:52.886:DEBUG [middleware:source-files]: Fetching /nodejs/lib/node_modules/karma-jasmine/lib/adapter.js
19 04 2016 15:27:52.886:DEBUG [web-server]: serving (cached): /nodejs/lib/node_modules/karma-jasmine/lib/adapter.js
PhantomJS 2.1.1 (Linux 0.0.0): Executed 0 of 0 ERROR (0.036 secs / 0 secs)
^C19 04 2016 15:29:32.692:DEBUG [launcher]: Disconnecting all browsers
19 04 2016 15:29:32.697:DEBUG [launcher]: Process PhantomJS exited with code 0
19 04 2016 15:29:32.697:DEBUG [temp-dir]: Cleaning temp dir /tmp/karma-37520174
19 04 2016 15:29:32.709:DEBUG [launcher]: Finished all browsers
root@c27d498e015a:/site/frontend# karma start karma.conf.js
19 04 2016 15:29:34.825:DEBUG [plugin]: Loading karma-* from /nodejs/lib/node_modules
19 04 2016 15:29:34.834:DEBUG [plugin]: Loading plugin /nodejs/lib/node_modules/karma-jasmine.
19 04 2016 15:29:34.837:DEBUG [plugin]: Loading plugin /nodejs/lib/node_modules/karma-phantomjs-launcher.
19 04 2016 15:29:35.009:DEBUG [karma]: List of files has changed, trying to execute
19 04 2016 15:29:35.010:WARN [karma]: No captured browser, open http://localhost:9876/
19 04 2016 15:29:35.020:DEBUG [watcher]: Watching "/site/frontend/templates/public/assets/components/angular/angular.min.js"
19 04 2016 15:29:35.022:DEBUG [watcher]: Watching "/site/frontend/templates/public/assets/components/angular-mocks/angular-mocks.js"
19 04 2016 15:29:35.022:DEBUG [watcher]: Watching "/site/frontend/templates/public/assets/js/main.js"
19 04 2016 15:29:35.023:DEBUG [watcher]: Watching "/site/frontend/templates/public/assets/js/app"
19 04 2016 15:29:35.023:DEBUG [watcher]: Watching "/site/frontend/templates/public/assets/js/tests/unit"
19 04 2016 15:29:35.032:INFO [karma]: Karma v0.13.22 server started at http://localhost:9876/
19 04 2016 15:29:35.040:INFO [launcher]: Starting browser PhantomJS
19 04 2016 15:29:35.041:DEBUG [temp-dir]: Creating temp dir at /tmp/karma-18171172
19 04 2016 15:29:35.047:DEBUG [launcher]: /nodejs/lib/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs /tmp/karma-18171172/capture.js
19 04 2016 15:29:35.209:DEBUG [web-server]: serving: /nodejs/lib/node_modules/karma/static/client.html
19 04 2016 15:29:35.229:DEBUG [web-server]: serving: /nodejs/lib/node_modules/karma/static/karma.js
19 04 2016 15:29:35.289:DEBUG [karma]: A browser has connected on socket /#yuO-oyZnbkhz2XxDAAAA
19 04 2016 15:29:35.299:DEBUG [web-server]: upgrade /socket.io/?EIO=3&transport=websocket&sid=yuO-oyZnbkhz2XxDAAAA
19 04 2016 15:29:35.371:INFO [PhantomJS 2.1.1 (Linux 0.0.0)]: Connected on socket /#yuO-oyZnbkhz2XxDAAAA with id 18171172
19 04 2016 15:29:35.373:DEBUG [launcher]: PhantomJS (id 18171172) captured in 0.34 secs
19 04 2016 15:29:35.375:DEBUG [karma]: All browsers are ready, executing
19 04 2016 15:29:35.390:DEBUG [phantomjs.launcher]:

19 04 2016 15:29:35.401:DEBUG [web-server]: serving: /nodejs/lib/node_modules/karma/static/context.html
19 04 2016 15:29:35.410:DEBUG [middleware:source-files]: Requesting /absolute/nodejs/lib/node_modules/jasmine-core/lib/jasmine-core/jasmine.js?391e45351df9ee35392d2e5cb623221a969fc009 /
19 04 2016 15:29:35.410:DEBUG [middleware:source-files]: Fetching /nodejs/lib/node_modules/jasmine-core/lib/jasmine-core/jasmine.js
19 04 2016 15:29:35.414:DEBUG [web-server]: serving (cached): /nodejs/lib/node_modules/jasmine-core/lib/jasmine-core/jasmine.js
19 04 2016 15:29:35.417:DEBUG [middleware:source-files]: Requesting /base/templates/public/assets/js/app/home/home.controller.js?ffb6ddfa596ea7de845d5d62619d353a0b5802a7 /
19 04 2016 15:29:35.418:DEBUG [middleware:source-files]: Fetching /site/frontend/templates/public/assets/js/app/home/home.controller.js
19 04 2016 15:29:35.419:DEBUG [middleware:source-files]: Requesting /absolute/nodejs/lib/node_modules/karma-jasmine/lib/boot.js?945a38bf4e45ad2770eb94868231905a04a0bd3e /
19 04 2016 15:29:35.419:DEBUG [middleware:source-files]: Fetching /nodejs/lib/node_modules/karma-jasmine/lib/boot.js
19 04 2016 15:29:35.424:DEBUG [web-server]: serving (cached): /site/frontend/templates/public/assets/js/app/home/home.controller.js
19 04 2016 15:29:35.426:DEBUG [web-server]: serving (cached): /nodejs/lib/node_modules/karma-jasmine/lib/boot.js
19 04 2016 15:29:35.432:DEBUG [middleware:source-files]: Requesting /base/templates/public/assets/js/app/home/home.router.js?dada4272bc7a3e838617047853ec0b9492060c93 /
19 04 2016 15:29:35.432:DEBUG [middleware:source-files]: Fetching /site/frontend/templates/public/assets/js/app/home/home.router.js
19 04 2016 15:29:35.433:DEBUG [middleware:source-files]: Requesting /base/templates/public/assets/js/tests/unit/home_unit_specs.js?79bef3b8fe950d9a39378a106c960ede071be832 /
19 04 2016 15:29:35.433:DEBUG [middleware:source-files]: Fetching /site/frontend/templates/public/assets/js/tests/unit/home_unit_specs.js
19 04 2016 15:29:35.437:DEBUG [middleware:source-files]: Requesting /absolute/nodejs/lib/node_modules/karma-jasmine/lib/adapter.js?1e4f995124c2f01998fd4f3e16ace577bf155ba9 /
19 04 2016 15:29:35.437:DEBUG [middleware:source-files]: Fetching /nodejs/lib/node_modules/karma-jasmine/lib/adapter.js
19 04 2016 15:29:35.440:DEBUG [middleware:source-files]: Requesting /base/templates/public/assets/components/angular/angular.min.js?62c2a0c7e119887c9a69308b6016eb07abcca075 /
19 04 2016 15:29:35.441:DEBUG [middleware:source-files]: Fetching /site/frontend/templates/public/assets/components/angular/angular.min.js
19 04 2016 15:29:35.442:DEBUG [middleware:source-files]: Requesting /base/templates/public/assets/js/main.js?c0b06c0c59b24da3fa814da29b9303bf12c1a7d7 /
19 04 2016 15:29:35.442:DEBUG [middleware:source-files]: Fetching /site/frontend/templates/public/assets/js/main.js
19 04 2016 15:29:35.443:DEBUG [middleware:source-files]: Requesting /base/templates/public/assets/components/angular-mocks/angular-mocks.js?aa216eb2339283c5ab5aa192023171aa202a2bbd /
19 04 2016 15:29:35.444:DEBUG [middleware:source-files]: Fetching /site/frontend/templates/public/assets/components/angular-mocks/angular-mocks.js
19 04 2016 15:29:35.447:DEBUG [web-server]: serving (cached): /site/frontend/templates/public/assets/js/app/home/home.router.js
19 04 2016 15:29:35.449:DEBUG [web-server]: serving (cached): /site/frontend/templates/public/assets/js/tests/unit/home_unit_specs.js
19 04 2016 15:29:35.451:DEBUG [web-server]: serving (cached): /nodejs/lib/node_modules/karma-jasmine/lib/adapter.js
19 04 2016 15:29:35.458:DEBUG [web-server]: serving (cached): /site/frontend/templates/public/assets/components/angular/angular.min.js
19 04 2016 15:29:35.460:DEBUG [web-server]: serving (cached): /site/frontend/templates/public/assets/js/main.js
19 04 2016 15:29:35.461:DEBUG [web-server]: serving (cached): /site/frontend/templates/public/assets/components/angular-mocks/angular-mocks.js
PhantomJS 2.1.1 (Linux 0.0.0) Home Controller Units Home Controller should have a playerToVote variable FAILED
Error: [$injector:modulerr] http://errors.angularjs.org/1.5.3/$injector/modulerr?p0=ParedaoBBB&p1=%5B%24injector%3Amodulerr%5D%20http%3A%2F%2Ferrors.angularjs.org%2F1.5.3%2F%24injector%2Fmodulerr%3Fp0%3Dangular-jwt%26p1%3D%255B%2524injector%253Anomod%255D%2520http%253A%252F%252Ferrors.angularjs.org%252F1.5.3%252F%2524injector%252Fnomod%253Fp0%253Dangular-jwt%250Ahttp%253A%252F%252Flocalhost%253A9876%252F/site/frontend%252Ftemplates%252Fpublic%252Fassets%252Fcomponents%252Fangular%252Fangular.min.js%253F62c2a0c7e119887c9a69308b6016eb07abcca075%253A25%253A159%250Ab%2540http%253A%252F%252Flocalhost%253A9876%252Fbase%252Ftemplates%252Fpublic%252Fassets%252Fcomponents%252Fangular%252Fangular.min.js%253F62c2a0c7e119887c9a69308b6016eb07abcca075%253A24%253A212%250Ahttp%253A%252F%252Flocalhost%253A9876%252Fbase%252Ftemplates%252Fpublic%252Fassets%252Fcomponents%252Fangular%252Fangular.min.js%253F62c2a0c7e119887c9a69308b6016eb07abcca075%253A24%253A627%250Ahttp%253A%252F%252Flocalhost%253A9876%252Fbase%252Ftemplates%252Fpublic%252Fassets%252Fcomponents%252Fangular%252Fangular.min.js%253F62c2a0c7e119887c9a69308b6016eb07abcca075%253A39%253A289%250Aq%2540http%253A%252F%252Flocalhost%253A9876%252Fbase%252Ftemplates%252Fpublic%252Fassets%252Fcomponents%252Fangular%252Fangular.min.js%253F62c2a0c7e119887c9a69308b6016eb07abcca075%253A7%253A359%250Ag%2540http%253A%252F%252Flocalhost%253A9876%252Fbase%252Ftemplates%252Fpublic%252Fassets%252Fcomponents%252Fangular%252Fangular.min.js%253F62c2a0c7e119887c9a69308b6016eb07abcca075%253A39%253A136%250Ahttp%253A%252F%252Flocalhost%253A9876%252Fbase%252Ftemplates%252Fpublic%252Fassets%252Fcomponents%252Fangular%252Fangular.min.js%253F62c2a0c7e119887c9a69308b6016eb07abcca075%253A39%253A305%250Aq%2540http%253A%252F%252Flocalhost%253A9876%252Fbase%252Ftemplates%252Fpublic%252Fassets%252Fcomponents%252Fangular%252Fangular.min.js%253F62c2a0c7e119887c9a69308b6016eb07abcca075%253A7%253A359%250Ag%2540http%253A%252F%252Flocalhost%253A9876%252Fbase%252Ftemplates%252Fpublic%252Fassets%252Fcomponents%252Fangular%252Fangular.min.js%253F62c2a0c7e119887c9a69308b6016eb07abcca075%253A39%253A136%250Aeb%2540http%253A%252F%252Flocalhost%253A9876%252Fbase%252Ftemplates%252Fpublic%252Fassets%252Fcomponents%252Fangular%252Fangular.min.js%253F62c2a0c7e119887c9a69308b6016eb07abcca075%253A43%253A165%250AworkFn%2540http%253A%252F%252Flocalhost%253A9876%252Fbase%252Ftemplates%252Fpublic%252Fassets%252Fcomponents%252Fangular-mocks%252Fangular-mocks.js%253Faa216eb2339283c5ab5aa192023171aa202a2bbd%253A2922%253A60%250AattemptSync%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A1886%253A28%250Arun%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A1874%253A20%250Aexecute%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A1859%253A13%250AqueueRunnerFactory%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A697%253A42%250Aexecute%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A359%253A28%250Afn%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A2479%253A44%250AattemptAsync%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A1916%253A28%250Arun%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A1871%253A21%250Aexecute%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A1859%253A13%250AqueueRunnerFactory%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A697%253A42%250Afn%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A2464%253A31%250AattemptAsync%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A1916%253A28%250Arun%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A1871%253A21%250Aexecute%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A1859%253A13%250AqueueRunnerFactory%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A697%253A42%250Afn%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A2464%253A31%250AattemptAsync%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A1916%253A28%250Arun%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A1871%253A21%250Aexecute%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A1859%253A13%250AqueueRunnerFactory%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A697%253A42%250Aexecute%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A2326%253A25%250Aexecute%2540http%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fjasmine-core%252Flib%252Fjasmine-core%252Fjasmine.js%253F391e45351df9ee35392d2e5cb623221a969fc009%253A757%253A24%250Ahttp%253A%252F%252Flocalhost%253A9876%252Fabsolute%252Fnodejs%252Flib%252Fnode_modules%252Fkarma-jasmine%252Flib%252Fadapter.js%253F1e4f995124c2f01998fd4f3e16ace577bf155ba9%253A322%253A23%250Aloaded%2540http%253A%252F%252Flocalhost%253A9876%252Fkarma.js%253A194%253A17%250Aglobal%2520code%2540http%253A%252F%252Flocalhost%253A9876%252Fcontext.html%253A52%253A28%0Ahttp%3A%2F%2Flocalhost%3A9876%2Fbase%2Ftemplates%2Fpublic%2Fassets%2Fcomponents%2Fangular%2Fangular.min.js%3F62c2a0c7e119887c9a69308b6016eb07abcca075%3A40%3A98%0Aq%40http%3A%2F%2Flocalhost%3A9876%2Fbase%2Ftemplates%2Fpublic%2Fassets%2Fcomponents%2Fangular%2Fangular.min.js%3F62c2a0c7e119887c9a69308b6016eb07abcca075%3A7%3A359%0Ag%40http%3A%2F%2Flocalhost%3A9876%2Fbase%2Ftemplates%2Fpublic%2Fassets%2Fcomponents%2Fangular%2Fangular.min.js%3F62c2a0c7e119887c9a69308b6016eb07abcca075%3A39%3A136%0Ahttp%3A%2F%2Flocalhost%3A9876%2Fbase%2Ftemplates%2Fpublic%2Fassets%2Fcomponents%2Fangular%2Fangular.min.js%3F62c2a0c7e119887c9a69308b6016eb07abcca075%3A39%3A305%0Aq%40http%3A%2F%2Flocalhost%3A9876%2Fbase%2Ftemplates%2Fpublic%2Fassets%2Fcomponents%2Fangular%2Fangular.min.js%3F62c2a0c7e119887c9a69308b6016eb07abcca075%3A7%3A359%0Ag%40http%3A%2F%2Flocalhost%3A9876%2Fbase%2Ftemplates%2Fpublic%2Fassets%2Fcomponents%2Fangular%2Fangular.min.js%3F62c2a0c7e119887c9a69308b6016eb07abcca075%3A39%3A136%0Aeb%40http%3A%2F%2Flocalhost%3A9876%2Fbase%2Ftemplates%2Fpublic%2Fassets%2Fcomponents%2Fangular%2Fangular.min.js%3F62c2a0c7e119887c9a69308b6016eb07abcca075%3A43%3A165%0AworkFn%40http%3A%2F%2Flocalhost%3A9876%2Fbase%2Ftemplates%2Fpublic%2Fassets%2Fcomponents%2Fangular-mocks%2Fangular-mocks.js%3Faa216eb2339283c5ab5aa192023171aa202a2bbd%3A2922%3A60%0AattemptSync%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A1886%3A28%0Arun%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A1874%3A20%0Aexecute%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A1859%3A13%0AqueueRunnerFactory%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A697%3A42%0Aexecute%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A359%3A28%0Afn%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A2479%3A44%0AattemptAsync%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A1916%3A28%0Arun%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A1871%3A21%0Aexecute%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A1859%3A13%0AqueueRunnerFactory%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A697%3A42%0Afn%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A2464%3A31%0AattemptAsync%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A1916%3A28%0Arun%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A1871%3A21%0Aexecute%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A1859%3A13%0AqueueRunnerFactory%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A697%3A42%0Afn%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A2464%3A31%0AattemptAsync%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A1916%3A28%0Arun%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A1871%3A21%0Aexecute%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A1859%3A13%0AqueueRunnerFactory%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A697%3A42%0Aexecute%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A2326%3A25%0Aexecute%40http%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fjasmine-core%2Flib%2Fjasmine-core%2Fjasmine.js%3F391e45351df9ee35392d2e5cb623221a969fc009%3A757%3A24%0Ahttp%3A%2F%2Flocalhost%3A9876%2Fabsolute%2Fnodejs%2Flib%2Fnode_modules%2Fkarma-jasmine%2Flib%2Fadapter.js%3F1e4f995124c2f01998fd4f3e16ace577bf155ba9%3A322%3A23%0Aloaded%40http%3A%2F%2Flocalhost%3A9876%2Fkarma.js%3A194%3A17%0Aglobal%20code%40http%3A%2F%2Flocalhost%3A9876%2Fcontext.html%3A52%3A28 in /site/frontend/templates/public/assets/components/angular/angular.min.js (line 40)
/site/frontend/templates/public/assets/components/angular/angular.min.js:40:98
q@/site/frontend/templates/public/assets/components/angular/angular.min.js:7:359
g@/site/frontend/templates/public/assets/components/angular/angular.min.js:39:136
eb@/site/frontend/templates/public/assets/components/angular/angular.min.js:43:165
workFn@/site/frontend/templates/public/assets/components/angular-mocks/angular-mocks.js:2922:60
TypeError: undefined is not an object (evaluating 'vm.playerToVote') in /site/frontend/templates/public/assets/js/tests/unit/home_unit_specs.js (line 11)
/site/frontend/templates/public/assets/js/tests/unit/home_unit_specs.js:11:22
PhantomJS 2.1.1 (Linux 0.0.0): Executed 1 of 1 (1 FAILED) ERROR (0.045 secs / 0.012 secs)
```
### Enviroment Details
- Karma version (output of `karma --version`): Karma version: 0.13.22
- Relevant part of your `karma.config.js` file

```
basePath: '',

// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine'],

// list of files / patterns to load in the browser
files: [
'templates/public/assets/components/angular/angular.min.js',
'templates/public/assets/components/angular-mocks/angular-mocks.js',
'templates/public/assets/js/main.js',
'templates/public/assets/js/app/**/*.js',
'templates/public/assets/js/tests/unit/**/*.js'
],
```
### Steps to reproduce the behaviour
1. karma start karma.conf.js

Contributor guide

Open the contributing guide

Research direction

Start with karma.conf.js and compare the two `karma start karma.conf.js` runs shown in the report, focusing on the differing `/base` and `/absolute` paths. Reproduce the command in the Docker container and verify that Karma resolves the listed Angular and application files and reports the expected test result instead of zero executed tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, javascript
Domain
devops, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.