{"action":"opened","issue":{"url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/996","labels_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/996/labels{/name}","comments_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/996/comments","events_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/996/events","html_url":"https://github.com/cfpb/cfgov-refresh/issues/996","id":107531912,"number":996,"title":"setup.sh continues/report success even if there are some failures","user":{"login":"rosskarchner","id":235397,"avatar_url":"https://avatars.githubusercontent.com/u/235397?v=3","gravatar_id":"","url":"https://api.github.com/users/rosskarchner","html_url":"https://github.com/rosskarchner","followers_url":"https://api.github.com/users/rosskarchner/followers","following_url":"https://api.github.com/users/rosskarchner/following{/other_user}","gists_url":"https://api.github.com/users/rosskarchner/gists{/gist_id}","starred_url":"https://api.github.com/users/rosskarchner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosskarchner/subscriptions","organizations_url":"https://api.github.com/users/rosskarchner/orgs","repos_url":"https://api.github.com/users/rosskarchner/repos","events_url":"https://api.github.com/users/rosskarchner/events{/privacy}","received_events_url":"https://api.github.com/users/rosskarchner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-21T15:01:59Z","updated_at":"2015-09-21T15:01:59Z","closed_at":null,"body":"It seems like the failures in question all involve components depending on node-gyp.\r\n\r\n```\r\n> gifsicle@3.0.1 postinstall /var/lib/jenkins/workspace/cf.gov-beta-frontend-build/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle\r\n> node lib/install.js\r\n \r\n  ⚠ Request to https://raw.github.com/imagemin/gifsicle-bin/3.0.1/vendor/linux/x64/gifsicle failed\r\n  ⚠ gifsicle pre-build test failed\r\n  ℹ compiling from source\r\n  ✖ GotError: Request to http://www.lcdf.org/gifsicle/gifsicle-1.87.tar.gz failed\r\n    at ClientRequest.<anonymous> (/var/lib/jenkins/workspace/cf.gov-beta-frontend-build/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/got/index.js:177:7)\r\n    at ClientRequest.g (events.js:199:16)\r\n    at ClientRequest.emit (events.js:107:17)\r\n    at ClientRequest.onError (/var/lib/jenkins/workspace/cf.gov-beta-frontend-build/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/caw/node_modules/tunnel-agent/index.js:176:21)\r\n    at ClientRequest.g (events.js:199:16)\r\n    at ClientRequest.emit (events.js:107:17)\r\n    at Socket.socketOnData (_http_client.js:315:9)\r\n    at Socket.emit (events.js:107:17)\r\n    at readableAddChunk (_stream_readable.js:163:16)\r\n    at Socket.Readable.push (_stream_readable.js:126:10)\r\nCaused By: Error: tunneling socket could not be established, cause=Parse Error\r\n    at ClientRequest.onError (/var/lib/jenkins/workspace/cf.gov-beta-frontend-build/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/caw/node_modules/tunnel-agent/index.js:174:17)\r\n    at ClientRequest.g (events.js:199:16)\r\n    at ClientRequest.emit (events.js:107:17)\r\n    at Socket.socketOnData (_http_client.js:315:9)\r\n    at Socket.emit (events.js:107:17)\r\n    at readableAddChunk (_stream_readable.js:163:16)\r\n    at Socket.Readable.push (_stream_readable.js:126:10)\r\n    at TCP.onread (net.js:529:20)\r\n \r\n> jpegtran-bin@3.0.4 postinstall /var/lib/jenkins/workspace/cf.gov-beta-frontend-build/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin\r\n> node lib/install.js\r\n \r\n  ⚠ Request to https://raw.github.com/imagemin/jpegtran-bin/3.0.4/vendor/linux/x64/jpegtran failed\r\n  ⚠ jpegtran pre-build test failed\r\n  ℹ compiling from source\r\n  ✖ GotError: Request to http://downloads.sourceforge.net/project/libjpeg-turbo/1.4.1/libjpeg-turbo-1.4.1.tar.gz failed\r\n    at ClientRequest.<anonymous> (/var/lib/jenkins/workspace/cf.gov-beta-frontend-build/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/bin-build/node_modules/download/node_modules/got/index.js:177:7)\r\n    at ClientRequest.g (events.js:199:16)\r\n    at ClientRequest.emit (events.js:107:17)\r\n    at ClientRequest.onError (/var/lib/jenkins/workspace/cf.gov-beta-frontend-build/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/bin-build/node_modules/download/node_modules/caw/node_modules/tunnel-agent/index.js:176:21)\r\n    at ClientRequest.g (events.js:199:16)\r\n    at ClientRequest.emit (events.js:107:17)\r\n    at Socket.socketOnData (_http_client.js:315:9)\r\n    at Socket.emit (events.js:107:17)\r\n    at readableAddChunk (_stream_readable.js:163:16)\r\n    at Socket.Readable.push (_stream_readable.js:126:10)\r\nCaused By: Error: tunneling socket could not be established, cause=Parse Error\r\n    at ClientRequest.onError (/var/lib/jenkins/workspace/cf.gov-beta-frontend-build/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/bin-build/node_modules/download/node_modules/caw/node_modules/tunnel-agent/index.js:174:17)\r\n    at ClientRequest.g (events.js:199:16)\r\n    at ClientRequest.emit (events.js:107:17)\r\n    at Socket.socketOnData (_http_client.js:315:9)\r\n    at Socket.emit (events.js:107:17)\r\n    at readableAddChunk (_stream_readable.js:163:16)\r\n    at Socket.Readable.push (_stream_readable.js:126:10)\r\n    at TCP.onread (net.js:529:20)\r\n \r\n> optipng-bin@3.0.2 postinstall /var/lib/jenkins/workspace/cf.gov-beta-frontend-build/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin\r\n> node lib/install.js\r\n \r\n  ⚠ Request to https://raw.github.com/imagemin/optipng-bin/3.0.2/vendor/linux/x64/optipng failed\r\n  ⚠ optipng pre-build test failed\r\n  ℹ compiling from source\r\n  ✖ GotError: Request to http://downloads.sourceforge.net/project/optipng/OptiPNG/optipng-0.7.5/optipng-0.7.5.tar.gz failed\r\n    at ClientRequest.<anonymous> (/var/lib/jenkins/workspace/cf.gov-beta-frontend-build/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-build/node_modules/download/node_modules/got/index.js:177:7)\r\n    at ClientRequest.g (events.js:199:16)\r\n    at ClientRequest.emit (events.js:107:17)\r\n    at ClientRequest.onError (/var/lib/jenkins/workspace/cf.gov-beta-frontend-build/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-build/node_modules/download/node_modules/caw/node_modules/tunnel-agent/index.js:176:21)\r\n    at ClientRequest.g (events.js:199:16)\r\n    at ClientRequest.emit (events.js:107:17)\r\n    at Socket.socketOnData (_http_client.js:315:9)\r\n    at Socket.emit (events.js:107:17)\r\n    at readableAddChunk (_stream_readable.js:163:16)\r\n    at Socket.Readable.push (_stream_readable.js:126:10)\r\nCaused By: Error: tunneling socket could not be established, cause=Parse Error\r\n    at ClientRequest.onError (/var/lib/jenkins/workspace/cf.gov-beta-frontend-build/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-build/node_modules/download/node_modules/caw/node_modules/tunnel-agent/index.js:174:17)\r\n    at ClientRequest.g (events.js:199:16)\r\n    at ClientRequest.emit (events.js:107:17)\r\n    at Socket.socketOnData (_http_client.js:315:9)\r\n    at Socket.emit (events.js:107:17)\r\n    at readableAddChunk (_stream_readable.js:163:16)\r\n    at Socket.Readable.push (_stream_readable.js:126:10)\r\n    at TCP.onread (net.js:529:20)\r\n> utf-8-validate@1.1.0 install /var/lib/jenkins/workspace/cf.gov-beta-frontend-build/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate\r\n> node-gyp rebuild\r\n \r\nchild_process: customFds option is deprecated, use stdio instead.\r\nmake: Entering directory `/var/lib/jenkins/workspace/cf.gov-beta-frontend-build/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate/build'\r\n  CXX(target) Release/obj.target/validation/src/validation.o\r\n  SOLINK_MODULE(target) Release/obj.target/validation.node\r\n  SOLINK_MODULE(target) Release/obj.target/validation.node: Finished\r\n  COPY Release/validation.node\r\nmake: Leaving directory `/var/lib/jenkins/workspace/cf.gov-beta-frontend-build/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate/build'\r\n \r\n> bufferutil@1.1.0 install /var/lib/jenkins/workspace/cf.gov-beta-frontend-build/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil\r\n> node-gyp rebuild\r\n```\r\n\r\nErrors like these should probably cause setup.sh to return a [non-zero exit code](http://tldp.org/LDP/abs/html/exit-status.html), so that Jenkins, etc will pick up on the failure."}}