mlmcgoogan Posted April 19, 2021 Report Share Posted April 19, 2021 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 Link to comment Share on other sites More sharing options...
calbzam Posted April 20, 2021 Report Share Posted April 20, 2021 Hi, Are you the only user affected by this problem? We need to review the client logs. If you are using the "cm", please enable the "cm" log: https://www.plasticscm.com/documentation/technical-articles/kb-enabling-logging-for-plastic-scm-part-i If you use the Plastic GUI, the logs are enabled by default at "C:\Users\xxx\AppData\Local\plastic4\logs". Regards, Carlos. Link to comment Share on other sites More sharing options...
mlmcgoogan Posted April 20, 2021 Author Report Share Posted April 20, 2021 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 Link to comment Share on other sites More sharing options...
calbzam Posted April 20, 2021 Report Share Posted April 20, 2021 Hi, I'm afraid I cannot see any update run in the log you are attaching. Is it the full log? Anyway, if we are already handling this issue via support ticket, let's continue the conversation in the ticket to avoid duplciating the conversation. Regards, Carlos. Link to comment Share on other sites More sharing options...
AntonS Posted September 28, 2021 Report Share Posted September 28, 2021 Hello, Could you please share solution? I'm having exact same issue but on Linux machine. Thank you! Link to comment Share on other sites More sharing options...
calbzam Posted September 28, 2021 Report Share Posted September 28, 2021 Please, enable the "cm" logs (if you are running the update via "cm") and share it with us. Also let us know estimated time the issue happened to review it. Regards, Carlos. Link to comment Share on other sites More sharing options...
AntonS Posted September 28, 2021 Report Share Posted September 28, 2021 Hello, Please see log attached Thank you! cm.log.txt Link to comment Share on other sites More sharing options...
AntonS Posted September 29, 2021 Report Share Posted September 29, 2021 So, I've performed a bit of research today. Since GTK version of Plastic is not working on Debian family of Linux for last 3 years, I've installed Fedora this morning. Unfortunately, CLI still crashing in a exact same way. I've tried GUI client and I've got a message box asking me for encryption: Edit: I've entered encryption password and I was able to get workspace synced. After that cm utility worked as intended. Link to comment Share on other sites More sharing options...
calbzam Posted September 29, 2021 Report Share Posted September 29, 2021 Hi, Ok, so the problem is the CLI client is not asking you to enter the encryption key, right? By the way, there is a workaround to install Plastic in the last Debian/ubuntu versions. Please cehck if it helps: https://plasticscmsupport.zendesk.com/hc/en-us/articles/360013103159-How-to-Install-Plastic-GUI-in-Ubuntu-19-10-and-later- Regards, Carlos. Link to comment Share on other sites More sharing options...
AntonS Posted September 29, 2021 Report Share Posted September 29, 2021 2 hours ago, calbzam said: Hi, Ok, so the problem is the CLI client is not asking you to enter the encryption key, right? By the way, there is a workaround to install Plastic in the last Debian/ubuntu versions. Please cehck if it helps: https://plasticscmsupport.zendesk.com/hc/en-us/articles/360013103159-How-to-Install-Plastic-GUI-in-Ubuntu-19-10-and-later- Regards, Carlos. Hello Carlos, thank you for the link! It would be great to have it at https://www.plasticscm.com/plastic-for-linux page! As for CLI client, I'm not entirely sure what's the issue. For me it looks like a crash. Client shows the download progress but exit with a code equals to 1 and does not download any files. Only folders created. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now