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
Run a VSCode Debug test (not the normal test) on TestWithAuth and TestWithReplicaAndAuth
Repeated the debug step with mongo versions 6.0.15 and 7.0.0
This line in the debug log stands out
Failed to mlock: Cannot allocate locked memory. For more details see: https://dochub.mongodb.org/core/cannot-allocate-locked-memory: Operation not permitted
Additional Info
This error does not appear when running the test normally (meaning, non debug mode)
My go version is 1.19.3, delve version is 1.21.0
My ulimit -a is below, though I doubt it is related to ulimit, because the tests completes in non-debug mode
-t: cpu time (seconds) unlimited
-f: file size (blocks) unlimited
-d: data seg size (kbytes) unlimited
-s: stack size (kbytes) 8192
-c: core file size (blocks) 0
-m: resident set size (kbytes) unlimited
-u: processes 127482
-n: file descriptors 1024
-l: locked-in-memory size (kbytes) 4089152
-v: address space (kbytes) unlimited
-x: file locks unlimited
-i: pending signals 127482
-q: bytes in POSIX msg queues 819200
-e: max nice 0
-r: max rt priority 0
-N 15: rt cpu time (microseconds) unlimited
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
TestWithAuth
andTestWithReplicaAndAuth
Additional Info
ulimit -a
is below, though I doubt it is related to ulimit, because the tests completes in non-debug modeThe text was updated successfully, but these errors were encountered: