If you are having a problem using Vault, post a message here.
Moderator: SourceGear
-
drysz
- Posts: 6
- Joined: Fri May 02, 2008 6:52 am
- Location: Meriden,CT
Post
by drysz » Tue Jun 17, 2008 5:33 am
We are running an automated build every night using a batch file, vault and MSBuild. Fortress is also installed on this dedicated build machine but is rarely used.
The build has been working great until last week we started seeing these exceptions in the build log. I rebooted the computer and I thought the problem went away but it's back. When it happens every file has the same error yet shows success and the build succeeds as well. We have a dedicated read only vault user that we use to perform the build.
Any ideas?
~Dave
Version Check: This Fortress client is version 1.1.1.18060
Version Check: Your Fortress server is version 1.1.1.18060
Here is a snippet of the log generated by MSBuild:
Code: Select all
Target _VaultGet:
------------------------------------------------------------
Getting Vault Tip of Identity: Utility
------------------------------------------------------------
Creating directory ".\Development\Utility".
"C:\Program Files\SourceGear\Fortress Client\vault.exe" GET -host VServer -user vuser -password "" -repository "DEV REPOSITORY" -SETFILETIME modification -nonworkingfolder "./Development/Utility" "$/DevBranches/Branch12.13/Development/Utility/"
<vault>
<!--An exception was encountered during the get latest operation. Exception: 2100 : FailExistingDownload-->
<result>
<success>True</success>
</result>
</vault>
-
Beth
- Posts: 8550
- Joined: Wed Jun 21, 2006 8:24 pm
- Location: SourceGear
-
Contact:
Post
by Beth » Tue Jun 17, 2008 8:10 am
Can you check in your
Vault Server Log for errors that occurred at the same time period?
-
drysz
- Posts: 6
- Joined: Fri May 02, 2008 6:52 am
- Location: Meriden,CT
Post
by drysz » Wed Jun 25, 2008 7:38 am
I see in the log the following error repeated during my build process but not any other kinds of errors when it happens. Our build directory is compressed and I noticed when I kicked off a build in an uncompressed directory yesterday I didn't see any errors yet our scheduled builds that are in compressed directories have an error with each GET command.
Code: Select all
----6/13/2008 2:58:13 PM builduser--build.corp(16.8.5.2)--SSL Disabled FailExistingDownload
----6/13/2008 2:58:13 PM builduser--build.corp(16.8.5.2)--SSL Disabled Logout
----6/13/2008 2:58:15 PM builduser--asp-build.corp(16.8.5.2)--SSL Disabled Login
----6/13/2008 2:58:24 PM builduser--build.corp(16.8.5.2)--SSL Disabled Logout
----6/13/2008 2:58:44 PM builduser--build.corp(16.8.5.2)--SSL Disabled Login
----6/13/2008 2:58:46 PM builduser--build.corp(16.8.5.2)--SSL Disabled FailExistingDownload
----6/13/2008 2:58:46 PM builduser--build.corp(16.8.5.2)--SSL Disabled Logout
----6/13/2008 2:58:47 PM builduser--build.corp(16.8.5.2)--SSL Disabled Login
----6/13/2008 2:58:52 PM builduser--build.corp(16.8.5.2)--SSL Disabled FailExistingDownload
[/code]
-
Beth
- Posts: 8550
- Joined: Wed Jun 21, 2006 8:24 pm
- Location: SourceGear
-
Contact:
Post
by Beth » Wed Jun 25, 2008 10:15 am
It could be a case of where you have a download in progress. Could you be doing two Gets at once?
Restarting your server should clear out any downloads it's working on. Then could you try just one Get to the compressed area?
-
drysz
- Posts: 6
- Joined: Fri May 02, 2008 6:52 am
- Location: Meriden,CT
Post
by drysz » Wed Jun 25, 2008 11:21 am
Ok I stripped down my batch file to do 2 gets. I think the compressed folder is not the problem (we were running it error free for over a month prior to this problem). If I do a GET of a specific file it works fine. If I do a GET of a project directory it succeeds but displays the exception error.
This is a snipped of my batch file showing the format of the GET:
Code: Select all
SET VCREDENTIALS=-host %VHOST% -user %VUSER% -password %VPASSWORD% -repository %VREPOSITORY%
REM This GET always works
vault.exe GET %VCREDENTIALS% -SETFILETIME modification -NONWORKINGFOLDER $/Build/AspBuild.proj
REM This GET always gives an exception but succeeds
vault.exe GET %VCREDENTIALS% -SETFILETIME modification -NONWORKINGFOLDER Tasks $/Build/Tasks
-
Beth
- Posts: 8550
- Joined: Wed Jun 21, 2006 8:24 pm
- Location: SourceGear
-
Contact:
Post
by Beth » Wed Jun 25, 2008 2:31 pm
What happens if you put in a full disk path for the -nonworkingfolder tag?
-
drysz
- Posts: 6
- Joined: Fri May 02, 2008 6:52 am
- Location: Meriden,CT
Post
by drysz » Fri Jun 27, 2008 5:06 am
Yesterday it was all working fine so I waited until today when it started failing again. I added the full path and it makes no difference. I still get the file with a Success yet I also get the error.
<vault>
<!--An exception was encountered during the get latest operation. Exception: 2100 : FailExistingDownload-->
<result>
<success>True</success>
</result>
</vault>
-
jeremy_sg
- Posts: 1821
- Joined: Thu Dec 18, 2003 11:39 am
- Location: Sourcegear
-
Contact:
Post
by jeremy_sg » Fri Jun 27, 2008 9:48 am
I would be interested to see how you get into this state. Please email support at sourcegear.com ATTN: jeremy with a link to this thread and your phone number so that I can get more details.
-
scottbooth
- Posts: 1
- Joined: Wed Feb 18, 2009 8:58 am
Post
by scottbooth » Wed Feb 18, 2009 9:02 am
Was this issue ever resolved? We seem to be having the same problem with our automated build script.
Thanks
Scott
-
drysz
- Posts: 6
- Joined: Fri May 02, 2008 6:52 am
- Location: Meriden,CT
Post
by drysz » Wed Feb 18, 2009 9:32 am
The problem went away on it's own and we have not run into it since. :/
-
Beth
- Posts: 8550
- Joined: Wed Jun 21, 2006 8:24 pm
- Location: SourceGear
-
Contact:
Post
by Beth » Wed Feb 18, 2009 11:09 am
Scot, you should either start a thread for yourself and your issue, or send an email to support at sourcegear.com with a full description and your Vault server log (C:\Windows\temp\sgvault\sgvault.log).
Beth Kieler
SourceGear Technical Support