Most likely, somewhere in the system or user startup scripts for zsh or bash, there is an stty command being executed when it should not be. That is, the script should execute the stty only when the shell is interactive.
For testing, add the following to your qsub command: -S /bin/bash. This will bypass running the user’s shell. If the warning messages go away, then the problem is with the zsh startup scripts. If the warnings are still there, then the problem is with bash startup.
When I have seen this in the past, the problem has been with the user’s .bashrc or .profile. The fact that it appears twice points to .bashrc, because the bash startup scripts distributed with Linux run the .bashrc twice (an error in my opinion).