I ran into the same issue with the newer v2.263.4.
I was able to resolve it by creating a symlink to pwauth at the default expected location: /usr/local/bin/pwauth.
It seems that on restart, Jenkins searches for pwauth in the factory default path instead of the custom user specified path. Seems like a bug.
Your mongo node can not get the heartbeat (replSetHeartbeat) of the ones he is trying to connect to, in order to configure the replica set. This is because you have activated access control in the cluster.
When you activate mongo access control, you need to configure the internal authentication between the nodes of your replica set.
There are two different ...