Flaky test: TestRunAttachFailedNoLeak (#21247)
Flaky test: TestRunAttachFailedNoLeak (#21247)

This pull request tries to diagnosis and fix the flaky test of
TestRunAttachFailedNoLeak. The test failed several times in
Docker CI but is very difficult to repeat even in CI.

This pull request first try to repeat the issue at the Jenkins
server with some diagnosis message added to the output in case
the test fails again.

Since the added ouputs will only be invoked when test fails,
it will not add any unnecessary content in normal situations.

Signed-off-by: Yong Tang <765086fe2e0c1f980161f127fec596800f327f62@outlook.com>

ffoysal/docker,konstruktoid/docker-1,coreos/docker,laijs/docker,medallia/docker,rhatdan/docker,konstruktoid/docker-upstream,jhorwit2/docker,erikh/docker,containers/storage,Ramzec/docker,jhorwit2/docker,kunalkushwaha/docker,cr7pt0gr4ph7/docker,xuxinkun/docker,msabansal/docker,13W/docker,errordeveloper/docker,ibuildthecloud/docker,naveed-jamil-tenpearls/moby,jvanz/docker,Shopify/docker,michael-holzheu/docker,docker/docker.github.io,alexisbellido/docker.github.io,moypray/docker,JimGalasyn/docker.github.io,mtesselH/docker,jameszhan/docker,LuisBosquez/docker.github.io,troy0820/docker.github.io,gigidwan/docker,noxiouz/docker,cr7pt0gr4ph7/docker,rhatdan/docker,jhorwit2/docker,isubuz/docker,gjaskiewicz/moby,resin-io/docker,dims/docker,sanscontext/docker.github.io,laijs/moby,stevvooe/docker,phiroict/docker,flavio/docker,Shopify/docker,tianon/docker,phiroict/docker,bearstech/moby,YuPengZTE/docker,srust/docker,dmcgowan/docker,sunyuan3/docker,erikh/docker,yp-engineering/docker,x1022as/docker,diogomonica/docker,resin-io/docker,moxiegirl/docker,thtanaka/docker,willmtemple/docker,shubheksha/docker.github.io,endophage/docker,dsau/docker,mike1729/docker,POLJM242/docker,hqhq/moby,Morsicus/docker,ndeloof/docker,kunalkushwaha/docker,BenHall/docker,abhinavdahiya/docker,thaJeztah/docker,moul/docker,thaJeztah/docker.github.io,johnstep/moby-moby,toli/docker,aduermael/docker.github.io,laijs/moby,alfred-landrum/docker,troy0820/docker.github.io,thaJeztah/docker.github.io,trebonian/docker,qudongfang/docker,raja-sami-10p/moby,crosbymichael/docker,duglin/docker,HideoYamauchi/docker,liaoqingwei/docker,toli/docker,charleswhchan/docker,Morsicus/docker,joeuo/docker.github.io,inatatsu/docker,gschaetz/moby,projectatomic/docker,sean-jc/docker,Altiscale/docker,Shopify/docker,scotttlin/docker,portworx/docker,x1022as/docker,pecameron/docker,mohmost12/docker,moxiegirl/docker,moul/docker,unclejack/docker,allencloud/docker,icaoweiwei/docker,jthelin/docker,bfirsh/docker,willmtemple/docker,cyphar/docker,gigidwan/docker,13W/docker,mikebrow/docker,anujbahuguna/docker,ColinHebert/docker,docker/docker.github.io,denverdino/denverdino.github.io,jthelin/docker,jongiddy/docker,whuwxl/docker,mkumatag/docker,hypriot/docker,rhatdan/docker,AkihiroSuda/docker,tonistiigi/docker,msabansal/docker,DoraALin/docker,stainboy/docker,darrenstahlmsft/moby,alexisbellido/docker.github.io,darrenstahlmsft/docker,HuKeping/docker,Microsoft/docker,kojiromike/docker,tophj-ibm/moby,wenchma/docker,tklauser/docker,mstanleyjones/docker,prertik/docker,jzwlqx/denverdino.github.io,achanda/docker,aduermael/docker.github.io,jameszhan/docker,darrenstahlmsft/moby,projectatomic/docker,Mokolea/docker,shhsu/docker,kerneltime/docker,darrenstahlmsft/docker,konstruktoid/docker-upstream,cpuguy83/docker,eskaaren/docker,sarnautov/moby,msabansal/docker,johnstep/docker.github.io,inatatsu/docker,jlhawn/docker,shin-/docker.github.io,allencloud/docker,bearstech/moby,sean-jc/docker,TheBigBear/docker,denverdino/docker.github.io,wenchma/docker,miminar/docker,14rcole/docker,shhsu/docker,shubheksha/docker.github.io,mixja/docker,noxiouz/docker,anweiss/docker.github.io,SvenDowideit/docker,kunalkushwaha/docker,dccurtis/docker,mtanlee/docker,scotttlin/docker,BSWANG/denverdino.github.io,mikedougherty/docker,laijs/moby,rhatdan/storage,errordeveloper/docker,danix800/docker.github.io,lixiaobing10051267/docker,mixja/docker,tagomoris/docker,dccurtis/docker,pramodhkp/moby,joeuo/docker.github.io,sheimi/docker,gnailuy/docker,twaugh/docker,shubheksha/docker.github.io,amatsus/docker,denverdino/denverdino.github.io,gjaskiewicz/moby,PatrickLang/moby,ffoysal/docker,dongjoon-hyun/docker,pradipd/moby,bdwill/docker.github.io,dsheets/moby,naveed-jamil-tenpearls/moby,liaoqingwei/docker,shin-/docker.github.io,pramodhkp/moby,joaofnfernandes/docker.github.io,mkumatag/docker,tophj-ibm/moby,mtanlee/docker,mahak/docker,13W/docker,rhatdan/storage,imkin/moby,cr7pt0gr4ph7/docker,moby/moby,menglingwei/denverdino.github.io,denverdino/docker.github.io,jimjag/docker,coreos/docker,sheimi/docker,hypriot/docker,michael-holzheu/docker,mkumatag/docker,kencochrane/docker,Syntaxide/docker,ripcurld0/moby,kojiromike/docker,zhuguihua/docker,crosbymichael/docker,Morsicus/docker,q384566678/docker,wenchma/docker,shin-/docker.github.io,jimjag/docker,tianon/docker,xiekeyang/docker,bfirsh/docker,jlhawn/docker,yp-engineering/docker,gnailuy/docker,laijs/docker,noironetworks/docker,jwhonce/docker,nghiant2710/docker,rremer/moby,londoncalling/docker.github.io,mtesselH/docker,x1022as/docker,madhanrm/docker,13W/docker,bluebreezecf/docker,jimjag/docker,jimjag/docker,dgageot/docker,estesp/docker,tkopczynski/docker,endophage/docker,LuisBosquez/docker.github.io,xiaods/docker,dnephin/docker,tmp6154/docker,dsau/docker,AkihiroSuda/docker,13W/docker,yasiramin10p/moby,moypray/docker,moypray/docker,BSWANG/denverdino.github.io,dperny/docker,paralin/docker,kencochrane/docker,moul/docker,anujbahuguna/docker,raja-sami-10p/moby,mahak/docker,nawawi/docker,diogomonica/docker,twaugh/docker,yongtang/docker,erikstmartin/docker,coolljt0725/docker,crosbymichael/docker,nawawi/docker,gdevillele/docker.github.io,anujbahuguna/docker,aduermael/docker.github.io,bfirsh/docker,anweiss/docker.github.io,madhanrm/docker,docker/docker.github.io,portworx/docker,shin-/docker.github.io,KingEmet/docker,thtanaka/docker,HideoYamauchi/docker,mtrmac/docker,tophj-ibm/docker,LaynePeng/docker,mikebrow/docker,cpuguy83/docker,vdemeester/docker,sdurrheimer/docker,mike1729/docker,moby/moby,asbjornenge/docker,catinthesky/docker,jongiddy/docker,afein/docker,vdemeester/docker,POLJM242/docker,Mokolea/docker,lixiaobing1/docker,KarthikNayak/docker,harche/docker,bearstech/moby,fcrisciani/docker,gschaetz/moby,icaoweiwei/docker,erikstmartin/docker,q384566678/docker,whuwxl/docker,bluebreezecf/docker,willmtemple/docker,sean-jc/docker,medallia/docker,icaoweiwei/docker,docker-zh/docker.github.io,sanscontext/docker.github.io,portworx/docker,johnstep/docker.github.io,gschaetz/moby,konstruktoid/docker-upstream,johnstep/docker.github.io,dperny/docker,alexisbellido/docker.github.io,dperny/docker,JMesser81/docker,johnstep/moby-moby,justincormack/docker,nalind/docker,whuwxl/docker,londoncalling/docker.github.io,darrenstahlmsft/moby,splunk/docker,nalind/docker,jlebon/docker,rillig/docker.github.io,projectatomic/docker,HuKeping/docker,miminar/docker,Mashimiao/docker,mohmost12/docker,michael-holzheu/docker,paralin/docker,haveatry/docker,mikedougherty/docker,anweiss/docker.github.io,djs55/docker,dsheets/moby,shubheksha/docker.github.io,runcom/docker,kolyshkin/moby,noironetworks/docker,imkin/moby,bluebreezecf/docker,dccurtis/docker,runcom/docker,shubheksha/docker.github.io,TheBigBear/docker,sdurrheimer/docker,tklauser/docker,londoncalling/docker.github.io,Altiscale/docker,justincormack/docker,gigidwan/docker,tophj-ibm/moby,tonistiigi/docker,haveatry/docker,bdwill/docker.github.io,ColinHebert/docker,noironetworks/docker,raja-sami-10p/moby,mahak/docker,nghiant2710/docker,joeuo/docker.github.io,medallia/docker,ibuildthecloud/docker,yongtang/docker,errordeveloper/docker,mtanlee/docker,duglin/docker,amatsus/docker,mixja/docker,gdevillele/docker.github.io,moxiegirl/docker,rremer/moby,tophj-ibm/docker,joaofnfernandes/docker.github.io,miminar/docker,ibuildthecloud/docker,isubuz/docker,docker/docker,hqhq/moby,moby/moby,Microsoft/docker,sanjeo/docker,Mashimiao/docker,qudongfang/docker,bdwill/docker.github.io,Altiscale/docker,coreos/docker,docker-zh/docker.github.io,ndeloof/docker,lixiaobing1/docker,abhinavdahiya/docker,johnstep/docker.github.io,mstanleyjones/docker,srust/docker,stainboy/docker,ndeloof/docker,gjaskiewicz/moby,anweiss/docker.github.io,mtrmac/docker,sanjeo/docker,scotttlin/docker,yasiramin10p/moby,KarthikNayak/docker,darrenstahlmsft/docker,johnstep/moby-moby,maxamillion/docker,HuKeping/docker,trebonian/docker,joeuo/docker.github.io,14rcole/docker,fcrisciani/docker,xuxinkun/docker,phiroict/docker,kerneltime/docker,denverdino/docker.github.io,moby/moby,jzwlqx/denverdino.github.io,ibuildthecloud/docker,yummypeng/docker,KingEmet/docker,menglingwei/denverdino.github.io,jameszhan/docker,sterchelen/docker,jongiddy/docker,JimGalasyn/docker.github.io,yosifkit/docker,prertik/docker,stainboy/docker,jzwlqx/denverdino.github.io,konstruktoid/docker-1,docker/docker.github.io,nalind/docker,jvanz/docker,aduermael/docker.github.io,justyntemme/docker,resin-io/docker,sarnautov/moby,gdevillele/docker.github.io,justyntemme/docker,imkin/moby,kerneltime/docker,haveatry/docker,danix800/docker.github.io,JimGalasyn/docker.github.io,pramodhkp/moby,madhanrm/docker,LuisBosquez/docker.github.io,yummypeng/docker,mikedougherty/docker,docker-zh/docker.github.io,kolyshkin/docker,tonistiigi/docker,danyalKhaliq10p/moby,Tenk42/docker,troy0820/docker.github.io,shishir-a412ed/docker,pradipd/moby,danix800/docker.github.io,joaofnfernandes/docker.github.io,londoncalling/docker.github.io,jzwlqx/denverdino.github.io,docker/docker,coolljt0725/docker,PatrickLang/moby,dongjoon-hyun/docker,isubuz/docker,diogomonica/docker,KarthikNayak/docker,toli/docker,paralin/docker,zhuguihua/docker,johnstep/docker.github.io,jlebon/docker,yp-engineering/docker,sheimi/docker,asbjornenge/docker,mathewkoshy493/docker,dnephin/docker,endophage/docker,rancher/docker,sarnautov/moby,cyphar/docker,tophj-ibm/docker,DoraALin/docker,ripcurld0/moby,dnephin/docker,BenHall/docker,charleswhchan/docker,kencochrane/docker,gnailuy/docker,dgageot/docker,flavio/docker,thaJeztah/docker.github.io,splunk/docker,harche/docker,jvanz/docker,LaynePeng/docker,inatatsu/docker,paralin/docker,kolyshkin/moby,maxamillion/docker,alexisbellido/docker.github.io,coolljt0725/docker,cpuguy83/docker,sfsmithcha/docker,alfred-landrum/docker,dgageot/docker,djs55/docker,gnailuy/docker,PatrickLang/moby,liaoqingwei/docker,zhuguihua/docker,estesp/docker,dims/docker,charleswhchan/docker,tmp6154/docker,thaJeztah/docker,sanscontext/docker.github.io,shishir-a412ed/docker,gdevillele/docker.github.io,Mokolea/docker,noxiouz/docker,alfred-landrum/docker,thaJeztah/docker.github.io,sanscontext/docker.github.io,jwhonce/docker,JMesser81/docker,eskaaren/docker,charleszheng44/moby,denverdino/denverdino.github.io,akira-baruah/docker,Mokolea/docker,thaJeztah/docker,gdevillele/docker.github.io,catinthesky/docker,AkihiroSuda/docker,mathewkoshy493/docker,hypriot/docker,bearstech/moby,Syntaxide/docker,rillig/docker.github.io,cloudflare/docker,sfsmithcha/docker,shin-/docker.github.io,sfsmithcha/docker,lixiaobing10051267/docker,kojiromike/docker,yosifkit/docker,shhsu/docker,JimGalasyn/docker.github.io,yongtang/docker,brahmaroutu/docker,stevvooe/docker,srust/docker,qudongfang/docker,nawawi/docker,joaofnfernandes/docker.github.io,sanjeo/docker,flavio/docker,dsau/docker,dims/docker,nawawi/docker,jwhonce/docker,akira-baruah/docker,unclejack/docker,xiekeyang/docker,trebonian/docker,HideoYamauchi/docker,abhinavdahiya/docker,mstanleyjones/docker,JimGalasyn/docker.github.io,denverdino/denverdino.github.io,Ramzec/docker,BSWANG/denverdino.github.io,mtesselH/docker,fcrisciani/docker,mike1729/docker,tklauser/docker,bonczj/moby-json-file-logger,danyalKhaliq10p/moby,naveed-jamil-tenpearls/moby,achanda/docker,phiroict/docker,Syntaxide/docker,charleszheng44/moby,sdurrheimer/docker,medallia/docker,tagomoris/docker,twaugh/docker,prertik/docker,duglin/docker,jlebon/docker,troy0820/docker.github.io,hqhq/moby,ripcurld0/moby,rillig/docker.github.io,TheBigBear/docker,tmp6154/docker,BSWANG/denverdino.github.io,anweiss/docker.github.io,cloudflare/docker,BenHall/docker,xiekeyang/docker,menglingwei/denverdino.github.io,yosifkit/docker,ffoysal/docker,maxamillion/docker,yosifkit/docker,danyalKhaliq10p/moby,denverdino/docker.github.io,pradipd/moby,lixiaobing1/docker,runcom/docker,cpuguy83/docker,q384566678/docker,thaJeztah/docker,Ramzec/docker,alexisbellido/docker.github.io,mathewkoshy493/docker,ajaymdesai/docker,jlhawn/docker,Microsoft/docker,allencloud/docker,joaofnfernandes/docker.github.io,afein/docker,kolyshkin/docker,containers/storage,dmcgowan/docker,rancher/docker,ibuildthecloud/docker,erikstmartin/docker,thtanaka/docker,Mashimiao/docker,LaynePeng/docker,containers/storage,jzwlqx/denverdino.github.io,docker-zh/docker.github.io,bonczj/moby-json-file-logger,eskaaren/docker,lixiaobing10051267/docker,rhardih/docker,DoraALin/docker,SvenDowideit/docker,docker/docker.github.io,SvenDowideit/docker,bdwill/docker.github.io,xuxinkun/docker,justincormack/docker,joeuo/docker.github.io,justyntemme/docker,rhardih/docker,sterchelen/docker,trebonian/docker,dmcgowan/docker,catinthesky/docker,denverdino/docker.github.io,Ramzec/docker,rillig/docker.github.io,londoncalling/docker.github.io,shishir-a412ed/docker,BSWANG/denverdino.github.io,pecameron/docker,thaJeztah/docker.github.io,stevvooe/docker,JMesser81/docker,YuPengZTE/docker,estesp/docker,bdwill/docker.github.io,sunyuan3/docker,pecameron/docker,cloudflare/docker,sanscontext/docker.github.io,yasiramin10p/moby,menglingwei/denverdino.github.io,brahmaroutu/docker,tkopczynski/docker,brahmaroutu/docker,xiaods/docker,xiaods/docker,sterchelen/docker,michelvocks/docker,LuisBosquez/docker.github.io,nalind/docker,danix800/docker.github.io,ajaymdesai/docker,asbjornenge/docker,docker/docker,michelvocks/docker,KingEmet/docker,moul/docker,dsheets/moby,dongjoon-hyun/docker,AkihiroSuda/docker,vdemeester/docker,kolyshkin/moby,djs55/docker,mgoelzer/docker,mtrmac/docker,YuPengZTE/docker,amatsus/docker,ColinHebert/docker,mgoelzer/docker,mahak/docker,nghiant2710/docker,yummypeng/docker,mikebrow/docker,sunyuan3/docker,michelvocks/docker,tkopczynski/docker,mgoelzer/docker,docker-zh/docker.github.io,harche/docker,mohmost12/docker,bonczj/moby-json-file-logger,erikh/docker,tagomoris/docker,rancher/docker,phiroict/docker,rremer/moby,splunk/docker,menglingwei/denverdino.github.io,laijs/docker,unclejack/docker,konstruktoid/docker-upstream,flavio/docker,charleszheng44/moby,Tenk42/docker,achanda/docker,denverdino/denverdino.github.io,rhatdan/storage,afein/docker,cyphar/docker,LuisBosquez/docker.github.io,Tenk42/docker,ajaymdesai/docker,konstruktoid/docker-1