Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

fxa-content-server Travis build is failing #100

Closed
pdehaan opened this issue Dec 6, 2013 · 3 comments
Closed

fxa-content-server Travis build is failing #100

pdehaan opened this issue Dec 6, 2013 · 3 comments

Comments

@pdehaan
Copy link
Contributor

pdehaan commented Dec 6, 2013

https://travis-ci.org/mozilla/fxa-content-server/builds/15053643

Soft error around line 1277:

make: *** [Release/obj.target/bigint/bigint.o] Error 1
make: Leaving directory `/home/travis/build/mozilla/fxa-content-server/node_modules/jwcrypto/node_modules/bigint/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/travis/.nvm/v0.10.22/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Linux 2.6.32-042stab079.5
gyp ERR! command "node" "/home/travis/.nvm/v0.10.22/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /home/travis/build/mozilla/fxa-content-server/node_modules/jwcrypto/node_modules/bigint
gyp ERR! node -v v0.10.22
gyp ERR! node-gyp -v v0.11.0
gyp ERR! not ok 
npm WARN optional dep failed, continuing bigint@0.4.2

Hard error around line 1455:

> fxa-content-server@0.0.0 postinstall /home/travis/build/mozilla/fxa-content-server
> node ./scripts/postinstall.js
module.js:340
    throw err;
          ^
Error: Cannot find module '/home/travis/build/mozilla/fxa-content-server/scripts/postinstall.js'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:901:3
npm ERR! fxa-content-server@0.0.0 postinstall: `node ./scripts/postinstall.js`
npm ERR! Exit status 8
npm ERR! 
npm ERR! Failed at the fxa-content-server@0.0.0 postinstall script.
npm ERR! This is most likely a problem with the fxa-content-server package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./scripts/postinstall.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls fxa-content-server
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 2.6.32-042stab079.5
npm ERR! command "/home/travis/.nvm/v0.10.22/bin/node" "/home/travis/.nvm/v0.10.22/bin/npm" "install" "--production"
npm ERR! cwd /home/travis/build/mozilla/fxa-content-server
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.14
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/travis/build/mozilla/fxa-content-server/npm-debug.log
npm ERR! not ok code 0
The command "npm install --production" failed and exited with 1 during install.
Your build has been stopped.
@pdehaan
Copy link
Contributor Author

pdehaan commented Dec 6, 2013

This may be related to @zaach's "remove all the unused things" refactor:
afbe4e4

@pdehaan
Copy link
Contributor Author

pdehaan commented Dec 6, 2013

It looks like we're also seeing Travis build timeouts...

Build 103 (master) took about 4:06 and passed: https://travis-ci.org/mozilla/fxa-content-server/builds/14633332
Build 106 (develop) took about 4:26 and passed: https://travis-ci.org/mozilla/fxa-content-server/builds/14941401
Build 107 (remove_all_the_things) took about 50:03 and timed out: https://travis-ci.org/mozilla/fxa-content-server/builds/14941512
...

So it looks like something in 40aff58 is causing the Travis builds to stall.

Build 107 log (line 1699):

Sauce Connect installed correctly
Opening local tunnel using Sauce Connect
19:36:00.769Z TRACE fxa-auth-server:  (op=stat, stat=mem, rss=42848256, heapTotal=34235136, heapUsed=21285544)
19:36:15.770Z TRACE fxa-auth-server:  (op=stat, stat=mem, rss=42848256, heapTotal=34235136, heapUsed=21295544)
19:36:30.772Z TRACE fxa-auth-server:  (op=stat, stat=mem, rss=42848256, heapTotal=34235136, heapUsed=21305512)
19:36:45.774Z TRACE fxa-auth-server:  (op=stat, stat=mem, rss=42852352, heapTotal=34235136, heapUsed=21319072)
Testing tunnel ready
Initialised firefox 23.0.1 on LINUX
19:37:00.775Z TRACE fxa-auth-server:  (op=stat, stat=mem, rss=42852352, heapTotal=34235136, heapUsed=21329016)
Initialised firefox 23.0.1 on XP
19:37:15.775Z TRACE fxa-auth-server:  (op=stat, stat=mem, rss=42852352, heapTotal=34235136, heapUsed=21338704)
19:37:30.775Z TRACE fxa-auth-server:  (op=stat, stat=mem, rss=42852352, heapTotal=34235136, heapUsed=21348584)
19:37:45.777Z TRACE fxa-auth-server:  (op=stat, stat=mem, rss=42852352, heapTotal=34235136, heapUsed=21358464)
19:38:00.777Z TRACE fxa-auth-server:  (op=stat, stat=mem, rss=42852352, heapTotal=34235136, heapUsed=21368088)
19:38:15.777Z TRACE fxa-auth-server:  (op=stat, stat=mem, rss=42852352, heapTotal=34235136, heapUsed=21377744)

Build 103 log (line 1772):

Sauce Connect installed correctly
Opening local tunnel using Sauce Connect
00:35:16.694Z TRACE fxa-auth-server:  (op=stat, stat=mem, rss=40558592, heapTotal=51012352, heapUsed=15866224)
00:35:31.694Z TRACE fxa-auth-server:  (op=stat, stat=mem, rss=40558592, heapTotal=51012352, heapUsed=15875952)
00:35:46.723Z TRACE fxa-auth-server:  (op=stat, stat=mem, rss=35119104, heapTotal=51012352, heapUsed=15889176)
00:36:01.726Z TRACE fxa-auth-server:  (op=stat, stat=mem, rss=35708928, heapTotal=51012352, heapUsed=15899168)
Testing tunnel ready
Initialised firefox 23.0.1 on LINUX
Initialised firefox 23.0.1 on XP
00:36:16.726Z TRACE fxa-auth-server:  (op=stat, stat=mem, rss=35725312, heapTotal=51012352, heapUsed=15908904)
00:36:19.623Z  INFO fxa-auth-server:  (op=server.onRequest, rid=1385598979618-1589-28436, path=/v1/account/create)
00:36:19.625Z TRACE fxa-auth-server:  (op=server.onPreHandler, rid=1385598979618-1589-28436, path=/v1/account/create, auth=false, uid=null, payload=null)
00:36:19.628Z TRACE fxa-auth-server:  (op=server.onPreResponse, rid=1385598979618-1589-28436, path=/v1/account/create, response={})
00:36:19.641Z  INFO fxa-auth-server:  (op=server.response, rid=1385598979618-1589-28436, path=/v1/account/create, t=23)
00:36:20.361Z  INFO fxa-auth-server:  (op=server.onRequest, rid=1385598980361-1589-44196, path=/v1/account/create)

It doesn't look like the recent fxa-content-server "remove postinstall" patch resolves this issue since that build is currently at 44:28.

@pdehaan
Copy link
Contributor Author

pdehaan commented Dec 6, 2013

OK, looks like Travis is no longer reporting errors (per https://travis-ci.org/mozilla/fxa-content-server/builds/15057208 -- per 2592731), but I'm still seeing 50:00 timeouts. I'll file a separate bug for the Travis timeouts and close this as fixed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant