Fixed a bug in jUnit output from os::cmd::try_until_text
Fixed a bug in jUnit output from os::cmd::try_until_text

Previously, when os::cmd::try_until_text failed, it would
emit a jUnit test end marker too early, before the test
output was written to the jUnit log file. This woul cause
malformed jUnit output.

Signed-off-by: Steve Kuznetsov <a7da0fca91d9933d2725d731a48cabdc9e8ffd7a@redhat.com>

dgoodwin/origin,detiber/origin,tnozicka/origin,jupierce/origin,ravisantoshgudimetla/origin,tracyrankin/origin,tagoh/origin,mdshuai/origin,rrati/origin,tiwillia/origin,ncdc/origin,sferich888/origin,goern/origin,elyscape/origin,markllama/origin,openshift/origin,chmouel/origin,Miciah/origin,soltysh/origin,linearregression/origin,maxamillion/origin,hroyrh/origin,imcsk8/origin,jwhonce/origin,jwhonce/origin,kargakis/origin,jeffvance/origin,jpeeler/origin,louyihua/origin,Miciah/origin,ramr/origin,luciddreamz/origin,abutcher/origin,miminar/origin,jeffvance/origin,louyihua/origin,juanvallejo/origin,spadgett/origin,raffaelespazzoli/origin,aveshagarwal/origin,dgoodwin/origin,jprukner/origin,zhaosijun/origin,dcbw/origin,maxamillion/origin,ryanj/origin,tagoh/origin,ingvagabund/origin,luciddreamz/origin,gabemontero/origin,markllama/origin,kargakis/origin,pravisankar/origin,dobbymoodge/origin,nak3/origin,tdawson/origin,childsb/origin,jeffvance/origin,tdawson/origin,adelton/origin,gashcrumb/origin,rajatchopra/origin,marun/origin,ravisantoshgudimetla/origin,gashcrumb/origin,dmage/origin,zhaosijun/origin,aveshagarwal/origin,maxamillion/origin,wjiangjay/origin,pecameron/origin,spadgett/origin,danmcp/origin,ravisantoshgudimetla/origin,tagoh/origin,juanvallejo/origin,JacobTanenbaum/origin,danmcp/origin,imcsk8/origin,luciddreamz/origin,markllama/origin,pravisankar/origin,tnozicka/origin,tiwillia/origin,hferentschik/origin,pmorie/origin,tnozicka/origin,mdshuai/origin,miminar/origin,smarterclayton/origin,childsb/origin,linzhaoming/origin,hferentschik/origin,mdshuai/origin,chmouel/origin,danwinship/origin,jsafrane/origin,openshift/origin,smarterclayton/origin,pmorie/origin,louyihua/origin,imcsk8/origin,stevekuznetsov/origin,wanghaoran1988/origin,mrogers950/origin,danwinship/origin,bparees/origin,jeremyeder/origin,childsb/origin,JacobTanenbaum/origin,ncdc/origin,imcsk8/origin,detiber/origin,eparis/origin,jpeeler/origin,sg00dwin/origin,sdminonne/origin,chlunde/origin,juanvallejo/origin,ironcladlou/origin,legionus/origin,robertol/origin,elyscape/origin,rajatchopra/origin,xiuwang/origin,goern/origin,jeremyeder/origin,php-coder/origin,jprukner/origin,juanvallejo/origin,liangxia/origin,coreydaley/origin,hferentschik/origin,miminar/origin,tracyrankin/origin,aveshagarwal/origin,kargakis/origin,pecameron/origin,csrwng/origin,robertol/origin,dcbw/origin,linearregression/origin,liangxia/origin,jpeeler/origin,thrasher-redhat/origin,ravisantoshgudimetla/origin,jim-minter/origin,elyscape/origin,anpingli/origin,PI-Victor/origin,goern/origin,rhcarvalho/origin,raffaelespazzoli/origin,pmorie/origin,mrogers950/origin,nhr/origin,mrogers950/origin,abutcher/origin,robertol/origin,detiber/origin,PI-Victor/origin,enj/origin,elyscape/origin,linzhaoming/origin,imcsk8/origin,marun/origin,rootfs/origin,chmouel/origin,php-coder/origin,sspeiche/origin,rrati/origin,danwinship/origin,php-coder/origin,inlandsee/origin,pweil-/origin,jeremyeder/origin,ncdc/origin,tagoh/origin,sallyom/origin,chlunde/origin,nak3/origin,mahak/origin,mdshuai/origin,adelton/origin,markllama/origin,liggitt/origin,stevekuznetsov/origin,louyihua/origin,markllama/origin,dobbymoodge/origin,ramr/origin,wjiangjay/origin,pravisankar/origin,maleck13/origin,sg00dwin/origin,rhamilto/origin,dobbymoodge/origin,dinhxuanvu/origin,aveshagarwal/origin,jupierce/origin,eparis/origin,mdshuai/origin,luciddreamz/origin,dmage/origin,hferentschik/origin,wanghaoran1988/origin,ravisantoshgudimetla/origin,deads2k/origin,pweil-/origin,jprukner/origin,tagoh/origin,pravisankar/origin,simo5/origin,sspeiche/origin,dinhxuanvu/origin,childsb/origin,hroyrh/origin,php-coder/origin,jwhonce/origin,hroyrh/origin,jpeeler/origin,kargakis/origin,mfojtik/origin,anpingli/origin,matthyx/origin,dinhxuanvu/origin,liggitt/origin,luciddreamz/origin,marun/origin,jprukner/origin,kargakis/origin,sallyom/origin,liangxia/origin,jim-minter/origin,php-coder/origin,rajatchopra/origin,mrogers950/origin,matthyx/origin,pecameron/origin,arilivigni/origin,rajatchopra/origin,sjug/origin,linzhaoming/origin,liggitt/origin,jeremyeder/origin,wanghaoran1988/origin,tagoh/origin,sg00dwin/origin,sallyom/origin,spadgett/origin,abutcher/origin,sjug/origin,ramr/origin,jwhonce/origin,stevekuznetsov/origin,dcbw/origin,arilivigni/origin,inlandsee/origin,php-coder/origin,danwinship/origin,dobbymoodge/origin,deads2k/origin,luciddreamz/origin,jprukner/origin,spadgett/origin,ryanj/origin,maxamillion/origin,nhr/origin,miminar/origin,sferich888/origin,smarterclayton/origin,dgoodwin/origin,gashcrumb/origin,hferentschik/origin,eparis/origin,miminar/origin,adelton/origin,robertol/origin,imcsk8/origin,rootfs/origin,jsafrane/origin,coreydaley/origin,rhcarvalho/origin,jupierce/origin,xiuwang/origin,sg00dwin/origin,PI-Victor/origin,detiber/origin,gashcrumb/origin,ncdc/origin,ryanj/origin,liangxia/origin,rhamilto/origin,stevekuznetsov/origin,thrasher-redhat/origin,nhr/origin,soltysh/origin,liangxia/origin,liggitt/origin,wjiangjay/origin,linzhaoming/origin,juanvallejo/origin,matthyx/origin,ironcladlou/origin,tracyrankin/origin,rrati/origin,jwhonce/origin,nhr/origin,nhr/origin,tracyrankin/origin,jwhonce/origin,maxamillion/origin,enj/origin,ryanj/origin,jpeeler/origin,tnozicka/origin,pweil-/origin,zhaosijun/origin,danmcp/origin,danwinship/origin,sferich888/origin,gabemontero/origin,hferentschik/origin,juanvallejo/origin,danwinship/origin,rrati/origin,simo5/origin,ramr/origin,wjiangjay/origin,detiber/origin,liggitt/origin,louyihua/origin,maleck13/origin,adelton/origin,chlunde/origin,dobbymoodge/origin,rhcarvalho/origin,csrwng/origin,dcbw/origin,rhamilto/origin,pmorie/origin,raffaelespazzoli/origin,sdminonne/origin,akram/origin,mkumatag/origin,csrwng/origin,tdawson/origin,jeremyeder/origin,thrasher-redhat/origin,wjiangjay/origin,pmorie/origin,liggitt/origin,linearregression/origin,rhamilto/origin,jeffvance/origin,openshift/origin,rajatchopra/origin,mdshuai/origin,inlandsee/origin,rootfs/origin,rootfs/origin,zhaosijun/origin,maleck13/origin,miminar/origin,tiwillia/origin,simo5/origin,jupierce/origin,spadgett/origin,kargakis/origin,jprukner/origin,dcbw/origin,eparis/origin,rootfs/origin,coreydaley/origin,arilivigni/origin,rhamilto/origin,marun/origin,tnozicka/origin,jsafrane/origin,ramr/origin,rajatchopra/origin,goern/origin,abutcher/origin,pravisankar/origin,ingvagabund/origin,linearregression/origin,dmage/origin,thrasher-redhat/origin,soltysh/origin,robertol/origin,ryanj/origin,simo5/origin,mahak/origin,legionus/origin,danmcp/origin,inlandsee/origin,jupierce/origin,mrogers950/origin,legionus/origin,akram/origin,tdawson/origin,childsb/origin,dinhxuanvu/origin,mfojtik/origin,dobbymoodge/origin,PI-Victor/origin,sspeiche/origin,childsb/origin,rhcarvalho/origin,markllama/origin,simo5/origin,dgoodwin/origin,sspeiche/origin,linzhaoming/origin,mrogers950/origin,akram/origin,chmouel/origin,aveshagarwal/origin,rrati/origin,wjiangjay/origin,dinhxuanvu/origin,mahak/origin,dgoodwin/origin,matthyx/origin,rhcarvalho/origin,adelton/origin,legionus/origin,sdminonne/origin,robertol/origin,enj/origin,mkumatag/origin,bparees/origin,chlunde/origin,legionus/origin,jim-minter/origin,arilivigni/origin,Miciah/origin,nak3/origin,liangxia/origin,dmage/origin,ironcladlou/origin,mkumatag/origin,wanghaoran1988/origin,wanghaoran1988/origin,tnozicka/origin,mfojtik/origin,anpingli/origin,JacobTanenbaum/origin,gabemontero/origin,deads2k/origin,ryanj/origin,xiuwang/origin,maleck13/origin,ingvagabund/origin,PI-Victor/origin,raffaelespazzoli/origin,matthyx/origin,sjug/origin,smarterclayton/origin,bparees/origin,elyscape/origin,PI-Victor/origin,tiwillia/origin,abutcher/origin,smarterclayton/origin