karma unit test in teamcity: Process exited with code 1

hi,

i have a problem when i run my tests with the karma command. When i run my test from the shell i don't have any error whereas in TeamCity i have this BuildLog:

Step 2/2: karma unit test (Command Line) (3s)
[13:39:43][Step 2/2] Starting: /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/temp/agentTmp/custom_script141331083787735825
[13:39:43][Step 2/2] in directory: /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml
[13:39:44][Step 2/2] PhantomJS 1.9.7 (Linux): Executed 0 of 84 [32m SUCCESS [39m (0 secs / 0 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 1 of 84 [32m SUCCESS [39m (0 secs / 0.037 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 2 of 84 [32m SUCCESS [39m (0 secs / 0.042 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 3 of 84 [32m SUCCESS [39m (0 secs / 0.046 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 4 of 84 [32m SUCCESS [39m (0 secs / 0.05 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 5 of 84 [32m SUCCESS [39m (0 secs / 0.053 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 6 of 84 [32m SUCCESS [39m (0 secs / 0.061 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 7 of 84 [32m SUCCESS [39m (0 secs / 0.065 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 8 of 84 [32m SUCCESS [39m (0 secs / 0.07 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 9 of 84 [32m SUCCESS [39m (0 secs / 0.073 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 10 of 84 [32m SUCCESS [39m (0 secs / 0.077 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 11 of 84 [32m SUCCESS [39m (0 secs / 0.081 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 12 of 84 [32m SUCCESS [39m (0 secs / 0.084 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 13 of 84 [32m SUCCESS [39m (0 secs / 0.088 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 14 of 84 [32m SUCCESS [39m (0 secs / 0.091 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 15 of 84 [32m SUCCESS [39m (0 secs / 0.101 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 16 of 84 [32m SUCCESS [39m (0 secs / 0.104 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 17 of 84 [32m SUCCESS [39m (0 secs / 0.107 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 18 of 84 [32m SUCCESS [39m (0 secs / 0.112 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 19 of 84 [32m SUCCESS [39m (0 secs / 0.119 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 20 of 84 [32m SUCCESS [39m (0 secs / 0.124 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 21 of 84 [32m SUCCESS [39m (0 secs / 0.127 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 22 of 84 [32m SUCCESS [39m (0 secs / 0.131 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 23 of 84 [32m SUCCESS [39m (0 secs / 0.134 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 24 of 84 [32m SUCCESS [39m (0 secs / 0.137 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 25 of 84 [32m SUCCESS [39m (0 secs / 0.14 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 26 of 84 [32m SUCCESS [39m (0 secs / 0.15 secs)
[13:39:46][Step 2/2] [1A [2K [31mPhantomJS 1.9.7 (Linux) Controller: MainCtrl should have no current step FAILED [39m
[13:39:46][Step 2/2] TypeError: 'undefined' is not a function (evaluating 'BetcoreApi.getUserPublicData()')
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/scripts/controllers/main.js:39
[13:39:46][Step 2/2] at invoke (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3869)
[13:39:46][Step 2/2] at instantiate (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3880)
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:7134
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/test/spec/controllers/main.js:30
[13:39:46][Step 2/2] at invoke (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3869)
[13:39:46][Step 2/2] at workFn (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular-mocks/angular-mocks.js:2147)
[13:39:46][Step 2/2] undefined
[13:39:46][Step 2/2] PhantomJS 1.9.7 (Linux): Executed 27 of 84 [31m (1 FAILED) [39m (0 secs / 0.153 secs)
[13:39:46][Step 2/2] [1A [2K [31mPhantomJS 1.9.7 (Linux) Controller: MainCtrl should have an empty cart FAILED [39m
[13:39:46][Step 2/2] TypeError: 'undefined' is not a function (evaluating 'BetcoreApi.getUserPublicData()')
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/scripts/controllers/main.js:39
[13:39:46][Step 2/2] at invoke (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3869)
[13:39:46][Step 2/2] at instantiate (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3880)
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:7134
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/test/spec/controllers/main.js:30
[13:39:46][Step 2/2] at invoke (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3869)
[13:39:46][Step 2/2] at workFn (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular-mocks/angular-mocks.js:2147)
[13:39:46][Step 2/2] PhantomJS 1.9.7 (Linux): Executed 28 of 84 [31m (2 FAILED) [39m (0 secs / 0.155 secs)
[13:39:46][Step 2/2] [1A [2K [31mPhantomJS 1.9.7 (Linux) Controller: MainCtrl should send us to derniere minute page FAILED [39m
[13:39:46][Step 2/2] TypeError: 'undefined' is not a function (evaluating 'BetcoreApi.getUserPublicData()')
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/scripts/controllers/main.js:39
[13:39:46][Step 2/2] at invoke (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3869)
[13:39:46][Step 2/2] at instantiate (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3880)
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:7134
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/test/spec/controllers/main.js:30
[13:39:46][Step 2/2] at invoke (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3869)
[13:39:46][Step 2/2] at workFn (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular-mocks/angular-mocks.js:2147)
[13:39:46][Step 2/2] TypeError: 'undefined' is not a function (evaluating 'scope.gotoDerniereMinute()')
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/test/spec/controllers/main.js:43
[13:39:46][Step 2/2] PhantomJS 1.9.7 (Linux): Executed 29 of 84 [31m (3 FAILED) [39m (0 secs / 0.157 secs)
[13:39:46][Step 2/2] [1A [2K [31mPhantomJS 1.9.7 (Linux) Controller: MainCtrl should send us to mon dernier jeu page when user is loggued FAILED [39m
[13:39:46][Step 2/2] TypeError: 'undefined' is not a function (evaluating 'BetcoreApi.getUserPublicData()')
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/scripts/controllers/main.js:39
[13:39:46][Step 2/2] at invoke (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3869)
[13:39:46][Step 2/2] at instantiate (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3880)
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:7134
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/test/spec/controllers/main.js:30
[13:39:46][Step 2/2] at invoke (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3869)
[13:39:46][Step 2/2] at workFn (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular-mocks/angular-mocks.js:2147)
[13:39:46][Step 2/2] TypeError: 'undefined' is not a function (evaluating 'scope.gotoMonDernierJeu()')
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/test/spec/controllers/main.js:54
[13:39:46][Step 2/2] PhantomJS 1.9.7 (Linux): Executed 30 of 84 [31m (4 FAILED) [39m (0 secs / 0.159 secs)
[13:39:46][Step 2/2] [1A [2K [31mPhantomJS 1.9.7 (Linux) Controller: MainCtrl should send us to mon login page when user is not loggued FAILED [39m
[13:39:46][Step 2/2] TypeError: 'undefined' is not a function (evaluating 'BetcoreApi.getUserPublicData()')
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/scripts/controllers/main.js:39
[13:39:46][Step 2/2] at invoke (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3869)
[13:39:46][Step 2/2] at instantiate (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3880)
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:7134
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/test/spec/controllers/main.js:30
[13:39:46][Step 2/2] at invoke (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3869)
[13:39:46][Step 2/2] at workFn (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular-mocks/angular-mocks.js:2147)
[13:39:46][Step 2/2] TypeError: 'undefined' is not a function (evaluating 'scope.gotoMonDernierJeu()')
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/test/spec/controllers/main.js:65
[13:39:46][Step 2/2] PhantomJS 1.9.7 (Linux): Executed 31 of 84 [31m (5 FAILED) [39m (0 secs / 0.161 secs)
[13:39:46][Step 2/2] [1A [2K [31mPhantomJS 1.9.7 (Linux) Controller: MainCtrl should send us to numeros flash page FAILED [39m
[13:39:46][Step 2/2] TypeError: 'undefined' is not a function (evaluating 'BetcoreApi.getUserPublicData()')
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/scripts/controllers/main.js:39
[13:39:46][Step 2/2] at invoke (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3869)
[13:39:46][Step 2/2] at instantiate (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3880)
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:7134
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/test/spec/controllers/main.js:30
[13:39:46][Step 2/2] at invoke (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3869)
[13:39:46][Step 2/2] at workFn (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular-mocks/angular-mocks.js:2147)
[13:39:46][Step 2/2] TypeError: 'undefined' is not a function (evaluating 'scope.gotoNumerosFlash()')
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/test/spec/controllers/main.js:71
[13:39:46][Step 2/2] PhantomJS 1.9.7 (Linux): Executed 32 of 84 [31m (6 FAILED) [39m (0 secs / 0.163 secs)
[13:39:46][Step 2/2] [1A [2K [31mPhantomJS 1.9.7 (Linux) Controller: MainCtrl should send us to choix des numeros page FAILED [39m
[13:39:46][Step 2/2] TypeError: 'undefined' is not a function (evaluating 'BetcoreApi.getUserPublicData()')
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/scripts/controllers/main.js:39
[13:39:46][Step 2/2] at invoke (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3869)
[13:39:46][Step 2/2] at instantiate (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3880)
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:7134
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/test/spec/controllers/main.js:30
[13:39:46][Step 2/2] at invoke (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular/angular.js:3869)
[13:39:46][Step 2/2] at workFn (/sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/app/bower_components/angular-mocks/angular-mocks.js:2147)
[13:39:46][Step 2/2] TypeError: 'undefined' is not a function (evaluating 'scope.gotoChoixDesNumeros()')
[13:39:46][Step 2/2] at /sg/inst2dev1/home/agile/TeamCity-8.1.2/buildAgent/work/5b5cb05526c77b1a/git-www/sites/webapp-euml/test/spec/controllers/main.js:76
[13:39:46][Step 2/2] PhantomJS 1.9.7 (Linux): Executed 33 of 84 [31m (7 FAILED) [39m (0 secs / 0.165 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 34 of 84 [31m (7 FAILED) [39m (0 secs / 0.167 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 35 of 84 [31m (7 FAILED) [39m (0 secs / 0.169 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 36 of 84 [31m (7 FAILED) [39m (0 secs / 0.171 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 37 of 84 [31m (7 FAILED) [39m (0 secs / 0.173 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 38 of 84 [31m (7 FAILED) [39m (0 secs / 0.175 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 39 of 84 [31m (7 FAILED) [39m (0 secs / 0.177 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 40 of 84 [31m (7 FAILED) [39m (0 secs / 0.178 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 41 of 84 [31m (7 FAILED) [39m (0 secs / 0.18 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 42 of 84 [31m (7 FAILED) [39m (0 secs / 0.181 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 43 of 84 [31m (7 FAILED) [39m (0 secs / 0.193 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 44 of 84 [31m (7 FAILED) [39m (0 secs / 0.196 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 45 of 84 [31m (7 FAILED) [39m (0 secs / 0.199 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 46 of 84 [31m (7 FAILED) [39m (0 secs / 0.201 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 47 of 84 [31m (7 FAILED) [39m (0 secs / 0.202 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 48 of 84 [31m (7 FAILED) [39m (0 secs / 0.204 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 49 of 84 [31m (7 FAILED) [39m (0 secs / 0.206 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 50 of 84 [31m (7 FAILED) [39m (0 secs / 0.207 secs)
[13:39:46][Step 2/2] [1A [2K [31mPhantomJS 1.9.7 (Linux) Service: CacheFactoryTtl should expires FAILED [39m
[13:39:46][Step 2/2] Expected [ 'un', 1, 'trois' ] to be false.
[13:39:46][Step 2/2] PhantomJS 1.9.7 (Linux): Executed 51 of 84 [31m (8 FAILED) [39m (0 secs / 1.413 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 52 of 84 [31m (8 FAILED) [39m (0 secs / 1.416 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 53 of 84 [31m (8 FAILED) [39m (0 secs / 1.419 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 54 of 84 [31m (8 FAILED) [39m (0 secs / 1.422 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 55 of 84 [31m (8 FAILED) [39m (0 secs / 1.425 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 56 of 84 [31m (8 FAILED) [39m (0 secs / 1.427 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 57 of 84 [31m (8 FAILED) [39m (0 secs / 1.43 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 58 of 84 [31m (8 FAILED) [39m (0 secs / 1.433 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 59 of 84 [31m (8 FAILED) [39m (0 secs / 1.436 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 60 of 84 [31m (8 FAILED) [39m (0 secs / 1.439 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 61 of 84 [31m (8 FAILED) [39m (0 secs / 1.441 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 62 of 84 [31m (8 FAILED) [39m (0 secs / 1.444 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 63 of 84 [31m (8 FAILED) [39m (0 secs / 1.447 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 64 of 84 [31m (8 FAILED) [39m (0 secs / 1.449 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 65 of 84 [31m (8 FAILED) [39m (0 secs / 1.452 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 66 of 84 [31m (8 FAILED) [39m (0 secs / 1.455 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 67 of 84 [31m (8 FAILED) [39m (0 secs / 1.458 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 68 of 84 [31m (8 FAILED) [39m (0 secs / 1.46 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 69 of 84 [31m (8 FAILED) [39m (0 secs / 1.463 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 70 of 84 [31m (8 FAILED) [39m (0 secs / 1.466 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 71 of 84 [31m (8 FAILED) [39m (0 secs / 1.468 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 72 of 84 [31m (8 FAILED) [39m (0 secs / 1.473 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 73 of 84 [31m (8 FAILED) [39m (0 secs / 1.498 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 74 of 84 [31m (8 FAILED) [39m (0 secs / 1.504 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 75 of 84 [31m (8 FAILED) [39m (0 secs / 1.51 secs)
[13:39:46][Step 2/2] [1A [2K [31mPhantomJS 1.9.7 (Linux) Service: User should have default values (TODO ignore 1 sec difference) FAILED [39m
[13:39:46][Step 2/2] Expected 'Mon Jun 23 2014 13:39:44 GMT+0200 (CEST)' to equal 'Mon Jun 23 2014 13:39:46 GMT+0200 (CEST)'.
[13:39:46][Step 2/2] Expected 'Mon Jun 23 2014 13:39:44 GMT+0200 (CEST)' to equal 'Mon Jun 23 2014 13:39:46 GMT+0200 (CEST)'.
[13:39:46][Step 2/2] PhantomJS 1.9.7 (Linux): Executed 76 of 84 [31m (9 FAILED) [39m (0 secs / 1.513 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 77 of 84 [31m (9 FAILED) [39m (0 secs / 1.515 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 78 of 84 [31m (9 FAILED) [39m (0 secs / 1.518 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 79 of 84 [31m (9 FAILED) [39m (0 secs / 1.521 secs)
[13:39:46][Step 2/2] [1A [2K [31mPhantomJS 1.9.7 (Linux) Service: User should update only the moderato FAILED [39m
[13:39:46][Step 2/2] Expected Date(Invalid Date) to equal Date(Thu Jan 01 1970 01:00:00 GMT+0100 (CET)).
[13:39:46][Step 2/2] PhantomJS 1.9.7 (Linux): Executed 80 of 84 [31m (10 FAILED) [39m (0 secs / 1.524 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 81 of 84 [31m (10 FAILED) [39m (0 secs / 1.527 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 82 of 84 [31m (10 FAILED) [39m (0 secs / 1.529 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 83 of 84 [31m (10 FAILED) [39m (0 secs / 1.531 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 84 of 84 [31m (10 FAILED) [39m (0 secs / 1.534 secs)
[13:39:46][Step 2/2] [1A [2KPhantomJS 1.9.7 (Linux): Executed 84 of 84 [31m (10 FAILED) [39m (1.544 secs / 1.534 secs)
[13:39:46][Step 2/2] Process exited with code 1
[13:39:46][Step 2/2] Step karma unit test (Command Line) failed
[13:39:46]Publishing internal artifacts
[13:39:46][Publishing internal artifacts] Sending using WebPublisher
[13:39:46][Publishing internal artifacts] Sending using ArtifactsCachePublisher
[13:39:46]Build finished


thank you for your suggestions!
1 comment
Comment actions Permalink

Hi,

Could you please run this script on the same machine as the TeamCity agent and under the same user that the agent is running, as described here - http://confluence.jetbrains.com/display/TCD8/Common+Problems#CommonProblems-BuildfailsorbehavesdifferentlyinTeamCitybutnotlocally ?

0

Please sign in to leave a comment.