Difference: UITestsP2625 (2 vs. 3)

Revision 32009-04-22 - AlessioGianelle

Line: 1 to 1
 
META TOPICPARENT name="TestWokPlan"

TESTs:

  • Run the following tests from the testsuite of Dmitry Zaborov (WMS CLI)
Changed:
<
<
    • WMS-cli-basic-cycle.sh: === test PASSED ===
    • WMS-cli-basic-cycle-logfile.sh: === test PASSED ===
    • WMS-cli-basic-cycle-config.sh: === test PASSED ===
    • WMS-cli-basic-cycle-default-jdl.sh: === test PASSED ===
    • WMS-cli-basic-cycle-input.sh: === test PASSED ===
    • WMS-cli-basic-cycle-resource.sh: === test PASSED ===
    • WMS-cli-detailed-cycle.sh: === test PASSED ===
    • WMS-cli-submit-option-to.sh: === test PASSED ===
    • WMS-cli-submit-option-valid.sh: === test PASSED ===
>
>
    • WMS-cli-basic-cycle.sh: === test NOT passed === due to error 3 (see below)
    • WMS-cli-basic-cycle-logfile.sh: === test NOT passed === due to error 3 (see below)
    • WMS-cli-basic-cycle-config.sh: === test PASSED === add a temporary fix for error 2 (see below)
    • WMS-cli-basic-cycle-default-jdl.sh: === test NOT passed === due to error 3 (see below) and add a temporary fix for error 2 (see below)
    • WMS-cli-basic-cycle-input.sh: === test PASSED === add a temporary fix for error 2 (see below)
    • WMS-cli-basic-cycle-resource.sh: === test PASSED === add a temporary fix for error 2 (see below)
    • WMS-cli-detailed-cycle.sh: === test NOT passed === due to error 3 (see below) and add a temporary fix for error 2 (see below)
    • WMS-cli-submit-option-to.sh: === test NOT passed === due to error 6 (see below)
    • WMS-cli-submit-option-valid.sh: === test NOT passed === due to error 7 (see below)
 
    • WMS-cli-list-match.sh: === test PASSED ===
    • WMS-cli-delegate-proxy.sh: === test PASSED ===
    • WMS-cli-cancel.sh: === test PASSED ===
Line: 186 to 186
 
  • BUG #48806: [glite-wms-job-status] glite-wms-job-status gives an error on SLC5 FIXED
    • Simply use the glite-wms-job-status command
Added:
>
>

ERRORS:

  1. Missing attribute!
    [ale@egee-rb-03 WMS-cli]$  glite-wms-job-status --config ./wms.conf https://devel17.cnaf.infn.it:9000/Xt__sHcsxTR2KhoaQYSIVQ
    
    **** Error: UI_JDL_ADD_ERROR ****  
    Missing VirtualOrganisation attribute inside JDL Default Attributes section "JdlDefaultAttributes" of configuration file ./wms.conf
    but
    [ale@egee-rb-03 WMS-cli]$ cat /home/ale/CVS/org.glite.testsuites.ctb/WMS/WMS-cli/wms.conf
    [
        WmsClient = [
         WMProxyEndPoints = {"https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server"};
         ErrorStorage="/var/tmp";
         OutputStorage=  "/tmp";
         ListenerStorage="/tmp";
         DefaultStatusLevel  = 1 ;
         DefaultLoggingLevel = 1 ;
         jdlDefaultAttributes=[
            VirtualOrganisation="dteam";
            DefaultNodeRetryCount = 5;
            SignificantAttributes = { "Requirements","Rank" };
            MyProxyServer = "myproxy.cern.ch";
            requirements = other.GlueCEStateStatus == "Production" || other.GlueCEStateStatus == "CREAMPreCertTests" || other.GlueCEStateStatus == "testbedb";
            RetryCount = 3;
            rank =-other.GlueCEStateEstimatedResponseTime ;
         ]
      ];
    ]
  2. Directory "test" must exist!
    [ale@egee-rb-03 UI]$ glite-wms-job-output --dir test https://devel17.cnaf.infn.it:9000/0NbCpMtGmqwwDB2KZLw1_Q
    
    Connecting to the service https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server
    
    Error - Unable create dir
    /home/ale/UI/test/ale_0NbCpMtGmqwwDB2KZLw1_Q
  3. Error or not error?
    [ale@egee-rb-03 UI]$ glite-wms-job-output https://devel17.cnaf.infn.it:9000/0NbCpMtGmqwwDB2KZLw1_Q
    
    Connecting to the service https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server
    
    Error - Operation Failed
    Unable to retrieve the output
    but
    [ale@egee-rb-03 UI]$ ls /tmp/ale_0NbCpMtGmqwwDB2KZLw1_Q/
    ls.out
  4. Option "--list-only" doesn't work!
    [ale@egee-rb-03 UI]$ glite-wms-job-output --list-only https://devel17.cnaf.infn.it:9000/wCOcPfjzuByX7Werx7IZXA
    
    Connecting to the service https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server
    
    Error - Operation Failed
    Unable to retrieve the output
  5. Man page error, some attributes are repeated and have different description:
    GLITE-WMS-JOB-STATUS(1)                                GLITE-WMS-JOB-STATUS(1)
    
    NAME:
           glite-wms-job-status
    
    SYNOPSIS
           glite-wms-job-status [options] <jobId>
           --version
           --help
           --config, -c <configfile>
           --vo <voname>
           --debug
           --logfile <filepath>
           --noint
           --version
           --help
  6. Option "--to" doesn't work:
    [ale@egee-rb-03 WMS-cli]$ glite-wms-job-submit -a --config ./wms.conf --output /tmp/wms-cli-test-ale-22321/job.id --to 13:16 ./hostname.jdl 
    
    Connecting to the service https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server
    
    Error - 
    ExpiryTime: wrong type caught for attribute
  7. Option "--valid" doesn't work:
    [ale@egee-rb-03 WMS-cli]$ glite-wms-job-submit -a --config ./wms.conf --output /tmp/wms-cli-test-ale-22400/job.id --valid 00:01 hostname.jdl 
    
    Connecting to the service https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server
    
    Error - 
    ExpiryTime: wrong type caught for attribute
 -- AlessioGianelle - 21 Apr 2009 \ No newline at end of file
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback