Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

CentOS build issues (may deal with proxies) #83

Open
joehandzik opened this issue Jan 15, 2015 · 4 comments
Open

CentOS build issues (may deal with proxies) #83

joehandzik opened this issue Jan 15, 2015 · 4 comments

Comments

@joehandzik
Copy link

Hey Calamari folks,

I've tried to work this out on my own, but I'm kinda at the end of my rope here. To start off, I've considered swapping over to the Vagrant build configuration, but I'm intending to actively develop on Calamari for a number of months and would prefer to work within a standard CentOS environment.

I'm using Centos7, and your step by step guide for Fedora 20 was quite helpful:

yum install nodejs npm ruby make git
npm install -g grunt-cli
download and install rubygems
gem install compass
checkout the code git clone git@github.com:ceph/calamari-clients.git
cd into calamari-clients folder
to build: make build-real

Problems didn't really crop up until I actually tried to build. I'm building behind HP's corporate firewall, so I need to deal with a proxy. Here are the places that I've defined a proxy:

  1. The bash environment variables (http_proxy, https_proxy, HTTP_PROXY, HTTPS_PROXY)
    • I made them part of the base bash environment variables in /etc/bashrc
  2. The git global proxies
    • both git config --global http.proxy and https.proxy
    • a bonus config point via git config --global url."https://".insteadOf git://
  3. Each individual .bowerrc file
    • proxy and https-proxy
  4. npm proxies
    • proxy, http-proxy, and https-proxy

I had been running make build-real, but the build consistently failed. I'll post images a bit farther down. So, I took a look at the makefile to double-check that running sudo make build in each individual directory would be effectively the same as running sudo make build-real at the base directory (calamari-clients). So, I went and built dashboard, admin, and login. All three seem to have worked correctly (there's a dist directory in each of those three directories). The manage directory is the area where I'm consistently having problems. The compass.dist task runs, but then things fall off the wagon a bit:

calamari_pre-build_failure

The "pre-build test failed, compiling from source..." lines take a few minutes to come out, and then another five minutes or so to get the ETIMEDOUT lines, which still seem to indicate some sort of success. We sit and wait at the screen above for a solid ten minutes. In that time, the system becomes semi-unresponsive. Before we get to that point, I ran a 'ps aux | grep node'. I didn't count the processes, but there are quite a few running simultaneously. The mouse cursor moves, but nothing else works (second terminals don't respond to text input or mouse clicks, for instance). Then, I get this:

calamari_make_failure

