Skip to content

[parity] node:vm — 47 failing node-suite tests (2026-07-22 baseline) #6768

Description

@TheHypnoo

Part of the node-suite parity sweep of 2026-07-22 (full run: 3,815 tests, 3,019 pass, 79.1% — report test-parity/reports/parity_report_20260722_120605.json, oracle Node 26.5.0 per .node-version). Umbrella: #793.

node:vm has 47 failing test(s) in test-parity/node-suite/vm/.

Reproduce:

./run_parity_tests.sh --suite node-suite --module vm

Failing tests

  • node-suite/vm/api/descriptors — output mismatch
    • Node: Script: 0 true false true function
    • Perry: Script: 0 true true true function
  • node-suite/vm/api/exports-and-constants — output mismatch
    • Node: exports: Script:function,compileFunction:function,constants:object,createContext:function,createScript:function,isContext:function,measureMemory:function,runInContext:function,runInNewContext:function,runInThisContext:function
    • Perry: exports: Script:function,compileFunction:function,constants:object,createContext:function,createScript:function,isContext:function,measureMemory:function,runInContext:function,runInNewContext:function,runInThisContext:function
  • node-suite/vm/compile-function/arguments-and-receiver — output mismatch
    • Node: length: 2
    • Perry: length: 2
  • node-suite/vm/compile-function/context-extensions — output mismatch
    • Node: result: 27
    • Perry: result: NaN
  • node-suite/vm/compile-function/extension-precedence — output mismatch
    • Node: precedence: left:second:right:context
    • Perry: precedence: undefined:undefined:undefined:context
  • node-suite/vm/compile-function/syntax-errors — output mismatch
    • Node: unexpected token: SyntaxError -
    • Perry: unexpected token: ok
  • node-suite/vm/compile-function/to-string — output mismatch
    • Node: shape: true
    • Perry: shape: false
  • node-suite/vm/compile-function/validation — output mismatch
    • Node: missing code: TypeError ERR_INVALID_ARG_TYPE
    • Perry: missing code: TypeError ERR_INVALID_ARG_TYPE
  • node-suite/vm/context/code-generation-strings — output mismatch
    • Node: eval: EvalError -
    • Perry: eval: undefined
  • node-suite/vm/context/create-context-array — output mismatch
    • Node: identity: true
    • Perry: TypeError: The "object" argument must be of type object. Received an instance of Array
  • node-suite/vm/context/dont-contextify — output mismatch
    • Node: marker: true
    • Perry: marker: true
  • node-suite/vm/context/function-bindings — output mismatch
    • Node: declare: 15
    • Perry: declare: NaN
  • node-suite/vm/context/global-object-forwarding — output mismatch
    • Node: identity: false
    • Perry: identity: true
  • node-suite/vm/context/microtask-mode — output mismatch
    • Node: after evaluate: 2
    • Perry: after evaluate: 1
  • node-suite/vm/context/options-validation — output mismatch
    • Node: codeGeneration null: TypeError ERR_INVALID_ARG_TYPE
    • Perry: codeGeneration null: ok
  • node-suite/vm/context/properties/define-property — output mismatch
    • Node: values: 8 20
    • Perry: values: undefined undefined
  • node-suite/vm/context/properties/deletion — output mismatch
    • Node: delete result: true
    • Perry: delete result: undefined
  • node-suite/vm/context/properties/descriptors — output mismatch
    • Node: value: 7
    • Perry: value: undefined
  • node-suite/vm/context/properties/non-writable — output mismatch
    • Node: sloppy: 11
    • Perry: sloppy: TypeError -
  • node-suite/vm/context/properties/own-key-enumeration — output mismatch
    • Node: keys: true false
    • Perry: keys: undefined undefined
  • node-suite/vm/context/properties/symbol-keys — output mismatch
    • Node: forwarded symbols: true true
    • Perry: forwarded symbols: undefined undefined
  • node-suite/vm/context/run-new-code-generation — output mismatch
    • Node: disabled: EvalError -
    • Perry: disabled: ok
  • node-suite/vm/cross-context/builtin-identity — output mismatch
    • Node: Object: function false
    • Perry: Object: undefined false
  • node-suite/vm/cross-context/descriptors — output mismatch
    • Node: flags: true true true
    • Perry: flags: undefined undefined undefined
  • node-suite/vm/cross-context/promises — output mismatch
    • Node: thenable: function false
    • Perry: thenable: undefined false
  • node-suite/vm/cross-context/structured-values — output mismatch
    • Node: object: 1 false
    • Perry: object: 1 true
  • node-suite/vm/execution/context-lexicals — output mismatch
    • Node: declare: 7
    • Perry: declare: 7
  • node-suite/vm/execution/create-script-alias — output mismatch
    • Node: instances: true true
    • Perry: instances: false false
  • node-suite/vm/execution/function-receiver — output mismatch
    • Node: main undefined call: true
    • Perry: main undefined call: true
  • node-suite/vm/execution/run-in-context-mutations — output mismatch
    • Node: first: 2
    • Perry: first: 2
  • node-suite/vm/execution/run-in-new-isolation — output mismatch
    • Node: result: undefined:undefined
    • Perry: result: undefined:undefined
  • node-suite/vm/execution/run-in-this-bindings — output mismatch
    • Node: read: 4
    • Perry: read: 4
  • node-suite/vm/modules/constructor-validation — output mismatch
    • Node: source call: TypeError -
    • Perry: source call: ok
  • node-suite/vm/modules/context-and-namespace — output mismatch
    • Node: initial: unlinked context-module
    • Perry: initial: unlinked context-module
  • node-suite/vm/modules/evaluation-error — output mismatch
    • Node: evaluate: TypeError -
    • Perry: evaluate: ok
  • node-suite/vm/modules/lifecycle — output mismatch
    • Node: module keys Module,SourceTextModule,SyntheticModule
    • Perry: module keys Module,SourceTextModule,SyntheticModule
  • node-suite/vm/modules/repeated-evaluate — output mismatch
    • Node: first promise: function
    • Perry: first promise: undefined
  • node-suite/vm/modules/source-syntax-errors — output mismatch
    • Node: export: SyntaxError -
    • Perry: export: ok
  • node-suite/vm/script/constructor-validation — output mismatch
    • Node: call: TypeError -
    • Perry: call: TypeError -
  • node-suite/vm/script/display-errors — output mismatch
    • Node: display true: RangeError - true
    • Perry: display true: ok
  • node-suite/vm/script/error-metadata — output mismatch
    • Node: syntax filename: SyntaxError - true
    • Perry: syntax filename: ok
  • node-suite/vm/script/fresh-contexts — output mismatch
    • Node: fresh: 1 1
    • Perry: fresh: undefined undefined
  • node-suite/vm/script/run-options-validation — output mismatch
    • Node: this options: TypeError ERR_INVALID_ARG_TYPE
    • Perry: this options: ok
  • node-suite/vm/script/string-filename-option — output mismatch
    • Node: Script: true
    • Perry: Script: false
  • node-suite/vm/validation/code-and-options — output mismatch
    • Node: Script code: ok
    • Perry: Script code: ok
  • node-suite/vm/validation/create-context — output mismatch
    • Node: sandbox null: TypeError ERR_INVALID_ARG_TYPE
    • Perry: sandbox null: TypeError ERR_INVALID_ARG_TYPE
  • node-suite/vm/validation/is-context — output mismatch
    • Node: undefined: TypeError ERR_INVALID_ARG_TYPE
    • Perry: undefined: false

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    parityCompatibility gap with Node.js, ECMAScript, or the supported ecosystem

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions