IBM Support

PI29011: PERL ENGINE JOBS FAIL DUE TO ASSIGNED HIDDEN VAR OUTSIDE PROJECT ENV

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If an assigned hidden variable is configured under a Perl engine
    based project build outside of the main project environment, it
    will not be properly decrypted under the agent system.
    Under this condition, the encrypted variable value will be used
    directly and displayed under the step log without any censoring.
    
    This issue is not seen under Java engine (MJC).
    
    The behavior is seen under the following configurations.
    
    - Step environment
    - Server environment
    - Included environment via include type variables
    - Child project (inlined or chained) environment
    
    Steps to reproduce:
    
    Create two environments ProjEnv and StepEnv with the assigned
    hidden variables hidden_text1 and hidden_text2.
    Create a project with ProjEnv set as the environment.
    Update the initial step with the StepEnv environment and run the
    following commands.
    
    echo ${hidden_text1}
    echo ${hidden_text1}
    
    Run project.
    
    Expected result:
    
    Both assigned hidden varilables are decrypted under the agent
    and process under the step command appropriately.
    
    Actual result:
    
    The contents of hidden_text1 are censored in the log and the
    correct value is used under the agent.
    The contents of hidden_text2 are not decrypted, and thus are not
    censored.
    
    ie:
    199    3 Nov 2014 17:53:23        EXEC    Performing variable
    expansion on command line
    200    3 Nov 2014 17:53:23        SET    Variable expansion
    skipped: Hidden Variable (hidden_text1) detected
    201    3 Nov 2014 17:53:23        SET    Variable expansion
    skipped: Hidden Variable (hidden_text2) detected
    202    3 Nov 2014 17:53:23        SCRIPT    echo hello
    203    3 Nov 2014 17:53:23        SCRIPT    echo *****
    204    3 Nov 2014 17:53:23        SCRIPT    echo
    ˆ1foˆ210aˆ214ˆ217ˆ10ˆ220ˆ216ˆ15ˆ220FoRgEB6XPps3N
    205    3 Nov 2014 17:53:23        EXEC    start
    [C:\build@BFServer]
    206    3 Nov 2014 17:53:23        EXEC    hello
    207    3 Nov 2014 17:53:23        EXEC    *****
    208    3 Nov 2014 17:53:23        EXEC
    1fo210a2142171022021615220FoRgEB6XPps3N
    

Local fix

  • Update project environment to include all assigned hidden
    variables.
    
    or
    
    Configure projects under Java engine (MJC).
    

Problem summary

  • If an assigned hidden variable is configured under a Perl engine
    based project build outside of the main project environment, it
    will not be properly decrypted under the agent system.
    Under this condition, the encrypted variable value will be used
    directly and displayed under the step log without any censoring.
    
    This issue is not seen under Java engine (MJC).
    
    The behavior is seen under the following configurations.
    
    - Step environment
    - Server environment
    - Included environment via include type variables
    - Child project (inlined or chained) environment
    
    Steps to reproduce:
    
    Create two environments ProjEnv and StepEnv with the assigned
    hidden variables hidden_text1 and hidden_text2.
    Create a project with ProjEnv set as the environment.
    Update the initial step with the StepEnv environment and run the
    following commands.
    
    echo ${hidden_text1}
    echo ${hidden_text1}
    
    Run project.
    
    Expected result:
    
    Both assigned hidden varilables are decrypted under the agent
    and process under the step command appropriately.
    
    Actual result:
    
    The contents of hidden_text1 are censored in the log and the
    correct value is used under the agent.
    The contents of hidden_text2 are not decrypted, and thus are not
    censored.
    
    ie:
    199    3 Nov 2014 17:53:23        EXEC    Performing variable
    expansion on command line
    200    3 Nov 2014 17:53:23        SET    Variable expansion
    skipped: Hidden Variable (hidden_text1) detected
    201    3 Nov 2014 17:53:23        SET    Variable expansion
    skipped: Hidden Variable (hidden_text2) detected
    202    3 Nov 2014 17:53:23        SCRIPT    echo hello
    203    3 Nov 2014 17:53:23        SCRIPT    echo *****
    204    3 Nov 2014 17:53:23        SCRIPT    echo
    Ë?1foË?210aË?214Ë?217Ë?10Ë?220Ë?216Ë?15Ë?220FoRgEB6XPps3N
    205    3 Nov 2014 17:53:23        EXEC    start
    [C:\build@BFServer]
    206    3 Nov 2014 17:53:23        EXEC    hello
    207    3 Nov 2014 17:53:23        EXEC    *****
    208    3 Nov 2014 17:53:23        EXEC
    1fo210a2142171022021615220FoRgEB6XPps3N
    

Problem conclusion

  • The problem is fixed in 8002iFix3 release
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI29011

  • Reported component name

    BUILD FORGE EE

  • Reported component ID

    5724S2702

  • Reported release

    713

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-11-04

  • Closed date

    2015-04-10

  • Last modified date

    2015-04-10

  • 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

    BUILD FORGE EE

  • Fixed component ID

    5724S2702

Applicable component levels

  • R713 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSB2MV","label":"Rational Build Forge"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.3","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 October 2021