-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interoperability between [email protected] and [email protected] #4250
Comments
Also, run tests on js-ipfs-api just to double check and all good there. |
The go daemon would randomly die (no errors, it looks like it just shut down) but I think it was an issue with running the tests repeatedly (while the repo tests repeatedly failed). I'm guessing daemons or random files were getting left around from previous test runs. |
@Stebalien can you reproduce it? You will be able to |
Well, it doesn't look like anything is getting left behind but I still get the failure occasionally: stdout> [email protected] test:interop /home/steb/projects/go/src/github.com/ipfs/js-ipfs > npm run test:interop:node log 10 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'test:interop:node' ] 2 info using [email protected] 3 info using [email protected] 4 verbose run-script [ 'pretest:interop:node', 4 verbose run-script 'test:interop:node', 4 verbose run-script 'posttest:interop:node' ] 5 info lifecycle [email protected]~pretest:interop:node: [email protected] 6 info lifecycle [email protected]~test:interop:node: [email protected] 7 verbose lifecycle [email protected]~test:interop:node: unsafe-perm in lifecycle true 8 verbose lifecycle [email protected]~test:interop:node: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/steb/projects/go/src/github.com/ipfs/js-ipfs/node_modules/.bin:/usr/lib/node_modules/npm/bin/node-gyp-bin:/home/steb/projects/go/src/github.com/ipfs/js-ipfs/node_modules/.bin:/home/steb/.config/spacemacs/bin:/home/steb/projects/go/bin:/home/steb/.local/bin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl 9 verbose lifecycle [email protected]~test:interop:node: CWD: /home/steb/projects/go/src/github.com/ipfs/js-ipfs 10 silly lifecycle [email protected]~test:interop:node: Args: [ '-c', 'mocha -t 60000 test/interop/node.js' ] 11 silly lifecycle [email protected]~test:interop:node: Returned: code: 9 signal: null 12 info lifecycle [email protected]~test:interop:node: Failed to exec test:interop:node script 13 verbose stack Error: [email protected] test:interop:node: `mocha -t 60000 test/interop/node.js` 13 verbose stack Exit status 9 13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:289:16) 13 verbose stack at emitTwo (events.js:125:13) 13 verbose stack at EventEmitter.emit (events.js:213:7) 13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14) 13 verbose stack at emitTwo (events.js:125:13) 13 verbose stack at ChildProcess.emit (events.js:213:7) 13 verbose stack at maybeClose (internal/child_process.js:927:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5) 14 verbose pkgid [email protected] 15 verbose cwd /home/steb/projects/go/src/github.com/ipfs/js-ipfs 16 verbose Linux 4.13.2-1-hardened 17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "test:interop:node" 18 verbose node v8.5.0 19 verbose npm v5.3.0 20 error code ELIFECYCLE 21 error errno 9 22 error [email protected] test:interop:node: `mocha -t 60000 test/interop/node.js` 22 error Exit status 9 23 error Failed at the [email protected] test:interop:node script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 9, true ] log 20 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'test:interop' ] 2 info using [email protected] 3 info using [email protected] 4 verbose run-script [ 'pretest:interop', 'test:interop', 'posttest:interop' ] 5 info lifecycle [email protected]~pretest:interop: [email protected] 6 info lifecycle [email protected]~test:interop: [email protected] 7 verbose lifecycle [email protected]~test:interop: unsafe-perm in lifecycle true 8 verbose lifecycle [email protected]~test:interop: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/steb/projects/go/src/github.com/ipfs/js-ipfs/node_modules/.bin:/home/steb/.config/spacemacs/bin:/home/steb/projects/go/bin:/home/steb/.local/bin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl 9 verbose lifecycle [email protected]~test:interop: CWD: /home/steb/projects/go/src/github.com/ipfs/js-ipfs 10 silly lifecycle [email protected]~test:interop: Args: [ '-c', 'npm run test:interop:node' ] 11 silly lifecycle [email protected]~test:interop: Returned: code: 9 signal: null 12 info lifecycle [email protected]~test:interop: Failed to exec test:interop script 13 verbose stack Error: [email protected] test:interop: `npm run test:interop:node` 13 verbose stack Exit status 9 13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:289:16) 13 verbose stack at emitTwo (events.js:125:13) 13 verbose stack at EventEmitter.emit (events.js:213:7) 13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14) 13 verbose stack at emitTwo (events.js:125:13) 13 verbose stack at ChildProcess.emit (events.js:213:7) 13 verbose stack at maybeClose (internal/child_process.js:927:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5) 14 verbose pkgid [email protected] 15 verbose cwd /home/steb/projects/go/src/github.com/ipfs/js-ipfs 16 verbose Linux 4.13.2-1-hardened 17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "test:interop" 18 verbose node v8.5.0 19 verbose npm v5.3.0 20 error code ELIFECYCLE 21 error errno 9 22 error [email protected] test:interop: `npm run test:interop:node` 22 error Exit status 9 23 error Failed at the [email protected] test:interop script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 9, true ] |
Note: I commented out the repo tests here. |
Another failure stdout> [email protected] test:interop /home/steb/projects/go/src/github.com/ipfs/js-ipfs > npm run test:interop:node One interesting thing I've noticed is that these failures tend to happen in runs. |
I'm seeing this error currently - the node modules are up to date. Its totally reproducable, the file is at https://dweb.me/examples/example_academic.html?verbose=true and errors show up in the console (with the verbose option set like this). |
Narrowing this down to just one line: So until this is fixed maybe use that specific github commit. |
@mitra42 these errors are unrelated. This is about js<->go interop, not the repo version change in js-ipfs master. |
@Stebalien reported during the last all hands that he has seen file transfer errors between latest go-ipfs and latest js-ipfs.
I've been unable to reproduce these locally. The only failing tests I see are due to a repo version update:
@Stebalien were there any other errors? If yes, how to reproduce them? What is your testing environment?
The text was updated successfully, but these errors were encountered: