Bug report
Bug description:
Bug report
Bug description:
Configuration:
./configure --with-pydebug
Test:
./python -m test test_cmd_line -v
Output:
======================================================================FAIL: test_pythonmalloc (test.test_cmd_line.CmdLineTest.test_pythonmalloc) (env_var='mimalloc', name='mimalloc')
----------------------------------------------------------------------Traceback (mostrecentcalllast):
File"/home/user/cpython/Lib/test/test_cmd_line.py", line845, intest_pythonmallocself.check_pythonmalloc(env_var, name)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^File"/home/user/cpython/Lib/test/test_cmd_line.py", line811, incheck_pythonmallocself.assertEqual(proc.stdout.rstrip(), name)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^AssertionError: 'mimalloc: warning: unable to directly request hin[119 chars]lloc'!='mimalloc'-mimalloc: warning: unabletodirectlyrequesthintedalignedOSmemory (error: 2 (0x2), size: 0x40000000bytes, alignment: 0x2000000, hintaddress: 0x20000000000)
mimalloc======================================================================FAIL: test_pythonmalloc (test.test_cmd_line.CmdLineTest.test_pythonmalloc) (env_var='mimalloc_debug', name='mimalloc_debug')
----------------------------------------------------------------------Traceback (mostrecentcalllast):
File"/home/user/cpython/Lib/test/test_cmd_line.py", line845, intest_pythonmallocself.check_pythonmalloc(env_var, name)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^File"/home/user/cpython/Lib/test/test_cmd_line.py", line811, incheck_pythonmallocself.assertEqual(proc.stdout.rstrip(), name)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^AssertionError: 'mimalloc: warning: unable to directly request hin[125 chars]ebug'!='mimalloc_debug'-mimalloc: warning: unabletodirectlyrequesthintedalignedOSmemory (error: 2 (0x2), size: 0x40000000bytes, alignment: 0x2000000, hintaddress: 0x20000000000)
mimalloc_debug----------------------------------------------------------------------Ran56testsin26.843sFAILED (failures=2, skipped=2)
testtest_cmd_linefailedtest_cmd_linefailed (2failures)
==Testsresult: FAILURE==1testfailed:
test_cmd_lineTotalduration: 27.3secTotaltests: run=56failures=2skipped=2Totaltestfiles: run=1/1failed=1Result: FAILURE
Environment:
user@starfive:~/cpython$ uname -a
Linux starfive 5.15.0-starfive #1 SMP Fri Nov 24 07:22:28 UTC 2023 riscv64 GNU/Linux
CPython versions tested on:
CPython main branch
Operating systems tested on:
Other
Bug report
Bug description:
Bug report
Bug description:
Configuration:
Test:
./python -m test test_cmd_line -vOutput:
Environment:
CPython versions tested on:
CPython main branch
Operating systems tested on:
Other