Automic Continuous Delivery Automation

 View Only
  • 1.  Why is Unix Commands not showing in Job Report

    Posted Mar 28, 2018 02:19 PM
    Hi all,
    We have recently upgraded to 12.1.1 HF3.

    Before we upgraded this is what the Report looks like for a simple unix Job doing a chmod command.
    We are seeing the command followed by + and the command repeated.

    f1sj27uqakat.pnghttps://us.v-cdn.net/5019921/uploads/editor/dn/f1sj27uqakat.png" width="805">

    After we Upgrade the report for same Job shows no data. We are no longer seeing the Unix command or the + portion.

    n88o1su89gmw.pnghttps://us.v-cdn.net/5019921/uploads/editor/t3/n88o1su89gmw.png" width="570">

    As we are doing a PREP_PROCESS_REPORT on this so we need to see the commands.

    Is this something new or something I can configure somehow within my Job?

    John.





  • 2.  Why is Unix Commands not showing in Job Report

    Posted Mar 29, 2018 02:01 AM

    This is not a "feature". Does this happens  in all shells (bash, ksh)  with all login users?      



  • 3.  Why is Unix Commands not showing in Job Report

    Posted Mar 29, 2018 10:45 AM
    I'm just seeing it on only Jobs which are set to Bash.


  • 4.  Why is Unix Commands not showing in Job Report

    Posted Mar 29, 2018 10:48 AM
    hi JohnO'Mullane Could you please double check if have set the verbose command like set -x -v ?



  • 5.  Why is Unix Commands not showing in Job Report

    Posted Mar 29, 2018 11:01 AM
    Hi bobby_tamayo_automic
    This Job hasn't changed in months. Only change is that we upgraded from V12.0 to V12.1.1 HF3

    No, haven't set Verbose command.






  • 6.  Why is Unix Commands not showing in Job Report

    Posted Apr 01, 2018 02:54 AM
    Hi John

    could there be any change to your unix user?

    In V11.2.5 and in V12.1.0 on my sandboxes its exactly the same behavior:

    :SET &FILENAME# = "/tmp/test&$RESTART_RUNID#"
    touch &FILENAME#
    ls -lst &FILENAME#
    chmod 777 &FILENAME#
    ls -lst &FILENAME#

    Rep:
    ************************************************************************
    **  ucxjlx6m   version 11.2.5+build.1516        changelist 1497255592   **
    **  JOB 01666064 (ProcID:0000002561) START AT 01.04.2018 / 09:42:25   **
    **                                   UTC TIME 01.04.2018 / 08:42:25   **
    **  TEXT="        Job started             "                           **
    ************************************************************************
    0 -rw-rw-r--. 1 osboxes osboxes 0  1. Apr 09:42 /tmp/test0001666064
    0 -rwxrwxrwx. 1 osboxes osboxes 0  1. Apr 09:42 /tmp/test0001666064
    ************************************************************************
    **  ucxjlx6m   version 11.2.5+build.1516        changelist 1497255592   **
    **  JOB 01666064 (ProcID:0000002561) ENDED AT 01.04.2018 / 09:42:25   **
    **                                   UTC TIME 01.04.2018 / 08:42:25   **
    **  TEXT="        Job ended               "  RETCODE=00               **
    ************************************************************************



    cheers, Wolfgang



  • 7.  Why is Unix Commands not showing in Job Report

    Posted Apr 02, 2018 11:18 AM
    Hi FrankMuffke 
    I checked the unix user and I don't think it's the issue.
    I can see that this started on 14th March. We upgraded our Unix Agents that day from 12.0 to 12.1 that day.

    mcae4bwr1sqt.png


    We have 1 unix agent which we didn't upgrade yet from 12.0 to 12.1. I just created a new Job there and I'm seeing the same behavior as before. I've done same test on unix host on putty session.

    o7uzhq6q2poq.pnghttps://us.v-cdn.net/5019921/uploads/editor/dd/o7uzhq6q2poq.png" width="666">


    See ticket INC00222654 for further details on this..


    JOhn.








  • 8.  Re: Why is Unix Commands not showing in Job Report

    Posted Jun 22, 2018 06:22 PM

    Hi JohnO'Mullane,

     

    I wanted to follow up on this and see what you had done to get this fix.  I had follow the now closed ticket "INC00222654" you mention in the post above but wasn't 100% sure what your particular issues was and was hoping you could share with the Community.

    One of the last few thing that was sent to you was;  the setting is on the customer side.  The output shown - is - i believe due to the setting for the shell option to '-v' or '-vx' "



  • 9.  Re: Why is Unix Commands not showing in Job Report
    Best Answer

    Posted Jun 25, 2018 09:20 AM

    Hi,

    Never really got a satisfactory answer to this one.

     

    Automic support suggested using a -x in the Shell Options section of the UNIX tab.

    This did work so it did solve my issue but never understood why I needed to do this all of a sudden.

     

    John.