Jump to content

mlmcgoogan

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by mlmcgoogan

  1. No it's consistent with anyone trying CLI.

     

    Here's the log:

    2021-04-20 09:49:39,598 INFO  1 cm - STARTING CLIENT
    2021-04-20 09:49:39,703 DEBUG 1 ClientConfig - Time loading client.conf (/home/mlmcgoogan/.plastic4/client.conf) 102 ms
    2021-04-20 09:49:39,706 INFO  1 BufferPool - NumBuffersBeforeWait is empty. Using default values
    2021-04-20 09:49:39,706 INFO  1 BufferPool - WaitTime is empty. Using default
    2021-04-20 09:49:39,707 INFO  1 BufferPool - Initialized shared buffer pool.
    2021-04-20 09:49:39,708 INFO  1 BufferPool - BUFFER POOL CONFIG
    2021-04-20 09:49:39,708 INFO  1 BufferPool - Min buffer size: 1 KB
    2021-04-20 09:49:39,708 INFO  1 BufferPool - Max buffer size: 16 MB
    2021-04-20 09:49:39,708 INFO  1 BufferPool - Buffer size          Num buffers before wait      wait time                   
    2021-04-20 09:49:39,708 INFO  1 BufferPool - ==================== ============================ ============================
    2021-04-20 09:49:39,708 INFO  1 BufferPool - 1 KB                                        16384                          100
    2021-04-20 09:49:39,708 INFO  1 BufferPool - 2 KB                                         4096                          100
    2021-04-20 09:49:39,708 INFO  1 BufferPool - 4 KB                                         2048                          100
    2021-04-20 09:49:39,708 INFO  1 BufferPool - 8 KB                                         1024                          100
    2021-04-20 09:49:39,708 INFO  1 BufferPool - 16 KB                                         512                          100
    2021-04-20 09:49:39,708 INFO  1 BufferPool - 32 KB                                         256                          100
    2021-04-20 09:49:39,708 INFO  1 BufferPool - 64 KB                                         128                          100
    2021-04-20 09:49:39,708 INFO  1 BufferPool - 128 KB                                         96                          100
    2021-04-20 09:49:39,708 INFO  1 BufferPool - 256 KB                                         48                          100
    2021-04-20 09:49:39,708 INFO  1 BufferPool - 512 KB                                         24                          100
    2021-04-20 09:49:39,708 INFO  1 BufferPool - 1024 KB                                        20                          100
    2021-04-20 09:49:39,708 INFO  1 BufferPool - 2 MB                                           20                          100
    2021-04-20 09:49:39,708 INFO  1 BufferPool - 4 MB                                           20                          100
    2021-04-20 09:49:39,708 INFO  1 BufferPool - 8 MB                                           10                          100
    2021-04-20 09:49:39,708 INFO  1 BufferPool - 16 MB                                          10                          100
    2021-04-20 09:49:39,710 DEBUG 1 ClientConfig - Successfully initialized from path: [/home/mlmcgoogan/.plastic4/client.conf]
    2021-04-20 09:49:39,713 DEBUG 1 ServerAlias - Getting the server config for repository server 'synthesis_ai@cloud', config file 'serveralias.conf'
    2021-04-20 09:49:39,714 DEBUG 1 RestApi - No user defined URIs in '/home/mlmcgoogan/.plastic4/webapi.conf'. Will use default URIs.
    2021-04-20 09:49:39,716 DEBUG 1 RestApi - No user defined URIs in '/home/mlmcgoogan/.plastic4/webapi.conf'. Will use default URIs.
    2021-04-20 09:49:39,726 DEBUG 1 cm - IsOutputRedirected: [NotRedirected]
    2021-04-20 09:49:39,726 DEBUG 1 cm - IsInputRedirected: [NotRedirected]
    2021-04-20 09:49:39,737 DEBUG 5 WorkspaceTree - Initialize - Going to load tree
    2021-04-20 09:49:39,743 DEBUG 5 WorkspaceDataStore - Read wktree for '/home/mlmcgoogan/clients/synthesis.ai/repo/cg_test' in 4 ms
    2021-04-20 09:49:39,743 DEBUG 5 WorkspaceTree - BuildTree for workspace 4ce1d90b-c656-4806-97ef-6e431c608608
    2021-04-20 09:49:39,744 DEBUG 5 WorkspaceTree - BuildTree 0 ms. WkId 4ce1d90b-c656-4806-97ef-6e431c608608
    2021-04-20 09:49:39,744 DEBUG 5 WorkspaceTree - Initialize - tree timestamp is 637545304630000000/205
    2021-04-20 09:49:39,760 DEBUG 5 WorkspacePathMatcher - Checking IsConfigWorkspace - wkPath: '/home/mlmcgoogan/clients/synthesis.ai/repo/cg_test' globalConfigWkBasePath: '/home/mlmcgoogan/.plastic4/globalconfig'
    2021-04-20 09:49:39,760 DEBUG 5 GlobalConfig - Getting the repository spec for workspacepath '/home/mlmcgoogan/clients/synthesis.ai/repo/cg_test'
    2021-04-20 09:49:39,760 DEBUG 5 GlobalConfig - Getting the server config for repository spec 'cg_test@synthesis_ai@cloud', folder 'workspacetree', config file 'cloaked.conf'
    2021-04-20 09:49:39,770 DEBUG 5 AuthTokenCache - Read tokens from [/home/mlmcgoogan/.plastic4/tokens.conf]. Count: [1]
    2021-04-20 09:49:39,770 INFO  5 AuthTokenCache - Reloaded tokens from /home/mlmcgoogan/.plastic4/tokens.conf. Before: 0. Now: 1
    2021-04-20 09:49:39,785 DEBUG 5 ConnectionCreator - DNS resolve useast4-00-cloud.plasticscm.com -> 34.86.0.169 took 4 ms
    2021-04-20 09:49:39,835 DEBUG 5 ConnectionCreator - Create connection to synthesis_ai@cloud took 56 ms
    2021-04-20 09:49:39,942 DEBUG Threadpool worker Channel - Valid certificate validation info:
      Sender: 
      Certificate:
        SHA1: 1B8FFCEBF50FE0701B24E863541EDA8950A5827B
        MD5: 2121F3B677C7C1911995FD2CB1A9AE66
        Subject: CN=*.plasticscm.com, OU=Domain Control Validated
        Issuer: CN=Go Daddy Secure Certificate Authority - G2, OU=http://certs.godaddy.com/repository/, O="GoDaddy.com, Inc.", L=Scottsdale, S=Arizona, C=US
        Expiration: 10/24/2021 03:49:39
        Version: 3
      Chain:
        Policy:
          Revocation mode: NoCheck
          Revocation flags: ExcludeRoot
          Verification flags: NoFlag
          Verification time: 04/20/2021 09:49:39
      SslPolicyErrors: None
    
    2021-04-20 09:49:40,052 DEBUG 5 PlasticPipe - CmCallContext sent to server on connection creation
    2021-04-20 09:49:40,096 DEBUG 5 ChannelCall - protocol:plasticproto sec:ssl  sentb:     678|sendt:   0|recb:    3149|rect: 169|prt:     324|sert: 281|dest:   0|zip:   0|synthesis_ai@cloud|GetWorkingMode
    2021-04-20 09:49:40,097 DEBUG 5 PlasticPipe - prt:     327|GetWorkingMode                |synthesis_ai@cloud
    2021-04-20 09:49:40,098 DEBUG 5 CmConnection - Protocol for synthesis_ai@cloud is Plastic. 334 ms
    2021-04-20 09:49:40,141 DEBUG 5 ChannelCall - protocol:plasticproto sec:ssl  sentb:      53|sendt:   0|recb:      74|rect:  42|prt:      42|sert:   0|dest:   0|zip:   0|synthesis_ai@cloud|CheckRepositoryExists
    2021-04-20 09:49:40,141 DEBUG 5 PlasticPipe - prt:      43|CheckRepositoryExists         |synthesis_ai@cloud
    2021-04-20 09:49:40,142 DEBUG 5 WorkspacePathMatcher - Checking IsConfigWorkspace - wkPath: '/home/mlmcgoogan/clients/synthesis.ai/repo/cg_test' globalConfigWkBasePath: '/home/mlmcgoogan/.plastic4/globalconfig'
    2021-04-20 09:49:40,142 DEBUG 5 GlobalConfig - Getting the repository spec for workspacepath '/home/mlmcgoogan/clients/synthesis.ai/repo/cg_test'
    2021-04-20 09:49:40,142 DEBUG 5 GlobalConfig - Getting the server config for repository spec 'cg_test@synthesis_ai@cloud', folder 'workspacetree', config file 'hidden_changes.conf'
    2021-04-20 09:49:40,142 DEBUG 5 WorkspacePathMatcher - Checking IsConfigWorkspace - wkPath: '/home/mlmcgoogan/clients/synthesis.ai/repo/cg_test' globalConfigWkBasePath: '/home/mlmcgoogan/.plastic4/globalconfig'
    2021-04-20 09:49:40,142 DEBUG 5 GlobalConfig - Getting the repository spec for workspacepath '/home/mlmcgoogan/clients/synthesis.ai/repo/cg_test'
    2021-04-20 09:49:40,142 DEBUG 5 GlobalConfig - Getting the server config for repository spec 'cg_test@synthesis_ai@cloud', folder 'workspacetree', config file 'ignore.conf'
    2021-04-20 09:49:40,150 DEBUG 5 GlobalConfig - Getting the repository spec for workspacepath '/home/mlmcgoogan/clients/synthesis.ai/repo/cg_test'
    2021-04-20 09:49:40,150 DEBUG 5 GlobalConfig - Getting the server config for repository spec 'cg_test@synthesis_ai@cloud', folder 'workspacetree', config file 'filetypes.conf'
    2021-04-20 09:49:40,150 DEBUG Threadpool worker WorkspacePathMatcher - Checking IsConfigWorkspace - wkPath: '/home/mlmcgoogan/clients/synthesis.ai/repo/cg_test' globalConfigWkBasePath: '/home/mlmcgoogan/.plastic4/globalconfig'
    2021-04-20 09:49:40,150 DEBUG Threadpool worker GlobalConfig - Getting the repository spec for workspacepath '/home/mlmcgoogan/clients/synthesis.ai/repo/cg_test'
    2021-04-20 09:49:40,150 DEBUG Threadpool worker GlobalConfig - Getting the server config for repository spec 'cg_test@synthesis_ai@cloud', folder 'workspacetree', config file 'ignore.conf'
    2021-04-20 09:49:40,151 WARN  5 filters - PathValueMatcher: Error parsing line:       # Plastic SCM extensions file. Syntax: <expression>:<type>.
    2021-04-20 09:49:40,151 WARN  5 filters - PathValueMatcher: Error parsing line:       # Valid expressions are: '.cpp', 'myfile.cpp' ... (Metacharacters are allowed: '*', '?')
    2021-04-20 09:49:40,151 WARN  5 filters - PathValueMatcher: Error parsing line:       # Examples:
    2021-04-20 09:49:40,151 WARN  5 filters - PathValueMatcher: Error parsing line:     
    2021-04-20 09:49:40,155 DEBUG Threadpool worker WatcherFsNodeReader - Watcher '/home/mlmcgoogan/clients/synthesis.ai/repo/cg_test' started
    2021-04-20 09:49:40,157 DEBUG 5 WorkspaceStatus: DiskChangesSearcher - GetFsNodeFromPath: 2
    2021-04-20 09:49:40,158 DEBUG 5 WorkspaceStatus: DiskChangesSearcher - GetWorkspaceTree: 0
    2021-04-20 09:49:40,158 DEBUG 5 WorkspaceStatus: DiskChangesSearcher - GetTreeChangedNode: 1
    2021-04-20 09:49:40,162 DEBUG 5 WorkspaceStatus: DiskChangesSearcher - Process changes: 4
    2021-04-20 09:49:40,162 DEBUG 5 WorkspaceStatus: DiskChangesSearcher - -------ProcessChanges:--------
    2021-04-20 09:49:40,162 DEBUG 5 WorkspaceStatus: DiskChangesSearcher - 	timerGetMountPoint 1 ms, 1 times
    2021-04-20 09:49:40,162 DEBUG 5 WorkspaceStatus: DiskChangesSearcher - 	timerProcessChange 0 ms, 1 times
    2021-04-20 09:49:40,162 DEBUG 5 WorkspaceStatus: DiskChangesSearcher - 		timerIsBinaryPath 0 ms, 0 times
    2021-04-20 09:49:40,162 DEBUG 5 WorkspaceStatus: DiskChangesSearcher - 			timerIsBinaryTypePredictor 0 ms, 0 times
    2021-04-20 09:49:40,162 DEBUG 5 WorkspaceStatus: DiskChangesSearcher - 	timerGetChangeTypes 1 ms, 1 times
    2021-04-20 09:49:40,162 DEBUG 5 WorkspaceStatus: DiskChangesSearcher - 		timerGetIgnoredTypes 0 ms, 0 times
    2021-04-20 09:49:40,162 DEBUG 5 WorkspaceStatus: DiskChangesSearcher - 		timerGetCloakedTypes 0 ms, 1 times
    2021-04-20 09:49:40,162 DEBUG 5 WorkspaceStatus: DiskChangesSearcher - 		timerCheckChanged 0 ms, 0 times
    2021-04-20 09:49:40,162 DEBUG 5 WorkspaceStatus: DiskChangesSearcher - 		timerGetHiddenTypes 0 ms, 0 times
    2021-04-20 09:49:40,162 DEBUG 5 WorkspaceStatus: DiskChangesSearcher - 	timerNeedToProcessChildren 0 ms, 1 times
    2021-04-20 09:49:40,162 DEBUG 5 WorkspaceStatus: DiskChangesSearcher - 	timerGetFsNodes 1 ms, 1 times
    2021-04-20 09:49:40,162 DEBUG 5 WorkspaceStatus: DiskChangesSearcher - GettingChanges: 10
    2021-04-20 09:49:40,162 DEBUG 5 WorkspaceStatus - Search changes time - Total: 10 ms. Disk: 10 ms. Network: 0 ms. Overhead: 0 ms.
    2021-04-20 09:49:40,207 DEBUG 5 ChannelCall - protocol:plasticproto sec:ssl  sentb:      37|sendt:   0|recb:     122|rect:  43|prt:      43|sert:   0|dest:   0|zip:   0|synthesis_ai@cloud|GetRepositoryInfoByName
    2021-04-20 09:49:40,207 DEBUG 5 PlasticPipe - prt:      44|GetRepositoryInfoByName       |synthesis_ai@cloud
    2021-04-20 09:49:40,251 DEBUG 5 ChannelCall - protocol:plasticproto sec:ssl  sentb:      37|sendt:   0|recb:      74|rect:  41|prt:      42|sert:   0|dest:   0|zip:   0|synthesis_ai@cloud|GetTriggerList
    2021-04-20 09:49:40,251 DEBUG 5 PlasticPipe - prt:      42|GetTriggerList                |synthesis_ai@cloud
    2021-04-20 09:49:40,253 DEBUG 5 WorkspacePathMatcher - Checking IsConfigWorkspace - wkPath: '/home/mlmcgoogan/clients/synthesis.ai/repo/cg_test' globalConfigWkBasePath: '/home/mlmcgoogan/.plastic4/globalconfig'
    2021-04-20 09:49:40,254 DEBUG 5 GlobalConfig - Getting the repository spec for workspacepath '/home/mlmcgoogan/clients/synthesis.ai/repo/cg_test'
    2021-04-20 09:49:40,254 DEBUG 5 GlobalConfig - Getting the server config for repository spec 'cg_test@synthesis_ai@cloud', folder 'workspacetree', config file 'readonly.conf'
    2021-04-20 09:49:40,254 DEBUG 5 WorkspacePathMatcher - Checking IsConfigWorkspace - wkPath: '/home/mlmcgoogan/clients/synthesis.ai/repo/cg_test' globalConfigWkBasePath: '/home/mlmcgoogan/.plastic4/globalconfig'
    2021-04-20 09:49:40,254 DEBUG 5 GlobalConfig - Getting the repository spec for workspacepath '/home/mlmcgoogan/clients/synthesis.ai/repo/cg_test'
    2021-04-20 09:49:40,254 DEBUG 5 GlobalConfig - Getting the server config for repository spec 'cg_test@synthesis_ai@cloud', folder 'workspacetree', config file 'writable.conf'
    2021-04-20 09:49:40,256 DEBUG 5 WorkspaceLock - Workspace /home/mlmcgoogan/clients/synthesis.ai/repo/cg_test locked by process update
    2021-04-20 09:49:40,302 DEBUG 5 ChannelCall - protocol:plasticproto sec:ssl  sentb:      53|sendt:   0|recb:     170|rect:  43|prt:      44|sert:   0|dest:   0|zip:   0|synthesis_ai@cloud|GetBranchInfoByName
    2021-04-20 09:49:40,302 DEBUG 5 PlasticPipe - prt:      44|GetBranchInfoByName           |synthesis_ai@cloud
    2021-04-20 09:49:40,302 DEBUG 5 UpdatePerf - BlockSelectorSolver-Build selector rules 45 ms
    2021-04-20 09:49:40,351 INFO  5 Serialization - Time selector content package 1 ms
    2021-04-20 09:49:40,351 DEBUG 5 ChannelCall - protocol:plasticproto sec:ssl  sentb:      69|sendt:   0|recb:    1242|rect:  43|prt:      44|sert:   0|dest:   1|zip:   0|synthesis_ai@cloud|GetLastChangesetCloakedTreeOnBranch
    2021-04-20 09:49:40,351 DEBUG 5 PlasticPipe - prt:      45|GetLastChangesetCloakedTreeOnBranch|synthesis_ai@cloud
    2021-04-20 09:49:40,352 DEBUG 5 UpdatePerf - WorkspaceHandler-GetSelectorContent: 96 ms
    2021-04-20 09:49:40,353 DEBUG 5 WorkspacePathMatcher - Checking IsConfigWorkspace - wkPath: '/home/mlmcgoogan/clients/synthesis.ai/repo/cg_test' globalConfigWkBasePath: '/home/mlmcgoogan/.plastic4/globalconfig'
    2021-04-20 09:49:40,353 DEBUG 5 GlobalConfig - Getting the repository spec for workspacepath '/home/mlmcgoogan/clients/synthesis.ai/repo/cg_test'
    2021-04-20 09:49:40,353 DEBUG 5 GlobalConfig - Getting the server config for repository spec 'cg_test@synthesis_ai@cloud', folder 'workspacetree', config file 'cloaked.conf'
    2021-04-20 09:49:40,356 DEBUG 5 Update - SolveSelector 0 ms
    2021-04-20 09:49:40,356 DEBUG 5 Update - GetWorkspaceContent 0 ms
    2021-04-20 09:49:40,398 DEBUG 5 ChannelCall - protocol:plasticproto sec:ssl  sentb:      37|sendt:   0|recb:      74|rect:  42|prt:      42|sert:   0|dest:   0|zip:   0|synthesis_ai@cloud|GetTriggerList
    2021-04-20 09:49:40,398 DEBUG 5 PlasticPipe - prt:      42|GetTriggerList                |synthesis_ai@cloud
    2021-04-20 09:49:40,399 DEBUG 5 Update - Time downloading metadata 148 ms
    2021-04-20 09:49:40,409 DEBUG 5 Update - Download the pending files
    2021-04-20 09:49:40,410 DEBUG 5 Update - Time after all metadata processed 159 ms. Time processing locally 11 ms
    2021-04-20 09:49:40,410 DEBUG 5 Update - Delete Old wkrevs
    2021-04-20 09:49:40,410 DEBUG 5 Update - DeleteWorkspaceRevisions generated data on 0 ms. Found 0 paths
    2021-04-20 09:49:40,411 DEBUG 5 Update - deleted files and directories 0 ms
    2021-04-20 09:49:40,411 DEBUG 5 Update - DeleteWorkspaceRevisions on server 0 ms
    2021-04-20 09:49:40,411 DEBUG 5 Update - Check duplicate item entries
    2021-04-20 09:49:40,413 DEBUG 12 WatcherFsNodeReader - InotifyWatcher. Event 1 name .plastic mask Attrib, Directory
    2021-04-20 09:49:40,413 DEBUG 5 WorkspaceDataStore - SaveWorkspaceTree on tmp file 2 ms
    2021-04-20 09:49:40,415 DEBUG 5 WorkspaceLock - Workspace /home/mlmcgoogan/clients/synthesis.ai/repo/cg_test unlocked
    2021-04-20 09:49:40,420 DEBUG 12 WatcherFsNodeReader - InotifyWatcher. Event 1 name  mask Ignored
    2021-04-20 09:49:40,421 DEBUG 1 WatcherFsNodeReader - Watcher '/home/mlmcgoogan/clients/synthesis.ai/repo/cg_test' stopped

     

  2. Using plasticscm-client-core package.

     

    Created a local workspace from a cloud repo:

    cm wk <wkspace_name> <local_path> <repo>@<org>@cloud

    Following this a local workspace which contains the correct changesets is successfully created.

     

    Then try to update the workspace:

    # cm update .
    - Updating       [....................]   1%      0/51.73 MB -  0/75 files

    This always happens, it will populate folders, but no files ever populate, have tried different paths after update. Just ends at 1%, 0 files.

     

    Am I missing something in the process here? This is just following the CLI guide:

    https://www.plasticscm.com/documentation/cli/plastic-scm-version-control-cli-guide?term=command%20line#Createanewworkspace

  3. This is what currently happens when I try that route:

    Install plasticscm-client-core and then run clconfigureclient:
     

    Configure the Plastic SCM server address/port:
    Plastic SCM server address [localhost]: <orgname>@cloud
    
    There was an error while checking the Plastic SCM server security mode.
    Maybe the server is offline, or the address specified is wrong.
    Do you want to re-enter the Plastic SCM server address? [Y/n]:
    
    ------------
    
    Select the users authentication mode. These are the available modes:
    1. NameWorkingMode (Name)
    2. NameIDWorkingMode (Name + ID)
    3. LDAPWorkingMode (LDAP)
    4. ADWorkingMode (Active Directory)
    5. UPWorkingMode (User and password)
    Choose a mode (type a number): 5
    
    ------------
    
    Configure your credentials:
    Username: <email>
    Password: *************
    
    ------------
    
    Configure a proxy server? [y/N]: n
    
    ------------
    
    The Plastic SCM client has been correctly configured.

    Note for <orgname> I put the orgname given in our cloud dashboard. <email> I use my login email for PlasticSCM (same as Plastic GUI client on another machine).

     

    I then try to list the repos, it asks to sign into org but never works, just keeps asking over and over:

    > $ cm repository
    Select the system you want to use to sign in to the organization: <orgname>@cloud
    0 - email
    1 - unityid
    Select your system [0-1] 0
    Enter credentials to connect to server [<orgname>@cloud]
    User: <email>
    Password: **************
    Select the system you want to use to sign in to the organization: synthesis_ai@cloud
    0 - email
    1 - unityid
    Select your system [0-1]

    I've tried several times, copy and pasted, verified I'm using the same email+pass I use to login to the PlasticSCM GUI client and website. Never works.

     

    Any assist here would be greatly appreciated!

  4. On 3/22/2021 at 6:59 AM, calbzam said:

    Hi,

    So the problem is you cannot install the "plasticscm-cloud" package on Ubuntu 20.10, right?

    Could you check if this link helps? 

    Regards,

    Carlos.

     

    Actually the larger problem is how do you connect to a cloud org using plasticscm-client-core

     

    In a headless Ubuntu environment there seems to be no documentation on how to achieve connection to a cloud org? Trying to run clconfigureclient it asks for the server address/port. I haven't been able to find any values to put in there that works? Could we just get clarification:

    1. Can the Plastic CLI connect to and interact with a cloud org/repos?
    2. If so, how do you setup Plastic CLI in a headless environment to do this
    3. If not, how do you setup a Plastic client in a headless environment?

     

    Appreciate your time!

×
×
  • Create New...