[SPARK-12361][PYSPARK][TESTS] Should set PYSPARK_DRIVER_PYTHON before Python tests
[SPARK-12361][PYSPARK][TESTS] Should set PYSPARK_DRIVER_PYTHON before Python tests

Although this patch still doesn't solve the issue why the return code is 0 (see JIRA description), it resolves the issue of python version mismatch.

Author: Jeff Zhang <zjffdu@apache.org>

Closes #10322 from zjffdu/SPARK-12361.

ConeyLiu/spark,eyalfa/spark,szhem/spark,saltstar/spark,shuangshuangwang/spark,sureshthalamati/spark,kevinyu98/spark,sahilTakiar/spark,saltstar/spark,sachintyagi22/spark,WeichenXu123/spark,shubhamchopra/spark,someorz/spark,maropu/spark,lvdongr/spark,cin/spark,jiangxb1987/spark,saturday-shi/spark,lxsmnv/spark,sahilTakiar/spark,JoshRosen/spark,kiszk/spark,1haodian/spark,caneGuy/spark,WeichenXu123/spark,publicRoman/spark,someorz/spark,WindCanDie/spark,eyalfa/spark,facaiy/spark,dongjoon-hyun/spark,Panos-Bletsos/spark-cost-model-optimizer,1haodian/spark,BryanCutler/spark,actuaryzhang/spark,techaddict/spark,xuanyuanking/spark,JerryLead/spark,zzcclp/spark,liyichao/spark,gioenn/xSpark,publicRoman/spark,rikima/spark,pgandhi999/spark,ajaysaini725/spark,SHASHANKB/spark,darionyaphet/spark,zhouyejoe/spark,shubhamchopra/spark,pgandhi999/spark,SnappyDataInc/spark,mahak/spark,hvanhovell/spark,pgandhi999/spark,esi-mineset/spark,michalsenkyr/spark,techaddict/spark,caneGuy/spark,dbtsai/spark,taroplus/spark,maropu/spark,nlalevee/spark,LantaoJin/spark,narahari92/spark,bravo-zhang/spark,LantaoJin/spark,bdrillard/spark,shaneknapp/spark,patrick-nicholson/spark,poffuomo/spark,caneGuy/spark,esi-mineset/spark,jlopezmalla/spark,cin/spark,shuangshuangwang/spark,map222/spark,nilsgrabbert/spark,map222/spark,witgo/spark,jiangxb1987/spark,tengpeng/spark,icexelloss/spark,jiangxb1987/spark,ddna1021/spark,nchammas/spark,tengpeng/spark,hhbyyh/spark,darionyaphet/spark,actuaryzhang/spark,kimoonkim/spark,setjet/spark,chuckchen/spark,dbtsai/spark,xuanyuanking/spark,dbtsai/spark,narahari92/spark,kissmetrics/spark,lxsmnv/spark,alunarbeach/spark,rikima/spark,nchammas/spark,janewangfb/spark,jlopezmalla/spark,huang1900/spark,dhruve/spark,poffuomo/spark,jkbradley/spark,bdrillard/spark,ioana-delaney/spark,UndeadBaneGitHub/spark,gengliangwang/spark,jlopezmalla/spark,Aegeaner/spark,setjet/spark,esi-mineset/spark,rednaxelafx/apache-spark,ddna1021/spark,mzl9039/spark,ConeyLiu/spark,minixalpha/spark,darionyaphet/spark,jrshust/spark,jlopezmalla/spark,someorz/spark,aokolnychyi/spark,rednaxelafx/apache-spark,apache/spark,markhamstra/spark,wangyum/spark,gengliangwang/spark,zhouyejoe/spark,debugger87/spark,darionyaphet/spark,skonto/spark,joseph-torres/spark,rezasafi/spark,JoshRosen/spark,srowen/spark,bravo-zhang/spark,vinodkc/spark,akopich/spark,patrick-nicholson/spark,guoxiaolongzte/spark,zhouyejoe/spark,alunarbeach/spark,bOOm-X/spark,byakuinss/spark,sachintyagi22/spark,sahilTakiar/spark,hhbyyh/spark,kiszk/spark,MLnick/spark,dongjoon-hyun/spark,narahari92/spark,loneknightpy/spark,jrshust/spark,andrewor14/spark,joseph-torres/spark,bravo-zhang/spark,loneknightpy/spark,ibm-research-ireland/sparkoscope,LantaoJin/spark,JoshRosen/spark,LantaoJin/spark,akopich/spark,darionyaphet/spark,rikima/spark,ConeyLiu/spark,guoxiaolongzte/spark,jianran/spark,someorz/spark,zuotingbing/spark,mike0sv/spark,minixalpha/spark,MLnick/spark,aray/spark,tengpeng/spark,ajaysaini725/spark,spark-test/spark,jkbradley/spark,panfengfeng/spark,nilsgrabbert/spark,JoshRosen/spark,caneGuy/spark,patrick-nicholson/spark,ericvandenbergfb/spark,UndeadBaneGitHub/spark,milliman/spark,eyalfa/spark,szhem/spark,mzl9039/spark,jlopezmalla/spark,milliman/spark,facaiy/spark,xflin/spark,witgo/spark,ibm-research-ireland/sparkoscope,ddna1021/spark,chuckchen/spark,Panos-Bletsos/spark-cost-model-optimizer,poffuomo/spark,ajaysaini725/spark,ahnqirage/spark,icexelloss/spark,kimoonkim/spark,shuangshuangwang/spark,WeichenXu123/spark,minixalpha/spark,spark-test/spark,patrick-nicholson/spark,bdrillard/spark,nilsgrabbert/spark,publicRoman/spark,gengliangwang/spark,aosagie/spark,shubhamchopra/spark,xuanyuanking/spark,dbtsai/spark,huang1900/spark,minixalpha/spark,WindCanDie/spark,eyalfa/spark,someorz/spark,jrshust/spark,ahnqirage/spark,aosagie/spark,andrewor14/spark,cin/spark,wangyum/spark,panfengfeng/spark,ericvandenbergfb/spark,nilsgrabbert/spark,apache/spark,goldmedal/spark,hhbyyh/spark,patrick-nicholson/spark,wzhfy/spark,aray/spark,BryanCutler/spark,janewangfb/spark,kimoonkim/spark,ConeyLiu/spark,caneGuy/spark,mike0sv/spark,SHASHANKB/spark,stanzhai/spark,ioana-delaney/spark,dhruve/spark,ueshin/apache-spark,WeichenXu123/spark,nchammas/spark,hhbyyh/spark,zhouyejoe/spark,stanzhai/spark,guoxiaolongzte/spark,xuanyuanking/spark,mdespriee/spark,aosagie/spark,mike0sv/spark,sureshthalamati/spark,nchammas/spark,xflin/spark,joseph-torres/spark,narahari92/spark,mzl9039/spark,ioana-delaney/spark,milliman/spark,jrshust/spark,tengpeng/spark,actuaryzhang/spark,ioana-delaney/spark,tejasapatil/spark,rekhajoshm/spark,shaneknapp/spark,ptkool/spark,mzl9039/spark,ConeyLiu/spark,joseph-torres/spark,aokolnychyi/spark,lvdongr/spark,vinodkc/spark,loneknightpy/spark,akopich/spark,ddna1021/spark,BryanCutler/spark,SnappyDataInc/spark,dbtsai/spark,apache/spark,apache/spark,alunarbeach/spark,apache-spark-on-k8s/spark,SnappyDataInc/spark,WindCanDie/spark,aosagie/spark,taroplus/spark,map222/spark,shubhamchopra/spark,wangmiao1981/spark,aosagie/spark,jkbradley/spark,zzcclp/spark,ericvandenbergfb/spark,setjet/spark,hvanhovell/spark,wangmiao1981/spark,dhruve/spark,map222/spark,shuangshuangwang/spark,jkbradley/spark,goldmedal/spark,brad-kaiser/spark,lvdongr/spark,kissmetrics/spark,chuckchen/spark,JerryLead/spark,kevinyu98/spark,debugger87/spark,maropu/spark,darionyaphet/spark,hvanhovell/spark,mdespriee/spark,yanboliang/spark,shaneknapp/spark,WeichenXu123/spark,poffuomo/spark,chuckchen/spark,cin/spark,sachintyagi22/spark,poffuomo/spark,metamx/spark,spark-test/spark,cin/spark,icexelloss/spark,skonto/spark,wzhfy/spark,ptkool/spark,zero323/spark,hhbyyh/spark,nlalevee/spark,poffuomo/spark,xflin/spark,kevinyu98/spark,poffuomo/spark,patrick-nicholson/spark,michalsenkyr/spark,loneknightpy/spark,WeichenXu123/spark,rezasafi/spark,Aegeaner/spark,ron8hu/spark,lvdongr/spark,ahnqirage/spark,tejasapatil/spark,big-pegasus/spark,michalsenkyr/spark,ibm-research-ireland/sparkoscope,maropu/spark,jianran/spark,kiszk/spark,apache/spark,aokolnychyi/spark,dhruve/spark,liutang123/spark,jlopezmalla/spark,saturday-shi/spark,ron8hu/spark,UndeadBaneGitHub/spark,Panos-Bletsos/spark-cost-model-optimizer,big-pegasus/spark,yanboliang/spark,stanzhai/spark,ddna1021/spark,mdespriee/spark,bOOm-X/spark,saturday-shi/spark,jiangxb1987/spark,dhruve/spark,szhem/spark,gioenn/xSpark,zhouyejoe/spark,ioana-delaney/spark,taroplus/spark,cloud-fan/spark,rikima/spark,holdenk/spark,witgo/spark,wzhfy/spark,cin/spark,Aegeaner/spark,joseph-torres/spark,eyalfa/spark,ron8hu/spark,jlopezmalla/spark,ericvandenbergfb/spark,sureshthalamati/spark,highfei2011/spark,Aegeaner/spark,milliman/spark,sureshthalamati/spark,xuanyuanking/spark,shubhamchopra/spark,huang1900/spark,nchammas/spark,holdenk/spark,mahak/spark,kimoonkim/spark,HyukjinKwon/spark,adrian-ionescu/apache-spark,byakuinss/spark,andrewor14/spark,liyichao/spark,kevinyu98/spark,HyukjinKwon/spark,huang1900/spark,liyichao/spark,Panos-Bletsos/spark-cost-model-optimizer,dongjoon-hyun/spark,saturday-shi/spark,bOOm-X/spark,metamx/spark,sahilTakiar/spark,ibm-research-ireland/sparkoscope,esi-mineset/spark,vinodkc/spark,liutang123/spark,jianran/spark,michalsenkyr/spark,pgandhi999/spark,rikima/spark,saturday-shi/spark,JerryLead/spark,gengliangwang/spark,skonto/spark,minixalpha/spark,MLnick/spark,tengpeng/spark,jiangxb1987/spark,kissmetrics/spark,zuotingbing/spark,kimoonkim/spark,liyichao/spark,facaiy/spark,markhamstra/spark,markhamstra/spark,wzhfy/spark,JerryLead/spark,zzcclp/spark,WindCanDie/spark,zzcclp/spark,metamx/spark,wangyum/spark,bdrillard/spark,mahak/spark,ueshin/apache-spark,ptkool/spark,taroplus/spark,ron8hu/spark,sachintyagi22/spark,gioenn/xSpark,SHASHANKB/spark,witgo/spark,techaddict/spark,stanzhai/spark,ueshin/apache-spark,1haodian/spark,andrewor14/spark,shuangshuangwang/spark,apache-spark-on-k8s/spark,gengliangwang/spark,someorz/spark,aray/spark,ioana-delaney/spark,goldmedal/spark,guoxiaolongzte/spark,tengpeng/spark,srowen/spark,mike0sv/spark,wangmiao1981/spark,rekhajoshm/spark,saltstar/spark,kiszk/spark,zhouyejoe/spark,guoxiaolongzte/spark,brad-kaiser/spark,lxsmnv/spark,publicRoman/spark,setjet/spark,MLnick/spark,icexelloss/spark,pgandhi999/spark,zero323/spark,yanboliang/spark,ericvandenbergfb/spark,goldmedal/spark,publicRoman/spark,bOOm-X/spark,publicRoman/spark,cin/spark,nlalevee/spark,mdespriee/spark,adrian-ionescu/apache-spark,icexelloss/spark,ahnqirage/spark,zero323/spark,techaddict/spark,facaiy/spark,srowen/spark,highfei2011/spark,LantaoJin/spark,ioana-delaney/spark,vinodkc/spark,highfei2011/spark,nilsgrabbert/spark,milliman/spark,kevinyu98/spark,JerryLead/spark,ron8hu/spark,liyichao/spark,sahilTakiar/spark,ptkool/spark,gengliangwang/spark,rednaxelafx/apache-spark,lxsmnv/spark,adrian-ionescu/apache-spark,mdespriee/spark,kimoonkim/spark,jkbradley/spark,Panos-Bletsos/spark-cost-model-optimizer,jkbradley/spark,loneknightpy/spark,jianran/spark,akopich/spark,rezasafi/spark,saturday-shi/spark,shaneknapp/spark,1haodian/spark,holdenk/spark,tejasapatil/spark,maropu/spark,hvanhovell/spark,wangmiao1981/spark,ueshin/apache-spark,bravo-zhang/spark,bdrillard/spark,ueshin/apache-spark,liutang123/spark,michalsenkyr/spark,andrewor14/spark,sureshthalamati/spark,aokolnychyi/spark,caneGuy/spark,big-pegasus/spark,srowen/spark,hhbyyh/spark,ddna1021/spark,janewangfb/spark,setjet/spark,aokolnychyi/spark,markhamstra/spark,HyukjinKwon/spark,maropu/spark,narahari92/spark,jianran/spark,kiszk/spark,gioenn/xSpark,stanzhai/spark,UndeadBaneGitHub/spark,ericvandenbergfb/spark,ajaysaini725/spark,szhem/spark,nlalevee/spark,szhem/spark,alunarbeach/spark,panfengfeng/spark,highfei2011/spark,szhem/spark,minixalpha/spark,gioenn/xSpark,ConeyLiu/spark,mahak/spark,sachintyagi22/spark,wzhfy/spark,debugger87/spark,dhruve/spark,SnappyDataInc/spark,MLnick/spark,brad-kaiser/spark,guoxiaolongzte/spark,shubhamchopra/spark,shaneknapp/spark,techaddict/spark,michalsenkyr/spark,apache/spark,chuckchen/spark,chuckchen/spark,SHASHANKB/spark,ptkool/spark,aray/spark,apache-spark-on-k8s/spark,ahnqirage/spark,saltstar/spark,lxsmnv/spark,UndeadBaneGitHub/spark,minixalpha/spark,zero323/spark,witgo/spark,tejasapatil/spark,1haodian/spark,wangmiao1981/spark,jrshust/spark,rikima/spark,alunarbeach/spark,spark-test/spark,janewangfb/spark,bravo-zhang/spark,brad-kaiser/spark,zzcclp/spark,hvanhovell/spark,1haodian/spark,byakuinss/spark,aokolnychyi/spark,zuotingbing/spark,adrian-ionescu/apache-spark,big-pegasus/spark,Aegeaner/spark,janewangfb/spark,mzl9039/spark,kiszk/spark,nlalevee/spark,holdenk/spark,yanboliang/spark,debugger87/spark,actuaryzhang/spark,sureshthalamati/spark,someorz/spark,jianran/spark,janewangfb/spark,SnappyDataInc/spark,mzl9039/spark,nchammas/spark,nlalevee/spark,rikima/spark,kissmetrics/spark,zero323/spark,mdespriee/spark,publicRoman/spark,saltstar/spark,SnappyDataInc/spark,liutang123/spark,bravo-zhang/spark,wangyum/spark,rekhajoshm/spark,vinodkc/spark,nilsgrabbert/spark,rezasafi/spark,alunarbeach/spark,xflin/spark,wangmiao1981/spark,spark-test/spark,apache-spark-on-k8s/spark,ron8hu/spark,Aegeaner/spark,xflin/spark,LantaoJin/spark,zzcclp/spark,byakuinss/spark,liyichao/spark,apache-spark-on-k8s/spark,zuotingbing/spark,jkbradley/spark,LantaoJin/spark,markhamstra/spark,shuangshuangwang/spark,caneGuy/spark,aray/spark,eyalfa/spark,skonto/spark,zuotingbing/spark,ibm-research-ireland/sparkoscope,UndeadBaneGitHub/spark,narahari92/spark,xuanyuanking/spark,bdrillard/spark,debugger87/spark,bOOm-X/spark,Aegeaner/spark,byakuinss/spark,cloud-fan/spark,facaiy/spark,metamx/spark,vinodkc/spark,goldmedal/spark,eyalfa/spark,nchammas/spark,panfengfeng/spark,jiangxb1987/spark,kissmetrics/spark,zero323/spark,esi-mineset/spark,rekhajoshm/spark,xflin/spark,MLnick/spark,patrick-nicholson/spark,icexelloss/spark,bOOm-X/spark,witgo/spark,hvanhovell/spark,rednaxelafx/apache-spark,ron8hu/spark,cloud-fan/spark,Panos-Bletsos/spark-cost-model-optimizer,liutang123/spark,brad-kaiser/spark,zzcclp/spark,BryanCutler/spark,big-pegasus/spark,facaiy/spark,liyichao/spark,matthewfranglen/spark,techaddict/spark,WindCanDie/spark,ConeyLiu/spark,skonto/spark,metamx/spark,lvdongr/spark,ibm-research-ireland/sparkoscope,actuaryzhang/spark,jiangxb1987/spark,pgandhi999/spark,sureshthalamati/spark,HyukjinKwon/spark,BryanCutler/spark,rezasafi/spark,dongjoon-hyun/spark,tejasapatil/spark,rekhajoshm/spark,HyukjinKwon/spark,skonto/spark,icexelloss/spark,narahari92/spark,rednaxelafx/apache-spark,yanboliang/spark,lvdongr/spark,jianran/spark,andrewor14/spark,MLnick/spark,zhouyejoe/spark,mahak/spark,cloud-fan/spark,sahilTakiar/spark,huang1900/spark,wangyum/spark,markhamstra/spark,dhruve/spark,ueshin/apache-spark,ddna1021/spark,milliman/spark,panfengfeng/spark,HyukjinKwon/spark,ptkool/spark,shubhamchopra/spark,highfei2011/spark,SnappyDataInc/spark,tejasapatil/spark,wangmiao1981/spark,ajaysaini725/spark,ericvandenbergfb/spark,saltstar/spark,kiszk/spark,rezasafi/spark,SHASHANKB/spark,lvdongr/spark,bdrillard/spark,gengliangwang/spark,BryanCutler/spark,stanzhai/spark,adrian-ionescu/apache-spark,JoshRosen/spark,mike0sv/spark,byakuinss/spark,bOOm-X/spark,darionyaphet/spark,esi-mineset/spark,akopich/spark,setjet/spark,map222/spark,loneknightpy/spark,mike0sv/spark,WeichenXu123/spark,ahnqirage/spark,huang1900/spark,debugger87/spark,esi-mineset/spark,jrshust/spark,maropu/spark,1haodian/spark,pgandhi999/spark,wangyum/spark,nlalevee/spark,sachintyagi22/spark,stanzhai/spark,shaneknapp/spark,UndeadBaneGitHub/spark,huang1900/spark,kevinyu98/spark,cloud-fan/spark,liutang123/spark,yanboliang/spark,techaddict/spark,srowen/spark,dongjoon-hyun/spark,ahnqirage/spark,bravo-zhang/spark,BryanCutler/spark,metamx/spark,big-pegasus/spark,shuangshuangwang/spark,hvanhovell/spark,milliman/spark,ajaysaini725/spark,ptkool/spark,zero323/spark,vinodkc/spark,aray/spark,spark-test/spark,ibm-research-ireland/sparkoscope,rezasafi/spark,holdenk/spark,aosagie/spark,taroplus/spark,SHASHANKB/spark,dongjoon-hyun/spark,facaiy/spark,mahak/spark,mahak/spark,JerryLead/spark,chuckchen/spark,saltstar/spark,spark-test/spark,aosagie/spark,saturday-shi/spark,wzhfy/spark,jrshust/spark,adrian-ionescu/apache-spark,loneknightpy/spark,dbtsai/spark,nilsgrabbert/spark,sahilTakiar/spark,highfei2011/spark,michalsenkyr/spark,actuaryzhang/spark,big-pegasus/spark,tengpeng/spark,rednaxelafx/apache-spark,akopich/spark,kimoonkim/spark,xflin/spark,szhem/spark,dbtsai/spark,srowen/spark,ajaysaini725/spark,lxsmnv/spark,markhamstra/spark,shaneknapp/spark,JoshRosen/spark,kissmetrics/spark,cloud-fan/spark,Panos-Bletsos/spark-cost-model-optimizer,yanboliang/spark,goldmedal/spark,mdespriee/spark,adrian-ionescu/apache-spark,actuaryzhang/spark,hhbyyh/spark,panfengfeng/spark,wzhfy/spark,aray/spark,xuanyuanking/spark,JoshRosen/spark,mike0sv/spark,joseph-torres/spark,brad-kaiser/spark,wangyum/spark,cloud-fan/spark,guoxiaolongzte/spark,metamx/spark,brad-kaiser/spark,WindCanDie/spark,liutang123/spark,apache/spark,tejasapatil/spark,janewangfb/spark,alunarbeach/spark,srowen/spark,zuotingbing/spark,aokolnychyi/spark,dongjoon-hyun/spark,kissmetrics/spark,taroplus/spark,SHASHANKB/spark,skonto/spark,taroplus/spark,witgo/spark,map222/spark,holdenk/spark,andrewor14/spark,gioenn/xSpark,mzl9039/spark,highfei2011/spark,gioenn/xSpark,ueshin/apache-spark,kevinyu98/spark,sachintyagi22/spark,panfengfeng/spark,HyukjinKwon/spark,byakuinss/spark,setjet/spark,apache-spark-on-k8s/spark,debugger87/spark,rednaxelafx/apache-spark,map222/spark,lxsmnv/spark,akopich/spark,JerryLead/spark,goldmedal/spark,WindCanDie/spark,zuotingbing/spark,holdenk/spark,joseph-torres/spark,rekhajoshm/spark,rekhajoshm/spark,apache-spark-on-k8s/spark