# Not copying files to the agent workspace

**URL:** https://www.finalbuilder.com/forums/t/not-copying-files-to-the-agent-workspace/5462
**Category:** Discussion
**Created:** [March 8, 2016, 6:17am UTC](https://www.finalbuilder.com/forums/t/not-copying-files-to-the-agent-workspace/5462 "2016-03-08T06:17:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![paco1863](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/ccd318/32.png) [@paco1863](https://www.finalbuilder.com/forums/u/paco1863)
#### Post date: [March 8, 2016, 6:17am UTC](https://www.finalbuilder.com/forums/t/not-copying-files-to-the-agent-workspace/5462/1 "2016-03-08T06:17:01Z")

</div>

Trying to setup Continua but when I run a build, the CI\_AWS\Ws\buildnumber folder is not created and populated. Am totally lost. Here is an extract from the debug log.  
  
Medium: 10:33:27 AM {T16} [Debug] InitialiseWorkspaceOnAgent \>\> SyncSourceFromServer  
Medium: 10:33:27 AM {T16} [Debug] SyncSourceFromServer \>\> Start  
Medium: 10:33:27 AM {T16} [Debug] SyncSourceFromServer \>\> SyncRepoCache - build repo name=Api  
Medium: 10:33:27 AM {T16} [Debug] SyncRepoCache \>\> Start  
Medium: 10:33:27 AM {T16} [Debug] SyncRepoCache \>\> SyncCache  
Medium: 10:33:27 AM {T16} [Debug] SyncCache \>\> Syncing agent repository cache from server - cacheRevision=808b2e84c1c145b85f4b145e0aed64172027ebe3  
Medium: 10:33:27 AM {T16} [Debug] SyncFrom \>\> Start  
Medium: 10:33:27 AM {T16} [Debug] SyncFrom \>\> Acquiring read lock for path C:\CI\_AWS\Repos\e3cda589 on thread 16  
Medium: 10:33:27 AM {T16} [Debug] SyncFrom \>\> CheckRevisionIdExists DirectoryPath=C:\CI\_AWS\Repos\e3cda589, cacheRevision=808b2e84c1c145b85f4b145e0aed64172027ebe3  
Medium: 10:33:27 AM {T16} [ProcessRunner] Executing program ‘C:\Program Files\VSoft Technologies\ContinuaCI Agent\hg\hg.exe’ with arguments ‘id -r 808b2e84c1c145b85f4b145e0aed64172027ebe3 --config ui.username=Continua --noninteractive --encoding cp1252’.  
Medium: 10:33:27 AM {T16} [Debug] [Process] Program ‘C:\Program Files\VSoft Technologies\ContinuaCI Agent\hg\hg.exe’ with process id ‘5016’ started. Args are 'id -r 808b2e84c1c145b85f4b145e0aed64172027ebe3 --config ui.username=Continua --noninteractive --encoding cp1252’  
Medium: 10:33:27 AM {T16} [Debug] [ProcessRunner] Exited process ‘C:\Program Files\VSoft Technologies\ContinuaCI Agent\hg\hg.exe’ with process id ‘5016’. Args are 'id -r 808b2e84c1c145b85f4b145e0aed64172027ebe3 --config ui.username=Continua --noninteractive --encoding cp1252’  
Medium: 10:33:27 AM {T16} [Debug] [Mercurial] Exit code is 0 and output is ‘808b2e84c1c1 (develop)  
’ after running program ‘C:\Program Files\VSoft Technologies\ContinuaCI Agent\hg\hg.exe’ with arguments ‘id -r 808b2e84c1c145b85f4b145e0aed64172027ebe3 --config ui.username=Continua --noninteractive --encoding cp1252’.  
Medium: 10:33:27 AM {T16} [Debug] Mercurial  
Medium: 10:33:27 AM {T16} [Debug] Mercurial  
Medium: 10:33:27 AM {T16} [Debug] SyncFrom \>\> After running CheckRevisionIdExists synched=True  
Medium: 10:33:27 AM {T16} [Debug] SyncFrom \>\> Acquiring read lock for path C:\CI\_AWS\Repos\e3cda589 on thread 16  
Medium: 10:33:27 AM {T16} [Debug] SyncRepoCache \>\> End  
Medium: 10:33:27 AM {T16} [Debug] SyncSourceFromServer \>\> CopySourceToWorkspace - destination=C:\CI\_AWS\Ws\4\Source\Api  
Medium: 10:33:27 AM {T16} [Debug] CopySourceToWorkspace \>\> Start  
Medium: 10:33:27 AM {T16} [Debug] CopySourceToWorkspace \>\> Exporting - absoluteDestination=C:\CI\_AWS\Ws\4\Source\Api, CacheRevision=808b2e84c1c145b85f4b145e0aed64172027ebe3  
Medium: 10:33:27 AM {T16} [Debug] Export \>\> Start  
Medium: 10:33:27 AM {T16} [Debug] Export \>\> Acquiring read lock for path C:\CI\_AWS\Repos\e3cda589 on thread 16  
Medium: 10:33:27 AM {T16} [ProcessRunner] Executing program ‘C:\Program Files\VSoft Technologies\ContinuaCI Agent\hg\hg.exe’ with arguments ‘archive -r 808b2e84c1c145b85f4b145e0aed64172027ebe3 -X “re:^(.\_Continua\_CI\_empty\_changeset\_marker)$” -X “re:^(.\_Continua\_CI\_file\_hash\_dictionary)$” --subrepos -R C:\CI\_AWS\Repos\e3cda589 C:\CI\_AWS\Ws\4\Source\Api --config ui.username=Continua --noninteractive --encoding cp1252’.  
Medium: 10:33:27 AM {T16} [Debug] [Process] Program ‘C:\Program Files\VSoft Technologies\ContinuaCI Agent\hg\hg.exe’ with process id ‘3960’ started. Args are 'archive -r 808b2e84c1c145b85f4b145e0aed64172027ebe3 -X “re:^(.\_Continua\_CI\_empty\_changeset\_marker)$” -X “re:^(.\_Continua\_CI\_file\_hash\_dictionary)$” --subrepos -R C:\CI\_AWS\Repos\e3cda589 C:\CI\_AWS\Ws\4\Source\Api --config ui.username=Continua --noninteractive --encoding cp1252’  
Medium: 10:33:27 AM {T16} [Debug] [ProcessRunner] Exited process ‘C:\Program Files\VSoft Technologies\ContinuaCI Agent\hg\hg.exe’ with process id ‘3960’. Args are 'archive -r 808b2e84c1c145b85f4b145e0aed64172027ebe3 -X “re:^(.\_Continua\_CI\_empty\_changeset\_marker)$” -X “re:^(.\_Continua\_CI\_file\_hash\_dictionary)$” --subrepos -R C:\CI\_AWS\Repos\e3cda589 C:\CI\_AWS\Ws\4\Source\Api --config ui.username=Continua --noninteractive --encoding cp1252’  
Medium: 10:33:27 AM {T16} [Debug] [Mercurial] Exit code is 0 and output is ‘’ after running program ‘C:\Program Files\VSoft Technologies\ContinuaCI Agent\hg\hg.exe’ with arguments ‘archive -r 808b2e84c1c145b85f4b145e0aed64172027ebe3 -X “re:^(.\_Continua\_CI\_empty\_changeset\_marker)$” -X “re:^(.\_Continua\_CI\_file\_hash\_dictionary)$” --subrepos -R C:\CI\_AWS\Repos\e3cda589 C:\CI\_AWS\Ws\4\Source\Api --config ui.username=Continua --noninteractive --encoding cp1252’.  
Medium: 10:33:27 AM {T16} [Debug] Export \>\> Released read lock for path C:\CI\_AWS\Repos\e3cda589 on thread 16  
Medium: 10:33:27 AM {T16} [Debug] Export \>\> End - files count=0  
Medium: 10:33:27 AM {T16} [Debug] CopySourceToWorkspace \>\> didn’t list files exported  
Medium: 10:33:27 AM {T16} [Debug] CopySourceToWorkspace \>\> End  
Medium: 10:33:27 AM {T16} [Debug] SyncSourceFromServer \>\> End  
Medium: 10:33:27 AM {T16} [Debug] InitialiseWorkspaceOnAgent \>\> SyncWorkspaceFromServer - source=Continua.Modules.Builds.Common.Services.DataTransferObjects.TransportContextDTO  
Medium: 10:33:27 AM {T16} [Debug] SyncWorkspaceFromServer \>\> Start  
Medium: 10:33:27 AM {T16} [Debug] SyncWorkspaceFromServer \>\> CopyFilesFromServerToAgent - workspacePath=C:\CI\_AWS\Ws\4  
Medium: 10:33:28 AM {T16} [Debug] SyncWorkspaceFromServer \>\> End  
Medium: 10:33:28 AM {T15} [Debug] [AgentCallbackProxy] Monitoring call queue. There are 1 items on queue.  
Medium: 10:33:28 AM {T15} [Debug] Creating Agent Callback service  
Medium: 10:33:28 AM {T15} [Debug] Creating Agent Callback service, Create IP Client. Hostname: ‘localhost’, No port specified.  
Medium: 10:33:28 AM {T16} [Debug] InitialiseWorkspaceOnAgent \>\> End  
  
Bob

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [March 9, 2016, 12:29pm UTC](https://www.finalbuilder.com/forums/t/not-copying-files-to-the-agent-workspace/5462/2 "2016-03-09T12:29:41Z")

</div>

Hi Bob,  
  
It looks like there are no files added to the Continua repository cache for the relevant changeset in your “API” repository. &nbsp;  
  
This section of the debug log does not show us what changesets were detected on your repository and committed to the repository cache when the repository was initialised or last polled. We also don’t know what type of the repository and the settings that you entered.  
  
Can you send details of your repository settings to [support@finalbuilder.com](mailto:support@finalbuilder.com)? Either send screenshots or download a diagnostics report from the Administration -\> Event Log page. Also provide details of the repository structure particularly if it is a repository with branches. &nbsp;  
  
If you can also reset your repository on the Adminstration -\> Repositories page with debug logging enabled and then send a debug log once the repository is initialised, this will also show us what files are being committed to the repository cache. &nbsp;
