Skip to content

test,crypto: sequential/test-crypto-timing-safe-equal-benchmarks flaky locally #8744

Description

@bnoordhuis

Running make test on master I occasionally get this:

=== release test-crypto-timing-safe-equal-benchmarks ===                       
Path: sequential/test-crypto-timing-safe-equal-benchmarks
assert.js:85
  throw new assert.AssertionError({
  ^
AssertionError: Buffer#equals should leak information from its execution time (t=3.868786978019678)
    at Object.<anonymous> (/home/bnoordhuis/src/v1.x/test/sequential/test-crypto-timing-safe-equal-benchmarks.js:120:1)
    at Module._compile (module.js:560:32)
    at Object.Module._extensions..js (module.js:569:10)
    at Module.load (module.js:477:32)
    at tryModuleLoad (module.js:436:12)
    at Function.Module._load (module.js:428:3)
    at Module.runMain (module.js:594:10)
    at run (bootstrap_node.js:382:7)
    at startup (bootstrap_node.js:137:9)
    at bootstrap_node.js:497:3

cc @not-an-aardvark

Metadata

Metadata

Assignees

No one assigned

    Labels

    cryptoIssues and PRs related to the crypto subsystem.testIssues and PRs related to Node.js core tests and test infrastructure.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions