kubetestgen: improve errors handling
kubetestgen: improve errors handling

- don't proceed when a file creation has been failed
- handle a possible error from WriteString()
huangjiuyuan/kubernetes,pires/kubernetes,saad-ali/kubernetes,frodenas/kubernetes,tpepper/kubernetes,alejandroEsc/kubernetes,tcnghia/kubernetes,Clarifai/kubernetes,aveshagarwal/kubernetes,wongma7/kubernetes,pmorie/kubernetes,micahhausler/kubernetes,weiwei04/kubernetes,kitt1987/kubernetes,krmayankk/kubernetes,andrewsykim/kubernetes,jsafrane/kubernetes,iameli/kubernetes,tpepper/kubernetes,derekwaynecarr/kubernetes,jingxu97/kubernetes,zhouhaibing089/kubernetes,Acidburn0zzz/kubernetes,ravisantoshgudimetla/kubernetes,dlorenc/kubernetes,stevesloka/kubernetes,monopole/kubernetes,gnufied/kubernetes,idvoretskyi/kubernetes,MHBauer/kubernetes,mikebrow/kubernetes,pires/kubernetes,GulajavaMinistudio/kubernetes,andrewrynhard/kubernetes,mYmNeo/kubernetes,wongma7/kubernetes,zhangmingld/kubernetes,luxas/kubernetes,frodenas/kubernetes,luxas/kubernetes,zetaab/kubernetes,erwinvaneyk/kubernetes,tomzhang/kubernetes,k82cn/kubernetes,GulajavaMinistudio/kubernetes,frodenas/kubernetes,pmorie/kubernetes,fanzhangio/kubernetes,MikeSpreitzer/kubernetes,kevin-wangzefeng/kubernetes,idvoretskyi/kubernetes,spzala/kubernetes,olivierlemasle/kubernetes,mfojtik/kubernetes,pweil-/kubernetes,tallclair/kubernetes,joelsmith/kubernetes,tcnghia/kubernetes,pweil-/kubernetes,k82cn/kubernetes,zhangmingld/kubernetes,erwinvaneyk/kubernetes,mosoft521/kubernetes,shyamjvs/kubernetes,du2016/kubernetes,ixdy/kubernetes,weiwei04/kubernetes,MHBauer/kubernetes,ixdy/kubernetes,mengqiy/kubernetes,thockin/kubernetes,verb/kubernetes,Clarifai/kubernetes,k82cn/kubernetes,pires/kubernetes,mahak/kubernetes,fabriziopandini/kubernetes,tallclair/kubernetes,davidz627/kubernetes,xlgao-zju/kubernetes,tomzhang/kubernetes,pweil-/kubernetes,kpgriffith/kubernetes,zhouhaibing089/kubernetes,olivierlemasle/kubernetes,aledbf/kubernetes,coolsvap/kubernetes,monopole/kubernetes,ixdy/kubernetes,gnufied/kubernetes,deads2k/kubernetes,maciaszczykm/kubernetes,MikeSpreitzer/kubernetes,kevin-wangzefeng/kubernetes,pweil-/kubernetes,yarntime/kubernetes,micahhausler/kubernetes,verult/kubernetes,x13n/kubernetes,jessfraz/kubernetes,linux-on-ibm-z/kubernetes,ii/kubernetes,xlgao-zju/kubernetes,humblec/kubernetes,tpepper/kubernetes,k82/kubernetes,spzala/kubernetes,PiotrProkop/kubernetes,xlgao-zju/kubernetes,JacobTanenbaum/kubernetes,xychu/kubernetes,roberthbailey/kubernetes,erwinvaneyk/kubernetes,ravilr/kubernetes,jingxu97/kubernetes,PI-Victor/kubernetes,thockin/kubernetes,micahhausler/kubernetes,mboersma/kubernetes,warmchang/kubernetes,liggitt/kubernetes,Lion-Wei/kubernetes,ping035627/kubernetes,iameli/kubernetes,matthyx/kubernetes,rnaveiras/kubernetes,rnaveiras/kubernetes,LalatenduMohanty/kubernetes,mboersma/kubernetes,tengqm/kubernetes,li-ang/kubernetes,yujuhong/kubernetes,GulajavaMinistudio/kubernetes,enj/kubernetes,andrewsykim/kubernetes,nikhita/kubernetes,monopole/kubernetes,hex108/kubernetes,li-ang/kubernetes,mikebrow/kubernetes,mkumatag/kubernetes,tengqm/kubernetes,kpgriffith/kubernetes,yujuhong/kubernetes,chestack/kubernetes,sethpollack/kubernetes,tallclair/kubernetes,fanzhangio/kubernetes,fabriziopandini/kubernetes,dims/kubernetes,yarntime/kubernetes,erwinvaneyk/kubernetes,sethpollack/kubernetes,rnaveiras/kubernetes,pweil-/kubernetes,LalatenduMohanty/kubernetes,ravilr/kubernetes,tomzhang/kubernetes,mikedanese/kubernetes,Clarifai/kubernetes,krmayankk/kubernetes,cmluciano/kubernetes,nak3/kubernetes,dereknex/kubernetes,dixudx/kubernetes,dereknex/kubernetes,johscheuer/kubernetes,Acidburn0zzz/kubernetes,brendandburns/kubernetes,derekwaynecarr/kubernetes,chrislovecnm/kubernetes,dlorenc/kubernetes,pmorie/kubernetes,nckturner/kubernetes,u2takey/kubernetes,Clarifai/kubernetes,cofyc/kubernetes,PI-Victor/kubernetes,MHBauer/kubernetes,andrewsykim/kubernetes,kubernetes/kubernetes,lojies/kubernetes,carlory/kubernetes,zetaab/kubernetes,chestack/kubernetes,soltysh/kubernetes,stevesloka/kubernetes,kpgriffith/kubernetes,ingvagabund/kubernetes,Lion-Wei/kubernetes,mikedanese/kubernetes,k82/kubernetes,openshift/kubernetes,liggitt/kubernetes,LalatenduMohanty/kubernetes,u2takey/kubernetes,pwittrock/kubernetes,MikeSpreitzer/kubernetes,hex108/kubernetes,ixdy/kubernetes,olivierlemasle/kubernetes,coolsvap/kubernetes,joelsmith/kubernetes,pweil-/kubernetes,jdef/kubernetes,xychu/kubernetes,rafax/kubernetes,openshift/kubernetes,coolsvap/kubernetes,nak3/kubernetes,yarntime/kubernetes,chrislovecnm/kubernetes,johscheuer/kubernetes,fgimenez/kubernetes,zetaab/kubernetes,pires/kubernetes,klaus1982/kubernetes,sdminonne/kubernetes,chestack/kubernetes,fanzhangio/kubernetes,huangjiuyuan/kubernetes,dereknex/kubernetes,tpepper/kubernetes,idvoretskyi/kubernetes,sdminonne/kubernetes,cmluciano/kubernetes,feiskyer/kubernetes,pmorie/kubernetes,sanjeevm0/kubernetes,joelsmith/kubernetes,zhouhaibing089/kubernetes,linux-on-ibm-z/kubernetes,u2takey/kubernetes,dereknex/kubernetes,zhangmingld/kubernetes,jessfraz/kubernetes,lojies/kubernetes,du2016/kubernetes,johscheuer/kubernetes,aledbf/kubernetes,mahak/kubernetes,olivierlemasle/kubernetes,maciaszczykm/kubernetes,feiskyer/kubernetes,jsafrane/kubernetes,tcnghia/kubernetes,mengqiy/kubernetes,krmayankk/kubernetes,wongma7/kubernetes,cblecker/kubernetes,liggitt/kubernetes,tengqm/kubernetes,shyamjvs/kubernetes,aledbf/kubernetes,davidz627/kubernetes,ravilr/kubernetes,x13n/kubernetes,x13n/kubernetes,deads2k/kubernetes,monopole/kubernetes,gnufied/kubernetes,bparees/kubernetes,mosoft521/kubernetes,ravisantoshgudimetla/kubernetes,tpepper/kubernetes,cblecker/kubernetes,sdminonne/kubernetes,verult/kubernetes,jsafrane/kubernetes,wanghaoran1988/kubernetes,tengqm/kubernetes,huangjiuyuan/kubernetes,idvoretskyi/kubernetes,mfojtik/kubernetes,saad-ali/kubernetes,PiotrProkop/kubernetes,xlgao-zju/kubernetes,olivierlemasle/kubernetes,csrwng/kubernetes,xlgao-zju/kubernetes,ping035627/kubernetes,u2takey/kubernetes,mboersma/kubernetes,brendandburns/kubernetes,dims/kubernetes,ingvagabund/kubernetes,yujuhong/kubernetes,iterion/kubernetes,mboersma/kubernetes,weiwei04/kubernetes,PiotrProkop/kubernetes,micahhausler/kubernetes,JacobTanenbaum/kubernetes,Clarifai/kubernetes,nckturner/kubernetes,kevin-wangzefeng/kubernetes,BenTheElder/kubernetes,jingxu97/kubernetes,kitt1987/kubernetes,mkumatag/kubernetes,feiskyer/kubernetes,aveshagarwal/kubernetes,warmchang/kubernetes,fabriziopandini/kubernetes,chrislovecnm/kubernetes,saad-ali/kubernetes,davidz627/kubernetes,liggitt/kubernetes,warmchang/kubernetes,cofyc/kubernetes,jingxu97/kubernetes,mYmNeo/kubernetes,nak3/kubernetes,johscheuer/kubernetes,cmluciano/kubernetes,deads2k/kubernetes,saad-ali/kubernetes,gnufied/kubernetes,frodenas/kubernetes,verb/kubernetes,chrislovecnm/kubernetes,wanghaoran1988/kubernetes,yarntime/kubernetes,johscheuer/kubernetes,dixudx/kubernetes,jagosan/kubernetes,ravilr/kubernetes,tomzhang/kubernetes,huangjiuyuan/kubernetes,nikhita/kubernetes,krmayankk/kubernetes,x13n/kubernetes,aveshagarwal/kubernetes,humblec/kubernetes,idvoretskyi/kubernetes,nckturner/kubernetes,csrwng/kubernetes,cofyc/kubernetes,mfojtik/kubernetes,li-ang/kubernetes,mahak/kubernetes,ii/kubernetes,saad-ali/kubernetes,kitt1987/kubernetes,ping035627/kubernetes,erwinvaneyk/kubernetes,joelsmith/kubernetes,nak3/kubernetes,fejta/kubernetes,andrewsykim/kubernetes,Lion-Wei/kubernetes,jsafrane/kubernetes,fgimenez/kubernetes,fgimenez/kubernetes,mfojtik/kubernetes,deads2k/kubernetes,humblec/kubernetes,jfrazelle/kubernetes,PI-Victor/kubernetes,soltysh/kubernetes,BenTheElder/kubernetes,soltysh/kubernetes,dereknex/kubernetes,Acidburn0zzz/kubernetes,jagosan/kubernetes,andrewrynhard/kubernetes,PI-Victor/kubernetes,klaus1982/kubernetes,MikeSpreitzer/kubernetes,idvoretskyi/kubernetes,ii/kubernetes,joelsmith/kubernetes,wanghaoran1988/kubernetes,u2takey/kubernetes,pmorie/kubernetes,jackfrancis/kubernetes,huangjiuyuan/kubernetes,stevesloka/kubernetes,tomzhang/kubernetes,dereknex/kubernetes,tomerf/kubernetes,fejta/kubernetes,jfrazelle/kubernetes,sanjeevm0/kubernetes,coolsvap/kubernetes,mikebrow/kubernetes,alejandroEsc/kubernetes,mboersma/kubernetes,openshift/kubernetes,dlorenc/kubernetes,kpgriffith/kubernetes,spzala/kubernetes,jdef/kubernetes,mikebrow/kubernetes,verult/kubernetes,mYmNeo/kubernetes,li-ang/kubernetes,yujuhong/kubernetes,bparees/kubernetes,davidz627/kubernetes,mikebrow/kubernetes,roberthbailey/kubernetes,pires/kubernetes,fabriziopandini/kubernetes,derekwaynecarr/kubernetes,tomerf/kubernetes,csrwng/kubernetes,enj/kubernetes,ingvagabund/kubernetes,dlorenc/kubernetes,LalatenduMohanty/kubernetes,mengqiy/kubernetes,wanghaoran1988/kubernetes,matthyx/kubernetes,MikeSpreitzer/kubernetes,fgimenez/kubernetes,chestack/kubernetes,jackfrancis/kubernetes,LalatenduMohanty/kubernetes,pwittrock/kubernetes,mYmNeo/kubernetes,verult/kubernetes,jdef/kubernetes,ravisantoshgudimetla/kubernetes,klaus1982/kubernetes,weiwei04/kubernetes,chestack/kubernetes,tomzhang/kubernetes,weiwei04/kubernetes,dixudx/kubernetes,linux-on-ibm-z/kubernetes,derekwaynecarr/kubernetes,hex108/kubernetes,cblecker/kubernetes,yarntime/kubernetes,iameli/kubernetes,stevesloka/kubernetes,nckturner/kubernetes,ravisantoshgudimetla/kubernetes,sanjeevm0/kubernetes,yujuhong/kubernetes,du2016/kubernetes,JacobTanenbaum/kubernetes,k82cn/kubernetes,luxas/kubernetes,sethpollack/kubernetes,sanjeevm0/kubernetes,deads2k/kubernetes,mengqiy/kubernetes,carlory/kubernetes,tomzhang/kubernetes,fejta/kubernetes,BenTheElder/kubernetes,jfrazelle/kubernetes,k82/kubernetes,iameli/kubernetes,jsafrane/kubernetes,carlory/kubernetes,dims/kubernetes,frodenas/kubernetes,yarntime/kubernetes,kevensen/kubernetes,BenTheElder/kubernetes,xychu/kubernetes,tcnghia/kubernetes,tomzhang/kubernetes,kubernetes/kubernetes,mikedanese/kubernetes,zetaab/kubernetes,brendandburns/kubernetes,Acidburn0zzz/kubernetes,jagosan/kubernetes,jackfrancis/kubernetes,rrati/kubernetes,jdef/kubernetes,pwittrock/kubernetes,luxas/kubernetes,u2takey/kubernetes,tomerf/kubernetes,lojies/kubernetes,dixudx/kubernetes,rrati/kubernetes,fanzhangio/kubernetes,mfojtik/kubernetes,huangjiuyuan/kubernetes,Acidburn0zzz/kubernetes,dlorenc/kubernetes,carlory/kubernetes,maciaszczykm/kubernetes,hex108/kubernetes,jagosan/kubernetes,ingvagabund/kubernetes,mikedanese/kubernetes,jessfraz/kubernetes,rafax/kubernetes,openshift/kubernetes,tomzhang/kubernetes,rrati/kubernetes,fejta/kubernetes,sethpollack/kubernetes,shyamjvs/kubernetes,ixdy/kubernetes,verb/kubernetes,x13n/kubernetes,hex108/kubernetes,alejandroEsc/kubernetes,li-ang/kubernetes,zhouhaibing089/kubernetes,chrislovecnm/kubernetes,GulajavaMinistudio/kubernetes,verult/kubernetes,wongma7/kubernetes,x13n/kubernetes,krmayankk/kubernetes,kitt1987/kubernetes,feiskyer/kubernetes,aledbf/kubernetes,cmluciano/kubernetes,enj/kubernetes,fanzhangio/kubernetes,feiskyer/kubernetes,dixudx/kubernetes,sdminonne/kubernetes,fejta/kubernetes,brendandburns/kubernetes,brendandburns/kubernetes,mYmNeo/kubernetes,matthyx/kubernetes,liggitt/kubernetes,carlory/kubernetes,fabriziopandini/kubernetes,ravisantoshgudimetla/kubernetes,jingxu97/kubernetes,LalatenduMohanty/kubernetes,mosoft521/kubernetes,cofyc/kubernetes,mahak/kubernetes,tomerf/kubernetes,brendandburns/kubernetes,iameli/kubernetes,fgimenez/kubernetes,PiotrProkop/kubernetes,coolsvap/kubernetes,pwittrock/kubernetes,zetaab/kubernetes,ravilr/kubernetes,wanghaoran1988/kubernetes,luxas/kubernetes,kevin-wangzefeng/kubernetes,hex108/kubernetes,roberthbailey/kubernetes,stevesloka/kubernetes,verult/kubernetes,tcnghia/kubernetes,mikedanese/kubernetes,enj/kubernetes,ravisantoshgudimetla/kubernetes,nikhita/kubernetes,nikhita/kubernetes,andrewrynhard/kubernetes,klaus1982/kubernetes,andrewrynhard/kubernetes,kpgriffith/kubernetes,wanghaoran1988/kubernetes,davidz627/kubernetes,dlorenc/kubernetes,luxas/kubernetes,kevensen/kubernetes,kevensen/kubernetes,mengqiy/kubernetes,Clarifai/kubernetes,iterion/kubernetes,mboersma/kubernetes,openshift/kubernetes,cofyc/kubernetes,mkumatag/kubernetes,cofyc/kubernetes,mkumatag/kubernetes,enj/kubernetes,jagosan/kubernetes,Lion-Wei/kubernetes,kpgriffith/kubernetes,cblecker/kubernetes,kevensen/kubernetes,mosoft521/kubernetes,zhangmingld/kubernetes,tcnghia/kubernetes,rrati/kubernetes,jackfrancis/kubernetes,andrewsykim/kubernetes,lojies/kubernetes,aledbf/kubernetes,kitt1987/kubernetes,mosoft521/kubernetes,sdminonne/kubernetes,krmayankk/kubernetes,ping035627/kubernetes,GulajavaMinistudio/kubernetes,kubernetes/kubernetes,jfrazelle/kubernetes,xychu/kubernetes,wongma7/kubernetes,fejta/kubernetes,davidz627/kubernetes,PI-Victor/kubernetes,linux-on-ibm-z/kubernetes,Lion-Wei/kubernetes,soltysh/kubernetes,gnufied/kubernetes,spzala/kubernetes,MHBauer/kubernetes,Lion-Wei/kubernetes,maciaszczykm/kubernetes,tallclair/kubernetes,nak3/kubernetes,jfrazelle/kubernetes,k82/kubernetes,fanzhangio/kubernetes,nckturner/kubernetes,xlgao-zju/kubernetes,mboersma/kubernetes,stevesloka/kubernetes,mYmNeo/kubernetes,rafax/kubernetes,soltysh/kubernetes,iterion/kubernetes,mahak/kubernetes,rafax/kubernetes,andrewrynhard/kubernetes,shyamjvs/kubernetes,aveshagarwal/kubernetes,johscheuer/kubernetes,ii/kubernetes,xychu/kubernetes,ingvagabund/kubernetes,PiotrProkop/kubernetes,iterion/kubernetes,dims/kubernetes,sanjeevm0/kubernetes,bparees/kubernetes,zhouhaibing089/kubernetes,cmluciano/kubernetes,tengqm/kubernetes,tallclair/kubernetes,derekwaynecarr/kubernetes,maciaszczykm/kubernetes,sanjeevm0/kubernetes,yujuhong/kubernetes,mkumatag/kubernetes,shyamjvs/kubernetes,derekwaynecarr/kubernetes,kitt1987/kubernetes,thockin/kubernetes,cblecker/kubernetes,spzala/kubernetes,monopole/kubernetes,humblec/kubernetes,saad-ali/kubernetes,sethpollack/kubernetes,ingvagabund/kubernetes,micahhausler/kubernetes,du2016/kubernetes,matthyx/kubernetes,k82cn/kubernetes,pires/kubernetes,mboersma/kubernetes,maciaszczykm/kubernetes,kevin-wangzefeng/kubernetes,aveshagarwal/kubernetes,lojies/kubernetes,pmorie/kubernetes,tallclair/kubernetes,verb/kubernetes,JacobTanenbaum/kubernetes,chrislovecnm/kubernetes,zhangmingld/kubernetes,coolsvap/kubernetes,matthyx/kubernetes,dims/kubernetes,jessfraz/kubernetes,roberthbailey/kubernetes,xychu/kubernetes,verb/kubernetes,nikhita/kubernetes,rrati/kubernetes,csrwng/kubernetes,zetaab/kubernetes,cmluciano/kubernetes,humblec/kubernetes,warmchang/kubernetes,Acidburn0zzz/kubernetes,bparees/kubernetes,ixdy/kubernetes,pwittrock/kubernetes,roberthbailey/kubernetes,jdef/kubernetes,jessfraz/kubernetes,fgimenez/kubernetes,zhangmingld/kubernetes,kubernetes/kubernetes,kevensen/kubernetes,rnaveiras/kubernetes,thockin/kubernetes,ii/kubernetes,thockin/kubernetes,andrewsykim/kubernetes,joelsmith/kubernetes,JacobTanenbaum/kubernetes,pwittrock/kubernetes,weiwei04/kubernetes,MHBauer/kubernetes,JacobTanenbaum/kubernetes,andrewrynhard/kubernetes,mfojtik/kubernetes,iterion/kubernetes,nak3/kubernetes,linux-on-ibm-z/kubernetes,k82/kubernetes,warmchang/kubernetes,du2016/kubernetes,rnaveiras/kubernetes,jdef/kubernetes,csrwng/kubernetes,frodenas/kubernetes,iterion/kubernetes,tomerf/kubernetes,alejandroEsc/kubernetes,kubernetes/kubernetes,jackfrancis/kubernetes,bparees/kubernetes,BenTheElder/kubernetes,tpepper/kubernetes,MHBauer/kubernetes,aveshagarwal/kubernetes,tomerf/kubernetes,ping035627/kubernetes,alejandroEsc/kubernetes,PI-Victor/kubernetes,erwinvaneyk/kubernetes