--> ++++++++++++++++++++++++++++++++++++++++++++ --> + Test of CREAM-CE command line interface + --> ++++++++++++++++++++++++++++++++++++++++++++ --> Test starts at: 12:13:52 --> CE used: emi-demo13.cnaf.infn.it:8443/cream-pbs-demo --> --> [ 12:13:52 ] run: ./CREAM-cli-delegation.sh -d --> ++++++++++++++++++++++++++++++++++++++++++++ --> + Test of CREAM-CE command line interface + --> ++++++++++++++++++++++++++++++++++++++++++++ --> Test starts at: 12:13:52 --> CE used: emi-demo13.cnaf.infn.it:8443/cream-pbs-demo --> --> TEST 1: delegate a proxy specifying CREAM URL and delegation ID: --> --> [ 12:13:52 ] run: /usr/bin/glite-ce-delegate-proxy --endpoint emi-demo13.cnaf.infn.it:8443 DelegateId_emitestbed16.cnaf.infn.it_1335521632 --> DEBUG: Command runs succesfully. Output is: Proxy with delegation id [DelegateId_emitestbed16.cnaf.infn.it_1335521632] succesfully delegated to endpoint [emi-demo13.cnaf.infn.it:8443] --> --> === TEST PASSED === --> --> TEST 2: re-delegate the proxy specified in the previous test: --> --> [ 12:13:53 ] run: /usr/bin/glite-ce-delegate-proxy --endpoint emi-demo13.cnaf.infn.it:8443 DelegateId_emitestbed16.cnaf.infn.it_1335521632 --> Command FAILED --> DEBUG: Command output is: 2012-04-27 12:13:54,329 FATAL - Received NULL fault; the error is due to another cause: FaultString=[delegation [delegId=DelegateId_emitestbed16.cnaf.infn.it_1335521632; dn=CN_Alessio_Gianelle_L_Padova_OU_Personal_Certificate_O_INFN_C_IT; localUser=tst27] already exists! please invoke renewDelegationReq()] - FaultCode=[SOAP-ENV:Server] - FaultSubCode=[SOAP-ENV:Server] --> --> === TEST PASSED === --> --> TEST 3: check if the --conf option works: --> --> [ 12:13:54 ] run: /usr/bin/glite-ce-delegate-proxy --debug --conf /tmp/cream-cli-test-gianelle-6660/delegate.conf --endpoint emi-demo13.cnaf.infn.it:8443 DelegateId_emitestbed16.cnaf.infn.it_1335521634 --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:13:54,466 DEBUG - Using certificate proxy file [/tmp/x509up_u502] 2012-04-27 12:13:54,499 DEBUG - Logfile is [/tmp/cream-cli-test-gianelle-6660/delegate_log_dir/glite-ce-delegate-proxy_CREAM_gianelle_20120427-121354.log] 2012-04-27 12:13:54,501 DEBUG - Delegating proxy on service [https://emi-demo13.cnaf.infn.it:8443/ce-cream/services/gridsite-delegation] with ID [DelegateId_emitestbed16.cnaf.infn.it_1335521634] ... Proxy with delegation id [DelegateId_emitestbed16.cnaf.infn.it_1335521634] succesfully delegated to endpoint [emi-demo13.cnaf.infn.it:8443] --> --> === TEST PASSED === --> --> TEST 4: save info into a logfile to check if --debug and --logfile options work: --> --> [ 12:13:57 ] run: /usr/bin/glite-ce-delegate-proxy --logfile /tmp/cream-cli-test-gianelle-6660/file.log --endpoint emi-demo13.cnaf.infn.it:8443 DelegateId_emitestbed16.cnaf.infn.it_1335521637 --> DEBUG: Command runs succesfully. Output is: Proxy with delegation id [DelegateId_emitestbed16.cnaf.infn.it_1335521637] succesfully delegated to endpoint [emi-demo13.cnaf.infn.it:8443] --> --> *** TEST NOT PASSED *** --> *** Failure reason: Cannot log on file /tmp/cream-cli-test-gianelle-6660/file.log *** --> --> --> Started: 12:13:52 --> Ended : 12:13:58 --> --> *** TEST NOT PASSED *** --> *** Failure reason: 1 test(s) failed on 4 differents tests *** --> --> >>> TEST NOT PASSED <<< --> --> [ 12:13:58 ] run: ./CREAM-cli-delegation-renew.sh -d --> ++++++++++++++++++++++++++++++++++++++++++++ --> + Test of CREAM-CE command line interface + --> ++++++++++++++++++++++++++++++++++++++++++++ --> Test starts at: 12:13:58 --> CE used: emi-demo13.cnaf.infn.it:8443/cream-pbs-demo --> --> TEST 1: renew a proxy specifying CREAM URL and delegation ID: --> --> [ 12:13:58 ] run: /usr/bin/glite-ce-delegate-proxy -e emi-demo13.cnaf.infn.it:8443 DelegateId_emitestbed16.cnaf.infn.it_1335521638 --> DEBUG: Command runs succesfully. Output is: Proxy with delegation id [DelegateId_emitestbed16.cnaf.infn.it_1335521638] succesfully delegated to endpoint [emi-demo13.cnaf.infn.it:8443] --> --> [ 12:13:59 ] run: /usr/bin/glite-ce-proxy-renew --endpoint emi-demo13.cnaf.infn.it:8443 DelegateId_emitestbed16.cnaf.infn.it_1335521638 --> DEBUG: Command runs succesfully. Output is: Proxy with delegation id [DelegateId_emitestbed16.cnaf.infn.it_1335521638 succesfully renewed to endpoint [emi-demo13.cnaf.infn.it:8443] --> --> === TEST PASSED === --> --> TEST 2: try to renew a missing proxy: --> --> [ 12:14:00 ] run: /usr/bin/glite-ce-proxy-renew --endpoint emi-demo13.cnaf.infn.it:8443 DelegateId_emitestbed16.cnaf.infn.it_1335521640 --> Command FAILED --> DEBUG: Command output is: 2012-04-27 12:14:00,546 FATAL - Received NULL fault; the error is due to another cause: FaultString=[delegation [delegId=DelegateId_emitestbed16.cnaf.infn.it_1335521640; dn=CN_Alessio_Gianelle_L_Padova_OU_Personal_Certificate_O_INFN_C_IT; localUser=tst27] not found!] - FaultCode=[SOAP-ENV:Server] - FaultSubCode=[SOAP-ENV:Server] --> --> === TEST PASSED === --> --> TEST 3: check if the --conf option works: --> --> [ 12:14:00 ] run: /usr/bin/glite-ce-proxy-renew --debug --conf /tmp/cream-cli-test-gianelle-6714/delegate.conf --endpoint emi-demo13.cnaf.infn.it:8443 DelegateId_emitestbed16.cnaf.infn.it_1335521638 --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:14:00,648 DEBUG - Using certificate proxy file [/tmp/x509up_u502] 2012-04-27 12:14:00,681 DEBUG - Logfile is [/tmp/cream-cli-test-gianelle-6714/renew_log_dir/glite-ce-proxy-renew_CREAM_gianelle_20120427-121400.log] 2012-04-27 12:14:00,684 DEBUG - Delegating proxy on service [https://emi-demo13.cnaf.infn.it:8443/ce-cream/services/gridsite-delegation] with ID [DelegateId_emitestbed16.cnaf.infn.it_1335521638] ... 2012-04-27 12:14:01,400 INFO - CreamProxy_DelegateRenew::execute() - Signing returned proxy with our proxy certificate [/tmp/x509up_u502]... 2012-04-27 12:14:01,431 INFO - CreamProxy_Delegate::execute() - Sending signed proxy to [https://emi-demo13.cnaf.infn.it:8443/ce-cream/services/gridsite-delegation] with id [DelegateId_emitestbed16.cnaf.infn.it_1335521638] Proxy with delegation id [DelegateId_emitestbed16.cnaf.infn.it_1335521638 succesfully renewed to endpoint [emi-demo13.cnaf.infn.it:8443] --> --> === TEST PASSED === --> --> TEST 4: save info into a logfile to check if --debug and --logfile options work: --> --> [ 12:14:01 ] run: /usr/bin/glite-ce-proxy-renew --logfile /tmp/cream-cli-test-gianelle-6714/file.log --endpoint emi-demo13.cnaf.infn.it:8443 DelegateId_emitestbed16.cnaf.infn.it_1335521638 --> DEBUG: Command runs succesfully. Output is: Proxy with delegation id [DelegateId_emitestbed16.cnaf.infn.it_1335521638 succesfully renewed to endpoint [emi-demo13.cnaf.infn.it:8443] --> --> *** TEST NOT PASSED *** --> *** Failure reason: Cannot log on file /tmp/cream-cli-test-gianelle-6714/file.log *** --> --> --> Started: 12:13:58 --> Ended : 12:14:03 --> --> *** TEST NOT PASSED *** --> *** Failure reason: 1 test(s) failed on 4 differents tests *** --> --> >>> TEST NOT PASSED <<< --> --> [ 12:14:03 ] run: ./CREAM-cli-job-submit.sh -d --> ++++++++++++++++++++++++++++++++++++++++++++ --> + Test of CREAM-CE command line interface + --> ++++++++++++++++++++++++++++++++++++++++++++ --> Test starts at: 12:14:03 --> CE used: emi-demo13.cnaf.infn.it:8443/cream-pbs-demo --> --> TEST 1: submit a job without mandatory option --autm-delegation: --> --> [ 12:14:03 ] run: /usr/bin/glite-ce-job-submit --resource emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> Command FAILED --> DEBUG: Command output is: Must specify one (and only one) of the two options --autm-delegation --delegationId. Stop. --> Command returns Must specify one (and only one) of the two options --autm-delegation --delegationId. Stop. --> --> === TEST PASSED === --> --> TEST 2: submit a job with automatic delegation (option --autm-delegation): --> --> [ 12:14:03 ] run: /usr/bin/glite-ce-job-submit --autm-delegation --resource emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM613514228 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM613514228 --> DEBUG: The job https://emi-demo13.cnaf.infn.it:8443/CREAM613514228 has been successfully submitted --> --> === TEST PASSED === --> --> TEST 3: submit a job using a previously delegated credentials (options --delegationId): --> --> [ 12:14:04 ] run: /usr/bin/glite-ce-delegate-proxy -e emi-demo13.cnaf.infn.it:8443 DelegateId_emitestbed16.cnaf.infn.it_1335521644 --> DEBUG: Command runs succesfully. Output is: Proxy with delegation id [DelegateId_emitestbed16.cnaf.infn.it_1335521644] succesfully delegated to endpoint [emi-demo13.cnaf.infn.it:8443] --> --> [ 12:14:06 ] run: /usr/bin/glite-ce-job-submit --delegationId DelegateId_emitestbed16.cnaf.infn.it_1335521644 --resource emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM910652321 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM910652321 --> DEBUG: The job https://emi-demo13.cnaf.infn.it:8443/CREAM910652321 has been successfully submitted --> --> === TEST PASSED === --> --> TEST 4: check if the option --output works: --> --> [ 12:14:06 ] run: /usr/bin/glite-ce-job-submit --autm-delegation --output /tmp/cream-cli-test-gianelle-6763/jobid --resource emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM810668242 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM810668242 --> DEBUG: Job https://emi-demo13.cnaf.infn.it:8443/CREAM810668242 has been successfully submitted. --> --> === TEST PASSED === --> --> TEST 5: check if using again option --output the new joid is append to the existing file: --> --> [ 12:14:09 ] run: /usr/bin/glite-ce-job-submit --autm-delegation --output /tmp/cream-cli-test-gianelle-6763/jobid --resource emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM474318903 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM474318903 --> DEBUG: Job https://emi-demo13.cnaf.infn.it:8443/CREAM474318903 has been successfully submitted. --> DEBUG: The output file contains these lines: --> DEBUG: ##CREAMJOBS## https://emi-demo13.cnaf.infn.it:8443/CREAM810668242 https://emi-demo13.cnaf.infn.it:8443/CREAM474318903 --> --> === TEST PASSED === --> --> TEST 6: check if the --conf option works: --> --> [ 12:14:11 ] run: /usr/bin/glite-ce-job-submit --delegationId DelegateId_emitestbed16.cnaf.infn.it_1335521644 --debug --conf /tmp/cream-cli-test-gianelle-6763/submit.conf --resource emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:14:11,696 DEBUG - Using certificate proxy file [/tmp/x509up_u502] 2012-04-27 12:14:11,728 DEBUG - VO from certificate=[testers.eu-emi.eu] 2012-04-27 12:14:11,729 DEBUG - Logfile is [/tmp/cream-cli-test-gianelle-6763/submit_log_dir/glite-ce-job-submit_CREAM_gianelle_20120427-121411.log] 2012-04-27 12:14:11,738 DEBUG - Registering to [https://emi-demo13.cnaf.infn.it:8443/ce-cream/services/CREAM2] JDL=[ BatchSystem = "pbs"; QueueName = "demo"; Executable = "/bin/sleep"; Arguments = "30"; JobType = "Normal"; StdError = "err.txt"; StdOuput = "out.txt" ] - JDL File=[./example.jdl] 2012-04-27 12:14:11,875 DEBUG - Will invoke JobStart for JobID [CREAM280145640] https://emi-demo13.cnaf.infn.it:8443/CREAM280145640 --> --> === TEST PASSED === --> --> TEST 7: save info into a logfile to check if =--debug= and =--logfile= options work: --> --> [ 12:14:12 ] run: /usr/bin/glite-ce-job-submit --delegationId DelegateId_emitestbed16.cnaf.infn.it_1335521644 --debug --logfile /tmp/cream-cli-test-gianelle-6763/file.log --resource emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:14:12,095 DEBUG - Using certificate proxy file [/tmp/x509up_u502] 2012-04-27 12:14:12,125 DEBUG - VO from certificate=[testers.eu-emi.eu] 2012-04-27 12:14:12,126 WARN - No configuration file suitable for loading. Using built-in configuration 2012-04-27 12:14:12,126 DEBUG - Logfile is [/tmp/cream-cli-test-gianelle-6763/file.log] 2012-04-27 12:14:12,134 DEBUG - Registering to [https://emi-demo13.cnaf.infn.it:8443/ce-cream/services/CREAM2] JDL=[ BatchSystem = "pbs"; QueueName = "demo"; Executable = "/bin/sleep"; Arguments = "30"; JobType = "Normal"; StdError = "err.txt"; StdOuput = "out.txt" ] - JDL File=[./example.jdl] 2012-04-27 12:14:12,288 DEBUG - Will invoke JobStart for JobID [CREAM066015744] https://emi-demo13.cnaf.infn.it:8443/CREAM066015744 --> --> *** TEST NOT PASSED *** --> *** Failure reason: Cannot log on file /tmp/cream-cli-test-gianelle-6763/file.log *** --> --> --> Started: 12:14:03 --> Ended : 12:14:12 --> --> *** TEST NOT PASSED *** --> *** Failure reason: 1 test(s) failed on 7 differents tests *** --> --> >>> TEST NOT PASSED <<< --> --> [ 12:14:12 ] run: ./CREAM-cli-job-status-simple.sh -d --> ++++++++++++++++++++++++++++++++++++++++++++ --> + Test of CREAM-CE command line interface + --> ++++++++++++++++++++++++++++++++++++++++++++ --> Test starts at: 12:14:12 --> CE used: emi-demo13.cnaf.infn.it:8443/cream-pbs-demo --> --> TEST 1: submit a job and then retrieve its status: --> --> [ 12:14:12 ] run: /usr/bin/glite-ce-job-submit -a -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM371366320 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM371366320 --> DEBUG: The job 'https://emi-demo13.cnaf.infn.it:8443/CREAM371366320' has been successfully submitted --> --> [ 12:14:13 ] run: /usr/bin/glite-ce-job-status https://emi-demo13.cnaf.infn.it:8443/CREAM371366320 --> DEBUG: Command runs succesfully. Output is: ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM371366320] Status = [REGISTERED] --> --> === TEST PASSED === --> --> TEST 2: submit a job which surely failed. Check if the final status is the ones expected: --> --> [ 12:14:14 ] run: /usr/bin/glite-ce-job-submit -a -r emi-demo13.cnaf.infn.it:8443/cream-pbs-queuenotexist ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM133972318 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM133972318 --> DEBUG: Submitted job: https://emi-demo13.cnaf.infn.it:8443/CREAM133972318 --> DEBUG: Job status is: REGISTERED --> Job status is: --> --> sleeping for 5 seconds (run 1/40) ... --> DEBUG: Job status is: ABORTED --> Job status is: --> DEBUG: Job is Aborted ! --> --> === TEST PASSED === --> --> TEST 3: check the status of a job setting log level to 1 (option --level 1): --> --> [ 12:14:21 ] run: /usr/bin/glite-ce-job-submit -a -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM982914219 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM982914219 --> DEBUG: The job 'https://emi-demo13.cnaf.infn.it:8443/CREAM982914219' has been successfully submitted --> --> [ 12:14:22 ] run: /usr/bin/glite-ce-job-status --nomsg --level 1 https://emi-demo13.cnaf.infn.it:8443/CREAM982914219 > /tmp/cream-cli-test-gianelle-6836/tmp_output --> DEBUG: Command runs succesfully. Output is: --> --> === TEST PASSED === --> --> TEST 4: check the status of a job setting log level to 2 (option --level 2): --> --> [ 12:14:22 ] run: /usr/bin/glite-ce-job-submit -a -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM930104286 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM930104286 --> DEBUG: The job 'https://emi-demo13.cnaf.infn.it:8443/CREAM930104286' has been successfully submitted --> --> [ 12:14:25 ] run: /usr/bin/glite-ce-job-status --nomsg --level 2 https://emi-demo13.cnaf.infn.it:8443/CREAM930104286 > /tmp/cream-cli-test-gianelle-6836/tmp_output --> DEBUG: Command runs succesfully. Output is: --> --> === TEST PASSED === --> --> TEST 5: check if the option --input works: --> --> [ 12:14:25 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-6836/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM551054092 --> --> [ 12:14:26 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-6836/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM018794111 --> --> [ 12:14:28 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-6836/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM985388622 --> --> [ 12:14:29 ] run: /usr/bin/glite-ce-job-status --nomsg --input /tmp/cream-cli-test-gianelle-6836/jobid > /tmp/cream-cli-test-gianelle-6836/tmp_output2 --> DEBUG: Command runs succesfully. Output is: --> --> === TEST PASSED === --> --> TEST 6: check if the --conf option works: --> --> [ 12:14:29 ] run: /usr/bin/glite-ce-job-status --debug --conf /tmp/cream-cli-test-gianelle-6836/status.conf --input /tmp/cream-cli-test-gianelle-6836/jobid --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:14:29,709 DEBUG - Using certificate proxy file [/tmp/x509up_u502] 2012-04-27 12:14:29,744 DEBUG - Logfile is [/tmp/cream-cli-test-gianelle-6836/status_log_dir/glite-ce-job-status_CREAM_gianelle_20120427-121429.log] 2012-04-27 12:14:29,746 DEBUG - Service address=[https:////ce-cream/services/CREAM2] 2012-04-27 12:14:29,746 DEBUG - Getting job list from file [/tmp/cream-cli-test-gianelle-6836/jobid] 2012-04-27 12:14:29,747 DEBUG - Processing job [https://emi-demo13.cnaf.infn.it:8443/CREAM551054092]... 2012-04-27 12:14:29,747 DEBUG - Processing job [https://emi-demo13.cnaf.infn.it:8443/CREAM018794111]... 2012-04-27 12:14:29,747 DEBUG - Processing job [https://emi-demo13.cnaf.infn.it:8443/CREAM985388622]... 2012-04-27 12:14:29,747 INFO - Sending JobStatus request to [https://emi-demo13.cnaf.infn.it:8443//ce-cream/services/CREAM2] 2012-04-27 12:14:29,748 DEBUG - Contacting service [https://emi-demo13.cnaf.infn.it:8443//ce-cream/services/CREAM2] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM018794111] Status = [PENDING] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM551054092] Status = [PENDING] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM985388622] Status = [REGISTERED] --> --> === TEST PASSED === --> --> TEST 7: save info into a logfile to check if --debug and --logfile options work: --> --> [ 12:14:29 ] run: /usr/bin/glite-ce-job-status --debug --logfile /tmp/cream-cli-test-gianelle-6836/file.log --input /tmp/cream-cli-test-gianelle-6836/jobid --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:14:29,994 DEBUG - Using certificate proxy file [/tmp/x509up_u502] 2012-04-27 12:14:30,028 WARN - No configuration file suitable for loading. Using built-in configuration 2012-04-27 12:14:30,029 DEBUG - Logfile is [/tmp/cream-cli-test-gianelle-6836/file.log] 2012-04-27 12:14:30,030 DEBUG - Service address=[https:////ce-cream/services/CREAM2] 2012-04-27 12:14:30,030 DEBUG - Getting job list from file [/tmp/cream-cli-test-gianelle-6836/jobid] 2012-04-27 12:14:30,031 DEBUG - Processing job [https://emi-demo13.cnaf.infn.it:8443/CREAM551054092]... 2012-04-27 12:14:30,031 DEBUG - Processing job [https://emi-demo13.cnaf.infn.it:8443/CREAM018794111]... 2012-04-27 12:14:30,031 DEBUG - Processing job [https://emi-demo13.cnaf.infn.it:8443/CREAM985388622]... 2012-04-27 12:14:30,031 INFO - Sending JobStatus request to [https://emi-demo13.cnaf.infn.it:8443//ce-cream/services/CREAM2] 2012-04-27 12:14:30,032 DEBUG - Contacting service [https://emi-demo13.cnaf.infn.it:8443//ce-cream/services/CREAM2] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM018794111] Status = [PENDING] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM551054092] Status = [PENDING] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM985388622] Status = [PENDING] --> --> === TEST PASSED === --> --> --> Started: 12:14:12 --> Ended : 12:14:30 --> --> === TEST PASSED === --> --> --> === TEST PASSED === --> --> --> [ 12:14:30 ] run: ./CREAM-cli-job-status-filtered.sh -d --> ++++++++++++++++++++++++++++++++++++++++++++ --> + Test of CREAM-CE command line interface + --> ++++++++++++++++++++++++++++++++++++++++++++ --> Test starts at: 12:14:30 --> CE used: emi-demo13.cnaf.infn.it:8443/cream-pbs-demo --> --> Submit some jobs to prepare the context of the tests --> --> [ 12:14:30 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-6935/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM256204781 --> --> [ 12:14:31 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-6935/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM737242002 --> --> [ 12:14:33 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-6935/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM307086001 --> --> [ 12:14:34 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-6935/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM744186994 --> --> [ 12:14:35 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-6935/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM221192489 --> --> [ 12:14:37 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-6935/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM465958004 --> --> [ 12:14:41 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-6935/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM606691937 --> --> [ 12:14:43 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-6935/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM136858484 --> --> [ 12:14:45 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-6935/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM817696857 --> --> [ 12:14:46 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-6935/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM177879931 --> --> [ 12:14:48 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-6935/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM042602162 --> --> [ 12:14:49 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-6935/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM101597566 --> --> [ 12:14:50 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-6935/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM698638620 --> --> [ 12:14:52 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-6935/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM194835407 --> --> [ 12:14:53 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-6935/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM141757960 --> --> [ 12:14:55 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-6935/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM697462483 --> --> TEST 1: check if the --from option works: --> --> [ 12:14:56 ] run: /usr/bin/glite-ce-job-status --all --endpoint emi-demo13.cnaf.infn.it:8443 --from "2012-04-27 12:14:30" > /tmp/cream-cli-test-gianelle-6935/tmp_output --> DEBUG: Command runs succesfully. Output is: --> DEBUG: Command returns the status of 16 jobs --> --> === TEST PASSED === --> --> TEST 2: check the --from and --to options together: --> --> [ 12:14:57 ] run: /usr/bin/glite-ce-job-status --all --endpoint emi-demo13.cnaf.infn.it:8443 --from "2012-04-27 12:14:30" --to "2012-04-27 12:14:46" > /tmp/cream-cli-test-gianelle-6935/tmp_output --> DEBUG: Command runs succesfully. Output is: --> DEBUG: Command returns the status of 9 jobs --> --> === TEST PASSED === --> --> TEST 3: check if the --status option works (using REALLY-RUNNING): --> --> [ 12:14:57 ] run: /usr/bin/glite-ce-job-status --all --endpoint emi-demo13.cnaf.infn.it:8443 --from "2012-04-27 12:14:30" --status "REALLY-RUNNING" > /tmp/cream-cli-test-gianelle-6935/tmp_output --> DEBUG: Command runs succesfully. Output is: --> DEBUG: Command returns the status of 0 jobs --> DEBUG: Command returns 0 jobs in REALLY-RUNNING status --> --> === TEST PASSED === --> --> TEST 4: check if the --status option works (using DONE-OK): --> --> [ 12:14:57 ] run: /usr/bin/glite-ce-job-status --input /tmp/cream-cli-test-gianelle-6935/jobid > /tmp/cream-cli-test-gianelle-6935/tmp_output --> DEBUG: Command runs succesfully. Output is: --> --> [ 12:14:58 ] run: /usr/bin/glite-ce-job-status --all --endpoint emi-demo13.cnaf.infn.it:8443 --from "2012-04-27 12:14:30" --status "DONE-OK" > /tmp/cream-cli-test-gianelle-6935/done_output --> DEBUG: Command runs succesfully. Output is: --> DEBUG: There are 0 jobs in DONE-OK status --> DEBUG: Command returns the status of 0 jobs --> --> === TEST PASSED === --> --> TEST 5: check if the --all option works: --> --> [ 12:14:58 ] run: /usr/bin/glite-ce-job-status --nomsg --all --endpoint emi-demo13.cnaf.infn.it:8443 --> DEBUG: Command runs succesfully. Output is: ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM018794111] Status = [IDLE] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM036147727] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM042602162] Status = [IDLE] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM066015744] Status = [IDLE] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM070664248] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM079938913] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM093120263] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM101597566] Status = [IDLE] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM124471081] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM133972318] Status = [ABORTED] ExitCode = [] FailureReason = [BLAH error: submission command failed (exit code = 1) (stdout:) (stderr:qsub: Unknown queue MSG=cannot locate queue-) N/A (jobId = CREAM133972318)] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM136858484] Status = [IDLE] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM141757960] Status = [PENDING] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM177879931] Status = [IDLE] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM191980363] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM194835407] Status = [PENDING] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM205923778] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM213353530] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM221192489] Status = [IDLE] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM256204781] Status = [IDLE] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM280145640] Status = [IDLE] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM307086001] Status = [IDLE] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM351710662] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM371366320] Status = [IDLE] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM396251706] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM421456810] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM452838257] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM453070054] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM455144934] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM465277854] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM465958004] Status = [IDLE] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM474318903] Status = [REALLY-RUNNING] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM485597196] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM551054092] Status = [IDLE] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM564413519] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM606691937] Status = [IDLE] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM613514228] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM635375246] Status = [ABORTED] ExitCode = [] FailureReason = [BLAH error: submission command failed (exit code = 1) (stdout:) (stderr:qsub: Unknown queue MSG=cannot locate queue-) N/A (jobId = CREAM635375246)] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM693173847] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM697462483] Status = [PENDING] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM698638620] Status = [PENDING] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM710147789] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM719571183] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM737242002] Status = [IDLE] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM742833570] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM744186994] Status = [IDLE] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM791765594] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM799793074] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM801113817] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM810668242] Status = [REALLY-RUNNING] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM817696857] Status = [IDLE] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM857543299] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM864456828] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM909893823] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM910652321] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM912039173] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM930104286] Status = [IDLE] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM936841142] Status = [DONE-OK] ExitCode = [0] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM982914219] Status = [IDLE] ****** JobID=[https://emi-demo13.cnaf.infn.it:8443/CREAM985388622] Status = [IDLE] --> --> === TEST PASSED === --> --> TEST 6: check the requirements of the --all option (3 cases): --> --> [ 12:14:59 ] run: /usr/bin/glite-ce-job-status --nomsg --all --input /tmp/cream-cli-test-gianelle-6935/jobid --> Command FAILED --> DEBUG: Command output is: Cannot specify --input and --all options, they're mutually exclusive. Stop. --> --> === TEST PASSED === --> --> --> [ 12:14:59 ] run: /usr/bin/glite-ce-job-status --nomsg --all --> Command FAILED --> DEBUG: Command output is: --all option requires to specify also --endpoint option. Stop. --> --> === TEST PASSED === --> --> --> [ 12:14:59 ] run: /usr/bin/glite-ce-job-status --nomsg --all https://emi-demo13.cnaf.infn.it:8443/CREAM697462483 --> Command FAILED --> DEBUG: Command output is: Cannot specify JobIDs as command line argument and --all option, they're mutually exclusive. Stop --> --> === TEST PASSED === --> --> --> Started: 12:14:30 --> Ended : 12:14:59 --> --> === TEST PASSED === --> --> --> === TEST PASSED === --> --> [gianelle@emitestbed16 CREAM-cli]$ ./CREAM-cli-job-output.sh -d --> ++++++++++++++++++++++++++++++++++++++++++++ --> + Test of CREAM-CE command line interface + --> ++++++++++++++++++++++++++++++++++++++++++++ --> Test starts at: 12:31:14 --> CE used: emi-demo13.cnaf.infn.it:8443/cream-pbs-demo --> --> TEST 1: check if command works --> --> [ 12:31:15 ] run: /usr/bin/glite-ce-job-submit -a -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo /tmp/cream-cli-test-gianelle-8851/sbd.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM827112948 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM827112948 --> DEBUG: Submitted job: https://emi-demo13.cnaf.infn.it:8443/CREAM827112948 --> DEBUG: Job status is: REGISTERED --> Job status is: --> --> sleeping for 5 seconds (run 1/40) ... --> DEBUG: Job status is: RUNNING --> Job status is: --> --> sleeping for 5 seconds (run 2/40) ... --> DEBUG: Job status is: DONE-OK --> Job status is: --> DEBUG: Job finished OK! --> --> [ 12:31:27 ] run: /usr/bin/glite-ce-job-output https://emi-demo13.cnaf.infn.it:8443/CREAM827112948 --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:31:27,416 INFO - For JobID [https://emi-demo13.cnaf.infn.it:8443/CREAM827112948] output will be stored in the dir ./emi-demo13.cnaf.infn.it_8443_CREAM827112948 --> DEBUG: The contents of stdout is emitestbed23.cnaf.infn.it, the expected worker node is [emitestbed23.cnaf.infn.it] --> --> === TEST PASSED === --> --> TEST 2: check if --dir option works --> --> [ 12:31:28 ] run: /usr/bin/glite-ce-job-submit -a -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo /tmp/cream-cli-test-gianelle-8851/sbd.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM615538819 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM615538819 --> DEBUG: Submitted job: https://emi-demo13.cnaf.infn.it:8443/CREAM615538819 --> DEBUG: Job status is: PENDING --> Job status is: --> --> sleeping for 5 seconds (run 1/40) ... --> DEBUG: Job status is: REALLY-RUNNING --> Job status is: --> --> sleeping for 5 seconds (run 2/40) ... --> DEBUG: Job status is: DONE-OK --> Job status is: --> DEBUG: Job finished OK! --> --> [ 12:31:41 ] run: /usr/bin/glite-ce-job-output --dir /tmp/cream-cli-test-gianelle-8851 https://emi-demo13.cnaf.infn.it:8443/CREAM615538819 --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:31:42,129 INFO - For JobID [https://emi-demo13.cnaf.infn.it:8443/CREAM615538819] output will be stored in the dir /tmp/cream-cli-test-gianelle-8851/emi-demo13.cnaf.infn.it_8443_CREAM615538819 --> DEBUG: The contents of stdout is emitestbed23.cnaf.infn.it, the expected worker node is [emitestbed23.cnaf.infn.it] --> --> === TEST PASSED === --> --> TEST 3: check if --noint option works --> --> [ 12:31:42 ] run: /usr/bin/glite-ce-job-submit -a -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo /tmp/cream-cli-test-gianelle-8851/sbd.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM893297439 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM893297439 --> DEBUG: Submitted job: https://emi-demo13.cnaf.infn.it:8443/CREAM893297439 --> DEBUG: Job status is: PENDING --> Job status is: --> --> sleeping for 5 seconds (run 1/40) ... --> DEBUG: Job status is: REALLY-RUNNING --> Job status is: --> --> sleeping for 5 seconds (run 2/40) ... --> DEBUG: Job status is: DONE-OK --> Job status is: --> DEBUG: Job finished OK! --> --> [ 12:31:56 ] run: /usr/bin/glite-ce-job-output --dir /tmp/cream-cli-test-gianelle-8851 https://emi-demo13.cnaf.infn.it:8443/CREAM893297439 --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:31:56,920 INFO - For JobID [https://emi-demo13.cnaf.infn.it:8443/CREAM893297439] output will be stored in the dir /tmp/cream-cli-test-gianelle-8851/emi-demo13.cnaf.infn.it_8443_CREAM893297439 --> DEBUG: Retrieve again input files --> --> [ 12:31:57 ] run: /usr/bin/glite-ce-job-output --noint --dir /tmp/cream-cli-test-gianelle-8851 https://emi-demo13.cnaf.infn.it:8443/CREAM893297439 --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:31:57,924 INFO - For JobID [https://emi-demo13.cnaf.infn.it:8443/CREAM893297439] output will be stored in the dir /tmp/cream-cli-test-gianelle-8851/emi-demo13.cnaf.infn.it_8443_CREAM893297439 --> DEBUG: The contents of stdout is emitestbed23.cnaf.infn.it, the expected worker node is [emitestbed23.cnaf.infn.it] --> --> === TEST PASSED === --> --> TEST 4: check if --input option works --> DEBUG: Submitting 5 jobs... --> --> [ 12:31:59 ] run: /usr/bin/glite-ce-job-submit -a --output /tmp/cream-cli-test-gianelle-8851/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo /tmp/cream-cli-test-gianelle-8851/sbd.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM973628204 --> --> [ 12:32:01 ] run: /usr/bin/glite-ce-job-submit -a --output /tmp/cream-cli-test-gianelle-8851/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo /tmp/cream-cli-test-gianelle-8851/sbd.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM953892070 --> --> [ 12:32:03 ] run: /usr/bin/glite-ce-job-submit -a --output /tmp/cream-cli-test-gianelle-8851/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo /tmp/cream-cli-test-gianelle-8851/sbd.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM176723047 --> --> [ 12:32:07 ] run: /usr/bin/glite-ce-job-submit -a --output /tmp/cream-cli-test-gianelle-8851/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo /tmp/cream-cli-test-gianelle-8851/sbd.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM474927749 --> --> [ 12:32:10 ] run: /usr/bin/glite-ce-job-submit -a --output /tmp/cream-cli-test-gianelle-8851/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo /tmp/cream-cli-test-gianelle-8851/sbd.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM208805149 --> DEBUG: Waiting until jobs finish --> 1/5 jobs finish.. --> 2/5 jobs finish.. --> 3/5 jobs finish.. --> 3/5 jobs finish.. --> 4/5 jobs finish.. --> 5/5 jobs finish.. --> --> [ 12:32:45 ] run: /usr/bin/glite-ce-job-output --input /tmp/cream-cli-test-gianelle-8851/jobid --dir /tmp/cream-cli-test-gianelle-8851/multi --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:32:45,325 INFO - For JobID [https://emi-demo13.cnaf.infn.it:8443/CREAM176723047] output will be stored in the dir /tmp/cream-cli-test-gianelle-8851/multi/emi-demo13.cnaf.infn.it_8443_CREAM176723047 2012-04-27 12:32:45,326 INFO - For JobID [https://emi-demo13.cnaf.infn.it:8443/CREAM208805149] output will be stored in the dir /tmp/cream-cli-test-gianelle-8851/multi/emi-demo13.cnaf.infn.it_8443_CREAM208805149 2012-04-27 12:32:45,326 INFO - For JobID [https://emi-demo13.cnaf.infn.it:8443/CREAM474927749] output will be stored in the dir /tmp/cream-cli-test-gianelle-8851/multi/emi-demo13.cnaf.infn.it_8443_CREAM474927749 2012-04-27 12:32:45,326 INFO - For JobID [https://emi-demo13.cnaf.infn.it:8443/CREAM953892070] output will be stored in the dir /tmp/cream-cli-test-gianelle-8851/multi/emi-demo13.cnaf.infn.it_8443_CREAM953892070 2012-04-27 12:32:45,327 INFO - For JobID [https://emi-demo13.cnaf.infn.it:8443/CREAM973628204] output will be stored in the dir /tmp/cream-cli-test-gianelle-8851/multi/emi-demo13.cnaf.infn.it_8443_CREAM973628204 --> DEBUG: Check output of jobs https://emi-demo13.cnaf.infn.it:8443/CREAM176723047 under /tmp/cream-cli-test-gianelle-8851/multi/emi-demo13.cnaf.infn.it_8443_CREAM176723047 --> DEBUG: The contents of stdout is emitestbed23.cnaf.infn.it, the expected worker node is [emitestbed23.cnaf.infn.it] --> DEBUG: Check output of jobs https://emi-demo13.cnaf.infn.it:8443/CREAM208805149 under /tmp/cream-cli-test-gianelle-8851/multi/emi-demo13.cnaf.infn.it_8443_CREAM208805149 --> DEBUG: The contents of stdout is emitestbed23.cnaf.infn.it, the expected worker node is [emitestbed23.cnaf.infn.it] --> DEBUG: Check output of jobs https://emi-demo13.cnaf.infn.it:8443/CREAM474927749 under /tmp/cream-cli-test-gianelle-8851/multi/emi-demo13.cnaf.infn.it_8443_CREAM474927749 --> DEBUG: The contents of stdout is emitestbed23.cnaf.infn.it, the expected worker node is [emitestbed23.cnaf.infn.it] --> DEBUG: Check output of jobs https://emi-demo13.cnaf.infn.it:8443/CREAM953892070 under /tmp/cream-cli-test-gianelle-8851/multi/emi-demo13.cnaf.infn.it_8443_CREAM953892070 --> DEBUG: The contents of stdout is emitestbed23.cnaf.infn.it, the expected worker node is [emitestbed23.cnaf.infn.it] --> DEBUG: Check output of jobs https://emi-demo13.cnaf.infn.it:8443/CREAM973628204 under /tmp/cream-cli-test-gianelle-8851/multi/emi-demo13.cnaf.infn.it_8443_CREAM973628204 --> DEBUG: The contents of stdout is emitestbed23.cnaf.infn.it, the expected worker node is [emitestbed23.cnaf.infn.it] --> --> === TEST PASSED === --> --> TEST 5: check if command works with multiple JOBID --> DEBUG: Submitting 3 jobs... --> --> [ 12:32:48 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-8851/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo /tmp/cream-cli-test-gianelle-8851/sbd.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM230819514 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM230819514 --> --> [ 12:32:50 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-8851/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo /tmp/cream-cli-test-gianelle-8851/sbd.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM669521452 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM669521452 --> --> [ 12:32:52 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-8851/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo /tmp/cream-cli-test-gianelle-8851/sbd.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM380563315 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM380563315 --> DEBUG: Waiting until jobs finish --> 0/3 jobs finish.. --> 1/3 jobs finish.. --> 1/3 jobs finish.. --> 2/3 jobs finish.. --> 3/3 jobs finish.. --> --> [ 12:33:20 ] run: /usr/bin/glite-ce-job-output --dir /tmp/cream-cli-test-gianelle-8851/multi https://emi-demo13.cnaf.infn.it:8443/CREAM230819514 https://emi-demo13.cnaf.infn.it:8443/CREAM669521452 https://emi-demo13.cnaf.infn.it:8443/CREAM380563315 --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:33:21,273 INFO - For JobID [https://emi-demo13.cnaf.infn.it:8443/CREAM230819514] output will be stored in the dir /tmp/cream-cli-test-gianelle-8851/multi/emi-demo13.cnaf.infn.it_8443_CREAM230819514 2012-04-27 12:33:21,274 INFO - For JobID [https://emi-demo13.cnaf.infn.it:8443/CREAM380563315] output will be stored in the dir /tmp/cream-cli-test-gianelle-8851/multi/emi-demo13.cnaf.infn.it_8443_CREAM380563315 2012-04-27 12:33:21,274 INFO - For JobID [https://emi-demo13.cnaf.infn.it:8443/CREAM669521452] output will be stored in the dir /tmp/cream-cli-test-gianelle-8851/multi/emi-demo13.cnaf.infn.it_8443_CREAM669521452 --> DEBUG: Check output of jobs https://emi-demo13.cnaf.infn.it:8443/CREAM230819514 under /tmp/cream-cli-test-gianelle-8851/multi/emi-demo13.cnaf.infn.it_8443_CREAM230819514 --> DEBUG: The contents of stdout is emitestbed23.cnaf.infn.it, the expected worker node is [emitestbed23.cnaf.infn.it] --> DEBUG: Check output of jobs https://emi-demo13.cnaf.infn.it:8443/CREAM380563315 under /tmp/cream-cli-test-gianelle-8851/multi/emi-demo13.cnaf.infn.it_8443_CREAM380563315 --> DEBUG: The contents of stdout is emitestbed23.cnaf.infn.it, the expected worker node is [emitestbed23.cnaf.infn.it] --> DEBUG: Check output of jobs https://emi-demo13.cnaf.infn.it:8443/CREAM669521452 under /tmp/cream-cli-test-gianelle-8851/multi/emi-demo13.cnaf.infn.it_8443_CREAM669521452 --> DEBUG: The contents of stdout is emitestbed23.cnaf.infn.it, the expected worker node is [emitestbed23.cnaf.infn.it] --> --> === TEST PASSED === --> --> --> Started: 12:31:14 --> Ended : 12:33:23 --> --> === TEST PASSED === --> --> [ 12:22:10 ] run: ./CREAM-cli-job-cancel.sh -d --> ++++++++++++++++++++++++++++++++++++++++++++ --> + Test of CREAM-CE command line interface + --> ++++++++++++++++++++++++++++++++++++++++++++ --> Test starts at: 12:22:11 --> CE used: emi-demo13.cnaf.infn.it:8443/cream-pbs-demo --> --> TEST 1: submit and then cancel a running job: --> --> [ 12:22:11 ] run: /usr/bin/glite-ce-job-submit -a -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo /tmp/cream-cli-test-gianelle-8020/long_sleep.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM348630510 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM348630510 --> DEBUG: Submitted job: https://emi-demo13.cnaf.infn.it:8443/CREAM348630510 --> Waiting for the running job (10s) --> DEBUG: Job status is: REALLY-RUNNING --> --> [ 12:22:22 ] run: /usr/bin/glite-ce-job-cancel --noint https://emi-demo13.cnaf.infn.it:8443/CREAM348630510 --> DEBUG: Command runs succesfully. Output is: --> --> === TEST PASSED === --> --> TEST 2: try to cancel a terminated job: --> --> [ 12:22:23 ] run: /usr/bin/glite-ce-job-submit -a -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo /tmp/cream-cli-test-gianelle-8020/test.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM584301741 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM584301741 --> DEBUG: Submitted job: https://emi-demo13.cnaf.infn.it:8443/CREAM584301741 --> DEBUG: Job status is: PENDING --> Job status is: --> --> sleeping for 5 seconds (run 1/40) ... --> DEBUG: Job status is: DONE-OK --> Job status is: --> DEBUG: Job finished OK! --> --> [ 12:22:30 ] run: /usr/bin/glite-ce-job-cancel --noint https://emi-demo13.cnaf.infn.it:8443/CREAM584301741 --> DEBUG: Command runs succesfully. Output is: Couldn't cancel job [CREAM584301741]: This job has not been found on the CREAM server. Server error message is [MethodName=[JOB_CANCEL] Timestamp=[Fri 27 Apr 2012 12:22:30] ErrorCode=[2] Description=[the job has a status not compatible with the JOB_CANCEL command!] FaultCause=[N/A]] --> --> [ 12:22:30 ] run: /usr/bin/glite-ce-job-cancel -N https://emi-demo13.cnaf.infn.it:8443/CREAM584301741 --> DEBUG: Command runs succesfully. Output is: Couldn't cancel job [CREAM584301741]: This job has not been found on the CREAM server. Server error message is [MethodName=[JOB_CANCEL] Timestamp=[Fri 27 Apr 2012 12:22:31] ErrorCode=[2] Description=[the job has a status not compatible with the JOB_CANCEL command!] FaultCause=[N/A]] --> --> === TEST PASSED === --> --> TEST 3: check if the --all option works: --> --> [ 12:22:31 ] run: /usr/bin/glite-ce-job-submit -a -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo /tmp/cream-cli-test-gianelle-8020/long_sleep.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM570959676 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM570959676 --> DEBUG: Submitted job: https://emi-demo13.cnaf.infn.it:8443/CREAM570959676 --> Waiting for the running job (10s) --> DEBUG: Job status is: REALLY-RUNNING --> --> [ 12:22:42 ] run: /usr/bin/glite-ce-job-cancel --noint --all --endpoint emi-demo13.cnaf.infn.it:8443 --> DEBUG: Command runs succesfully. Output is: --> --> === TEST PASSED === --> --> TEST 4: check the requirements of the --all option (3 cases): --> --> [ 12:22:42 ] run: /usr/bin/glite-ce-job-cancel --nomsg --all --input /tmp/cream-cli-test-gianelle-8020/jobid --> Command FAILED --> DEBUG: Command output is: --all and --input or --all and specification of JobID(s) as argument are mutually exclusive. Stop. --> --> === TEST PASSED === --> --> --> [ 12:22:42 ] run: /usr/bin/glite-ce-job-cancel --nomsg --all --> Command FAILED --> DEBUG: Command output is: Option --all requires the specification of the endpoint (option --endpoint) to contact. Stop. --> --> === TEST PASSED === --> --> --> [ 12:22:42 ] run: /usr/bin/glite-ce-job-cancel --nomsg --all https://emi-demo13.cnaf.infn.it:8443/CREAM570959676 --> Command FAILED --> DEBUG: Command output is: --all and --input or --all and specification of JobID(s) as argument are mutually exclusive. Stop. --> --> === TEST PASSED === --> --> TEST 5: check if the --conf option works: --> --> [ 12:22:42 ] run: /usr/bin/glite-ce-job-cancel --debug --conf /tmp/cream-cli-test-gianelle-8020/cancel.conf --noint https://emi-demo13.cnaf.infn.it:8443/CREAM570959676 --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:22:42,828 DEBUG - Using certificate proxy file [/tmp/x509up_u502] 2012-04-27 12:22:42,863 DEBUG - Logfile is [/tmp/cream-cli-test-gianelle-8020/cancel_log_dir/glite-ce-job-cancel_CREAM_gianelle_20120427-122242.log] 2012-04-27 12:22:42,866 DEBUG - Cancel selected jobs on [https://emi-demo13.cnaf.infn.it:8443/ce-cream/services/CREAM2]... --> --> === TEST PASSED === --> --> TEST 6: save info into a logfile to check if --debug and --logfile options work: --> --> [ 12:22:43 ] run: /usr/bin/glite-ce-job-submit -a -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo /tmp/cream-cli-test-gianelle-8020/long_sleep.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM010521590 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM010521590 --> DEBUG: Submitted job: https://emi-demo13.cnaf.infn.it:8443/CREAM010521590 --> Waiting for the running job (10s) --> DEBUG: Job status is: REALLY-RUNNING --> --> [ 12:22:54 ] run: /usr/bin/glite-ce-job-cancel --logfile /tmp/cream-cli-test-gianelle-8020/file.log --debug --noint https://emi-demo13.cnaf.infn.it:8443/CREAM010521590 --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:22:55,017 DEBUG - Using certificate proxy file [/tmp/x509up_u502] 2012-04-27 12:22:55,048 WARN - No configuration file suitable for loading. Using built-in configuration 2012-04-27 12:22:55,048 DEBUG - Logfile is [/tmp/cream-cli-test-gianelle-8020/file.log] 2012-04-27 12:22:55,050 DEBUG - Cancel selected jobs on [https://emi-demo13.cnaf.infn.it:8443//ce-cream/services/CREAM2]... --> --> *** TEST NOT PASSED *** --> *** Failure reason: Cannot log on file /tmp/cream-cli-test-gianelle-8020/file.log *** --> --> --> Started: 12:22:11 --> Ended : 12:22:55 --> --> *** TEST NOT PASSED *** --> *** Failure reason: 1 test(s) failed on 8 differents tests *** --> --> >>> TEST NOT PASSED <<< --> --> [ 12:22:55 ] run: ./CREAM-cli-job-purge.sh -d --> ++++++++++++++++++++++++++++++++++++++++++++ --> + Test of CREAM-CE command line interface + --> ++++++++++++++++++++++++++++++++++++++++++++ --> Test starts at: 12:22:55 --> CE used: emi-demo13.cnaf.infn.it:8443/cream-pbs-demo --> --> Submit some jobs to prepare the context of the tests --> --> [ 12:22:55 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-8125/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM638548947 --> --> [ 12:22:56 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-8125/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM713144481 --> --> [ 12:22:58 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-8125/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM442179433 --> --> [ 12:22:59 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-8125/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM471648117 --> --> [ 12:23:01 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-8125/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM540316066 --> --> TEST 1: purge a finished job: --> --> [ 12:23:02 ] run: /usr/bin/glite-ce-job-submit -a -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo /tmp/cream-cli-test-gianelle-8125/test.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM902651650 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM902651650 --> DEBUG: Submitted job: https://emi-demo13.cnaf.infn.it:8443/CREAM902651650 --> DEBUG: Job status is: REGISTERED --> Job status is: --> --> sleeping for 5 seconds (run 1/40) ... --> DEBUG: Job status is: PENDING --> Job status is: --> --> sleeping for 5 seconds (run 2/40) ... --> DEBUG: Job status is: IDLE --> Job status is: --> --> sleeping for 5 seconds (run 3/40) ... --> DEBUG: Job status is: IDLE --> Job status is: --> --> sleeping for 5 seconds (run 4/40) ... --> DEBUG: Job status is: IDLE --> Job status is: --> --> sleeping for 5 seconds (run 5/40) ... --> DEBUG: Job status is: IDLE --> Job status is: --> --> sleeping for 5 seconds (run 6/40) ... --> DEBUG: Job status is: IDLE --> Job status is: --> --> sleeping for 5 seconds (run 7/40) ... --> DEBUG: Job status is: IDLE --> Job status is: --> --> sleeping for 5 seconds (run 8/40) ... --> DEBUG: Job status is: IDLE --> Job status is: --> --> sleeping for 5 seconds (run 9/40) ... --> DEBUG: Job status is: IDLE --> Job status is: --> --> sleeping for 5 seconds (run 10/40) ... --> DEBUG: Job status is: IDLE --> Job status is: --> --> sleeping for 5 seconds (run 11/40) ... --> DEBUG: Job status is: IDLE --> Job status is: --> --> sleeping for 5 seconds (run 12/40) ... --> DEBUG: Job status is: IDLE --> Job status is: --> --> sleeping for 5 seconds (run 13/40) ... --> DEBUG: Job status is: RUNNING --> Job status is: --> --> sleeping for 5 seconds (run 14/40) ... --> DEBUG: Job status is: DONE-OK --> Job status is: --> DEBUG: Job finished OK! --> --> [ 12:24:17 ] run: /usr/bin/glite-ce-job-purge --noint https://emi-demo13.cnaf.infn.it:8443/CREAM902651650 --> DEBUG: Command runs succesfully. Output is: --> --> === TEST PASSED === --> --> TEST 2: try to purge a running job: --> --> [ 12:24:17 ] run: /usr/bin/glite-ce-job-submit -a -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo /tmp/cream-cli-test-gianelle-8125/long_sleep.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM100986721 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM100986721 --> DEBUG: Submitted job: https://emi-demo13.cnaf.infn.it:8443/CREAM100986721 --> Waiting for the running job (10s) --> DEBUG: Job status is: REALLY-RUNNING --> --> [ 12:24:29 ] run: /usr/bin/glite-ce-job-purge --noint https://emi-demo13.cnaf.infn.it:8443/CREAM100986721 --> DEBUG: Command runs succesfully. Output is: Couldn't purge job [CREAM100986721]: This job has not been found on the CREAM server. Server error message is [MethodName=[JOB_PURGE] Timestamp=[Fri 27 Apr 2012 12:24:29] ErrorCode=[2] Description=[the job has a status not compatible with the JOB_PURGE command!] FaultCause=[N/A]] --> --> === TEST PASSED === --> --> TEST 3: try to purge again a previous purged job: --> --> [ 12:24:29 ] run: /usr/bin/glite-ce-job-purge --nomsg --noint https://emi-demo13.cnaf.infn.it:8443/CREAM902651650 --> DEBUG: Command runs succesfully. Output is: --> --> *** TEST NOT PASSED *** --> *** Failure reason: *** --> --> TEST 4: purge more finished jobs: --> --> [ 12:24:29 ] run: /usr/bin/glite-ce-job-submit -a -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo /tmp/cream-cli-test-gianelle-8125/test.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM432336812 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM432336812 --> DEBUG: Submitted job: https://emi-demo13.cnaf.infn.it:8443/CREAM432336812 --> DEBUG: Job status is: REGISTERED --> Job status is: --> --> sleeping for 5 seconds (run 1/40) ... --> DEBUG: Job status is: PENDING --> Job status is: --> --> sleeping for 5 seconds (run 2/40) ... --> DEBUG: Job status is: DONE-OK --> Job status is: --> DEBUG: Job finished OK! --> --> [ 12:24:41 ] run: /usr/bin/glite-ce-job-submit -a -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo /tmp/cream-cli-test-gianelle-8125/test.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM603568917 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM603568917 --> DEBUG: Submitted job: https://emi-demo13.cnaf.infn.it:8443/CREAM603568917 --> DEBUG: Job status is: REGISTERED --> Job status is: --> --> sleeping for 5 seconds (run 1/40) ... --> DEBUG: Job status is: REALLY-RUNNING --> Job status is: --> --> sleeping for 5 seconds (run 2/40) ... --> DEBUG: Job status is: DONE-OK --> Job status is: --> DEBUG: Job finished OK! --> --> [ 12:24:54 ] run: /usr/bin/glite-ce-job-purge --nomsg --noint https://emi-demo13.cnaf.infn.it:8443/CREAM432336812 https://emi-demo13.cnaf.infn.it:8443/CREAM603568917 --> DEBUG: Command runs succesfully. Output is: --> --> === TEST PASSED === --> --> TEST 5: purge more jobs taking jobIDs from a file (--input option): --> --> [ 12:24:54 ] run: /usr/bin/glite-ce-job-purge --nomsg --noint --input /tmp/cream-cli-test-gianelle-8125/jobid --> DEBUG: Command runs succesfully. Output is: --> --> === TEST PASSED === --> --> TEST 6: check if the --all option works: --> --> [ 12:24:55 ] run: /usr/bin/glite-ce-job-purge --noint --nomsg --all --endpoint emi-demo13.cnaf.infn.it:8443 --> DEBUG: Command runs succesfully. Output is: --> --> === TEST PASSED === --> --> TEST 7: check the requirements of the --all option (3 cases): --> --> [ 12:24:55 ] run: /usr/bin/glite-ce-job-purge --nomsg --noint --all --input /tmp/cream-cli-test-gianelle-8125/jobid --> Command FAILED --> DEBUG: Command output is: --all and --input or --all and specification of JobID(s) as argument are mutually exclusive. Stop. --> --> === TEST PASSED === --> --> --> [ 12:24:55 ] run: /usr/bin/glite-ce-job-purge --nomsg --noint --all --> Command FAILED --> DEBUG: Command output is: Option --all requires the specification of the endpoint (option --endpoint) to contact. Stop. --> --> === TEST PASSED === --> --> --> [ 12:24:55 ] run: /usr/bin/glite-ce-job-purge --nomsg --noint --all https://emi-demo13.cnaf.infn.it:8443/CREAM540316066 --> Command FAILED --> DEBUG: Command output is: --all and --input or --all and specification of JobID(s) as argument are mutually exclusive. Stop. --> --> === TEST PASSED === --> --> TEST 8: check if the --conf option works: --> --> [ 12:24:55 ] run: /usr/bin/glite-ce-job-purge --noint --debug --conf /tmp/cream-cli-test-gianelle-8125/purge.conf -i /tmp/cream-cli-test-gianelle-8125/jobid --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:24:55,680 DEBUG - Using certificate proxy file [/tmp/x509up_u502] 2012-04-27 12:24:55,714 DEBUG - Logfile is [/tmp/cream-cli-test-gianelle-8125/purge_log_dir/glite-ce-job-purge_CREAM_gianelle_20120427-122455.log] 2012-04-27 12:24:55,716 INFO - Getting job list from file [/tmp/cream-cli-test-gianelle-8125/jobid] 2012-04-27 12:24:55,716 DEBUG - Will purge job [https://emi-demo13.cnaf.infn.it:8443/CREAM638548947] 2012-04-27 12:24:55,716 DEBUG - Will purge job [https://emi-demo13.cnaf.infn.it:8443/CREAM713144481] 2012-04-27 12:24:55,716 DEBUG - Will purge job [https://emi-demo13.cnaf.infn.it:8443/CREAM442179433] 2012-04-27 12:24:55,716 DEBUG - Will purge job [https://emi-demo13.cnaf.infn.it:8443/CREAM471648117] 2012-04-27 12:24:55,716 DEBUG - Will purge job [https://emi-demo13.cnaf.infn.it:8443/CREAM540316066] 2012-04-27 12:24:55,717 DEBUG - Cancel selected jobs on [https://emi-demo13.cnaf.infn.it:8443//ce-cream/services/CREAM2]... --> --> === TEST PASSED === --> --> TEST 9: save info into a logfile to check if --debug and --logfile options work: --> --> [ 12:24:55 ] run: /usr/bin/glite-ce-job-purge --noint --debug --logfile /tmp/cream-cli-test-gianelle-8125/file.log -i /tmp/cream-cli-test-gianelle-8125/jobid --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:24:55,955 DEBUG - Using certificate proxy file [/tmp/x509up_u502] 2012-04-27 12:24:55,989 WARN - No configuration file suitable for loading. Using built-in configuration 2012-04-27 12:24:55,989 DEBUG - Logfile is [/tmp/cream-cli-test-gianelle-8125/file.log] 2012-04-27 12:24:55,991 INFO - Getting job list from file [/tmp/cream-cli-test-gianelle-8125/jobid] 2012-04-27 12:24:55,992 DEBUG - Will purge job [https://emi-demo13.cnaf.infn.it:8443/CREAM638548947] 2012-04-27 12:24:55,992 DEBUG - Will purge job [https://emi-demo13.cnaf.infn.it:8443/CREAM713144481] 2012-04-27 12:24:55,992 DEBUG - Will purge job [https://emi-demo13.cnaf.infn.it:8443/CREAM442179433] 2012-04-27 12:24:55,992 DEBUG - Will purge job [https://emi-demo13.cnaf.infn.it:8443/CREAM471648117] 2012-04-27 12:24:55,992 DEBUG - Will purge job [https://emi-demo13.cnaf.infn.it:8443/CREAM540316066] 2012-04-27 12:24:55,993 DEBUG - Cancel selected jobs on [https://emi-demo13.cnaf.infn.it:8443//ce-cream/services/CREAM2]... --> --> === TEST PASSED === --> --> --> Started: 12:22:55 --> Ended : 12:24:56 --> --> *** TEST NOT PASSED *** --> *** Failure reason: 1 test(s) failed on 11 differents tests *** --> --> >>> TEST NOT PASSED <<< --> --> [ 12:24:56 ] run: ./CREAM-cli-job-list.sh -d --> ++++++++++++++++++++++++++++++++++++++++++++ --> + Test of CREAM-CE command line interface + --> ++++++++++++++++++++++++++++++++++++++++++++ --> Test starts at: 12:24:56 --> CE used: emi-demo13.cnaf.infn.it:8443/cream-pbs-demo --> --> Submit some jobs to prepare the context of the tests --> --> [ 12:24:56 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-8325/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM563452847 --> --> [ 12:25:00 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-8325/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM607772199 --> --> [ 12:25:01 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-8325/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM626645260 --> --> [ 12:25:03 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-8325/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM761748959 --> --> [ 12:25:04 ] run: /usr/bin/glite-ce-job-submit -a -o /tmp/cream-cli-test-gianelle-8325/jobid -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM133386050 --> --> TEST 1: check if the command returns the right number of jobs: --> --> [ 12:25:05 ] run: /usr/bin/glite-ce-job-status -a -e emi-demo13.cnaf.infn.it:8443 > /tmp/cream-cli-test-gianelle-8325/status_output --> DEBUG: Command runs succesfully. Output is: --> DEBUG: Command returns the status of 6 jobs --> --> [ 12:25:05 ] run: /usr/bin/glite-ce-job-list emi-demo13.cnaf.infn.it:8443 > /tmp/cream-cli-test-gianelle-8325/joblist_output --> DEBUG: Command runs succesfully. Output is: --> DEBUG: Command returns the status of 6 jobs --> --> === TEST PASSED === --> --> TEST 2: check if the --output option works: --> --> [ 12:25:05 ] run: /usr/bin/glite-ce-job-list --nomsg --output /tmp/cream-cli-test-gianelle-8325/joblist_file_output emi-demo13.cnaf.infn.it:8443 --> DEBUG: Command runs succesfully. Output is: --> DEBUG: Command returns the status of 6 jobs --> --> === TEST PASSED === --> --> TEST 3: check if the --conf option works: --> --> [ 12:25:06 ] run: /usr/bin/glite-ce-job-list --debug --conf /tmp/cream-cli-test-gianelle-8325/joblist.conf emi-demo13.cnaf.infn.it:8443 --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:25:06,164 DEBUG - Using certificate proxy file [/tmp/x509up_u502] 2012-04-27 12:25:06,200 DEBUG - Logfile is [/tmp/cream-cli-test-gianelle-8325/joblist_log_dir/glite-ce-job-list_CREAM_gianelle_20120427-122506.log] 2012-04-27 12:25:06,203 DEBUG - Service address=[https://emi-demo13.cnaf.infn.it:8443//ce-cream/services/CREAM2] https://emi-demo13.cnaf.infn.it:8443/CREAM100986721 https://emi-demo13.cnaf.infn.it:8443/CREAM133386050 https://emi-demo13.cnaf.infn.it:8443/CREAM563452847 https://emi-demo13.cnaf.infn.it:8443/CREAM607772199 https://emi-demo13.cnaf.infn.it:8443/CREAM626645260 https://emi-demo13.cnaf.infn.it:8443/CREAM761748959 --> --> === TEST PASSED === --> --> TEST 4: save info into a logfile to check if --debug and --logfile options work: --> --> [ 12:25:06 ] run: /usr/bin/glite-ce-job-list --debug --logfile /tmp/cream-cli-test-gianelle-8325/file.log emi-demo13.cnaf.infn.it:8443 --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:25:06,452 DEBUG - Using certificate proxy file [/tmp/x509up_u502] 2012-04-27 12:25:06,487 WARN - No configuration file suitable for loading. Using built-in configuration 2012-04-27 12:25:06,487 DEBUG - Logfile is [/tmp/cream-cli-test-gianelle-8325/file.log] 2012-04-27 12:25:06,490 DEBUG - Service address=[https://emi-demo13.cnaf.infn.it:8443//ce-cream/services/CREAM2] https://emi-demo13.cnaf.infn.it:8443/CREAM100986721 https://emi-demo13.cnaf.infn.it:8443/CREAM133386050 https://emi-demo13.cnaf.infn.it:8443/CREAM563452847 https://emi-demo13.cnaf.infn.it:8443/CREAM607772199 https://emi-demo13.cnaf.infn.it:8443/CREAM626645260 https://emi-demo13.cnaf.infn.it:8443/CREAM761748959 --> --> *** TEST NOT PASSED *** --> *** Failure reason: Cannot log on file /tmp/cream-cli-test-gianelle-8325/file.log *** --> --> --> Started: 12:24:56 --> Ended : 12:25:06 --> --> *** TEST NOT PASSED *** --> *** Failure reason: 1 test(s) failed on 4 differents tests *** --> --> >>> TEST NOT PASSED <<< --> --> [ 12:25:06 ] run: ./CREAM-cli-submission-management.sh -d --> ++++++++++++++++++++++++++++++++++++++++++++ --> + Test of CREAM-CE command line interface + --> ++++++++++++++++++++++++++++++++++++++++++++ --> Test starts at: 12:25:06 --> CE used: emi-demo13.cnaf.infn.it:8443/cream-pbs-demo --> --> TEST 1: check if the submissions to the CE are allowed: --> --> [ 12:25:06 ] run: /usr/bin/glite-ce-allowed-submission --nomsg emi-demo13.cnaf.infn.it:8443 --> DEBUG: Command runs succesfully. Output is: Job Submission to this CREAM CE is enabled --> --> === TEST PASSED === --> --> TEST 2: check if the --conf option works: --> --> [ 12:25:07 ] run: /usr/bin/glite-ce-allowed-submission --debug --conf /tmp/cream-cli-test-gianelle-8382/allowsub.conf emi-demo13.cnaf.infn.it:8443 --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:25:07,083 DEBUG - Using certificate proxy file [/tmp/x509up_u502] 2012-04-27 12:25:07,116 DEBUG - Logfile is [/tmp/cream-cli-test-gianelle-8382/allowsub_log_dir/glite-ce-allowed-submission_CREAM_gianelle_20120427-122507.log] 2012-04-27 12:25:07,118 DEBUG - Service address=[https://emi-demo13.cnaf.infn.it:8443//ce-cream/services/CREAM2] Job Submission to this CREAM CE is enabled --> --> === TEST PASSED === --> --> TEST 3: save info into a logfile to check if --debug and --logfile options work: --> --> [ 12:25:07 ] run: /usr/bin/glite-ce-allowed-submission --debug --logfile /tmp/cream-cli-test-gianelle-8382/file.log emi-demo13.cnaf.infn.it:8443 --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:25:07,397 DEBUG - Using certificate proxy file [/tmp/x509up_u502] 2012-04-27 12:25:07,429 WARN - No configuration file suitable for loading. Using built-in configuration 2012-04-27 12:25:07,429 DEBUG - Logfile is [/tmp/cream-cli-test-gianelle-8382/file.log] 2012-04-27 12:25:07,431 DEBUG - Service address=[https://emi-demo13.cnaf.infn.it:8443//ce-cream/services/CREAM2] Job Submission to this CREAM CE is enabled --> --> *** TEST NOT PASSED *** --> *** Failure reason: Cannot log on file /tmp/cream-cli-test-gianelle-8382/file.log *** --> --> --> Started: 12:25:06 --> Ended : 12:25:07 --> --> *** TEST NOT PASSED *** --> *** Failure reason: 1 test(s) failed on 3 differents tests *** --> --> >>> TEST NOT PASSED <<< --> --> [ 12:25:07 ] run: ./CREAM-cli-event-query.sh -d --> ++++++++++++++++++++++++++++++++++++++++++++ --> + Test of CREAM-CE command line interface + --> ++++++++++++++++++++++++++++++++++++++++++++ --> Test starts at: 12:25:07 --> CE used: emi-demo13.cnaf.infn.it:8443/cream-pbs-demo --> --> Purging all existing jobs --> --> [ 12:25:07 ] run: /usr/bin/glite-ce-job-purge -N -a -e emi-demo13.cnaf.infn.it:8443 --> DEBUG: Command runs succesfully. Output is: --> TEST 1: submit a job and then retrieve all pending events: --> --> [ 12:26:07 ] run: /usr/bin/glite-ce-job-submit -a -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM917734848 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM917734848 --> DEBUG: The job 'https://emi-demo13.cnaf.infn.it:8443/CREAM917734848' has been successfully submitted --> --> [ 12:26:09 ] run: /usr/bin/glite-ce-event-query -e emi-demo13.cnaf.infn.it:8443 0-10000000 --> DEBUG: Command runs succesfully. Output is: EventID=[411] timestamp=[1335522258] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM100986721] [status]=[REGISTERED] [workerNode]=[N/A] EventID=[412] timestamp=[1335522259] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM100986721] [status]=[PENDING] [workerNode]=[N/A] EventID=[413] timestamp=[1335522263] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM100986721] [status]=[RUNNING] [workerNode]=[N/A] EventID=[414] timestamp=[1335522263] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM100986721] [status]=[REALLY-RUNNING] [workerNode]=[N/A] EventID=[426] timestamp=[1335522299] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM563452847] [status]=[REGISTERED] [workerNode]=[emitestbed23.cnaf.infn.it] EventID=[427] timestamp=[1335522300] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM563452847] [status]=[PENDING] [workerNode]=[emitestbed23.cnaf.infn.it] EventID=[428] timestamp=[1335522301] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM607772199] [status]=[REGISTERED] [workerNode]=[emitestbed23.cnaf.infn.it] EventID=[429] timestamp=[1335522302] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM607772199] [status]=[PENDING] [workerNode]=[emitestbed23.cnaf.infn.it] EventID=[430] timestamp=[1335522302] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM626645260] [status]=[REGISTERED] [workerNode]=[N/A] EventID=[431] timestamp=[1335522303] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM626645260] [status]=[PENDING] [workerNode]=[N/A] EventID=[432] timestamp=[1335522304] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM761748959] [status]=[REGISTERED] [workerNode]=[N/A] EventID=[433] timestamp=[1335522303] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM563452847] [status]=[IDLE] [workerNode]=[emitestbed23.cnaf.infn.it] EventID=[434] timestamp=[1335522304] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM761748959] [status]=[PENDING] [workerNode]=[N/A] EventID=[435] timestamp=[1335522305] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM133386050] [status]=[REGISTERED] [workerNode]=[N/A] EventID=[436] timestamp=[1335522304] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM563452847] [status]=[RUNNING] [workerNode]=[emitestbed23.cnaf.infn.it] EventID=[437] timestamp=[1335522305] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM133386050] [status]=[PENDING] [workerNode]=[N/A] EventID=[438] timestamp=[1335522304] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM563452847] [status]=[REALLY-RUNNING] [workerNode]=[emitestbed23.cnaf.infn.it] EventID=[439] timestamp=[1335522302] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM607772199] [status]=[IDLE] [workerNode]=[emitestbed23.cnaf.infn.it] EventID=[440] timestamp=[1335522303] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM626645260] [status]=[IDLE] [workerNode]=[N/A] EventID=[441] timestamp=[1335522304] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM761748959] [status]=[IDLE] [workerNode]=[N/A] EventID=[442] timestamp=[1335522305] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM133386050] [status]=[IDLE] [workerNode]=[N/A] EventID=[443] timestamp=[1335522334] [description]=[N/A] [exitCode]=[0] [failureReason]=[reason=0] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM563452847] [status]=[DONE-OK] [workerNode]=[emitestbed23.cnaf.infn.it] EventID=[444] timestamp=[1335522336] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM607772199] [status]=[RUNNING] [workerNode]=[emitestbed23.cnaf.infn.it] EventID=[445] timestamp=[1335522336] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM607772199] [status]=[REALLY-RUNNING] [workerNode]=[emitestbed23.cnaf.infn.it] EventID=[446] timestamp=[1335522366] [description]=[N/A] [exitCode]=[0] [failureReason]=[reason=0] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM607772199] [status]=[DONE-OK] [workerNode]=[emitestbed23.cnaf.infn.it] EventID=[447] timestamp=[1335522368] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM917734848] [status]=[REGISTERED] [workerNode]=[N/A] --> DEBUG: Job status is: 447 --> DEBUG: Last event ID is 447 --> --> === TEST PASSED === --> --> TEST 2: submit a job and then retrieve all events from the last one registered: --> --> [ 12:26:10 ] run: /usr/bin/glite-ce-job-submit -a -r emi-demo13.cnaf.infn.it:8443/cream-pbs-demo ./example.jdl --> DEBUG: Command runs succesfully. Output is: https://emi-demo13.cnaf.infn.it:8443/CREAM713147147 --> DEBUG: JobID is: https://emi-demo13.cnaf.infn.it:8443/CREAM713147147 --> DEBUG: The job 'https://emi-demo13.cnaf.infn.it:8443/CREAM713147147' has been successfully submitted --> --> [ 12:26:12 ] run: /usr/bin/glite-ce-event-query -e emi-demo13.cnaf.infn.it:8443 447-10000000 --> DEBUG: Command runs succesfully. Output is: EventID=[447] timestamp=[1335522368] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM917734848] [status]=[REGISTERED] [workerNode]=[N/A] EventID=[448] timestamp=[1335522368] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM626645260] [status]=[RUNNING] [workerNode]=[emitestbed23.cnaf.infn.it] EventID=[449] timestamp=[1335522369] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM917734848] [status]=[PENDING] [workerNode]=[N/A] EventID=[450] timestamp=[1335522368] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM626645260] [status]=[REALLY-RUNNING] [workerNode]=[emitestbed23.cnaf.infn.it] EventID=[451] timestamp=[1335522372] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM713147147] [status]=[REGISTERED] [workerNode]=[N/A] --> DEBUG: Job status is: 451 --> DEBUG: Last event ID is 451 --> --> === TEST PASSED === --> --> TEST 3: check if the --conf option works: --> --> [ 12:26:13 ] run: /usr/bin/glite-ce-event-query --debug --conf /tmp/cream-cli-test-gianelle-8415/query.conf -e emi-demo13.cnaf.infn.it:8443 451-10000000 --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:26:13,338 DEBUG - Using certificate proxy file [/tmp/x509up_u502] 2012-04-27 12:26:13,373 DEBUG - Logfile is [/tmp/cream-cli-test-gianelle-8415/query_log_dir/glite-ce-event-query_CREAM_gianelle_20120427-122613.log] 2012-04-27 12:26:13,375 DEBUG - Service address=[https://emi-demo13.cnaf.infn.it:8443//ce-cream/services/CREAM2] 2012-04-27 12:26:13,569 DEBUG - Database ID = [1335519406000] 2012-04-27 12:26:13,569 DEBUG - Exec time = [1ms] EventID=[451] timestamp=[1335522372] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM713147147] [status]=[REGISTERED] [workerNode]=[N/A] EventID=[452] timestamp=[1335522373] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM713147147] [status]=[PENDING] [workerNode]=[N/A] --> --> === TEST PASSED === --> --> TEST 4: save info into a logfile to check if --debug and --logfile options work: --> --> [ 12:26:13 ] run: /usr/bin/glite-ce-event-query --debug --logfile /tmp/cream-cli-test-gianelle-8415/file.log -e emi-demo13.cnaf.infn.it:8443 451-10000000 --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:26:13,783 DEBUG - Using certificate proxy file [/tmp/x509up_u502] 2012-04-27 12:26:13,815 WARN - No configuration file suitable for loading. Using built-in configuration 2012-04-27 12:26:13,815 DEBUG - Logfile is [/tmp/cream-cli-test-gianelle-8415/file.log] 2012-04-27 12:26:13,816 DEBUG - Service address=[https://emi-demo13.cnaf.infn.it:8443//ce-cream/services/CREAM2] 2012-04-27 12:26:13,924 DEBUG - Database ID = [1335519406000] 2012-04-27 12:26:13,924 DEBUG - Exec time = [2ms] EventID=[451] timestamp=[1335522372] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM713147147] [status]=[REGISTERED] [workerNode]=[N/A] EventID=[452] timestamp=[1335522373] [description]=[N/A] [exitCode]=[N/A] [failureReason]=[N/A] [gridJobId]=[N/A] [jobId]=[https://emi-demo13.cnaf.infn.it:8443/CREAM713147147] [status]=[PENDING] [workerNode]=[N/A] --> --> *** TEST NOT PASSED *** --> *** Failure reason: Cannot log on file /tmp/cream-cli-test-gianelle-8415/file.log *** --> --> --> Started: 12:25:07 --> Ended : 12:26:14 --> --> *** TEST NOT PASSED *** --> *** Failure reason: 1 test(s) failed on 4 differents tests *** --> --> >>> TEST NOT PASSED <<< --> --> [ 12:26:14 ] run: ./CREAM-cli-service-info.sh -d --> ++++++++++++++++++++++++++++++++++++++++++++ --> + Test of CREAM-CE command line interface + --> ++++++++++++++++++++++++++++++++++++++++++++ --> Test starts at: 12:26:14 --> CE used: emi-demo13.cnaf.infn.it:8443/cream-pbs-demo --> --> TEST 1: check option --version: --> --> [ 12:26:14 ] run: /usr/bin/glite-ce-service-info --version emi-demo13.cnaf.infn.it:8443 > /tmp/cream-cli-test-gianelle-8755/tmp_output --> DEBUG: Command runs succesfully. Output is: --> DEBUG: CREAM User Interface version 1.2.0 --> --> === TEST PASSED === --> --> TEST 2: check the service info using various log level: --> --> [ 12:26:14 ] run: /usr/bin/glite-ce-service-info emi-demo13.cnaf.infn.it:8443 > /tmp/cream-cli-test-gianelle-8755/tmp_output --> DEBUG: Command runs succesfully. Output is: --> DEBUG: Interface Version = [2.1] --> --> === TEST PASSED === --> --> --> [ 12:26:15 ] run: /usr/bin/glite-ce-service-info --nomsg --level 2 emi-demo13.cnaf.infn.it:8443 > /tmp/cream-cli-test-gianelle-8755/tmp_output --> DEBUG: Command runs succesfully. Output is: --> --> === TEST PASSED === --> --> TEST 3: check if the --conf option works: --> --> [ 12:26:15 ] run: /usr/bin/glite-ce-service-info --debug --conf /tmp/cream-cli-test-gianelle-8755/status.conf emi-demo13.cnaf.infn.it:8443 --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:26:15,623 DEBUG - Using certificate proxy file [/tmp/x509up_u502] 2012-04-27 12:26:15,655 DEBUG - Logfile is [/tmp/glite_cream_cli_logs/glite-ce-allowed-submission_CREAM_gianelle_20120427-122615.log] 2012-04-27 12:26:15,657 INFO - Service address=[https://emi-demo13.cnaf.infn.it:8443//ce-cream/services/CREAM2] Interface Version = [2.1] Service Version = [1.14 - EMI version: 2.0.0-1] Description = [CREAM 2] Started at = [Fri Apr 27 11:36:46 2012] Submission enabled = [YES] Status = [RUNNING] ls: /tmp/cream-cli-test-gianelle-8755/status_log_dir/*: No such file or directory --> --> *** TEST NOT PASSED *** --> *** Failure reason: Cannot find debug log file *** --> --> TEST 4: save info into a logfile to check if --debug and --logfile options work: --> --> [ 12:26:16 ] run: /usr/bin/glite-ce-service-info --debug --logfile /tmp/cream-cli-test-gianelle-8755/file.log emi-demo13.cnaf.infn.it:8443 --> DEBUG: Command runs succesfully. Output is: 2012-04-27 12:26:16,669 DEBUG - Using certificate proxy file [/tmp/x509up_u502] 2012-04-27 12:26:16,701 WARN - No configuration file suitable for loading. Using built-in configuration 2012-04-27 12:26:16,701 DEBUG - Logfile is [/tmp/cream-cli-test-gianelle-8755/file.log] 2012-04-27 12:26:16,704 INFO - Service address=[https://emi-demo13.cnaf.infn.it:8443//ce-cream/services/CREAM2] Interface Version = [2.1] Service Version = [1.14 - EMI version: 2.0.0-1] Description = [CREAM 2] Started at = [Fri Apr 27 11:36:46 2012] Submission enabled = [YES] Status = [RUNNING] --> --> === TEST PASSED === --> --> --> Started: 12:26:14 --> Ended : 12:26:16 --> --> *** TEST NOT PASSED *** --> *** Failure reason: 1 test(s) failed on 4 differents tests *** --> --> >>> TEST NOT PASSED <<< --> !!! 10 test(s) failed !!!