IBM Support

PI85870: RUNTESTS WITH BAD TEST NAME GIVES UNABLE TO LAUNCH DUE TO UNEXPECTED ERROR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When running the RunTests command with an invalid resource name,
    the following error is seen:
    
    com.ghc.ghTester.commandline.CmdLineBase runBatchProcess
    
    SEVERE: Unable to launch due to unexpected error
    
    STEPS TO REPRODUCE:
    
    1. Create a RIT project
    2. Execute a RunTests command with an invalid test name such as:
            RunTests -project myProjst.ghp -environment myEnv -run
    BADTESTNAME
    
    EXPECTED RESULTS:
    
    RunTests exits with the following error:
          no resources were found that matched the pattern:
    BADTESTNAME
    
    ACTUAL RESULTS:
    
    RunTests exits with the following error:
    SEVERE: Unable to launch due to unexpected error
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users executing tests with RunTests.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If an incorrect resource name was used in the command the    *
    * following error was seen:                                    *
    *                                                              *
    * SEVERE: Unable to launch due to unexpected error             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Update to RIT version 9.1.1.
    Incorrect resource names will now fail and give the correct
    error message of:
    
    no resources were found that matched the pattern: BADNAME
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI85870

  • Reported component name

    RATL INTEGRA TE

  • Reported component ID

    5725G79IT

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-08-14

  • Closed date

    2017-10-11

  • Last modified date

    2017-10-11

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL INTEGRA TE

  • Fixed component ID

    5725G79IT

Applicable component levels

  • R800 PSN

       UP

  • R801 PSN

       UP

  • R850 PSN

       UP

  • R851 PSN

       UP

  • R860 PSN

       UP

  • R870 PSN

       UP

  • R871 PSN

       UP

  • R900 PSN

       UP

  • R901 PSN

       UP

  • R910 PSN

       UP

  • R911 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSBLQQ","label":"Rational Test Workbench"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
19 October 2021