chipsalliance / chipsalliance/Surelog

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)

Open
#3,971 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
475
Forks
90
Avg merge
1h 39m
Merged PRs (30d)
37

Description

```
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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.