NuGet Oddness (Freezing/Stalling)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

NuGet Oddness (Freezing/Stalling)

drohm
We're currently fighting with NuGet when issuing the following command:

c://NuGet//NuGet.exe list -Source http://dml:8081/artifactory/api/nuget/open-nuget-local ProjectName -noninteractive -allversions

Here is the output:

ProjectName 1.0.0.80
ProjectName 1.0.0.81
ProjectName 1.0.0.82
ProjectName 1.0.0.83
ProjectName 1.0.0.84
ProjectName 1.0.0.85
ProjectName 1.0.0.86
ProjectName 1.0.0.87
ProjectName 1.0.0.88
ProjectName 1.0.0.89
ProjectName 1.0.0.90
ProjectName 1.0.0.91
ProjectName 1.0.0.93
ProjectName 1.0.0.94
ProjectName 1.0.0.95
ProjectName 1.0.0.96
ProjectName 1.0.0.97
ProjectName 1.0.0.98
ProjectName 1.0.0.99
ProjectName 1.0.0.100
ProjectName 1.0.0.101
ProjectName 1.0.0.102
ProjectName 1.0.0.103
ProjectName 1.0.0.104
ProjectName 1.0.0.105
ProjectName 1.0.0.106
ProjectName 1.0.0.107
ProjectName 1.0.0.108
ProjectName 1.0.0.109
ProjectName 1.0.0.110
ProjectName 1.0.0.111
ProjectName 1.0.0.112
ProjectName 1.0.0.113
ProjectName 1.0.0.114
ProjectName 1.0.0.115



c://NuGet//NuGet.exe list -Verbosity detailed -Source http://dml:8081/artifactory/api/nuget/open-nuget-local ProjectName -noninteractive -allversions
c://NuGet//NuGet.exe list -Verbosity detailed -Source http://dml:8081/artifactory/api/nuget/open-nuget-local ProjectName -noninteractive -allversions
GET http://dml:8081/artifactory/api/nuget/open-nuget-local/Search
)?$orderby=Id&$skip=0&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
ProjectName
 1.0.0.80
 TODO

ProjectName
 1.0.0.81
 TODO

ProjectName
 1.0.0.82
 TODO

ProjectName
 1.0.0.83
 TODO

ProjectName
 1.0.0.84
 TODO

ProjectName
 1.0.0.85
 TODO

ProjectName
 1.0.0.86
 TODO

ProjectName
 1.0.0.87
 TODO

ProjectName
 1.0.0.88
 TODO

ProjectName
 1.0.0.89
 TODO

ProjectName
 1.0.0.90
 TODO

ProjectName
 1.0.0.91
 TODO

ProjectName
 1.0.0.93
 TODO

ProjectName
 1.0.0.94
 TODO

ProjectName
 1.0.0.95
 TODO

ProjectName
 1.0.0.96
 TODO

ProjectName
 1.0.0.97
 TODO

ProjectName
 1.0.0.98
 TODO

ProjectName
 1.0.0.99
 TODO

ProjectName
 1.0.0.100
 TODO

ProjectName
 1.0.0.101
 TODO

ProjectName
 1.0.0.102
 TODO

ProjectName
 1.0.0.103
 TODO

ProjectName
 1.0.0.104
 TODO

ProjectName
 1.0.0.105
 TODO

ProjectName
 1.0.0.106
 TODO

ProjectName
 1.0.0.107
 TODO

ProjectName
 1.0.0.108
 TODO

ProjectName
 1.0.0.109
 TODO

ProjectName
 1.0.0.110
 TODO

GET http://dml:8081/artifactory/api/nuget/open-nuget-local/Search
)?$orderby=Id&$skip=30&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
ProjectName
 1.0.0.111
 TODO

ProjectName
 1.0.0.112
 TODO

ProjectName
 1.0.0.113
 TODO

ProjectName
 1.0.0.114
 TODO

ProjectName
 1.0.0.115
 TODO


So the skip value has increased by 30 in the 2nd search because we got the first 30 results the first time.

