1590 during checkout?

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
andrewbadera
Posts: 14
Joined: Wed Jun 13, 2007 8:55 am
Location: Albany, NY, USA
Contact:

1590 during checkout?

Post by andrewbadera » Wed Jun 13, 2007 9:17 am

I am seeing something similar to:

http://support.sourcegear.com/viewtopic ... 0158#30158

Build Error: NAnt.Core.BuildException
Get returned 1590: The operation was successful and requires a download.

Last night, during a NAnt vaultgetfile operation of a project folder and its subfolders, I was getting this 1590, which terminated my NAnt build process. The primary project and one secondary project's files were downloaded to the local machine prior to the failure.

I had just started using vaultgetfile instead of vaultgetbylabel, and had at first assumed I was doing something wrong. This morning, however, I run the exact same build files with complete success.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Wed Jun 13, 2007 5:01 pm

It sounds like it was working for you now, right?

This status code usually means the request to download a file was successful, and the client should go ahead and request the file. We hadn't seen it fail on that yet. The best place to look for what really happened is the Vault Server Log.

andrewbadera
Posts: 14
Joined: Wed Jun 13, 2007 8:55 am
Location: Albany, NY, USA
Contact:

Post by andrewbadera » Wed Jun 13, 2007 5:07 pm

Hi Beth-

Yes, it is working now. FYI, this is a NAnt build being called from CruiseControl.NET.

Unfortunately, I don't have access to the Vault server log, but it's something I think I'm going to request after these experiences.

With a different CCNet project, same Vault repo, same code being pulled frmo Vault, I had another 1590 today. I seemed unable to repeat it however -- seemed to be a one-off. The original project appeared unaffected.

andrewbadera
Posts: 14
Joined: Wed Jun 13, 2007 8:55 am
Location: Albany, NY, USA
Contact:

Post by andrewbadera » Fri Jun 15, 2007 1:47 pm

First glance, nothing, so we set the log to verbose. The issue is now happening again, for no apparent reason, and here's what I've captured:


----6/15/2007 3:35:54 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled GetRepositoryStructure returned: Success
----6/15/2007 3:35:54 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled Getting list of checkout changes.
----6/15/2007 3:35:54 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled Beginning SQL transaction 5746
----6/15/2007 3:35:54 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled GetCheckoutListChanges: Transaction Started
----6/15/2007 3:35:54 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled SQL transaction 5746 successfully committed.
----6/15/2007 3:35:54 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled GetCheckoutListChanges: Transaction Committed
----6/15/2007 3:35:54 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled GetCheckOutListChanges returned: Success
----6/15/2007 3:35:54 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled GetUserEmailOptions returned Success
----6/15/2007 3:35:54 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 1535
----6/15/2007 3:35:54 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled ListWatchers returned Success
----6/15/2007 3:35:54 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled ListCloakedObjects returned: Success
----6/15/2007 3:35:54 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled GetRepositoryOptions returned: Success
----6/15/2007 3:35:54 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled Beginning file download
----6/15/2007 3:35:54 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled TreeManager: cache matches repository revision and folder security hasn't changed. Returning cached tree, revID 1535
----6/15/2007 3:35:54 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled VaultLib.VaultRequestGetFile returned: SuccessRequireFileDownload
.
.
.
----6/15/2007 3:35:54 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled VaultLib.VaultRequestGetFile returned: SuccessRequireFileDownload
----6/15/2007 3:35:54 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled BeginDownloadFiles returned: Success
----6/15/2007 3:35:54 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled VaultFileDownload starting
----6/15/2007 3:35:54 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled Downloading delta for $/companyname/Common/CV1/companyname.Common.CV1.JSharp/Trunk/Java_Session.java from 0 to 6644
.
.
.
----6/15/2007 3:35:55 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled Downloading delta for $/companyname/Common/CV1/companyname.Common.CV1.JSharp/Trunk/Config Files/cvwdropdown.cfg from 0 to 18102
----6/15/2007 3:35:55 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled GetLatest wrote 279921 bytes to the Response Stream
----6/15/2007 3:35:56 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled Ending download process
----6/15/2007 3:35:56 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled EndDownloadProcess returned: Success
----6/15/2007 3:35:58 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled Logout
----6/15/2007 3:35:58 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled Beginning SQL transaction 5905
----6/15/2007 3:35:58 PM Abadera--*******(192.168.xxx.xxx)--SSL Disabled SQL transaction 5905 successfully committed.


Does that provide any insight? Anecdotally, it seems to only happen during longer getlatest operations, and/or when I'm getting latest on for a fresh local working directory with no pre-existing files ...

andrewbadera
Posts: 14
Joined: Wed Jun 13, 2007 8:55 am
Location: Albany, NY, USA
Contact:

Post by andrewbadera » Fri Jun 15, 2007 3:04 pm

This issue appears to occur only when the files the vaultgetfile task is attempting to access are "Missing" or "Renegade" within Vault. (3.5.2 fyi)

Once a set of files has been brought down to disk -- even if they are deleted and you are essentially getting them fresh and new from Vault -- the problem goes away. So if I bring all the files down manually, thereby getting rid of all "Missing" or "Renegade" statuses within vault, a NAnt vaultgetfile call for the same material then works just fine.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Tue Jun 19, 2007 12:15 pm

Can you check that you have the correct version of the NAnt tasks? Each version of Vault should have a set of NAnt tasks you can download from our downloads page: http://www.sourcegear.com/vault/downloads.html

andrewbadera
Posts: 14
Joined: Wed Jun 13, 2007 8:55 am
Location: Albany, NY, USA
Contact:

Post by andrewbadera » Tue Jun 19, 2007 1:00 pm

Beth wrote:Can you check that you have the correct version of the NAnt tasks? Each version of Vault should have a set of NAnt tasks you can download from our downloads page: http://www.sourcegear.com/vault/downloads.html
4/21/2007, check.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Tue Jun 19, 2007 2:38 pm

What version of Vault are you using?

andrewbadera
Posts: 14
Joined: Wed Jun 13, 2007 8:55 am
Location: Albany, NY, USA
Contact:

Post by andrewbadera » Tue Jun 19, 2007 2:46 pm

Beth wrote:What version of Vault are you using?
3.5.2, freshly installed on both server and client.

andrewbadera
Posts: 14
Joined: Wed Jun 13, 2007 8:55 am
Location: Albany, NY, USA
Contact:

Post by andrewbadera » Mon Jul 09, 2007 9:54 am

Wow, I have to tell you, this Gold Support is fantastic. You guys have been uber-responsive, and my problem is resolved.

Or ... wait, no you haven't, and no it isn't. Did this fall off your radar here? This is a pretty major issue for us.

You know Eric Sink makes for quite the evangelist, but I'm starting to think your products aren't all they're cracked up to be -- and this "support" has been nothing but disappointing.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Mon Jul 09, 2007 1:47 pm

We have a new build that should take care of the Get issue. Send me an email at support at sourcegear.com (attn: Beth) and I'll get that out to you. A link to this forum thread in your email will help in lining up your email to this issue.

Locked