add testname in inputdir + fix upload in mutiple processes + fix upload status