So if I delete 5 of the packages to bring us down to thirty we now see the following behaviour


c://NuGet//NuGet.exe list -Verbosity detailed -Source http://dml:8081/artifactory/api/nuget/open-nuget-local ProjectName -noninteractive -allversions
GET http://dml:8081/artifactory/api/nuget/open-nuget-local/Search(
)?$orderby=Id&$skip=0&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
ProjectName
 1.0.0.85
 TODO

ProjectName
 1.0.0.86
 TODO

ProjectName
 1.0.0.87
 TODO

ProjectName
 1.0.0.88
 TODO

ProjectName
 1.0.0.89
 TODO

ProjectName
 1.0.0.90
 TODO

ProjectName
 1.0.0.91
 TODO

ProjectName
 1.0.0.93
 TODO

ProjectName
 1.0.0.94
 TODO

ProjectName
 1.0.0.95
 TODO

ProjectName
 1.0.0.96
 TODO

ProjectName
 1.0.0.97
 TODO

ProjectName
 1.0.0.98
 TODO

ProjectName
 1.0.0.99
 TODO

ProjectName
 1.0.0.100
 TODO

ProjectName
 1.0.0.101
 TODO

ProjectName
 1.0.0.102
 TODO

ProjectName
 1.0.0.103
 TODO

ProjectName
 1.0.0.104
 TODO

ProjectName
 1.0.0.105
 TODO

ProjectName
 1.0.0.106
 TODO

ProjectName
 1.0.0.107
 TODO

ProjectName
 1.0.0.108
 TODO

ProjectName
 1.0.0.109
 TODO

ProjectName
 1.0.0.110
 TODO

ProjectName
 1.0.0.111
 TODO

ProjectName
 1.0.0.112
 TODO

ProjectName
 1.0.0.113
 TODO

ProjectName
 1.0.0.114
 TODO

ProjectName
 1.0.0.115
 TODO

GET http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=30&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=60&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=90&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=120&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=150&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=180&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=210&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=240&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=270&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=300&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=330&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=360&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=390&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=420&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false

^C
Reply | Threaded
Open this post in threaded view
|

Re: NuGet Oddness (Freezing/Stalling)

shayy
Hello,

This is an issue with NuGet local repositories which returns on partial response, see RTFACT-5457
The good news are that we've made major improvements on the NuGet feature in Artifactory 3.0.3 which we will be releasing in a matter of days (which of course includes a fix for your issue).

Regards,
Shay



On Mon, Jul 29, 2013 at 6:40 PM, drohm <[hidden email]> wrote:
We're currently fighting with NuGet when issuing the following command:

c://NuGet//NuGet.exe list -Source
http://dml:8081/artifactory/api/nuget/open-nuget-local ProjectName
-noninteractive -allversions

Here is the output:

ProjectName 1.0.0.80
ProjectName 1.0.0.81
ProjectName 1.0.0.82
ProjectName 1.0.0.83
ProjectName 1.0.0.84
ProjectName 1.0.0.85
ProjectName 1.0.0.86
ProjectName 1.0.0.87
ProjectName 1.0.0.88
ProjectName 1.0.0.89
ProjectName 1.0.0.90
ProjectName 1.0.0.91
ProjectName 1.0.0.93
ProjectName 1.0.0.94
ProjectName 1.0.0.95
ProjectName 1.0.0.96
ProjectName 1.0.0.97
ProjectName 1.0.0.98
ProjectName 1.0.0.99
ProjectName 1.0.0.100
ProjectName 1.0.0.101
ProjectName 1.0.0.102
ProjectName 1.0.0.103
ProjectName 1.0.0.104
ProjectName 1.0.0.105
ProjectName 1.0.0.106
ProjectName 1.0.0.107
ProjectName 1.0.0.108
ProjectName 1.0.0.109
ProjectName 1.0.0.110
ProjectName 1.0.0.111
ProjectName 1.0.0.112
ProjectName 1.0.0.113
ProjectName 1.0.0.114
ProjectName 1.0.0.115



