-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
cryptoIssues and PRs related to the crypto subsystem.Issues and PRs related to the crypto subsystem.flaky-testIssues and PRs related to the tests with unstable failures on the CI.Issues and PRs related to the tests with unstable failures on the CI.
Description
pummel/test-crypto-timing-safe-equal-benchmarks
seems to fail frequently on LinuxONE. That's often a sign that a test (or some Node.js internal code) is not prepared to run on very fast CPUs. (In CI, our LinuxONE host is very fast and often finds race conditions of the "oh, I didn't expect it to run that quickly" variety).
Is this a bug in crypto
? A bug in the test? Something else?
@nodejs/crypto @nodejs/testing
Doesn't seem to be a LinuxONE platform team so pinging a few IBM/Red Hat folks who are active in the Build team: @richardlau @AshCripps @mhdawson Probably not the exact right people, but they probably know who to loop in.
- Test: test-crypto-timing-safe-equal-benchmarks
- Platform: linuxone
- Console Output:
00:09:15 not ok 2944 pummel/test-crypto-timing-safe-equal-benchmarks
00:09:18 ---
00:09:18 duration_ms: 2.136
00:09:18 severity: fail
00:09:18 exitcode: 1
00:09:18 stack: |-
00:09:18 node:assert:402
00:09:18 throw err;
00:09:18 ^
00:09:18
00:09:18 AssertionError [ERR_ASSERTION]: timingSafeEqual should not leak information from its execution time (t=5.715867808741522)
00:09:18 at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-linuxone/nodes/rhel7-s390x/test/pummel/test-crypto-timing-safe-equal-benchmarks.js:109:1)
00:09:18 at Module._compile (node:internal/modules/cjs/loader:1108:14)
00:09:18 at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
00:09:18 at Module.load (node:internal/modules/cjs/loader:988:32)
00:09:18 at Function.Module._load (node:internal/modules/cjs/loader:828:14)
00:09:18 at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)
00:09:18 at node:internal/main/run_main_module:17:47 {
00:09:18 generatedMessage: false,
00:09:18 code: 'ERR_ASSERTION',
00:09:18 actual: false,
00:09:18 expected: true,
00:09:18 operator: '=='
00:09:18 }
00:09:18 ...
Metadata
Metadata
Assignees
Labels
cryptoIssues and PRs related to the crypto subsystem.Issues and PRs related to the crypto subsystem.flaky-testIssues and PRs related to the tests with unstable failures on the CI.Issues and PRs related to the tests with unstable failures on the CI.