Difference: UITestsP3040 (3 vs. 4)

Revision 42009-06-29 - AlessioGianelle

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

TESTs:

  • Run the following tests from the testsuite of Dmitry Zaborov (WMS CLI)
Line: 40 to 40
 ================================================================================

Changed:
<
<
  • BUG #51292: glite-wms-job-status does not load default configuration file
>
>
  • BUG #51292: glite-wms-job-status does not load default configuration file FIXED
    • Verify that the configuration file is present:
      [root@egee-rb-03 ~]# ll ~ale/.glite/dteam/
      total 4
      -rw-rw-r-- 1 ale ale 591 Jun 29 12:27 glite_wmsui.conf
    • Test the command with "--debug" option:
      [ale@egee-rb-03 WMS-cli]$  /opt/glite/bin/glite-wms-job-status --debug --all 
      
      VirtualOrganisation value :dteam
      ####
      Configuration file loaded: /home/ale/.glite/dteam/glite_wmsui.conf 
       [
        WmProxyEndPoints = { "https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server" }; 
        JdlDefaultAttributes = 
         [
          RetryCount = 3; 
          MyProxyServer = "myproxy.cern.ch"; 
          PerusalFileEnable = false; 
          VirtualOrganisation = "dteam"; 
          SignificantAttributes = { "Requirements","Rank","FuzzyRank" }; 
          ShallowRetryCount = 10; 
          rank =  -other.GlueCEStateEstimatedResponseTime; 
          AllowZippedISB = true
         ]; 
        ListenerStorage = "/tmp"; 
        LBAddresses = { "devel15.cnaf.infn.it:9000" }; 
        OutputStorage = "/tmp/jobOutput"; 
        ErrorStorage = "/tmp"
       ]
      #### Mon Jun 29 12:28:26 2009 Debug Message ####
      Selected Virtual Organisation name (from proxy certificate extension): dteam
      VOMS configuration file successfully loaded:
      /home/ale/.glite/dteam/glite_wmsui.conf
       [
        WmProxyEndPoints = { "https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server" }; 
        JdlDefaultAttributes = 
         [
          RetryCount = 3; 
          MyProxyServer = "myproxy.cern.ch"; 
          PerusalFileEnable = false; 
          VirtualOrganisation = "dteam"; 
          SignificantAttributes = { "Requirements","Rank","FuzzyRank" }; 
          ShallowRetryCount = 10; 
          rank =  -other.GlueCEStateEstimatedResponseTime; 
          AllowZippedISB = true
         ]; 
        ListenerStorage = "/tmp"; 
        LBAddresses = { "devel15.cnaf.infn.it:9000" }; 
        OutputStorage = "/tmp/jobOutput"; 
        ErrorStorage = "/tmp"
       ]
      #### End Debug ####
      
      Retrieving Information from LB server devel15.cnaf.infn.it:9000
      Please wait: this operation could take some seconds.

  • BUG #51293: glite-wms-job-status does not load LBAddresses attribute PARTIALLY FIXED
    • Verify that the "LBAddresses" is defined in the configuration file:
      [root@egee-rb-03 ~]# cat ~ale/.glite/dteam/glite_wmsui.conf 
      [
      OutputStorage  =  "/tmp/jobOutput";
      JdlDefaultAttributes =  [
          rank  = - other.GlueCEStateEstimatedResponseTime;
          AllowZippedISB  =  true;
          ShallowRetryCount  =  10;
          SignificantAttributes  =  {"Requirements", "Rank", "FuzzyRank"};
          PerusalFileEnable  =  false;
          RetryCount  =  3;
          MyProxyServer  =  "myproxy.cern.ch";
          VirtualOrganisation  =  "dteam";
          ];
      HLRLocation  =  "";
      ErrorStorage  =  "/tmp";
      LBAddresses = {"devel15.cnaf.infn.it:9000"};
      ListenerStorage  =  "/tmp";
      WMProxyEndpoints  =  {"https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server"};
      ]
    • Try the glite-wms-job-status command:
      [ale@egee-rb-03 WMS-cli]$  glite-wms-job-status  --all
      
      Retrieving Information from LB server devel15.cnaf.infn.it:9000
      Please wait: this operation could take some seconds.
    • If you use a local configuration file you obtain:
      [ale@egee-rb-03 WMS-cli]$  glite-wms-job-status --debug --config wms.conf --all 
      
      **** Error: UI_JDL_ADD_ERROR ****  
      Missing VirtualOrganisation attribute inside JDL Default Attributes section "JdlDefaultAttributes" of configuration file wms.conf
      
      ####
      Configuration file loaded: /home/ale/CVS/org.glite.testsuites.ctb/WMS/WMS-cli/wms.conf 
       [
       ]
      #### Mon Jun 29 12:46:04 2009 Debug Message ####
      Selected Virtual Organisation name (from --config option): 
      VOMS configuration file successfully loaded:
      wms.conf
       [
       ]
      #### End Debug ####
      
      **** Warning: UI_CONFIG_ATTRIBUTE ****  
      Mandatory Attribute default error in configuration file: "LBAddresses"
      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";
           LBAddresses = {"devel15.cnaf.infn.it:9000"};
           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 ;
           ]
        ];
      ]

  • BUG #51294: glite-wms-job-submit: ExpiryTime wrong type FIXED
    • Try the command: _glite-wms-job-submit -a --config ./wms.conf --output job.id --to 13:16 ./hostname.jdl_
      Connecting to the service https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server
      
      ====================== glite-wms-job-submit Success ======================
      
      The job has been successfully submitted to the WMProxy
      Your job identifier is:
      
      https://devel17.cnaf.infn.it:9000/w4NASo3ga-7ah9FEaY4msg
      
      The job identifier has been saved in the following file:
      /home/ale/CVS/org.glite.testsuites.ctb/WMS/WMS-cli/job.id
      
      ==========================================================================
    • Then verify that in the jdl the attribute "ExpiryTime" is set correctly:
      [ale@egee-rb-03 UI]$ glite-wms-job-logging-info -v 3 https://devel17.cnaf.infn.it:9000/w4NASo3ga-7ah9FEaY4msg | grep "ExpiryTime"
              ExpiryTime = 1246274160; 
      [ale@egee-rb-03 UI]$ date -d "@1246274160"
      Mon Jun 29 13:16:00 CEST 2009
      NOTE: If you use for example a non-matching jdl, after the expiry time (in this example 13:16) the job should failed:
      [ale@egee-rb-03 WMS-cli]$ date; glite-wms-job-status https://devel17.cnaf.infn.it:9000/w4NASo3ga-7ah9FEaY4msg https://devel17.cnaf.infn.it:9000/VMRFn16K0sW-E-LyhDWh9Q
      Mon Jun 29 13:14:36 CEST 2009
      
      ======================= glite-wms-job-status Success =====================
      BOOKKEEPING INFORMATION:
      
      Status info for the Job : https://devel17.cnaf.infn.it:9000/w4NASo3ga-7ah9FEaY4msg
      Current Status:     Waiting 
      Status Reason:      BrokerHelper: no compatible resources
      Submitted:          Mon Jun 29 12:51:52 2009 CEST
      ==========================================================================
      wait....
      
      [ale@egee-rb-03 WMS-cli]$ date; glite-wms-job-status https://devel17.cnaf.infn.it:9000/w4NASo3ga-7ah9FEaY4msg https://devel17.cnaf.infn.it:9000/VMRFn16K0sW-E-LyhDWh9Q
      Mon Jun 29 13:23:06 CEST 2009
      
      ======================= glite-wms-job-status Success =====================
      BOOKKEEPING INFORMATION:
      
      Status info for the Job : https://devel17.cnaf.infn.it:9000/w4NASo3ga-7ah9FEaY4msg
      Current Status:     Aborted 
      Status Reason:      request expired
      Submitted:          Mon Jun 29 12:51:52 2009 CEST
      ==========================================================================

  • BUG #51295: glite-wms-job-output: fails creating the output directory if not present FIXED
    • Try the command glite-wms-job-output with the option _--dir_
      [ale@egee-rb-03 WMS-cli]$ glite-wms-job-output --dir pippo https://devel17.cnaf.infn.it:9000/ljj7OZUc3rA9QcEtnTPP9w
      
      Connecting to the service https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server
      
      ================================================================================
      
                              JOB GET OUTPUT OUTCOME
      
      Output sandbox files for the job:
      https://devel17.cnaf.infn.it:9000/ljj7OZUc3rA9QcEtnTPP9w
      have been successfully retrieved and stored in the directory:
      /home/ale/CVS/org.glite.testsuites.ctb/WMS/WMS-cli/pippo/ale_ljj7OZUc3rA9QcEtnTPP9w
      
      ================================================================================

  • BUG #51296: glite-wms-job-info: does not recognize if a job is simple or DAG/Collection FIXED
    • Try the command glite-wms-job-info --jdl-original with a simple job
      [ale@egee-rb-03 WMS-cli]$  glite-wms-job-info --jdl-original https://devel17.cnaf.infn.it:9000/Hscj153mT5VhfSBmpvuRyg
      
      Connecting to the service https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server
      
      ======================= glite-wms-job-info Success =======================
      
      The original JDL
       for the job https://devel17.cnaf.infn.it:9000/Hscj153mT5VhfSBmpvuRyg :
      
       [
        RetryCount = 3; 
        MyProxyServer = "myproxy.cerm.ch"; 
        JobType = "normal"; 
        Executable = "/bin/hostname"; 
        VirtualOrganisation = "dteam"; 
        SignificantAttributes = { "Requirements","Rank","FuzzyRank" }; 
        StdOutput = "std.out"; 
        ShallowRetryCount = 10; 
        requirements = Other.GlueCEStateStatus == "Special"; 
        rank = 1; 
        Type = "job"; 
        StdError = "std.err"; 
        DefaultRank =  -other.GlueCEStateEstimatedResponseTime; 
        AllowZippedISB = true; 
        OutputSandbox = { "std.out","std.err" }
       ]
      
      ==========================================================================

 
Deleted:
<
<
  • BUG #51293: glite-wms-job-status does not load LBAddresses attribute
 
Deleted:
<
<
 
Deleted:
<
<
  • BUG #51295: glite-wms-job-output: fails creating the output directory if not present
 
Deleted:
<
<
  • BUG #51296: glite-wms-job-info: does not recognize if a job is simple or DAG/Collection
 

Check old bugs:

  • BUG #17534: unexpected behavior of glite-wms-job-output FIXED
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback