nodejitsu / module-foundry

A web service for building node.js modules that runs on Linux, SmartOS and Windows.
MIT License
80 stars 8 forks source link

Stream dies #22

Closed Swaagie closed 10 years ago

Swaagie commented 10 years ago

Upload is ok, but foundry dies just after that. The offending content seems to come from the drone though. As that theme content is not fetched to the drone until after npm start. Seems like some sort of race condition. Snapshot was created, but not found when I tried to destroy it.

upload ok! swaagie-persistent-ghost-0.2.0.tgz
Removing: /root/tmp/tmp-6138255oyzog
Removed: /root/tmp/tmp-6138255oyzog

stream.js:94
      throw er; // Unhandled stream error in pipe.
            ^
Error: ENOENT, readdir '/root/tmp/tmp-6138255oyzog/build/package/node_modules/ghost/content/themes/casper/assets/fonts'
error: Forever detected script exited with code: 8
error: Forever restarting script for 10 time
LISTENING
data:    0.1.0-8 active   12/13 15:26:46 GMT+0100 ea543e9a076027a00fe4327aff018353 
data:    0.2.0   archived 01/22 14:58:18 GMT+0100 b15dd2c42279e6cc8c5a116e05fa9b1e 
prompt: Snapshot Name:  0.2.0
error:   Error running command snapshots destroy
error:   rackspace Error (404): Item not found
error:   Nodejitsu Error (500): Internal Server Error
help:    For help with this error contact Nodejitsu Support:
help:      webchat: <http://webchat.nodejitsu.com/>
help:          irc: <irc://chat.freenode.net/#nodejitsu>
help:        email: <support@nodejitsu.com>
help:    
help:      Copy and paste this output to a gist (http://gist.github.com/)
info:    Nodejitsu not ok

On an earlier occassion the snapshot was not created at all, error seems similar.

node-salesforce@0.6.4 node_modules/node-salesforce
├── async@0.1.22
├── q@0.9.7
├── underscore@1.4.4
├── request@2.12.0
├── faye@0.8.9 (cookiejar@1.3.0, faye-websocket@0.7.2)
└── xml2json@0.3.2 (node-expat@2.0.0)

stream.js:94
      throw er; // Unhandled stream error in pipe.
            ^
Error: ENOENT, lstat '/root/tmp/tmp-56237fc9vuq8/build/package/node_modules/mongoose/docs/images/apps/nextdays.png'
error: Forever detected script exited with code: 8
error: Forever restarting script for 9 time
LISTENING
jcrugzz commented 10 years ago

@Swaagie was this in prod or staging?

jcrugzz commented 10 years ago

Hmm seems like its somewhere in module-smith, quite an obscure bug though. This may be fixed since @indexzero did the refactor. I will need to deploy that version to prod soon.

indexzero commented 10 years ago

This is fixed