c://NuGet//NuGet.exe list -Verbosity detailed -Source
http://dml:8081/artifactory/api/nuget/open-nuget-local ProjectName
-noninteractive -allversions
c://NuGet//NuGet.exe list -Verbosity detailed -Source
http://dml:8081/artifactory/api/nuget/open-nuget-local ProjectName
-noninteractive -allversions
GET http://dml:8081/artifactory/api/nuget/open-nuget-local/Search
)?$orderby=Id&$skip=0&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
ProjectName
 1.0.0.80
 TODO

ProjectName
 1.0.0.81
 TODO

ProjectName
 1.0.0.82
 TODO

ProjectName
 1.0.0.83
 TODO

ProjectName
 1.0.0.84
 TODO

ProjectName
 1.0.0.85
 TODO

ProjectName
 1.0.0.86
 TODO

ProjectName
 1.0.0.87
 TODO

ProjectName
 1.0.0.88
 TODO

ProjectName
 1.0.0.89
 TODO

ProjectName
 1.0.0.90
 TODO

ProjectName
 1.0.0.91
 TODO

ProjectName
 1.0.0.93
 TODO

ProjectName
 1.0.0.94
 TODO

ProjectName
 1.0.0.95
 TODO

ProjectName
 1.0.0.96
 TODO

ProjectName
 1.0.0.97
 TODO

ProjectName
 1.0.0.98
 TODO

ProjectName
 1.0.0.99
 TODO

ProjectName
 1.0.0.100
 TODO

ProjectName
 1.0.0.101
 TODO

ProjectName
 1.0.0.102
 TODO

ProjectName
 1.0.0.103
 TODO

ProjectName
 1.0.0.104
 TODO

ProjectName
 1.0.0.105
 TODO

ProjectName
 1.0.0.106
 TODO

ProjectName
 1.0.0.107
 TODO

ProjectName
 1.0.0.108
 TODO

ProjectName
 1.0.0.109
 TODO

ProjectName
 1.0.0.110
 TODO

GET http://dml:8081/artifactory/api/nuget/open-nuget-local/Search
)?$orderby=Id&$skip=30&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
ProjectName
 1.0.0.111
 TODO

ProjectName
 1.0.0.112
 TODO

ProjectName
 1.0.0.113
 TODO

ProjectName
 1.0.0.114
 TODO

ProjectName
 1.0.0.115
 TODO


So the skip value has increased by 30 in the 2nd search because we got the
first 30 results the first time.

So if I delete 5 of the packages to bring us down to thirty we now see the
following behaviour


c://NuGet//NuGet.exe list -Verbosity detailed -Source
http://dml:8081/artifactory/api/nuget/open-nuget-local ProjectName
-noninteractive -allversions
GET http://dml:8081/artifactory/api/nuget/open-nuget-local/Search(
)?$orderby=Id&$skip=0&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
ProjectName
 1.0.0.85
 TODO

ProjectName
 1.0.0.86
 TODO

ProjectName
 1.0.0.87
 TODO

ProjectName
 1.0.0.88
 TODO

ProjectName
 1.0.0.89
 TODO

ProjectName
 1.0.0.90
 TODO

ProjectName
 1.0.0.91
 TODO

ProjectName
 1.0.0.93
 TODO

ProjectName
 1.0.0.94
 TODO

ProjectName
 1.0.0.95
 TODO

ProjectName
 1.0.0.96
 TODO

ProjectName
 1.0.0.97
 TODO

ProjectName
 1.0.0.98
 TODO

ProjectName
 1.0.0.99
 TODO

ProjectName
 1.0.0.100
 TODO

ProjectName
 1.0.0.101
 TODO

ProjectName
 1.0.0.102
 TODO

ProjectName
 1.0.0.103
 TODO

ProjectName
 1.0.0.104
 TODO

ProjectName
 1.0.0.105
 TODO

ProjectName
 1.0.0.106
 TODO

ProjectName
 1.0.0.107
 TODO

