Megatest

Artifact [bff60233eb]
Login

Artifact bff60233ebdbd7af66dfe4d3471f1d52edceadce:

Ticket change [bff60233eb] - New ticket [029dec28fe] potential hazard in contextmenu->rerun; request clean-run-execute in context menu. by bjbarcla on 2017-08-03 17:33:51.
D 2017-08-03T23:33:51.591
J comment \sI\sthink\sa\squick\sfix\swould\sbe\sto\sadd\sanother\sbutton\sto\scontext\smenu\scalled\sCleanRunExecute!\sthat\sdoes\sexactly\swhat\sthe\stest\scontrol\spanel\sbutton\sdoes\sand\sleave\sReRun\salone;\sif\syou\sdont\strust\sone,\sor\swant\smore\sspeed;\schoose\syour\sown\sfortune\s:)\r\n\r\nObservations\sfollow:\r\n\r\n\r\nwhen\si\sselect\stest->rerun\sfrom\sright\sclick\smenu\sin\srun\stab\sof\sdashboard,\sthe\stest\sdoesnt\sseem\sto\sget\scleaned\sbefore\srerun\r\ni\r\njust\snoticed\sthat\sin\smy\scrf\sbuild..\srerunning\sdidnt\sclear\ssteps...\sjust\sran\sthem\sagain...\swhich\slooks\sweird\ssince\ssteps\swere\sout\sof\sorder\sin\stest\scontrol\spanel\swith\ssome\s#unspecified\sstates\r\n\r\n\s\s(iup:menu-item\r\n\s\s\s\s(conc\s"Rerun\s"\sitem-test-path)\r\n\s\s\s\s#:action\r\n\s\s\s\s(lambda\s(obj)\r\n\s\s\s\s\s\s(common:run-a-command\r\n\s\s\s\s\s\s\s(conc\s"megatest\s-set-state-status\sNOT_STARTED,n/a\s-run\s-target\s"\starget\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s"\s-runname\s"\srunname\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s"\s-testpatt\s"\sitem-test-path\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s"\s-preclean\s-clean-cache"))))\s\r\nNo\sTitle\r\n\s(iup:menu-item\r\n\s\s\s\s"Run"\r\n\s\s\s\s(iup:menu\r\n\s\s\s\s\s(iup:menu-item\r\n\s\s\s\s\s\s(conc\s"Rerun\s"\stestpatt)\r\n\s\s\s\s\s\s#:action\r\n\s\s\s\s\s\s(lambda\s(obj)\r\n\s\s\s\s\s\s\s\s;;\s(print\s\s"\srun-id:\s"\srun-id\s"\stest-id:\s"\stest-id\s"\starget:\s"\starget\s"\srunname:\s"\srunname\s"\stest-name:\s"\stest-name\s"\stestpatt:\s"\stestpatt\s"item-path\s:\s"\sitem-path)\r\n\s\s\s\s\s\s\s\s(common:run-a-command\r\n\s\s\s\s\s\s\s\s\s(conc\s"megatest\s-run\s-target\s"\starget\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"\s-runname\s"\srunname\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"\s-testpatt\s"\stestpatt\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"\s-preclean\s-clean-cache")\r\n\s\s\s\s\s\s\s\s\s)))\r\n\s\s\s\s\s(iup:menu-item\r\n\s\s\s\s\s\s"Rerun\sComplete\sRun"\r\n\s\s\s\s\s\s#:action\r\n\s\s\s\s\s\s(lambda\s(obj)\r\n\s\s\s\s\s\s\s\s(common:run-a-command\r\n\s\s\s\s\s\s\s\s\s(conc\s"megatest\s-set-state-status\sNOT_STARTED,n/a\s-run\s-target\s"\starget\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"\s-runname\s"\srunname\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"\s-testpatt\s%\s"\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"\s-preclean\s-clean-cache"))))\s\r\nall\shave\s-preclean\r\n\r\nwhen\sI\sdo\sclean-run-execute,\sit\sis\sexplicitly\scleared\sbefore\sretstarting...\sthat\sis\swhat\sguided\smy\sexpectation\r\n\r\nit\sdefinitely\sdoesn't\skill\sthem...\swatching\sthe\sdasboard,\sI\ssee\sa\srunning\sitem\sgo\sfrom\srunning->launched\simmediately...\swith\sc-r-e,\sI\ssee\sit\sblanking\sout\sfirst\r\n\r\n\s\s\s\s(clean-run-execute\s\s(lambda\s(x)\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s(let\s((cmd\s(conc\s"megatest\s-remove-runs\s-target\s"\skeystring\s"\s-runname\s"\srunname\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"\s-testpatt\s"\s(conc\stestname\s"/"\s(if\s(equal?\sitem-path\s"")\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"%"\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sitem-path))\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s";megatest\s-target\s"\skeystring\s"\s-runname\s"\srunname\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"\s-run\s-preclean\s-testpatt\s"\s(conc\stestname\s"/"\s(if\s(equal?\sitem-path\s"")\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"%"\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sitem-path))\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"\s-clean-cache"\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s)))\s\r\n\r\ncre\sdoes\sa\sremove-runs\sfirst...\sthat\sis\sthe\sdifference\si\sguess\r\n\r\n\sI\sthink\sthere\smight\sbe\ssome\shazard.\sIt\sishard\sto\sprove...\sbut\sI\scan\sget\sa\stest\sthat\spasses\sconsistently\sto\sfail\sif\si\srerun\swhile\srunning\r\n.\r\n\sIn\sthis\scase,\sthe\srunning\stest\sis\sin\sthe\sprocess\sof\sa\sfossil\sopen\r\nthe\srespawned\sone\sdies\swith\scurrent\sdirectory\sis\snot\swithin\san\sopen\scheckout\s\r\n\r\n\r\n\r\n\r\nI
J foundin 1.6427
J login bjbarcla
J private_contact 9a900f538965a426994e1e90600920aff0b4e8d2
J severity Severe
J status Open
J title potential\shazard\sin\scontextmenu->rerun;\srequest\sclean-run-execute\sin\scontext\smenu
J type Feature_Request
K 029dec28fe15dc2c04653c597b56f83ec7f7960f
U bjbarcla
Z 4705588e3ba61cb2936815bf949598dc