IBM Support

PM59185: ccm wa_snapshot (or 'ccm cfs') does not always work with relative directory path

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Tested with Synergy 7.2.0.1.002 on Linux
    
    1) Prepare the test:
    Start a Java session.
    Create a task
    Create a project (the project name in this example is 'coucou'
    in version 1).
    Be sure the project is in copy mode.
    Create some objects in the project
    Checkin the task
    Checkin the project.
    =? You should now have an 'integrate' project.
    Close the Java session
    
    1) open a Terminal
    The current directory should be the user's HOME directory
    create a directory 'testdir' in $HOME.
    create another directory 'toto' in $HOME
    Start a CLI Synergy session.
    Go in the directory 'toto'.
    Create a snapshot of the project 'coucou-1' in the directory
    'testdir' using the command:
    ccm cfs -path ../testdir/ coucou-1
    
    =? The project is not copied:
    ll ../testdir/
    total 20
    drwxr-xr-x  2 gperrin users  4096 Feb 23 13:40 .
    drwxr-xr-x 99 gperrin users 16384 Feb 23 13:49 ..
    
    =? Same problem with the command:
    ccm wa_snapshot -path ../testdir/ coucou-1
    
    the ccmlog/synergy.log shows:
    ###
    2012-02-23T13:50:08.004+0000 INFO   :
    CliSessionContext(CCM_ADDR=tintin:19370:192.168.0.12,
    user=gperrin, server=http://tintin:8472,
    database=/usr/local/ccm/ccmdb/test720/): Received command [cfs,
    -path, ../testdir/, coucou-1] (VThread=100022) {cli}
    2012-02-23T13:50:08.042+0000 INFO   : CVM services is registered
    for 'gperrin in /usr/local/ccm/ccmdb/test720/ from machine
    192.168.0.12 at time 1330005008041' (VThread=100022) {cvm}
    2012-02-23T13:50:08.044+0000 CONFIG : jposix native library
    loaded successfully from /usr/local/ccm/ccm72//lib
    (VThread=100022) {jposix}
    2012-02-23T13:50:08.681+0000 INFO   :
    CliSessionContext(CCM_ADDR=tintin:19370:192.168.0.12,
    user=gperrin, server=http://tintin:8472,
    database=/usr/local/ccm/ccmdb/test720/): Command completion
    status 0, time 677 ms (VThread=100022) {cli}
    2012-02-23T13:50:46.003+0000 INFO   :
    CliSessionContext(CCM_ADDR=tintin:19370:192.168.0.12,
    user=gperrin, server=http://tintin:8472,
    database=/usr/local/ccm/ccmdb/test720/): Received command
    [wa_snapshot, -path, ../testdir/, coucou-1] (VThread=100069)
    {cli}
    2012-02-23T13:50:46.538+0000 INFO   :
    CliSessionContext(CCM_ADDR=tintin:19370:192.168.0.12,
    user=gperrin, server=http://tintin:8472,
    database=/usr/local/ccm/ccmdb/test720/): Command completion
    status 0, time 535 ms (VThread=100069) {cli}
    ###
    
    And the user's log in $CCM_HOME/log/ contains:
    ###
    02/23/2012 13:50:08 (-1434853602) Copying to file system 1/1,
    project coucou-1...
    02/23/2012 13:50:08 (-1434853086) Warning: Sync failed for
    object 'b.c'
    02/23/2012 13:50:08 (-1434853085) Warning: Sync failed for
    object 'a.b'
    02/23/2012 13:50:08 (-1434853085) Warning: Sync failed for
    object 'aa.c'
    02/23/2012 13:50:08 (-1434853085) Warning: Sync failed for
    object 'c.c'
    02/23/2012 13:50:08 (-1434853084) Copying to file system
    complete.
    02/23/2012 13:50:46 (-1434815732) Copying to file system 1/1,
    project coucou-1...
    02/23/2012 13:50:46 (-1434815228) Warning: Sync failed for
    object 'a.b'
    02/23/2012 13:50:46 (-1434815227) Warning: Sync failed for
    object 'c.c'
    02/23/2012 13:50:46 (-1434815227) Warning: Sync failed for
    object 'aa.c'
    02/23/2012 13:50:46 (-1434815227) Warning: Sync failed for
    object 'b.c'
    02/23/2012 13:50:46 (-1434815226) Copying to file system
    complete.
    ###
    
    =? Stop the CLI Synergy session.
    
    
    2) At this stage, in the terminal, you are in the directory:
    $HOME/toto
    =? Stay in that directory: IMPORTANT!!!
    
    Start a new CLI Session
    Try to create the snapshot with the same command as before:
    ccm cfs -path ../testdir/ coucou-1
    
    =? This time the project was copied, with its objects!!
    ###
    ll ../testdir/
    total 24
    drwxr-xr-x  3 gperrin users  4096 Feb 23 13:55 .
    drwxr-xr-x 99 gperrin users 16384 Feb 23 13:54 ..
    drwxrwxr-x  2 gperrin users  4096 Feb 23 13:55 coucou
     gperrin@tintin   ~/toto $  ll ../testdir/coucou/
    total 20
    drwxrwxr-x 2 gperrin users 4096 Feb 23 13:55 .
    drwxr-xr-x 3 gperrin users 4096 Feb 23 13:55 ..
    -r--r--r-- 1 gperrin users  372 Nov  7 12:21 aa.c
    -r--r--r-- 1 gperrin users    0 Nov  7 12:20 a.b
    -r--r--r-- 1 gperrin users  369 Nov  7 12:20 b.c
    -r--r--r-- 1 gperrin users  369 Nov  7 12:20 c.c
    ###
    
    The 'synergy.log' shows:
    ###
    2012-02-23T13:55:16.024+0000 INFO   :
    CliSessionContext(CCM_ADDR=tintin:13031:192.168.0.12,
    user=gperrin, server=http://tintin:8472,
    database=/usr/local/ccm/ccmdb/test720/): Received command [cfs,
    -path, ../testdir/, coucou-1] (VThread=100022) {cli}
    2012-02-23T13:55:16.057+0000 INFO   : CVM services is registered
    for 'gperrin in /usr/local/ccm/ccmdb/test720/ from machine
    192.168.0.12 at time 1330005316056' (VThread=100022) {cvm}
    2012-02-23T13:55:16.059+0000 CONFIG : jposix native library
    loaded successfully from /usr/local/ccm/ccm72//lib
    (VThread=100022) {jposix}
    2012-02-23T13:55:16.703+0000 INFO   :
    CliSessionContext(CCM_ADDR=tintin:13031:192.168.0.12,
    user=gperrin, server=http://tintin:8472,
    database=/usr/local/ccm/ccmdb/test720/): Command completion
    status 0, time 679 ms (VThread=100022) {cli}
    ###
    
    And the user log in the $CCM_HOME/log/ shows:
    ###
    02/23/2012 13:55:16 (-1434545586) Copying to file system 1/1,
    project coucou-1...
    02/23/2012 13:55:16 (-1434545062) Copying to file system
    complete.
    ###
    
    Conclusion:
    So the 'ccm cfs/wa_snapshot' command only works when specifying,
    for the
    -path switch, path relative to where the session started.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    ccm wa_snapshot (or "ccm cfs") does not always work with
    relative directory path
    

Problem conclusion

  • Fixed in Synergy 7.2.0.2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM59185

  • Reported component name

    TLOGIC SYNERGY

  • Reported component ID

    5724V66SN

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-02-28

  • Closed date

    2012-03-20

  • Last modified date

    2012-03-20

  • 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 SYNERGY

  • Fixed component ID

    5724V66SN

Applicable component levels

  • R720 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSC6Q5","label":"Rational Synergy"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
20 March 2012