IBM Support

PI86575: TESTCONDUCTOR - FAILED TO CREATE TEST ARCHITECHURE

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • escription from Customer:
    
    We are in middle of our verification cycle and lately we came
    across an
    error where RTC is unable to create a test architecture for a
    given
    class.
    
    The error message in console window is "ERROR: An unexpected
    error occurred in function 'RTCADT::RTCTestCase*
    GetTestContextByGUID()
    '.". On further investigating the problem we noticed that if a
    code
    variable is fine tuned using code pattern eg. ($type ** %s) this
    error
    message is generated.
    
    Reproduction:
    
    I have created a sample project with a single class (class_0) to
    replicate the problem.  The class_0 parametric constructor
    accept an
    argument of type (int ** arg1). The argument arg1 is fined tuned
    with
    code pattern ($type ** %s). If we try to create a
    TestArchitechure
    using TestConductor it will bail out with the above error
    message.
    
    Business Impact:
    
    Please consider this ticket as high priority as the entire model
    verification using RTC is stalled due to this.
    
    Questions:
    
    How can the customer get around this, while still using that
    code pattern?
    Is this behavior supposed to happen?
    Are there any other workarounds?
    
    -----
    
    
    TestConductor is not aware of the "%s" in this property and
    fails to handle it properly. Do you know if there is a reason
    why the client is using it here?  If I remove the %s the
    generated code stays exactly the same.
    
    Please open a defect for this. Meanwhile, the client can
    workaround the issue by removing the %s from the property to be
    able to continue testing.
    
    Regards, Christian.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * TestConductor - Failed to create test Architechure           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • This defect has been fixed, TestConductor recognizes and handles
    "%s" in properties modifying the type signature.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI86575

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    820

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-08-30

  • Closed date

    2017-12-04

  • Last modified date

    2017-12-04

  • 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

    TLOGIC RHAPSODY

  • Fixed component ID

    5724V74RP

Applicable component levels

  • R820 PSY

       UP



Document information

More support for: Rational Rhapsody

Software version: 820

Reference #: PI86575

Modified date: 04 December 2017