<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Warning Error when running nodejs test with Dockers in Jenkins (Thread)</title><description> While trying to run my test in Jenkins with the Jenkinsfile where my pipeline is defined using docker compose file, the test returned an error as contained below:  warning Error running install script for optional dependency: /tests/node_modules/snappy: Command failed. Exit code: 1  Selenium  Command: sh Arguments: -c ./node_modules/.bin/node-gyp rebuild Directory: /tests/node_modules/snappy Output: gyp info it worked if it ends with ok gyp info using node-gyp@3.4.0 gyp info using node@9.11.1 | linux | x64 gyp http GET  https://nodejs.org/download/release/v9.11.1/node-v9.11.1-headers.tar.gz  gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: connect ETIMEDOUT xxxx.xxxx.xxxxx gyp ERR! stack at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1174:14) gyp ERR! System Linux xxxxxxxxx.el7.x86_64 gyp ERR! command \/usr/local/bin/node\ \/tests/node_modules/snappy/node_modules/.bin/node-gyp\ \rebuild\ gyp ERR! cwd /tests/node_modules/snappy gyp ERR! node -v v9.11.1 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok  The test failed because of this. Could someone please help me out on this? It appears I am having a conflicting node versions here, how do I resolve this? </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/spiratest/issues-questions/1887.aspx</link><item><guid isPermaLink="false">threadId=1887</guid><author>soujanya bargavi (bargavi2307@gmail.com)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">selenium</category><category domain="http://www.inflectra.com/kronodesk/thread/tag">docker</category><category domain="http://www.inflectra.com/kronodesk/thread/tag">jenkins</category><title>Warning Error when running nodejs test with Dockers in Jenkins</title><description> While trying to run my test in Jenkins with the Jenkinsfile where my pipeline is defined using docker compose file, the test returned an error as contained below:  warning Error running install script for optional dependency: /tests/node_modules/snappy: Command failed. Exit code: 1  Selenium  Command: sh Arguments: -c ./node_modules/.bin/node-gyp rebuild Directory: /tests/node_modules/snappy Output: gyp info it worked if it ends with ok gyp info using node-gyp@3.4.0 gyp info using node@9.11.1 | linux | x64 gyp http GET  https://nodejs.org/download/release/v9.11.1/node-v9.11.1-headers.tar.gz  gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: connect ETIMEDOUT xxxx.xxxx.xxxxx gyp ERR! stack at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1174:14) gyp ERR! System Linux xxxxxxxxx.el7.x86_64 gyp ERR! command \/usr/local/bin/node\ \/tests/node_modules/snappy/node_modules/.bin/node-gyp\ \rebuild\ gyp ERR! cwd /tests/node_modules/snappy gyp ERR! node -v v9.11.1 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok  The test failed because of this. Could someone please help me out on this? It appears I am having a conflicting node versions here, how do I resolve this? </description><pubDate>Thu, 19 Jul 2018 07:34:42 -0400</pubDate><a10:updated>2020-08-08T10:58:10-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/1887.aspx</link></item><item><guid isPermaLink="false">messageId=3349</guid><author>Jim R (donotreply5@kronodesk.net)</author><title> Hi  I dont believe this relates to any of our products Im afraid?  If so, Id recommend logging a he</title><description> Hi  I dont believe this relates to any of our products Im afraid?  If so, Id recommend logging a help desk ticket with us.  Regards  Jim </description><pubDate>Thu, 19 Jul 2018 11:27:21 -0400</pubDate><a10:updated>2018-07-19T11:27:21-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/1887.aspx#reply3349</link></item></channel></rss>