Hi,
I am having trouble using phantomjs with mocha (mocha-phantomjs). As part of the npm install phase, it tries to download the phantomjs binary but it fails. I see that the proxy settings are correct. Anyone have experience with this ? The error log for reference 2017-03-09 14:24:40,618 - xmake-core - INFO - > [email protected] install /data/xmake/SlaveProd/workspace/MedasJS-medas-thing-odata-PR-linuxx86_64/gen/out/module/node_modules/mocha-phantomjs/node_modules/phantomjs 2017-03-09 14:24:40,618 - xmake-core - INFO - > node install.js 2017-03-09 14:24:40,618 - xmake-core - INFO - 2017-03-09 14:24:41,040 - xmake-core - INFO - Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 2017-03-09 14:24:41,042 - xmake-core - INFO - Saving to /data/xmake/SlaveProd/workspace/MedasJS-medas-thing-odata-PR-linuxx86_64/gen/tmp/phantomjs/phantomjs-1.9.7-linux-x86_64.tar.bz2 2017-03-09 14:24:41,043 - xmake-core - INFO - Using proxy http://proxy.wdf.sap.corp:8080/ 2017-03-09 14:24:41,044 - xmake-core - INFO - Receiving... 2017-03-09 14:24:44,079 - xmake-core - INFO - 2017-03-09 14:24:44,080 - xmake-core - INFO - Error making request. 2017-03-09 14:24:44,081 - xmake-core - ERROR - tunneling socket could not be established, cause=connect ECONNREFUSED 147.204.6.136:8080 2017-03-09 14:24:44,081 - xmake-core - INFO - at ClientRequest.onError (/data/xmake/SlaveProd/workspace/MedasJS-medas-thing-odata-PR-linuxx86_64/gen/out/module/node_modules/mocha-phantomjs/node_modules/phantomjs/node_modules/request/node_modules/tunnel-agent/index.js:176:17) 2017-03-09 14:24:44,082 - xmake-core - INFO - at ClientRequest.g (events.js:260:16) 2017-03-09 14:24:44,082 - xmake-core - INFO - at emitOne (events.js:77:13) 2017-03-09 14:24:44,083 - xmake-core - INFO - at ClientRequest.emit (events.js:169:7) 2017-03-09 14:24:44,083 - xmake-core - INFO - at Socket.socketErrorListener (_http_client.js:267:9) 2017-03-09 14:24:44,084 - xmake-core - INFO - at emitOne (events.js:77:13) 2017-03-09 14:24:44,084 - xmake-core - INFO - at Socket.emit (events.js:169:7) 2017-03-09 14:24:44,084 - xmake-core - INFO - at emitErrorNT (net.js:1269:8) 2017-03-09 14:24:44,085 - xmake-core - INFO - at nextTickCallbackWith2Args (node.js:442:9) 2017-03-09 14:24:44,085 - xmake-core - INFO - at process._tickCallback (node.js:356:17) 2017-03-09 14:24:44,086 - xmake-core - INFO - 2017-03-09 14:24:44,086 - xmake-core - INFO - Please report this full log at https://github.com/Medium/phantomjs Regards Prithvi -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/373d136b-cde0-4f91-ac1c-dc948bf45628%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
