Skip to content
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

mips failures for parallel/test-buffer-write(float|double) #20336

Closed
kapouer opened this issue Apr 26, 2018 · 13 comments
Closed

mips failures for parallel/test-buffer-write(float|double) #20336

kapouer opened this issue Apr 26, 2018 · 13 comments
Labels
mips Issues and PRs related to the MIPS architecture.

Comments

@kapouer
Copy link
Contributor

kapouer commented Apr 26, 2018

When building nodejs 10.0.0 on this debian build server
these tests fail:
parallel/test-buffer-writefloat
parallel/test-buffer-writedouble

full log here

@kapouer
Copy link
Contributor Author

kapouer commented Apr 26, 2018

Other logs are available here. It is probably worth waiting the mipsel build before investigating.

@kapouer
Copy link
Contributor Author

kapouer commented Apr 26, 2018

Two other tests fail on mips arch:
sequential/test-performance
parallel/test-cli-node-options

(all failures related to eslint are because there's no eslint module around).

@richardlau
Copy link
Member

(all failures related to eslint are because there's no eslint module around).

Looks like we missed some tests in #18807.

@richardlau richardlau added the mips Issues and PRs related to the MIPS architecture. label Apr 27, 2018
@richardlau
Copy link
Member

#20372 should address the eslint failures.

@BridgeAR
Copy link
Member

@kapouer would you be so kind and run this once for me on mips and show me the output:

const buffer = Buffer.alloc(8);
buffer.writeDoubleBE(NaN, 0);
console.log(buffer);

@kapouer
Copy link
Contributor Author

kapouer commented Apr 27, 2018

Unfortunately i can't run the code on the same server, i can have access only to that server. Where it results in (for both node 8.11 and 10.0):

> const buffer = Buffer.alloc(8);
undefined
> buffer.writeDoubleBE(NaN, 0);
8
> console.log(buffer);
<Buffer 7f f7 ff ff ff ff ff ff>

@BridgeAR
Copy link
Member

@kapouer thanks a lot. Fix incoming.

@BridgeAR BridgeAR mentioned this issue Apr 27, 2018
4 tasks
@BridgeAR
Copy link
Member

Now there is only the CLI test that should still fail. The question is what option it is that is not implemented. I guess it is --perf-prof. @kapouer would you mind checking that out?

@kapouer
Copy link
Contributor Author

kapouer commented Apr 28, 2018

Sure ! Indeed --perf-prof breaks with

node --perf-prof
#
# Fatal error in , line 0
# unimplemented code
#
#
#
#FailureMessage Object: 0x7f97d284Trace/breakpoint trap

@BridgeAR
Copy link
Member

@kapouer would you be so kind and test the tests with #20377 applied? All but the eslint tests should pass with that patch.

@kapouer
Copy link
Contributor Author

kapouer commented Apr 28, 2018

@BridgeAR both failures (buffer NaN and --perf-prof) fail on mipsel too when testing with nodejs 8.11.

@BridgeAR
Copy link
Member

With the NaN failures I guess you mean the value is represented as <Buffer 7f f7 ff ff ff ff ff ff>? That is expected and has something to do with mips and not with Node.js. We just have to fix the test again.

richardlau added a commit to richardlau/node-1 that referenced this issue May 8, 2018
Add a custom eslint rule to check for `common.skipIfEslintMissing()` to
allow tests to run from source tarballs that do not include eslint.

Fix up rule tests that were failing the new check.

Refs: nodejs#20336

PR-URL: nodejs#20372
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@richardlau
Copy link
Member

Failing tests addressed between #20372 and #20377.

MylesBorins pushed a commit that referenced this issue May 8, 2018
Add a custom eslint rule to check for `common.skipIfEslintMissing()` to
allow tests to run from source tarballs that do not include eslint.

Fix up rule tests that were failing the new check.

Refs: #20336

PR-URL: #20372
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this issue May 8, 2018
Add a custom eslint rule to check for `common.skipIfEslintMissing()` to
allow tests to run from source tarballs that do not include eslint.

Fix up rule tests that were failing the new check.

Refs: #20336

PR-URL: #20372
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this issue May 9, 2018
Add a custom eslint rule to check for `common.skipIfEslintMissing()` to
allow tests to run from source tarballs that do not include eslint.

Fix up rule tests that were failing the new check.

Refs: #20336

PR-URL: #20372
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mips Issues and PRs related to the MIPS architecture.
Projects
None yet
Development

No branches or pull requests

3 participants