currentop_shell.js has an assert
if (shouldTruncate) { assert(testLogPattern(db, /will be truncated/)); }
That may fail if too many errors (caused by another thread) get logged, and push the message we test for out of the log.
Since this is not testing any specific server functionality, and is unstable, the solution is to remove the assert.