You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building wangle version 2024.03.11.00 on a RPi4 running NixOS, I ran into the following test failure:
14/14 Test #12: SSLContextManagerTest ................Subprocess killed***Exception: 71.72 sec
Note: Google Test filter = -SSLContextManagerTest.TestSingleClientCAFileSet:SSLContextManagerTest.TestMultipleClientCAsSet:SSLContextManagerTest.TestSessionContextCertRemoval
[==========] Running 8 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 8 tests from SSLContextManagerTest
[ RUN ] SSLContextManagerTest.Test1
[ OK ] SSLContextManagerTest.Test1 (23 ms)
[ RUN ] SSLContextManagerTest.TestResetSSLContextConfigs
[ OK ] SSLContextManagerTest.TestResetSSLContextConfigs (127 ms)
[ RUN ] SSLContextManagerTest.TestCertificateWithNoCN
93% tests passed, 1 tests failed out of 14
Total Test time (real) = 72.82 sec
The following tests FAILED:
12 - SSLContextManagerTest (Subprocess killed)
Errors while running CTest
make: *** [Makefile:91: test] Error 8
The problem seems to be because the machine ran out of memory and the OOM killer was invoked because the test process was using more than 6 GB of RAM, as you can see in this kernel log excerpt:
I skimmed the test's source code (wangle/ssl/test/SSLContextManagerTest.cpp) and since I didn't see anything that would warrant such excessive memory usage, I decided to file this issue just in case.
Thanks.
The text was updated successfully, but these errors were encountered:
I just tried to build this on an ARM64 machine with more memory but I still ran into the OOM killer. This time the test process was using ~11 GB of RAM:
2024-06-25T12:54:21.980897+00:00 orange kern.err kernel: Out of memory: Killed process 1636309 (SSLContextManag) total-vm:52632448kB, anon-rss:11877248kB, file-rss:512kB, shmem-rss:0kB, UID:30011 pgtables:50396kB oom_score_adj:0
When building
wangle
version2024.03.11.00
on a RPi4 running NixOS, I ran into the following test failure:The problem seems to be because the machine ran out of memory and the OOM killer was invoked because the test process was using more than 6 GB of RAM, as you can see in this kernel log excerpt:
I skimmed the test's source code (
wangle/ssl/test/SSLContextManagerTest.cpp
) and since I didn't see anything that would warrant such excessive memory usage, I decided to file this issue just in case.Thanks.
The text was updated successfully, but these errors were encountered: