[Buildbot] #2879: installing www/base requires mock

Buildbot trac trac at buildbot.net
Wed Aug 27 01:31:44 UTC 2014


#2879: installing www/base requires mock
-------------------+-------------------
Reporter:  dustin  |      Owner:
    Type:  defect  |     Status:  new
Priority:  major   |  Milestone:  0.9.0
 Version:  0.8.9   |   Keywords:  web
-------------------+-------------------
 {{{
     [01:31:37] Using gulpfile ~/metabuildbot/src/www/base/gulpfile.js
     [01:31:37] Starting 'default'...
     [01:31:37] Starting 'bower'...
     [01:31:38] bower not-cached git://github.com/mbostock/d3.git#~3.4.11
     [01:31:38] bower resolve git://github.com/mbostock/d3.git#~3.4.11
     [01:31:38] bower not-cached git://github.com/tardyp/guanlecoja-
 ui.git#~1.1.0
     [01:31:38] bower resolve git://github.com/tardyp/guanlecoja-
 ui.git#~1.1.0
     [01:31:38] bower cached git://github.com/angular/bower-angular-
 mocks.git#1.2.21
     [01:31:38] bower validate 1.2.21 against git://github.com/angular
 /bower-angular-mocks.git#~1.2.17
     [01:31:38] bower download
 https://github.com/mbostock/d3/archive/v3.4.11.tar.gz
     [01:31:38] bower cached git://github.com/moment/moment.git#2.6.0
     [01:31:38] bower validate 2.6.0 against
 git://github.com/moment/moment.git#~2.6.0
     [01:31:39] bower cached git://github.com/twbs/bootstrap.git#3.1.1
     [01:31:39] bower validate 3.1.1 against
 git://github.com/twbs/bootstrap.git#~3.1.1
     [01:31:39] bower cached git://github.com/mgonto/restangular.git#1.4.0
     [01:31:39] bower validate 1.4.0 against
 git://github.com/mgonto/restangular.git#~1.4.0
     [01:31:40] bower new version for git://github.com/angular/bower-
 angular-mocks.git#~1.2.17
     [01:31:40] bower resolve git://github.com/angular/bower-angular-
 mocks.git#~1.2.17
     [01:31:40] bower download https://github.com/tardyp/guanlecoja-
 ui/archive/1.1.2.tar.gz
     [01:31:40] bower download https://github.com/angular/bower-angular-
 mocks/archive/v1.2.23.tar.gz
     [01:31:40] bower cached git://github.com/FortAwesome/Font-
 Awesome.git#4.1.0
     [01:31:40] bower validate 4.1.0 against git://github.com/FortAwesome
 /Font-Awesome.git#~4.1.0
     [01:31:40] bower cached git://github.com/jquery/jquery.git#2.1.1
     [01:31:40] bower validate 2.1.1 against
 git://github.com/jquery/jquery.git#>= 1.9.0
     [01:31:40] bower cached git://github.com/angular/bower-
 angular.git#1.2.21
     [01:31:40] bower validate 1.2.21 against git://github.com/angular
 /bower-angular.git#*
     [01:31:40] bower extract archive.tar.gz
     [01:31:40] bower cached git://github.com/lodash/lodash.git#2.4.1
     [01:31:40] bower validate 2.4.1 against
 git://github.com/lodash/lodash.git#>=1.3.0 <2.5.0
     [01:31:41] bower new version for git://github.com/angular/bower-
 angular.git#*
     [01:31:41] bower resolve git://github.com/angular/bower-angular.git#*
     [01:31:41] bower download https://github.com/angular/bower-
 angular/archive/v1.2.23.tar.gz
     [01:31:41] bower extract archive.tar.gz
     [01:31:41] bower extract archive.tar.gz
     [01:31:42] bower invalid-meta angular-mocks is missing "ignore" entry
 in bower.json
     [01:31:42] bower resolved git://github.com/angular/bower-angular-
 mocks.git#1.2.23
     [01:31:42] bower extract archive.tar.gz
     [01:31:43] bower invalid-meta angular is missing "ignore" entry in
 bower.json
     [01:31:43] bower resolved git://github.com/angular/bower-
 angular.git#1.2.23
     [01:31:44] bower resolved git://github.com/tardyp/guanlecoja-
 ui.git#1.1.2
     [01:31:46] bower resolved git://github.com/mbostock/d3.git#3.4.11
     [01:31:46] bower install moment#2.6.0
     [01:31:46] bower install bootstrap#3.1.1
     [01:31:46] bower install restangular#1.4.0
     [01:31:46] bower install font-awesome#4.1.0
     [01:31:46] bower install jquery#2.1.1
     [01:31:46] bower install lodash#2.4.1
     [01:31:46] bower install angular-mocks#1.2.23
     [01:31:46] bower install angular#1.2.23
     [01:31:46] bower install guanlecoja-ui#1.1.2
     [01:31:46] bower install d3#3.4.11
     [01:31:47] Finished 'bower' after 11 s
     [01:31:47] Starting 'scripts'...
     [01:31:47] Starting 'styles'...
     [01:31:47] Starting 'fonts'...
     [01:31:47] Starting 'imgs'...
     [01:31:47] Starting 'index'...
     [01:31:47] Starting 'tests'...
     [01:31:47] Starting 'generatedfixtures'...
     [01:31:47] Starting 'fixtures'...
     [01:31:48] Starting 'copyd3'...
     [01:31:49] Finished 'fixtures' after 1.57 s
     Traceback (most recent call last):
       File "/home/ubuntu/sandbox/bin/buildbot", line 10, in <module>
         execfile(__file__)
       File "/home/ubuntu/metabuildbot/src/master/bin/buildbot", line 4, in
 <module>
         runner.run()
       File
 "/home/ubuntu/metabuildbot/src/master/buildbot/scripts/runner.py", line
 700, in run
         subcommandFunction =
 reflect.namedObject(subconfig.subcommandFunction)
       File "/home/ubuntu/sandbox/local/lib/python2.7/site-
 packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/python/reflect.py",
 line 168, in namedObject
         module = namedModule('.'.join(classSplit[:-1]))
       File "/home/ubuntu/sandbox/local/lib/python2.7/site-
 packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/python/reflect.py",
 line 154, in namedModule
         topLevel = __import__(name)
       File
 "/home/ubuntu/metabuildbot/src/master/buildbot/scripts/dataspec.py", line
 21, in <module>
         from buildbot.test.fake import fakemaster
       File
 "/home/ubuntu/metabuildbot/src/master/buildbot/test/__init__.py", line 31,
 in <module>
         raise ImportError("\nBuildbot tests require the 'mock' module; "
     ImportError:
     Buildbot tests require the 'mock' module; try 'pip install mock'
     [01:31:49] Finished 'index' after 1.74 s
     [01:31:49] Finished 'copyd3' after 1.77 s
     [01:31:49] 'generatedfixtures' errored after 1.83 s
     [01:31:49] Error in plugin 'gulp-shell'
     Message:
         Command failed: Traceback (most recent call last):
       File "/home/ubuntu/sandbox/bin/buildbot", line 10, in <module>
         execfile(__file__)
       File "/home/ubuntu/metabuildbot/src/master/bin/buildbot", line 4, in
 <module>
         runner.run()
       File
 "/home/ubuntu/metabuildbot/src/master/buildbot/scripts/runner.py", line
 700, in run
         subcommandFunction =
 reflect.namedObject(subconfig.subcommandFunction)
       File "/home/ubuntu/sandbox/local/lib/python2.7/site-
 packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/python/reflect.py",
 line 168, in namedObject
         module = namedModule('.'.join(classSplit[:-1]))
       File "/home/ubuntu/sandbox/local/lib/python2.7/site-
 packages/Twisted-14.0.0-py2.7-linux-x86_64.egg/twisted/python/reflect.py",
 line 154, in namedModule
         topLevel = __import__(name)
       File
 "/home/ubuntu/metabuildbot/src/master/buildbot/scripts/dataspec.py", line
 21, in <module>
         from buildbot.test.fake import fakemaster
       File
 "/home/ubuntu/metabuildbot/src/master/buildbot/test/__init__.py", line 31,
 in <module>
         raise ImportError("\nBuildbot tests require the 'mock' module; "
     ImportError:
     Buildbot tests require the 'mock' module; try 'pip install mock'

     Details:
         killed: false
         code: 1
         signal: null
     [01:31:49] 'default' errored after 13 s
     [01:31:49] undefined
     [01:31:49] Finished 'imgs' after 1.96 s
     [01:31:52] Finished 'styles' after 4.6 s
     [01:31:52] Finished 'fonts' after 4.88 s
     [01:31:53] Finished 'tests' after 5.65 s
     [01:32:12] Finished 'scripts' after 25 s
     error: command
 '/home/ubuntu/metabuildbot/src/www/base/node_modules/.bin/gulp' failed
 with exit status 1
 }}}

 This is probably related to #2877, where the gulpfile is trying to set up
 to run the Angular tests.

--
Ticket URL: <http://trac.buildbot.net/ticket/2879>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list