[SPARK-3076] [Jenkins] catch & report test timeouts
[SPARK-3076] [Jenkins] catch & report test timeouts

* Remove unused code to get jq
* Set timeout on tests and report gracefully on them

Author: Nicholas Chammas <nicholas.chammas@gmail.com>

Closes #1974 from nchammas/master and squashes the following commits:

d1f1b6b [Nicholas Chammas] set timeout to realistic number
8b1ea41 [Nicholas Chammas] fix formatting
279526e [Nicholas Chammas] [SPARK-3076] catch & report test timeouts

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