The two tests "torture_options_set_proxycommand_ssh" and "torture_options_set_proxycommand_ssh_stderr" fail to run on ubuntu. I pinned this down to the ssh client, being used as a proxycommand, believing we're running as root and not finding the appropriate files.
I wrote a workaround for running the other test cases on my system in https://gitlab.com/arisada/libssh-mirror/commit/d4428a1d9f351987406988a356a5d47317d13ae3
Basically it creates an environment for the root user.
I created another test case to check if we're running as user bob. To my surprise, most of the environments in the test infrastructure also report getuid() = 0.
I don't understand why it works there. I moved these two patches to the separate branch because I don't want to merge them into master until we've understood the root cause.