Skip to content

9 tests fail: Fatal Python error: PyEval_AcquireThread: the function must be called with the GIL held, but the GIL is released (the current Python thread state is NULL) #3971

@yurivict

Description

@yurivict
90% tests passed, 9 tests failed out of 87

Total Test time (real) =  14.42 sec

The following tests FAILED:
          1 - src/Cache/PPCacheTest.IncludeChangeTolerance (Subprocess aborted)
          2 - src/CommandLine/CommandLineParserTest.WorkingDirectories1 (Subprocess aborted)
          3 - src/CommandLine/CommandLineParserTest.WorkingDirectories2 (Subprocess aborted)
          4 - src/CommandLine/CommandLineParserTest.WorkingDirectories3 (Subprocess aborted)
          5 - src/CommandLine/CommandLineParserTest.WorkingDirectories4 (Subprocess aborted)
         14 - src/Common/PlatformFileSystemTest.WorkingDirs_NonIdeal (Subprocess aborted)
         15 - src/Common/PlatformFileSystemTest.WorkingDirs_Ideal (Subprocess aborted)
         16 - src/Common/PlatformFileSystemTest.InMemoryTest (Subprocess aborted)
         17 - src/Common/PlatformFileSystemTest.PortableCacheTest (Subprocess aborted)
Errors while running CTest
Output from these tests are in: /usr/ports/cad/surelog/work/.build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
*** Error code 8

LastTest.log contains errors like these:

[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from CommandLineParserTest
[ RUN      ] CommandLineParserTest.WorkingDirectories3
Fatal Python error: PyEval_AcquireThread: the function must be called with the GIL held, but the GIL is released (the current Python thread state is NULL)
Python runtime state: unknown

[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from CommandLineParserTest
[ RUN      ] CommandLineParserTest.WorkingDirectories3
Fatal Python error: PyEval_AcquireThread: the function must be called with the GIL held, but the GIL is released (the current Python thread state is NULL)
Python runtime state: unknown

Version: 1.83
python310-3.10.14
FreeBSD 14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions