- Test result for SGE is available here PASSED with WARNING \The Job Cancel Test failed. Anaklysis of problm: it is a delay in state detection by bnotifier, sending a job sleeping for 10min it finishes in DONE-OK:
cat test.jdl
[
executable="/bin/sleep" ;
arguments = "600";
stdoutput="out3.out";
stderror="err3.err";
]
$ glite-ce-job-submit -a -r emitestbed21.cnaf.infn.it:8443/cream-sge-emitesters -a /home/bertocco/gridka.jdl
https://emitestbed21.cnaf.infn.it:8443/CREAM499803862
$ glite-ce-job-cancel https://emitestbed21.cnaf.infn.it:8443/CREAM499803862
Are you sure you want to cancel specified job(s) [y/n]: y
$ glite-ce-job-status https://emitestbed21.cnaf.infn.it:8443/CREAM499803862
****** JobID=[https://emitestbed21.cnaf.infn.it:8443/CREAM499803862]
Status = [CANCELLED]
ExitCode = []
Description = [Cancelled by user]
Checking the batch system another strange thing: the job seems to remain in the batch system and finish regularly in 10min, after cancellation:
# qstat -u '*'
job-ID prior name user state submit/start at queue slots ja-task-ID
-----------------------------------------------------------------------------------------------------------------
105 0.55500 cream_4998 tst22 r 03/27/2012 17:34:06 emitesters@emitestbed13.cnaf.i 1
# qstat -j 105
==============================================================
job_number: 105
exec_file: job_scripts/105
submission_time: Tue Mar 27 17:33:57 2012
owner: tst22
uid: 61022
group: testers
gid: 6100
sge_o_home: /home/tst22
sge_o_log_name: tst22
sge_o_path: /opt/SGE/bin/linux-x64:/usr/bin:/bin
sge_o_shell: /bin/sh
sge_o_workdir: /var/tmp
sge_o_host: emitestbed21
account: sge
mail_list: tst22@emitestbed21.cnaf.infn.it
notify: FALSE
job_name: cream_499803862
jobshare: 0
hard_queue_list: emitesters
shell_list: NONE:/bin/bash
env_list: SGE_stagein=CREAM499803862_jobWrapper.sh.61022.6563.1332862437@emitestbed21.cnaf.infn.it:/var/cream_sandbox/testers/_C_IT_O_INFN_OU_Personal_Certificate_L_Padova_CN_Sara_Bertocco_testers_eu_emi_eu_Role_NULL_Capability_NULL_tst22/49/CREAM499803862/CREAM499803862_jobWrapper.sh@@@cream_499803862.proxy@emitestbed21.cnaf.infn.it:/var/cream_sandbox/testers/_C_IT_O_INFN_OU_Personal_Certificate_L_Padova_CN_Sara_Bertocco_testers_eu_emi_eu_Role_NULL_Capability_NULL_tst22/proxy/eef209cdc40518c452fc0ad35b03b9a2ba1d519b11141130366494,SGE_stageout=out_cream_499803862_StandardOutput@emitestbed21.cnaf.infn.it:/var/cream_sandbox/testers/_C_IT_O_INFN_OU_Personal_Certificate_L_Padova_CN_Sara_Bertocco_testers_eu_emi_eu_Role_NULL_Capability_NULL_tst22/49/CREAM499803862/StandardOutput@@@err_cream_499803862_StandardError@emitestbed21.cnaf.infn.it:/var/cream_sandbox/testers/_C_IT_O_INFN_OU_Personal_Certificate_L_Padova_CN_Sara_Bertocco_testers_eu_emi_eu_Role_NULL_Capability_NULL_tst22/49/CREAM499803862/StandardError
script_file: /tmp/cream_499803862
usage 1: cpu=00:00:00, mem=0.00448 GBs, io=0.00110, vmem=404.660M, maxvmem=404.660M
scheduling info: queue instance "emitesters@emitestbed13.cnaf.infn.it" dropped because it is full
# qacct -j 105
==============================================================
qname emitesters
hostname emitestbed13.cnaf.infn.it
group testers
owner tst22
project NONE
department defaultdepartment
jobname cream_499803862
jobnumber 105
taskid undefined
account sge
priority 0
qsub_time Tue Mar 27 17:33:57 2012
start_time Tue Mar 27 17:34:07 2012
end_time Tue Mar 27 17:44:08 2012
granted_pe NONE
slots 1
failed 0
exit_status 0
ru_wallclock 601
ru_utime 0.615
ru_stime 0.578
ru_maxrss 2788
ru_ixrss 0
ru_ismrss 0
ru_idrss 0
ru_isrss 0
ru_minflt 43062
ru_majflt 0
ru_nswap 0
ru_inblock 0
ru_oublock 0
ru_msgsnd 0
ru_msgrcv 0
ru_nsignals 0
ru_nvcsw 270
ru_nivcsw 344
cpu 1.193
mem 0.004
io 0.001
iow 0.000
maxvmem 404.660M
arid undefined
|