Any idea what to make of this? I took a look at the Gruntfile.js in the manage directory and saw that the concurrent:dist task deals with compass (unless I'm totally misinterpreting the Gruntfile). My thought is that this all stems from the ETIMEDOUT messages, but I don't know enough about calamari's build process to know for sure. I tracked down a stackoverflow post that seemed to have potential, but either I can't figure out the right way to define the HP proxy in the proxies: json entry or that's not my problem spot. http://stackoverflow.com/questions/24821833/how-do-i-configure-grunt-connect-proxy-behind-a-firewall

Sorry for the long post. Any help or pointers in the right direction would be greatly appreciated. Also, at some point I'd like to add to at least the .bowerrc files to help out anyone who might deal with proxies in the future like me...having a couple of commented out lines for proxies along with some documentation on what proxies need to be set would've saved me a few trips to the Google search bar.

Joe

@joehandzik
Copy link
Author

Hey @kmkanagaraj, I have the build output but I'd argue it's less useful than the screenshots I sent over, since the machine gets in such a nasty state that it stops updating the file I'm piping the logs out to. If you have a better idea for how to capture more data, I'm all ears.

I enabled the debug flag, the verbose flag, and went and ran 'npm config set strict-ssl false' for good measure. I also manually used npm install to install the gifsicle, jpegtran, optipng, and phantomjs components based on references to the first three being near the theoretical problem area and on grepping through the manage directory for "Error: connect ETIMEDOUT" and seeing references to phantomjs's README. None of it seems to have changed behavior at all. And yes, I am running the 'make clean-real' command before attempting to build.

Debug output from 'make build-real' is as follows:

building ui
set -e ;
for d in manage; do
echo $d; cd $d; make build; cd .. ;
done
manage
make[1]: Entering directory `/home/jhandz/calamari-clients/manage'
npm install --loglevel warn
npm WARN package.json manage@0.0.0 No repository field.

gifsicle@2.0.1 postinstall /home/jhandz/calamari-clients/manage/node_modules/gifsicle
node lib/install.js

✔ gifsicle pre-build test passed successfully

phantomjs@1.9.13 install /home/jhandz/calamari-clients/manage/node_modules/phantomjs
node install.js

Download already available at /home/jhandz/calamari-clients/manage/node_modules/phantomjs/phantomjs/phantomjs-1.9.8-linux-x86_64.tar.bz2
Extracting tar contents (via spawned process)
Removing /home/jhandz/calamari-clients/manage/node_modules/phantomjs/lib/phantom
Copying extracted folder /home/jhandz/calamari-clients/manage/node_modules/phantomjs/phantomjs/phantomjs-1.9.8-linux-x86_64.tar.bz2-extract-1421965720551/phantomjs-1.9.8-linux-x86_64 -> /home/jhandz/calamari-clients/manage/node_modules/phantomjs/lib/phantom
Removing /home/jhandz/calamari-clients/manage/node_modules/phantomjs/phantomjs/phantomjs-1.9.8-linux-x86_64.tar.bz2-extract-1421965720551
Writing location.js file
Done. Phantomjs binary available at /home/jhandz/calamari-clients/manage/node_modules/phantomjs/lib/phantom/bin/phantomjs
bower --allow-root --config.interactive=false install
grunt --no-color saveRevision
Running "saveRevision" task

Running "git-describe:git.js" (git-describe) task
Git Revision: v1.2.1.1-55-cfbc8bf-dirty

v1.2.1.1-55-cfbc8bf-dirty

Done, without errors.

Execution Time (2015-01-22 22:28:52 UTC)
git-describe:git.js 1.8s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 100%
Total 1.8s
grunt --no-color --debug --verbose build
Initializing
Command-line options: --no-color, --debug=1, --verbose

Reading "Gruntfile.js" Gruntfile...OK

Registering Gruntfile tasks.

Registering "grunt-autoprefixer" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-autoprefixer/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-autoprefixer/package.json...OK
Loading "autoprefixer.js" tasks...OK

  • autoprefixer

Registering "grunt-bower-requirejs" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-bower-requirejs/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-bower-requirejs/package.json...OK
Loading "bower-requirejs.js" tasks...OK

  • bower

Registering "grunt-concurrent" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-concurrent/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-concurrent/package.json...OK
Loading "concurrent.js" tasks...OK

  • concurrent

Registering "grunt-connect-proxy" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-connect-proxy/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-connect-proxy/package.json...OK
Loading "connect_proxy.js" tasks...OK

  • configureProxies

Registering "grunt-contrib-clean" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-clean/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-clean/package.json...OK
Loading "clean.js" tasks...OK

  • clean

Registering "grunt-contrib-coffee" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-coffee/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-coffee/package.json...OK
Loading "coffee.js" tasks...OK

  • coffee

Registering "grunt-contrib-compass" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-compass/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-compass/package.json...OK
Loading "compass.js" tasks...OK

  • compass

Registering "grunt-contrib-concat" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-concat/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-concat/package.json...OK
Loading "concat.js" tasks...OK

  • concat

Registering "grunt-contrib-connect" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-connect/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-connect/package.json...OK
Loading "connect.js" tasks...OK

  • connect

Registering "grunt-contrib-copy" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-copy/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-copy/package.json...OK
Loading "copy.js" tasks...OK

  • copy

Registering "grunt-contrib-cssmin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-cssmin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-cssmin/package.json...OK
Loading "cssmin.js" tasks...OK

  • cssmin

Registering "grunt-contrib-htmlmin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-htmlmin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-htmlmin/package.json...OK
Loading "htmlmin.js" tasks...OK

  • htmlmin

Registering "grunt-contrib-imagemin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-imagemin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-imagemin/package.json...OK
Loading "imagemin.js" tasks...OK

  • imagemin

Registering "grunt-contrib-jshint" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-jshint/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-jshint/package.json...OK
Loading "jshint.js" tasks...OK

  • jshint

Registering "grunt-contrib-symlink" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-symlink/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-symlink/package.json...OK
Loading "symlink.js" tasks...OK

  • symlink

Registering "grunt-contrib-uglify" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-uglify/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-uglify/package.json...OK
Loading "uglify.js" tasks...OK

  • uglify

Registering "grunt-contrib-watch" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-watch/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-watch/package.json...OK
Loading "watch.js" tasks...OK

  • watch

Registering "grunt-docco" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-docco/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-docco/package.json...OK
Loading "docco.js" tasks...OK

  • docco

Registering "grunt-git-describe" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-git-describe/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-git-describe/package.json...OK
Loading "git-describe.js" tasks...OK

  • git-describe

Registering "grunt-google-cdn" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-google-cdn/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-google-cdn/package.json...OK
Loading "cdnify.js" tasks...OK

  • cdnify

Registering "grunt-karma" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-karma/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-karma/package.json...OK
Loading "grunt-karma.js" tasks...OK

  • karma

Registering "grunt-newer" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-newer/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-newer/package.json...OK
Loading "newer.js" tasks...OK

  • any-newer, newer, newer-reconfigure, newer-timestamp

Registering "grunt-ngmin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-ngmin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-ngmin/package.json...OK
Loading "ngmin.js" tasks...OK

  • ngmin

Registering "grunt-requirejs" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-requirejs/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-requirejs/package.json...OK
Loading "require.js" tasks...OK

  • requirejs

Registering "grunt-rev" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-rev/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-rev/package.json...OK
Loading "rev.js" tasks...OK

  • rev

Registering "grunt-svgmin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-svgmin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-svgmin/package.json...OK
Loading "svgmin.js" tasks...OK

  • svgmin

Registering "grunt-usemin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-usemin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-usemin/package.json...OK
Loading "usemin.js" tasks...OK

  • usemin, useminPrepare
    Initializing config...OK
    Loading "Gruntfile.js" tasks...OK
  • build, default, docs, saveRevision, serve, server, test

Running tasks: build

Running "build" task
[D] Task source: /home/jhandz/calamari-clients/manage/Gruntfile.js

Running "clean:dist" (clean) task
[D] Task source: /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-clean/tasks/clean.js
Verifying property clean.dist exists in config...OK
Files: [no src]
Options: force=false, no-write=false
Options: force=false, no-write=false

Running "symlink" task
[D] Task source: /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-symlink/tasks/symlink.js

Running "symlink:fonts" (symlink) task
[D] Task source: /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-symlink/tasks/symlink.js
Verifying property symlink.fonts exists in config...OK
Files: app/bower_components/font-awesome/fonts -> app/fonts
Options: overwrite
Deleting app/fonts...OK
Linking (dir) app/fonts -> bower_components/font-awesome/fonts...OK

Created 1 symbolic links.

Running "saveRevision" task
[D] Task source: /home/jhandz/calamari-clients/manage/Gruntfile.js

Running "git-describe" task
[D] Task source: /home/jhandz/calamari-clients/manage/node_modules/grunt-git-describe/tasks/git-describe.js

Running "git-describe:git.js" (git-describe) task
[D] Task source: /home/jhandz/calamari-clients/manage/node_modules/grunt-git-describe/tasks/git-describe.js
Verifying property git-describe.git.js exists in config...OK
File: [no files]
Options: cwd=".", template="{%=tag%}-{%=since%}-{%=object%}{%=dirty%}", failOnError=false
Flags: commitish=undefined, cwd=".", template="{%=tag%}-{%=since%}-{%=object%}{%=dirty%}", failOnError=false

Spawning
Flags: cmd="git", args=["describe","--tags","--always","--long","--dirty"], opts={"cwd":"."}
Git Revision: v1.2.1.1-55-cfbc8bf-dirty
Writing app/scripts/git.js...OK

v1.2.1.1-55-cfbc8bf-dirty

Running "useminPrepare" task
[D] Task source: /home/jhandz/calamari-clients/manage/node_modules/grunt-usemin/tasks/usemin.js

Running "useminPrepare:html" (useminPrepare) task
[D] Task source: /home/jhandz/calamari-clients/manage/node_modules/grunt-usemin/tasks/usemin.js
Verifying property useminPrepare.html exists in config...OK
Files: app/index.html -> html
Options: dest="dist"
Going through app/index.html to update the config
Looking for build script HTML comment blocks

Configuration is now:

concat:
{ generated:
{ files:
[ { dest: '.tmp/concat/styles/vendor.css',
src: [ 'app/bower_components/bootstrap/dist/css/bootstrap.css' ] },
{ dest: '.tmp/concat/styles/main.css',
src: [ '{.tmp,app}/styles/main.css' ] } ] } }

uglify:
{ dist:
{ options: { mangle: false, beautify: true },
files: { '<%= yeoman.dist %>/scripts/main.js': [ '.tmp/concat/scripts/main.js' ] } } }

cssmin:
{ generated:
{ files:
[ { dest: 'dist/styles/vendor.css',
src: [ '.tmp/concat/styles/vendor.css' ] },
{ dest: 'dist/styles/main.css',
src: [ '.tmp/concat/styles/main.css' ] } ] } }

Running "concurrent:dist" (concurrent) task
[D] Task source: /home/jhandz/calamari-clients/manage/node_modules/grunt-concurrent/tasks/concurrent.js
Verifying property concurrent.dist exists in config...OK
Files: [no src] -> dist
Options: limit=16

Initializing
Command-line options: --no-color, --debug=1, --verbose

Reading "Gruntfile.js" Gruntfile...OK

Registering Gruntfile tasks.

Registering "grunt-autoprefixer" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-autoprefixer/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-autoprefixer/package.json...OK
Loading "autoprefixer.js" tasks...OK
+ autoprefixer

Registering "grunt-bower-requirejs" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-bower-requirejs/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-bower-requirejs/package.json...OK
Loading "bower-requirejs.js" tasks...OK
+ bower

Registering "grunt-concurrent" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-concurrent/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-concurrent/package.json...OK
Loading "concurrent.js" tasks...OK
+ concurrent

Registering "grunt-connect-proxy" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-connect-proxy/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-connect-proxy/package.json...OK
Loading "connect_proxy.js" tasks...OK
+ configureProxies

Registering "grunt-contrib-clean" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-clean/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-clean/package.json...OK
Loading "clean.js" tasks...OK
+ clean

Registering "grunt-contrib-coffee" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-coffee/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-coffee/package.json...OK
Loading "coffee.js" tasks...OK
+ coffee

Registering "grunt-contrib-compass" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-compass/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-compass/package.json...OK
Loading "compass.js" tasks...OK
+ compass

Registering "grunt-contrib-concat" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-concat/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-concat/package.json...OK
Loading "concat.js" tasks...OK
+ concat

Registering "grunt-contrib-connect" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-connect/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-connect/package.json...OK
Loading "connect.js" tasks...OK
+ connect

Registering "grunt-contrib-copy" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-copy/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-copy/package.json...OK
Loading "copy.js" tasks...OK
+ copy

Registering "grunt-contrib-cssmin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-cssmin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-cssmin/package.json...OK
Loading "cssmin.js" tasks...OK
+ cssmin

Registering "grunt-contrib-htmlmin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-htmlmin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-htmlmin/package.json...OK
Loading "htmlmin.js" tasks...OK
+ htmlmin

Registering "grunt-contrib-imagemin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-imagemin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-imagemin/package.json...OK
Loading "imagemin.js" tasks...OK
+ imagemin

Registering "grunt-contrib-jshint" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-jshint/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-jshint/package.json...OK
Loading "jshint.js" tasks...OK
+ jshint

Registering "grunt-contrib-symlink" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-symlink/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-symlink/package.json...OK
Loading "symlink.js" tasks...OK
+ symlink

Registering "grunt-contrib-uglify" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-uglify/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-uglify/package.json...OK
Loading "uglify.js" tasks...OK
+ uglify

Registering "grunt-contrib-watch" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-watch/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-watch/package.json...OK
Loading "watch.js" tasks...OK
+ watch

Registering "grunt-docco" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-docco/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-docco/package.json...OK
Loading "docco.js" tasks...OK
+ docco

Registering "grunt-git-describe" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-git-describe/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-git-describe/package.json...OK
Loading "git-describe.js" tasks...OK
+ git-describe

Registering "grunt-google-cdn" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-google-cdn/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-google-cdn/package.json...OK
Loading "cdnify.js" tasks...OK
+ cdnify

Registering "grunt-karma" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-karma/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-karma/package.json...OK
Loading "grunt-karma.js" tasks...OK
+ karma

Registering "grunt-newer" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-newer/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-newer/package.json...OK
Loading "newer.js" tasks...OK
+ any-newer, newer, newer-reconfigure, newer-timestamp

Registering "grunt-ngmin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-ngmin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-ngmin/package.json...OK
Loading "ngmin.js" tasks...OK
+ ngmin

Registering "grunt-requirejs" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-requirejs/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-requirejs/package.json...OK
Loading "require.js" tasks...OK
+ requirejs

Registering "grunt-rev" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-rev/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-rev/package.json...OK
Loading "rev.js" tasks...OK
+ rev

Registering "grunt-svgmin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-svgmin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-svgmin/package.json...OK
Loading "svgmin.js" tasks...OK
+ svgmin

Registering "grunt-usemin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-usemin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-usemin/package.json...OK
Loading "usemin.js" tasks...OK
+ usemin, useminPrepare
Initializing config...OK
Loading "Gruntfile.js" tasks...OK
+ build, default, docs, saveRevision, serve, server, test

Running tasks: copy:styles

Running "copy:styles" (copy) task
[D] Task source: /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-copy/tasks/copy.js
Verifying property copy.styles exists in config...OK
Options: processContent=false, processContentExclude=[]
Options: processContent=false, processContentExclude=[]


Done, without errors.

Initializing
Command-line options: --no-color, --debug=1, --verbose

Reading "Gruntfile.js" Gruntfile...OK

Registering Gruntfile tasks.

Registering "grunt-autoprefixer" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-autoprefixer/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-autoprefixer/package.json...OK
Loading "autoprefixer.js" tasks...OK
+ autoprefixer

Registering "grunt-bower-requirejs" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-bower-requirejs/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-bower-requirejs/package.json...OK
Loading "bower-requirejs.js" tasks...OK
+ bower

Registering "grunt-concurrent" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-concurrent/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-concurrent/package.json...OK
Loading "concurrent.js" tasks...OK
+ concurrent

Registering "grunt-connect-proxy" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-connect-proxy/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-connect-proxy/package.json...OK
Loading "connect_proxy.js" tasks...OK
+ configureProxies

Registering "grunt-contrib-clean" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-clean/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-clean/package.json...OK
Loading "clean.js" tasks...OK
+ clean

Registering "grunt-contrib-coffee" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-coffee/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-coffee/package.json...OK
Loading "coffee.js" tasks...OK
+ coffee

Registering "grunt-contrib-compass" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-compass/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-compass/package.json...OK
Loading "compass.js" tasks...OK
+ compass

Registering "grunt-contrib-concat" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-concat/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-concat/package.json...OK
Loading "concat.js" tasks...OK
+ concat

Registering "grunt-contrib-connect" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-connect/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-connect/package.json...OK
Loading "connect.js" tasks...OK
+ connect

Registering "grunt-contrib-copy" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-copy/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-copy/package.json...OK
Loading "copy.js" tasks...OK
+ copy

Registering "grunt-contrib-cssmin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-cssmin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-cssmin/package.json...OK
Loading "cssmin.js" tasks...OK
+ cssmin

Registering "grunt-contrib-htmlmin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-htmlmin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-htmlmin/package.json...OK
Loading "htmlmin.js" tasks...OK
+ htmlmin

Registering "grunt-contrib-imagemin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-imagemin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-imagemin/package.json...OK
Loading "imagemin.js" tasks...OK
+ imagemin

Registering "grunt-contrib-jshint" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-jshint/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-jshint/package.json...OK
Loading "jshint.js" tasks...OK
+ jshint

Registering "grunt-contrib-symlink" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-symlink/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-symlink/package.json...OK
Loading "symlink.js" tasks...OK
+ symlink

Registering "grunt-contrib-uglify" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-uglify/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-uglify/package.json...OK
Loading "uglify.js" tasks...OK
+ uglify

Registering "grunt-contrib-watch" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-watch/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-watch/package.json...OK
Loading "watch.js" tasks...OK
+ watch

Registering "grunt-docco" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-docco/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-docco/package.json...OK
Loading "docco.js" tasks...OK
+ docco

Registering "grunt-git-describe" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-git-describe/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-git-describe/package.json...OK
Loading "git-describe.js" tasks...OK
+ git-describe

Registering "grunt-google-cdn" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-google-cdn/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-google-cdn/package.json...OK
Loading "cdnify.js" tasks...OK
+ cdnify

Registering "grunt-karma" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-karma/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-karma/package.json...OK
Loading "grunt-karma.js" tasks...OK
+ karma

Registering "grunt-newer" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-newer/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-newer/package.json...OK
Loading "newer.js" tasks...OK
+ any-newer, newer, newer-reconfigure, newer-timestamp

Registering "grunt-ngmin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-ngmin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-ngmin/package.json...OK
Loading "ngmin.js" tasks...OK
+ ngmin

Registering "grunt-requirejs" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-requirejs/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-requirejs/package.json...OK
Loading "require.js" tasks...OK
+ requirejs

Registering "grunt-rev" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-rev/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-rev/package.json...OK
Loading "rev.js" tasks...OK
+ rev

Registering "grunt-svgmin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-svgmin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-svgmin/package.json...OK
Loading "svgmin.js" tasks...OK
+ svgmin

Registering "grunt-usemin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-usemin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-usemin/package.json...OK
Loading "usemin.js" tasks...OK
+ usemin, useminPrepare
Initializing config...OK
Loading "Gruntfile.js" tasks...OK
+ build, default, docs, saveRevision, serve, server, test

Running tasks: svgmin

Running "svgmin" task
[D] Task source: /home/jhandz/calamari-clients/manage/node_modules/grunt-svgmin/tasks/svgmin.js

Running "svgmin:dist" (svgmin) task
[D] Task source: /home/jhandz/calamari-clients/manage/node_modules/grunt-svgmin/tasks/svgmin.js
Verifying property svgmin.dist exists in config...OK
Options: (none)

Done, without errors.

Initializing
Command-line options: --no-color, --debug=1, --verbose

Reading "Gruntfile.js" Gruntfile...OK

Registering Gruntfile tasks.

Registering "grunt-autoprefixer" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-autoprefixer/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-autoprefixer/package.json...OK
Loading "autoprefixer.js" tasks...OK
+ autoprefixer

Registering "grunt-bower-requirejs" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-bower-requirejs/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-bower-requirejs/package.json...OK
Loading "bower-requirejs.js" tasks...OK
+ bower

Registering "grunt-concurrent" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-concurrent/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-concurrent/package.json...OK
Loading "concurrent.js" tasks...OK
+ concurrent

Registering "grunt-connect-proxy" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-connect-proxy/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-connect-proxy/package.json...OK
Loading "connect_proxy.js" tasks...OK
+ configureProxies

Registering "grunt-contrib-clean" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-clean/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-clean/package.json...OK
Loading "clean.js" tasks...OK
+ clean

Registering "grunt-contrib-coffee" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-coffee/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-coffee/package.json...OK
Loading "coffee.js" tasks...OK
+ coffee

Registering "grunt-contrib-compass" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-compass/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-compass/package.json...OK
Loading "compass.js" tasks...OK
+ compass

Registering "grunt-contrib-concat" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-concat/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-concat/package.json...OK
Loading "concat.js" tasks...OK
+ concat

Registering "grunt-contrib-connect" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-connect/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-connect/package.json...OK
Loading "connect.js" tasks...OK
+ connect

Registering "grunt-contrib-copy" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-copy/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-copy/package.json...OK
Loading "copy.js" tasks...OK
+ copy

Registering "grunt-contrib-cssmin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-cssmin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-cssmin/package.json...OK
Loading "cssmin.js" tasks...OK
+ cssmin

Registering "grunt-contrib-htmlmin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-htmlmin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-htmlmin/package.json...OK
Loading "htmlmin.js" tasks...OK
+ htmlmin

Registering "grunt-contrib-imagemin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-imagemin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-imagemin/package.json...OK
Loading "imagemin.js" tasks...OK
+ imagemin

Registering "grunt-contrib-jshint" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-jshint/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-jshint/package.json...OK
Loading "jshint.js" tasks...OK
+ jshint

Registering "grunt-contrib-symlink" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-symlink/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-symlink/package.json...OK
Loading "symlink.js" tasks...OK
+ symlink

Registering "grunt-contrib-uglify" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-uglify/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-uglify/package.json...OK
Loading "uglify.js" tasks...OK
+ uglify

Registering "grunt-contrib-watch" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-watch/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-watch/package.json...OK
Loading "watch.js" tasks...OK
+ watch

Registering "grunt-docco" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-docco/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-docco/package.json...OK
Loading "docco.js" tasks...OK
+ docco

Registering "grunt-git-describe" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-git-describe/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-git-describe/package.json...OK
Loading "git-describe.js" tasks...OK
+ git-describe

Registering "grunt-google-cdn" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-google-cdn/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-google-cdn/package.json...OK
Loading "cdnify.js" tasks...OK
+ cdnify

Registering "grunt-karma" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-karma/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-karma/package.json...OK
Loading "grunt-karma.js" tasks...OK
+ karma

Registering "grunt-newer" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-newer/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-newer/package.json...OK
Loading "newer.js" tasks...OK
+ any-newer, newer, newer-reconfigure, newer-timestamp

Registering "grunt-ngmin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-ngmin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-ngmin/package.json...OK
Loading "ngmin.js" tasks...OK
+ ngmin

Registering "grunt-requirejs" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-requirejs/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-requirejs/package.json...OK
Loading "require.js" tasks...OK
+ requirejs

Registering "grunt-rev" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-rev/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-rev/package.json...OK
Loading "rev.js" tasks...OK
+ rev

Registering "grunt-svgmin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-svgmin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-svgmin/package.json...OK
Loading "svgmin.js" tasks...OK
+ svgmin

Registering "grunt-usemin" local Npm module tasks.
Reading /home/jhandz/calamari-clients/manage/node_modules/grunt-usemin/package.json...OK
Parsing /home/jhandz/calamari-clients/manage/node_modules/grunt-usemin/package.json...OK
Loading "usemin.js" tasks...OK
+ usemin, useminPrepare
Initializing config...OK
Loading "Gruntfile.js" tasks...OK
+ build, default, docs, saveRevision, serve, server, test

Running tasks: compass:dist

Running "compass:dist" (compass) task
[D] Task source: /home/jhandz/calamari-clients/manage/node_modules/grunt-contrib-compass/tasks/compass.js
Verifying property compass.dist exists in config...OK
File: [no files]
Options: sassDir="app/styles", cssDir=".tmp/styles", generatedImagesDir="dist/images/generated", imagesDir="app/images", javascriptsDir="app/scripts", fontsDir="app/styles/fonts", importPath="app/bower_components", httpImagesPath="/images", httpGeneratedImagesPath="/images/generated", httpFontsPath="/styles/fonts", relativeAssets=false, assetCacheBuster=false
Options: sassDir="app/styles", cssDir=".tmp/styles", imagesDir="app/images", javascriptsDir="app/scripts", fontsDir="app/styles/fonts", importPath="app/bower_components", relativeAssets=false, time
directory .tmp/styles
    write .tmp/styles/main.css (1.41s)

Done, without errors.
    ⚠ pre-build test failed, compiling from source...
    ⚠ pre-build test failed, compiling from source...
    ⚠ pre-build test failed, compiling from source...
    ✖ { [Error: connect ETIMEDOUT] code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect' }
    ✔ optipng built successfully!
    ✖ { [Error: connect ETIMEDOUT] code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect' }
    ✔ jpegtran built successfully!
    ✖ { [Error: connect ETIMEDOUT] code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect' }
    ✔ gifsicle built successfully!

@joehandzik
Copy link
Author

It seems like some of the build is parallel, which may be making the debug process harder. Is there a smart way to serialize the build completely (regardless of completion time as long as it's no longer than an hour)?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@joehandzik and others