IBM Support

PI49355: MJC BUILD USING ADAPTOR LINK WILL PURGE IMMEDIATELY IF ANY STEP FAILS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Under a MJC based build using an adaptor link, any subsequent
    step that fails will cause the build to immediately purge as if
    the adaptor link step had failed.
    
    Steps to reproduce:
    
    - Create sample adaptor to perform simply echo command.
    
    <?xml version="1.0"?>
    <!-- (c) Copyright by IBM Corp. and other(s) [2003], 2007 All
    Rights Reserved. -->
    <!DOCTYPE PROJECT_INTERFACE SYSTEM "interface.dtd">
    <PROJECT_INTERFACE IFTYPE="Source" INSTANCE="7.021">
    <interface>
    	<run command="echo" params="" server="$BF_SERVER" dir="/"
    timeout="360"/>
    
    	<onstep result="fail">
    
    	</onstep>
    
    	<onstep result="pass">
    
    	</onstep>
    
    	<onproject result="pass">
    
    	</onproject>
    </interface>
    
    <command name="echo">
    	<execute>
    		echo "Echoing"
    	</execute>
    </command>
    
    </PROJECT_INTERFACE>
    
    - Create sample project that will fail the step.
    
    ie:
    Project: Test_Project
    - Step1: Echo Hello: echo hello
    - Step2: Fail the step: exit 1
    
    - Link adaptor to Test_Project
    
    - Execute Test_Project with adaptor link
    
    
    Expected result:
    
    Build is marked as failed after executing step 2.
    Build is not immediately purged and the build number reverted.
    
    
    Actual result:
    
    Build is marked as failed after executing step 2.
    Step 2 is marked as adaptor link step.
    Build is immediately purged and the build number reverted.
    

Local fix

  • Use the .lock/.unlock dot commands at beginning and end of
    project to prevent build purging.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * MJC BUILD USING ADAPTOR LINK WILL PURGE IMMEDIATELY IF ANY   *
    * STEP                                                         *
    * FAILS                                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The issue was fixed in Build Forge 8.0.0.3 release
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI49355

  • Reported component name

    BUILD FORGE EE

  • Reported component ID

    5724S2701

  • Reported release

    711

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-09-24

  • Closed date

    2016-02-22

  • Last modified date

    2016-02-22

  • 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

    5724S2701

Applicable component levels

  • R711 PSN

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSB2MV","label":"Rational Build Forge"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
04 May 2022