ProjectName
 1.0.0.108
 TODO

ProjectName
 1.0.0.109
 TODO

ProjectName
 1.0.0.110
 TODO

ProjectName
 1.0.0.111
 TODO

ProjectName
 1.0.0.112
 TODO

ProjectName
 1.0.0.113
 TODO

ProjectName
 1.0.0.114
 TODO

ProjectName
 1.0.0.115
 TODO

GET
<a href="http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&amp;$skip=30&amp;$top=30&amp;searchTerm=&#39;ProjectName&#39;&amp;targetFramework=&#39;&#39;&amp;includePrerelease=false" target="_blank">http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=30&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET
<a href="http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&amp;$skip=60&amp;$top=30&amp;searchTerm=&#39;ProjectName&#39;&amp;targetFramework=&#39;&#39;&amp;includePrerelease=false" target="_blank">http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=60&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET
<a href="http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&amp;$skip=90&amp;$top=30&amp;searchTerm=&#39;ProjectName&#39;&amp;targetFramework=&#39;&#39;&amp;includePrerelease=false" target="_blank">http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=90&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET
<a href="http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&amp;$skip=120&amp;$top=30&amp;searchTerm=&#39;ProjectName&#39;&amp;targetFramework=&#39;&#39;&amp;includePrerelease=false" target="_blank">http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=120&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET
<a href="http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&amp;$skip=150&amp;$top=30&amp;searchTerm=&#39;ProjectName&#39;&amp;targetFramework=&#39;&#39;&amp;includePrerelease=false" target="_blank">http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=150&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET
<a href="http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&amp;$skip=180&amp;$top=30&amp;searchTerm=&#39;ProjectName&#39;&amp;targetFramework=&#39;&#39;&amp;includePrerelease=false" target="_blank">http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=180&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET
<a href="http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&amp;$skip=210&amp;$top=30&amp;searchTerm=&#39;ProjectName&#39;&amp;targetFramework=&#39;&#39;&amp;includePrerelease=false" target="_blank">http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=210&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET
<a href="http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&amp;$skip=240&amp;$top=30&amp;searchTerm=&#39;ProjectName&#39;&amp;targetFramework=&#39;&#39;&amp;includePrerelease=false" target="_blank">http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=240&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET
<a href="http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&amp;$skip=270&amp;$top=30&amp;searchTerm=&#39;ProjectName&#39;&amp;targetFramework=&#39;&#39;&amp;includePrerelease=false" target="_blank">http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=270&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET
<a href="http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&amp;$skip=300&amp;$top=30&amp;searchTerm=&#39;ProjectName&#39;&amp;targetFramework=&#39;&#39;&amp;includePrerelease=false" target="_blank">http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=300&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET
<a href="http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&amp;$skip=330&amp;$top=30&amp;searchTerm=&#39;ProjectName&#39;&amp;targetFramework=&#39;&#39;&amp;includePrerelease=false" target="_blank">http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=330&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET
<a href="http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&amp;$skip=360&amp;$top=30&amp;searchTerm=&#39;ProjectName&#39;&amp;targetFramework=&#39;&#39;&amp;includePrerelease=false" target="_blank">http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=360&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET
<a href="http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&amp;$skip=390&amp;$top=30&amp;searchTerm=&#39;ProjectName&#39;&amp;targetFramework=&#39;&#39;&amp;includePrerelease=false" target="_blank">http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=390&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false
GET
<a href="http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&amp;$skip=420&amp;$top=30&amp;searchTerm=&#39;ProjectName&#39;&amp;targetFramework=&#39;&#39;&amp;includePrerelease=false" target="_blank">http://dml:8081/artifactory/api/nuget/open-nuget-local/Search()?$orderby=Id&$skip=420&$top=30&searchTerm='ProjectName'&targetFramework=''&includePrerelease=false

^C



--
View this message in context: http://forums.jfrog.org/NuGet-Oddness-Freezing-Stalling-tp7578948.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Artifactory-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users