Skip to content

strict.test_memprof_requirements regression #25584

@juj

Description

@juj

Looks like maybe #25573 or #25576 regressed test strict.test_memprof_requirements.

======================================================================
FAIL: test_memprof_requirements (test_core.strict.test_memprof_requirements)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/clb/.pyenv/versions/3.13.3/lib/python3.13/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/home/clb/.pyenv/versions/3.13.3/lib/python3.13/unittest/case.py", line 651, in run
    self._callTestMethod(testMethod)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/home/clb/.pyenv/versions/3.13.3/lib/python3.13/unittest/case.py", line 606, in _callTestMethod
    if method() is not None:
       ~~~~~~^^
  File "/home/clb/buildbot/h12dsi-linux-mint22/emscripten_linux_x64/build/emscripten/main/test/test_core.py", line 8602, in test_memprof_requirements
    self.do_runf('hello_world.c', 'able to run memprof', cflags=['--memoryprofiler', '--pre-js=pre.js'])
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/clb/buildbot/h12dsi-linux-mint22/emscripten_linux_x64/build/emscripten/main/test/common.py", line 2058, in do_runf
    return self._build_and_run(filename, expected_output, **kwargs)
           ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/clb/buildbot/h12dsi-linux-mint22/emscripten_linux_x64/build/emscripten/main/test/common.py", line 2106, in _build_and_run
    js_output = self.run_js(js_file, engine, args,
                            input=input,
                            assert_returncode=assert_returncode,
                            interleaved_output=interleaved_output)
  File "/home/clb/buildbot/h12dsi-linux-mint22/emscripten_linux_x64/build/emscripten/main/test/common.py", line 1685, in run_js
    self.fail('JS subprocess failed (%s): %s (expected=%s).  Output:\n%s' % (error.cmd, error.returncode, assert_returncode, ret))
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/clb/.pyenv/versions/3.13.3/lib/python3.13/unittest/case.py", line 732, in fail
    raise self.failureException(msg)
AssertionError: JS subprocess failed (/home/clb/buildbot/h12dsi-linux-mint22/emscripten_linux_x64/build/node/22.16.0_64bit/bin/node --stack-trace-limit=50 --trace-uncaught /tmp/emtest_bd65eivm/emscripten_test_strict_q4tceged/hello_world.js): 1 (expected=0).  Output:
Aborted(`Module.onRuntimeInitialized` was supplied but `onRuntimeInitialized` not included in INCOMING_MODULE_JS_API)
/tmp/emtest_bd65eivm/emscripten_test_strict_q4tceged/hello_world.js:1200
  throw e;
  ^

RuntimeError: Aborted(`Module.onRuntimeInitialized` was supplied but `onRuntimeInitialized` not included in INCOMING_MODULE_JS_API)
    at abort (/tmp/emtest_bd65eivm/emscripten_test_strict_q4tceged/hello_world.js:1195:11)
    at ignoredModuleProp (/tmp/emtest_bd65eivm/emscripten_test_strict_q4tceged/hello_world.js:375:5)
    at checkIncomingModuleAPI (/tmp/emtest_bd65eivm/emscripten_test_strict_q4tceged/hello_world.js:2118:3)
    at Object.<anonymous> (/tmp/emtest_bd65eivm/emscripten_test_strict_q4tceged/hello_world.js:1696:3)
    at Module._compile (node:internal/modules/cjs/loader:1730:14)
    at Object..js (node:internal/modules/cjs/loader:1895:10)
    at Module.load (node:internal/modules/cjs/loader:1465:32)
    at Function._load (node:internal/modules/cjs/loader:1282:12)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
    at node:internal/main/run_main_module:36:49
Thrown at:
    at abort (/tmp/emtest_bd65eivm/emscripten_test_strict_q4tceged/hello_world.js:1195:11)
    at ignoredModuleProp (/tmp/emtest_bd65eivm/emscripten_test_strict_q4tceged/hello_world.js:375:5)
    at checkIncomingModuleAPI (/tmp/emtest_bd65eivm/emscripten_test_strict_q4tceged/hello_world.js:2118:3)
    at /tmp/emtest_bd65eivm/emscripten_test_strict_q4tceged/hello_world.js:1696:3
    at node:internal/modules/cjs/loader:1730:14
    at node:internal/modules/cjs/loader:1895:10
    at node:internal/modules/cjs/loader:1465:32
    at node:internal/modules/cjs/loader:1282:12
    at traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)


Node.js v22.16.0


----------------------------------------------------------------------
Ran 1127 tests in 16.442s

FAILED (failures=1, skipped=207)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions