Description of problem: Create nodetime quickstart as follow README.md,but when git push,some error messages are shown,like remote: gyp WARN install got an error, rolling back install remote: gyp ERR! rebuild error Error: EXDEV, link '/usr/lib/node_modules/npm/node_modules/node-gyp/legacy/tools/gyp/gyptest.pyc' remote: gyp ERR! not ok Version-Release number of selected component (if applicable): https://github.com/openshift/nodefly-openshift-quickstart devenv_3262 How reproducible: Always Steps to Reproduce: 1.Create nodetime quickstart as follow https://github.com/openshift/nodefly-openshift-quickstart 2. 3. Actual results: [sunwei@dhcp-8-229 nodetime]$ gitpush [master e29a776] test 1 file changed, 1 insertion(+), 1 deletion(-) Counting objects: 5, done. Delta compression using up to 4 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 274 bytes, done. Total 3 (delta 2), reused 0 (delta 0) remote: Saving away previously installed Node modules remote: npm info it worked if it ends with ok remote: npm info using npm.37 remote: npm info using node.20 remote: npm info preinstall OpenShift-Sample-App.0 remote: npm info retry registry request attempt 1 at 05:57:22 remote: npm http GET https://registry.npmjs.org/nodetime remote: npm http 304 https://registry.npmjs.org/nodetime remote: npm info install nodetime.12 into /var/lib/openshift/8a154f06c38b11e28fab22000a976a34/app-root/runtime/repo remote: npm info installOne nodetime.12 remote: npm info /var/lib/openshift/8a154f06c38b11e28fab22000a976a34/app-root/runtime/repo/node_modules/nodetime unbuild remote: npm info preinstall nodetime.12 remote: npm info retry registry request attempt 1 at 05:57:29 remote: npm http GET https://registry.npmjs.org/nodetime-native/0.1.0 remote: npm http 304 https://registry.npmjs.org/nodetime-native/0.1.0 remote: npm info install nodetime-native.0 into /var/lib/openshift/8a154f06c38b11e28fab22000a976a34/app-root/runtime/repo/node_modules/nodetime remote: npm info installOne nodetime-native.0 remote: npm info /var/lib/openshift/8a154f06c38b11e28fab22000a976a34/app-root/runtime/repo/node_modules/nodetime/node_modules/nodetime-native unbuild remote: npm info preinstall nodetime-native.0 remote: npm info retry registry request attempt 1 at 05:57:29 remote: npm http GET https://registry.npmjs.org/bindings remote: npm http 304 https://registry.npmjs.org/bindings remote: npm info install bindings.0 into /var/lib/openshift/8a154f06c38b11e28fab22000a976a34/app-root/runtime/repo/node_modules/nodetime/node_modules/nodetime-native remote: npm info installOne bindings.0 remote: npm info /var/lib/openshift/8a154f06c38b11e28fab22000a976a34/app-root/runtime/repo/node_modules/nodetime/node_modules/nodetime-native/node_modules/bindings unbuild remote: npm info preinstall bindings.0 remote: npm info build /var/lib/openshift/8a154f06c38b11e28fab22000a976a34/app-root/runtime/repo/node_modules/nodetime/node_modules/nodetime-native/node_modules/bindings remote: npm info linkStuff bindings.0 remote: npm info install bindings.0 remote: npm info postinstall bindings.0 remote: npm info build /var/lib/openshift/8a154f06c38b11e28fab22000a976a34/app-root/runtime/repo/node_modules/nodetime/node_modules/nodetime-native remote: npm info linkStuff nodetime-native.0 remote: npm info install nodetime-native.0 remote: remote: > nodetime-native.0 install /var/lib/openshift/8a154f06c38b11e28fab22000a976a34/app-root/runtime/repo/node_modules/nodetime/node_modules/nodetime-native remote: > node-gyp rebuild remote: remote: gyp info it worked if it ends with ok remote: gyp info using node-gyp.2 remote: gyp info using node.20 remote: gyp http GET http://nodejs.org/dist/v0.6.20/node-v0.6.20.tar.gz remote: gyp http 200 http://nodejs.org/dist/v0.6.20/node-v0.6.20.tar.gz remote: gyp WARN install got an error, rolling back install remote: gyp ERR! rebuild error Error: EXDEV, link '/usr/lib/node_modules/npm/node_modules/node-gyp/legacy/tools/gyp/gyptest.pyc' remote: gyp ERR! not ok remote: npm info nodetime-native.0 Failed to exec install script remote: npm info /var/lib/openshift/8a154f06c38b11e28fab22000a976a34/app-root/runtime/repo/node_modules/nodetime/node_modules/nodetime-native unbuild remote: npm info preuninstall nodetime-native.0 remote: npm info uninstall nodetime-native.0 remote: npm info postuninstall nodetime-native.0 remote: npm WARN optional dep failed, continuing nodetime-native.0 remote: npm info build /var/lib/openshift/8a154f06c38b11e28fab22000a976a34/app-root/runtime/repo/node_modules/nodetime remote: npm info linkStuff nodetime.12 remote: npm info install nodetime.12 remote: npm info postinstall nodetime.12 remote: npm info build /var/lib/openshift/8a154f06c38b11e28fab22000a976a34/app-root/runtime/repo remote: npm info linkStuff OpenShift-Sample-App.0 remote: npm info install OpenShift-Sample-App.0 remote: npm info postinstall OpenShift-Sample-App.0 remote: npm info ok remote: nodetime.12 node_modules/nodetime To ssh://8a154f06c38b11e28fab22000a976a34.rhcloud.com/~/git/nodetime.git/ 577c3d1..e29a776 master -> master Expected results: Can git push successfully Additional info:
Our version of nodejs is old. This works fine when used with https://github.com/openshift/nodejs-custom-version-openshift
I am adding farmstand to this bug as they appear to be the same problem: Description of problem: Create farmstand-nodejs-mongodb-example quickstart as follow README.md.But failed to git push.It shows some error messages,like remote: Failed to execute: 'control build' for /var/lib/openshift/421340315062835938852864/nodejs: rc(1) Version-Release number of selected component (if applicable): devenv_3223 https://github.com/openshift/farmstand-nodejs-mongodb-example How reproducible: Always Steps to Reproduce: 1.Create quickstart as follow https://github.com/openshift/farmstand-nodejs-mongodb-example 2. 3. Actual results: 1.openshift@openshift-ubuntu:~/test/nd$ git push ----------skip--------------------- remote: gyp ERR! configure error Error: EXDEV, link '/usr/lib/node_modules/npm/node_modules/node-gyp/legacy/tools/gyp/gyptest.pyc' remote: gyp ERR! not ok remote: gmake: *** [node_gyp] Error 1 remote: child process exited with code 2 remote: npm info postinstall bson.5 remote: npm info build /var/lib/openshift/421340315062835938852864/app-root/runtime/repo/node_modules/mongodb remote: npm info linkStuff mongodb.11 remote: npm info install mongodb.11 remote: npm info postinstall mongodb.11 remote: npm ERR! remote: npm ERR! Additional logging details can be found in: remote: npm ERR! /var/lib/openshift/421340315062835938852864/app-root/runtime/repo/npm-debug.log remote: npm ERR! not ok code undefined remote: npm ERR! not ok code 1 remote: Failed to execute: 'control build' for /var/lib/openshift/421340315062835938852864/nodejs: rc(1) remote: stdout: #<IO:0x0000000150d2b8> remote: stderr#<IO:0x0000000150d240> remote: /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.9.1/lib/openshift-origin-node/model/v2_cart_model.rb:950:in `block in do_control_with_directory' remote: /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.9.1/lib/openshift-origin-node/model/v2_cart_model.rb:776:in `process_cartridges' remote: /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.9.1/lib/openshift-origin-node/model/v2_cart_model.rb:923:in `do_control_with_directory' remote: /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.9.1/lib/openshift-origin-node/model/v2_cart_model.rb:799:in `do_control' remote: /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.9.1/lib/openshift-origin-node/model/application_container.rb:502:in `build' remote: /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.9.1/lib/openshift-origin-node/model/default_builder.rb:37:in `post_receive' remote: /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.9.1/lib/openshift-origin-node/model/application_container.rb:421:in `post_receive' remote: /usr/bin/gear:133:in `block (3 levels) in <main>' remote: /usr/bin/gear:80:in `do_command' remote: /usr/bin/gear:132:in `block (2 levels) in <main>' remote: /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/command.rb:180:in `call' remote: /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/command.rb:180:in `call' remote: /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/command.rb:155:in `run' remote: /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/runner.rb:385:in `run_active_command' remote: /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/runner.rb:62:in `run!' remote: /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/delegates.rb:11:in `run!' remote: /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/import.rb:10:in `block in <top (required)>' Expected results: Can create it successfully Additional info:
The farmstand quickstart currently works with our nodejs cart, we had to bump the jquery version as well as fix the env variables. [1] The original description is misleading. Nodefly *DOES* work, but nodetime *DOES NOT* (as evidenced in the stack trace). There is a pull request in for nodetime to use the updated ENV variables. But as Mrunal pointed out, this will not work with our current nodejs version. [2] [1]: https://github.com/openshift/farmstand-nodejs-mongodb-example/commit/af6a6e82bb571bdc771dbd1af7589db8eead6b3c [2]: https://github.com/nodetime/nodetime-openshift-quickstart/pull/2
Need to retest .10 Nodejs
the original repo (https://github.com/openshift/nodefly-openshift-quickstart) no longer exists. the https://github.com/nodetime/nodetime-openshift-quickstart repo appears to be abandoned, the pull was never merged. i'm inclined to close this. QE is there anything else you'd like to do with it?
Since the original repo (https://github.com/openshift/nodefly-openshift-quickstart) no longer exists,close this bug is ok for me.