[SPARK-21189][INFRA] Handle unknown error codes in Jenkins rather then leaving incomplete comment in PRs
[SPARK-21189][INFRA] Handle unknown error codes in Jenkins rather then leaving incomplete comment in PRs

## What changes were proposed in this pull request?

Recently, Jenkins tests were unstable due to unknown reasons as below:

```
 /home/jenkins/workspace/SparkPullRequestBuilder/dev/lint-r ; process was terminated by signal 9
    test_result_code, test_result_note = run_tests(tests_timeout)
  File "./dev/run-tests-jenkins.py", line 140, in run_tests
    test_result_note = ' * This patch **fails %s**.' % failure_note_by_errcode[test_result_code]
KeyError: -9
```

```
Traceback (most recent call last):
  File "./dev/run-tests-jenkins.py", line 226, in <module>
    main()
  File "./dev/run-tests-jenkins.py", line 213, in main
    test_result_code, test_result_note = run_tests(tests_timeout)
  File "./dev/run-tests-jenkins.py", line 140, in run_tests
    test_result_note = ' * This patch **fails %s**.' % failure_note_by_errcode[test_result_code]
KeyError: -10
```

This exception looks causing failing to update the comments in the PR. For example:

![2017-06-23 4 19 41](https://user-images.githubusercontent.com/6477701/27470626-d035ecd8-582f-11e7-883e-0ae6941659b7.png)

![2017-06-23 4 19 50](https://user-images.githubusercontent.com/6477701/27470629-d11ba782-582f-11e7-97e0-64d28cbc19aa.png)

these comment just remain.

This always requires, for both reviewers and the author, a overhead to click and check the logs, which I believe are not really useful.

This PR proposes to leave the code in the PR comment messages and let update the comments.

## How was this patch tested?

Jenkins tests below, I manually gave the error code to test this.

Author: hyukjinkwon <gurwls223@gmail.com>

Closes #18399 from HyukjinKwon/jenkins-print-errors.

nchammas/spark,1haodian/spark,nlalevee/spark,wangmiao1981/spark,mdespriee/spark,mdespriee/spark,mike0sv/spark,srowen/spark,facaiy/spark,saltstar/spark,shubhamchopra/spark,esi-mineset/spark,shaneknapp/spark,ron8hu/spark,gengliangwang/spark,ericvandenbergfb/spark,minixalpha/spark,vinodkc/spark,holdenk/spark,actuaryzhang/spark,1haodian/spark,ueshin/apache-spark,poffuomo/spark,nilsgrabbert/spark,BryanCutler/spark,joseph-torres/spark,highfei2011/spark,nlalevee/spark,hvanhovell/spark,poffuomo/spark,stanzhai/spark,srowen/spark,ptkool/spark,bdrillard/spark,spark-test/spark,Aegeaner/spark,lxsmnv/spark,skonto/spark,shuangshuangwang/spark,ahnqirage/spark,WindCanDie/spark,sahilTakiar/spark,debugger87/spark,zuotingbing/spark,sureshthalamati/spark,highfei2011/spark,eyalfa/spark,caneGuy/spark,hhbyyh/spark,goldmedal/spark,spark-test/spark,zero323/spark,maropu/spark,esi-mineset/spark,srowen/spark,techaddict/spark,SHASHANKB/spark,witgo/spark,eyalfa/spark,wangyum/spark,zhouyejoe/spark,HyukjinKwon/spark,wzhfy/spark,shuangshuangwang/spark,janewangfb/spark,zhouyejoe/spark,ptkool/spark,byakuinss/spark,wangyum/spark,actuaryzhang/spark,spark-test/spark,sureshthalamati/spark,LantaoJin/spark,matthewfranglen/spark,ueshin/apache-spark,SHASHANKB/spark,SHASHANKB/spark,facaiy/spark,techaddict/spark,wzhfy/spark,joseph-torres/spark,facaiy/spark,poffuomo/spark,narahari92/spark,wzhfy/spark,ajaysaini725/spark,ddna1021/spark,minixalpha/spark,ptkool/spark,shubhamchopra/spark,mahak/spark,hvanhovell/spark,lvdongr/spark,alunarbeach/spark,stanzhai/spark,poffuomo/spark,xuanyuanking/spark,zero323/spark,ericvandenbergfb/spark,kevinyu98/spark,ddna1021/spark,brad-kaiser/spark,darionyaphet/spark,milliman/spark,ericvandenbergfb/spark,xflin/spark,spark-test/spark,gengliangwang/spark,vinodkc/spark,rikima/spark,maropu/spark,vinodkc/spark,nchammas/spark,adrian-ionescu/apache-spark,tengpeng/spark,ron8hu/spark,tengpeng/spark,ron8hu/spark,shaneknapp/spark,pgandhi999/spark,chuckchen/spark,janewangfb/spark,szhem/spark,tejasapatil/spark,WeichenXu123/spark,minixalpha/spark,narahari92/spark,nchammas/spark,darionyaphet/spark,sureshthalamati/spark,yanboliang/spark,kiszk/spark,hvanhovell/spark,shubhamchopra/spark,BryanCutler/spark,debugger87/spark,rikima/spark,sahilTakiar/spark,skonto/spark,wangyum/spark,shaneknapp/spark,milliman/spark,bravo-zhang/spark,rezasafi/spark,HyukjinKwon/spark,kiszk/spark,aosagie/spark,dongjoon-hyun/spark,tengpeng/spark,ron8hu/spark,ConeyLiu/spark,JoshRosen/spark,markhamstra/spark,1haodian/spark,bdrillard/spark,facaiy/spark,rednaxelafx/apache-spark,dbtsai/spark,poffuomo/spark,mahak/spark,JoshRosen/spark,janewangfb/spark,someorz/spark,dbtsai/spark,ajaysaini725/spark,ioana-delaney/spark,caneGuy/spark,mahak/spark,ueshin/apache-spark,ahnqirage/spark,guoxiaolongzte/spark,rednaxelafx/apache-spark,nchammas/spark,yanboliang/spark,cin/spark,debugger87/spark,icexelloss/spark,esi-mineset/spark,highfei2011/spark,HyukjinKwon/spark,ddna1021/spark,cin/spark,mike0sv/spark,rekhajoshm/spark,zero323/spark,nilsgrabbert/spark,zzcclp/spark,esi-mineset/spark,wzhfy/spark,UndeadBaneGitHub/spark,aosagie/spark,aray/spark,HyukjinKwon/spark,jkbradley/spark,michalsenkyr/spark,highfei2011/spark,rikima/spark,janewangfb/spark,debugger87/spark,tejasapatil/spark,shubhamchopra/spark,xflin/spark,stanzhai/spark,eyalfa/spark,WeichenXu123/spark,mdespriee/spark,vinodkc/spark,aokolnychyi/spark,taroplus/spark,xuanyuanking/spark,zero323/spark,ptkool/spark,cloud-fan/spark,gengliangwang/spark,nlalevee/spark,ptkool/spark,BryanCutler/spark,HyukjinKwon/spark,darionyaphet/spark,guoxiaolongzte/spark,pgandhi999/spark,icexelloss/spark,shubhamchopra/spark,JoshRosen/spark,rednaxelafx/apache-spark,aosagie/spark,yanboliang/spark,rezasafi/spark,mike0sv/spark,michalsenkyr/spark,narahari92/spark,sureshthalamati/spark,xflin/spark,rekhajoshm/spark,WindCanDie/spark,maropu/spark,mike0sv/spark,brad-kaiser/spark,darionyaphet/spark,apache/spark,JoshRosen/spark,icexelloss/spark,cloud-fan/spark,icexelloss/spark,witgo/spark,hvanhovell/spark,guoxiaolongzte/spark,wangyum/spark,Aegeaner/spark,zuotingbing/spark,taroplus/spark,xuanyuanking/spark,lvdongr/spark,guoxiaolongzte/spark,michalsenkyr/spark,taroplus/spark,holdenk/spark,apache/spark,saltstar/spark,milliman/spark,szhem/spark,narahari92/spark,guoxiaolongzte/spark,shuangshuangwang/spark,zzcclp/spark,lvdongr/spark,akopich/spark,apache/spark,lvdongr/spark,skonto/spark,Aegeaner/spark,akopich/spark,debugger87/spark,xflin/spark,LantaoJin/spark,rekhajoshm/spark,cin/spark,HyukjinKwon/spark,rezasafi/spark,ron8hu/spark,stanzhai/spark,ericvandenbergfb/spark,aray/spark,adrian-ionescu/apache-spark,zero323/spark,facaiy/spark,zzcclp/spark,szhem/spark,zero323/spark,shubhamchopra/spark,ueshin/apache-spark,kiszk/spark,pgandhi999/spark,esi-mineset/spark,WindCanDie/spark,yanboliang/spark,skonto/spark,bdrillard/spark,akopich/spark,cloud-fan/spark,cin/spark,aosagie/spark,xuanyuanking/spark,alunarbeach/spark,lxsmnv/spark,esi-mineset/spark,mahak/spark,akopich/spark,ahnqirage/spark,ron8hu/spark,nlalevee/spark,ddna1021/spark,narahari92/spark,brad-kaiser/spark,kevinyu98/spark,jiangxb1987/spark,nilsgrabbert/spark,zuotingbing/spark,aokolnychyi/spark,srowen/spark,ptkool/spark,witgo/spark,tejasapatil/spark,holdenk/spark,ahnqirage/spark,tengpeng/spark,gengliangwang/spark,janewangfb/spark,bravo-zhang/spark,someorz/spark,UndeadBaneGitHub/spark,1haodian/spark,cin/spark,apache/spark,apache/spark,aokolnychyi/spark,hhbyyh/spark,actuaryzhang/spark,byakuinss/spark,wzhfy/spark,ericvandenbergfb/spark,kevinyu98/spark,rezasafi/spark,skonto/spark,spark-test/spark,brad-kaiser/spark,mike0sv/spark,1haodian/spark,cloud-fan/spark,alunarbeach/spark,facaiy/spark,lxsmnv/spark,goldmedal/spark,ajaysaini725/spark,zhouyejoe/spark,cloud-fan/spark,sahilTakiar/spark,shuangshuangwang/spark,rikima/spark,adrian-ionescu/apache-spark,bravo-zhang/spark,WeichenXu123/spark,wangmiao1981/spark,chuckchen/spark,ron8hu/spark,debugger87/spark,actuaryzhang/spark,byakuinss/spark,markhamstra/spark,szhem/spark,akopich/spark,aray/spark,skonto/spark,narahari92/spark,witgo/spark,techaddict/spark,hhbyyh/spark,kiszk/spark,holdenk/spark,SHASHANKB/spark,rezasafi/spark,goldmedal/spark,WeichenXu123/spark,caneGuy/spark,sureshthalamati/spark,byakuinss/spark,akopich/spark,michalsenkyr/spark,byakuinss/spark,kevinyu98/spark,tejasapatil/spark,saltstar/spark,goldmedal/spark,LantaoJin/spark,saltstar/spark,mike0sv/spark,cloud-fan/spark,mahak/spark,hvanhovell/spark,gengliangwang/spark,minixalpha/spark,kiszk/spark,ajaysaini725/spark,gengliangwang/spark,dongjoon-hyun/spark,saltstar/spark,yanboliang/spark,highfei2011/spark,shaneknapp/spark,ioana-delaney/spark,zuotingbing/spark,shaneknapp/spark,bdrillard/spark,yanboliang/spark,maropu/spark,rikima/spark,UndeadBaneGitHub/spark,lxsmnv/spark,zhouyejoe/spark,jkbradley/spark,nilsgrabbert/spark,gengliangwang/spark,JoshRosen/spark,kevinyu98/spark,witgo/spark,bravo-zhang/spark,minixalpha/spark,ajaysaini725/spark,icexelloss/spark,tengpeng/spark,sahilTakiar/spark,mdespriee/spark,SHASHANKB/spark,ahnqirage/spark,skonto/spark,adrian-ionescu/apache-spark,alunarbeach/spark,srowen/spark,chuckchen/spark,rednaxelafx/apache-spark,ddna1021/spark,WeichenXu123/spark,xuanyuanking/spark,wangmiao1981/spark,dbtsai/spark,ioana-delaney/spark,aray/spark,rednaxelafx/apache-spark,BryanCutler/spark,actuaryzhang/spark,lxsmnv/spark,rednaxelafx/apache-spark,bdrillard/spark,someorz/spark,michalsenkyr/spark,wangyum/spark,rekhajoshm/spark,ueshin/apache-spark,vinodkc/spark,wzhfy/spark,ConeyLiu/spark,mahak/spark,jkbradley/spark,techaddict/spark,tejasapatil/spark,xflin/spark,1haodian/spark,rezasafi/spark,WindCanDie/spark,michalsenkyr/spark,alunarbeach/spark,BryanCutler/spark,minixalpha/spark,chuckchen/spark,lxsmnv/spark,WeichenXu123/spark,hvanhovell/spark,lxsmnv/spark,nchammas/spark,janewangfb/spark,ajaysaini725/spark,taroplus/spark,lvdongr/spark,wangmiao1981/spark,joseph-torres/spark,pgandhi999/spark,highfei2011/spark,cloud-fan/spark,ConeyLiu/spark,wangmiao1981/spark,zzcclp/spark,ddna1021/spark,JoshRosen/spark,holdenk/spark,spark-test/spark,hvanhovell/spark,zhouyejoe/spark,someorz/spark,joseph-torres/spark,darionyaphet/spark,jiangxb1987/spark,hhbyyh/spark,taroplus/spark,1haodian/spark,adrian-ionescu/apache-spark,saltstar/spark,jkbradley/spark,ahnqirage/spark,HyukjinKwon/spark,goldmedal/spark,LantaoJin/spark,ueshin/apache-spark,aray/spark,kevinyu98/spark,aokolnychyi/spark,tengpeng/spark,dbtsai/spark,caneGuy/spark,byakuinss/spark,actuaryzhang/spark,maropu/spark,alunarbeach/spark,SHASHANKB/spark,UndeadBaneGitHub/spark,ioana-delaney/spark,ericvandenbergfb/spark,UndeadBaneGitHub/spark,ajaysaini725/spark,eyalfa/spark,techaddict/spark,LantaoJin/spark,poffuomo/spark,WindCanDie/spark,stanzhai/spark,akopich/spark,narahari92/spark,chuckchen/spark,jkbradley/spark,UndeadBaneGitHub/spark,nilsgrabbert/spark,sureshthalamati/spark,chuckchen/spark,lvdongr/spark,markhamstra/spark,xuanyuanking/spark,pgandhi999/spark,nilsgrabbert/spark,milliman/spark,cin/spark,debugger87/spark,Aegeaner/spark,techaddict/spark,WeichenXu123/spark,rikima/spark,michalsenkyr/spark,maropu/spark,bravo-zhang/spark,LantaoJin/spark,WindCanDie/spark,dongjoon-hyun/spark,zzcclp/spark,adrian-ionescu/apache-spark,taroplus/spark,byakuinss/spark,aray/spark,pgandhi999/spark,brad-kaiser/spark,joseph-torres/spark,tengpeng/spark,apache/spark,ConeyLiu/spark,nlalevee/spark,aosagie/spark,mike0sv/spark,zhouyejoe/spark,aray/spark,Aegeaner/spark,caneGuy/spark,zhouyejoe/spark,bdrillard/spark,stanzhai/spark,eyalfa/spark,techaddict/spark,rekhajoshm/spark,zzcclp/spark,nlalevee/spark,kevinyu98/spark,rekhajoshm/spark,shuangshuangwang/spark,ddna1021/spark,nchammas/spark,stanzhai/spark,poffuomo/spark,wangmiao1981/spark,ptkool/spark,shuangshuangwang/spark,darionyaphet/spark,someorz/spark,adrian-ionescu/apache-spark,kiszk/spark,wangyum/spark,mdespriee/spark,pgandhi999/spark,ConeyLiu/spark,hhbyyh/spark,aokolnychyi/spark,icexelloss/spark,jiangxb1987/spark,ConeyLiu/spark,WindCanDie/spark,bdrillard/spark,tejasapatil/spark,jiangxb1987/spark,dongjoon-hyun/spark,ahnqirage/spark,xflin/spark,witgo/spark,rekhajoshm/spark,SHASHANKB/spark,jkbradley/spark,bravo-zhang/spark,esi-mineset/spark,alunarbeach/spark,milliman/spark,caneGuy/spark,taroplus/spark,aosagie/spark,sahilTakiar/spark,LantaoJin/spark,mahak/spark,srowen/spark,zuotingbing/spark,saltstar/spark,tejasapatil/spark,zero323/spark,spark-test/spark,holdenk/spark,ericvandenbergfb/spark,holdenk/spark,joseph-torres/spark,Aegeaner/spark,janewangfb/spark,lvdongr/spark,markhamstra/spark,milliman/spark,mdespriee/spark,markhamstra/spark,sahilTakiar/spark,dbtsai/spark,shaneknapp/spark,shuangshuangwang/spark,apache/spark,jiangxb1987/spark,vinodkc/spark,icexelloss/spark,szhem/spark,brad-kaiser/spark,markhamstra/spark,dbtsai/spark,facaiy/spark,xflin/spark,hhbyyh/spark,eyalfa/spark,ueshin/apache-spark,dongjoon-hyun/spark,yanboliang/spark,BryanCutler/spark,vinodkc/spark,wzhfy/spark,ioana-delaney/spark,bravo-zhang/spark,wangyum/spark,guoxiaolongzte/spark,JoshRosen/spark,shaneknapp/spark,maropu/spark,rikima/spark,BryanCutler/spark,someorz/spark,aosagie/spark,eyalfa/spark,actuaryzhang/spark,dongjoon-hyun/spark,aokolnychyi/spark,ioana-delaney/spark,brad-kaiser/spark,mdespriee/spark,cin/spark,xuanyuanking/spark,aokolnychyi/spark,jkbradley/spark,witgo/spark,nlalevee/spark,zuotingbing/spark,hhbyyh/spark,someorz/spark,sahilTakiar/spark,rezasafi/spark,UndeadBaneGitHub/spark,joseph-torres/spark,Aegeaner/spark,jiangxb1987/spark,highfei2011/spark,wangmiao1981/spark,ConeyLiu/spark,markhamstra/spark,dbtsai/spark,minixalpha/spark,milliman/spark,shubhamchopra/spark,guoxiaolongzte/spark,rednaxelafx/apache-spark,jiangxb1987/spark,darionyaphet/spark,chuckchen/spark,nchammas/spark,srowen/spark,zuotingbing/spark,caneGuy/spark,goldmedal/spark,nilsgrabbert/spark,szhem/spark,zzcclp/spark,kiszk/spark,sureshthalamati/spark,dongjoon-hyun/spark,goldmedal/spark,ioana-delaney/spark,szhem/spark