bug(frontend): INSERT INTO t1 (v2, v1) ignores specified columns list

Describe the bug
dev=> create table t1 (v1 int, v2 int);
CREATE_TABLE
dev=> insert into t1 values (1, 2);
INSERT 0 1
dev=> select * from t1;
 v1 | v2
----+----
  1 |  2
(1 row)

dev=> insert into t1 (v1, v2) values (3, 4);
INSERT 0 1
dev=> insert into t1 (v2, v1) values (5, 6);
INSERT 0 1
dev=> select * from t1;
 v1 | v2
----+----
  3 |  4
  5 |  6
  1 |  2
(3 rows)

Specified columns is not handled in bind_insert.

Seems the columns are totally ignored? 😄

Seems the columns are totally ignored? 😄

Yes, QwQ

Any updates?

Any updates?

Not yet. Fixing similar issues in other parts ...

I would like to have a look at it if that is fine by you. Please let me know if you are already working on this @xiangjinwu. AFAIK this is not a time-critical issue. It does not have a milestone attached to it, right?
Just to reiterate. When running the following statements
create table t (v1 int, v2 int);
insert into t values (1, 2);
insert into t (v1, v2) values (3, 4);
insert into t (v2, v1) values (5, 6);
select * from t;

We expect
 v1 | v2
----+----
  1 | 2
  3 | 4
  6 | 5

but instead receive
 v1 | v2
----+----
  5 | 6
  3 | 4
  1 | 2

This is because we are currently ignoring the columns. This is also why we can run incorrect statements, like
insert into t (x, y) values (0, 0);
# Postgres error: column "x" of relation "t" does not exist
insert into t (v1, v1) values (0, 0);
# Postgres error: column "v1" specified more than once

May related:

#2672

Current PR is still work in progress, because I am working on a cloud related issue at the moment.

I talked about this issue with @nanderstabel. We would propose to split up this issue in two parts:

Support the specified column insertion order. I.e. queries as such should work/throw errors

create table t1 (v1 int, v2 int);
insert into t1 (v1, v2) values (5, 6);
insert into t1 (v2, v1) values (5, 6);
insert into t1 (v1) values (5, 6); // error
insert into t1 (v1234, v2) values (5, 6); // error unknown column
...

Support NULL values if the user did not define enough values

create table t1 (v1 int, v2 int);
insert into t1 (v1) values (5); // v2 should implicitly be NULL

IMHO 1.) and 2.) are two distinct problems and supporting them in one PR is quite a headache (at least for me). Would this approach be fine by you guys?
 Do we allow this even though the user did not explicitly define what is null?

supporting them in one PR is quite a headache

In most cases it is actually encouraged to break problems into smaller ones. No need to worry about not solving it in one go.

what the expected behaviour is

Follow PostgreSQL's behavior or raise a reason not to do so (e.g. increased complexity with rare/deprecated usage). For this specific case, PostgreSQL does allow it and fills v2 with null (ref):

The second form is a PostgreSQL extension. It fills the columns from the left with as many values as are given, and the rest will be defaulted.

Perfect. Thank you for the clarification. Opening https://github.com/risingwavelabs/risingwave/issues/6128

First version of the PR https://github.com/risingwavelabs/risingwave/pull/5697 is ready for review. I still have a few minor questions which I point out in the PR. Please let me know what you think.

closed by https://github.com/risingwavelabs/risingwave/pull/5697


Chatbot starter app used in conference

I'm looking to merge the notebook and basic streamlit apps used at a conference to demonstrate a starting point for using ChatGPT API with your own data.
Appreciate a rapid review so I can share with the attendees.

Looks cool. I started to go through it.

VS code is pointing out that a number of packages and variables at the top of the notebook end up not being used (can delete those)
I tried running the docker command but immediately hit an error: ted@oai-ted openai-cookbook % docker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?. See 'docker run --help'. I assume I need to turn Docker on or something before running the command; if that's right, could be good to mention it so people unfamiliar with Docker don't get stuck.


Improved link functionality for nuget.org

Summary of the changes (in less than 80 characters):
Support for packages/{id}/latest, packages/{id}/latest/prerelease and packages/{id}/latest/prerelease/{tagName}
Addresses https://github.com/NuGet/NuGetGallery/issues/7835
This PR fixes #7835

Thanks for taking the time for this! Just have a couple comments.

Thanks for the review. I will work on it in a bit

I ran this PR through the CI, and there are a couple failing tests. Could you take a look?
All of them are in the following test class (this is a nested class):
NuGetGallery.PackagesControllerFacts+TheDeleteSymbolsMethodWithMissingVersion

I ran this PR through the CI, and there are a couple failing tests. Could you take a look?
All of them are in the following test class (this is a nested class):
NuGetGallery.PackagesControllerFacts+TheDeleteSymbolsMethodWithMissingVersion

i will check. i think i had that from the very beginning. perhaps a dirty dev state. i'll pull dev and fix if needed

I ran this PR through the CI, and there are a couple failing tests. Could you take a look?
All of them are in the following test class (this is a nested class):
NuGetGallery.PackagesControllerFacts+TheDeleteSymbolsMethodWithMissingVersion

it does not show up in my failed tests anymore. i did have to fix something in order for constructor injection to work for multiple unit tests - perhaps that fixed it?
I think it is best if you have a look at the test results again. There are a bunch of tests which fail which are entirely unrelated to my changes and most if not all of them are based on localization.

Just ran the CI again. I forgot we have a limitation on C# features:
         PackageManagement\PackageService.cs(241,36): error CS8306: Tuple element name 'package' is inferred. Please use language version 7.1 or greater to access an element by its inferred name. [C:\vsts-agent\_work\904\s\src\NuGetGallery.Services\NuGetGallery.Services.csproj]

Could we switch that to an anonymous type? Sorry about the inconvenience 😢

Just ran the CI again. I forgot we have a limitation on C# features:
         PackageManagement\PackageService.cs(241,36): error CS8306: Tuple element name 'package' is inferred. Please use language version 7.1 or greater to access an element by its inferred name. [C:\vsts-agent\_work\904\s\src\NuGetGallery.Services\NuGetGallery.Services.csproj]

Could we switch that to an anonymous type? Sorry about the inconvenience cry

Is the limitation the use of inferred tuple names, or tuples in general? The error looks like it has no issue with the explicit semVer name, but with the inferred one.

Here's the latest CI results:

2020-04-27T20:40:48.3849165Z xUnit.net Console Runner (64-bit .NET 4.0.30319.42000)
2020-04-27T20:40:51.6518815Z   Discovering: NuGetGallery.Facts
2020-04-27T20:40:55.9599084Z   Discovered:  NuGetGallery.Facts
2020-04-27T20:40:55.9619850Z   Starting:    NuGetGallery.Facts
2020-04-27T20:42:15.9343029Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.UsesProperIconUrl [FAIL]
2020-04-27T20:42:15.9354630Z       Assert.IsType() Failure
2020-04-27T20:42:15.9355427Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:15.9355786Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:15.9356077Z       Stack Trace:
2020-04-27T20:42:15.9881948Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.GivenAValidatingPackageThatTheCurrentUserOwnsThenShowIt(packageStatus: Validating) [FAIL]
2020-04-27T20:42:15.9882872Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:15.9883971Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:15.9884608Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(1495,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__37.MoveNext()
2020-04-27T20:42:15.9885035Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:15.9885750Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:15.9886100Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:15.9886458Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:15.9886777Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:15.9887134Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:15.9887508Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:15.9887845Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:15.9888295Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:15.9888675Z       Moq.MockException : The following setups were not matched:
2020-04-27T20:42:15.9889013Z IPackageDeprecationService x => x.GetDeprecationsById("NuGet.Versioning")
2020-04-27T20:42:15.9889274Z
2020-04-27T20:42:15.9889514Z       Stack Trace:
2020-04-27T20:42:15.9889783Z         C:\projects\moq4\Source\Mock.cs(245,0): at Moq.Mock.Verify()
2020-04-27T20:42:15.9890194Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(662,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__15.MoveNext()
2020-04-27T20:42:15.9890603Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:15.9890934Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:15.9891262Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:15.9891706Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(507,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__8.MoveNext()
2020-04-27T20:42:15.9892135Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:15.9892448Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:15.9892791Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:15.9893120Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:15.9894348Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:15.9894694Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:15.9895047Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:15.9895381Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:15.9895734Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:16.0407421Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.GivenAValidatingPackageThatTheCurrentUserOwnsThenShowIt(packageStatus: FailedValidation) [FAIL]
2020-04-27T20:42:16.0408285Z       Moq.MockException : The following setups were not matched:
2020-04-27T20:42:16.0432176Z IPackageDeprecationService x => x.GetDeprecationsById("NuGet.Versioning")
2020-04-27T20:42:16.0432897Z
2020-04-27T20:42:16.0433177Z       Stack Trace:
2020-04-27T20:42:16.0433517Z         C:\projects\moq4\Source\Mock.cs(245,0): at Moq.Mock.Verify()
2020-04-27T20:42:16.0433981Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(662,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__15.MoveNext()
2020-04-27T20:42:16.0434806Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:16.0435320Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:16.0435726Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:16.0436226Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(507,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__8.MoveNext()
2020-04-27T20:42:16.0436696Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:16.0437064Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:16.0437449Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:16.0437821Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:16.0438197Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:16.0438563Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:16.0438948Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:16.0439296Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:16.0439691Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:16.5097939Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.ShowsFirstDeprecationPerPackage [FAIL]
2020-04-27T20:42:16.5098858Z       Assert.IsType() Failure
2020-04-27T20:42:16.5100889Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:16.5101675Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:16.5102022Z       Stack Trace:
2020-04-27T20:42:16.5102440Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:16.5102953Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:16.5103499Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(1377,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__35.MoveNext()
2020-04-27T20:42:16.5104387Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:16.5104756Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:16.5105155Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:16.5105548Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:16.5105919Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:16.5106293Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:16.5106688Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:16.5107045Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:16.5107468Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:16.6499163Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.GivenAnOwnedValidPackageWithNoEditsItDisplaysCurrentMetadata(currentUser: User { Confirmed = True, CreatedUtc = null, Credentials = [], EmailAddress =<EMAIL_ADDRESS>EmailAllowed = False, ... }, owner: User { Confirmed = True, CreatedUtc = null, Credentials = [], EmailAddress =<EMAIL_ADDRESS>EmailAllowed = False, ... }) [FAIL]
2020-04-27T20:42:16.6500595Z       Assert.IsType() Failure
2020-04-27T20:42:16.6505913Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:16.6506344Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:16.6506653Z       Stack Trace:
2020-04-27T20:42:16.6507027Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:16.6507570Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:16.6508072Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(775,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__22.MoveNext()
2020-04-27T20:42:16.6508548Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:16.6508901Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:16.6509266Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:16.6509618Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:16.6509976Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:16.6510322Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:16.6510694Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:16.6511024Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:16.6511395Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:16.8101880Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.GivenAnOwnedValidPackageWithNoEditsItDisplaysCurrentMetadata(currentUser: User { Confirmed = True, CreatedUtc = null, Credentials = [], EmailAddress =<EMAIL_ADDRESS>EmailAllowed = False, ... }, owner: User { Confirmed = False, CreatedUtc = null, Credentials = [], EmailAddress = null, EmailAllowed = False, ... }) [FAIL]
2020-04-27T20:42:16.8103507Z       Assert.IsType() Failure
2020-04-27T20:42:16.8104557Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:16.8104940Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:16.8105231Z       Stack Trace:
2020-04-27T20:42:16.8105640Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:16.8106168Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:16.8106689Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(775,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__22.MoveNext()
2020-04-27T20:42:16.8107132Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:16.8107498Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:16.8107883Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:16.8108255Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:16.8108643Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:16.8109261Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:16.8109656Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:16.8110005Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:16.8110389Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:16.9731333Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.GivenAnOwnedValidPackageWithNoEditsItDisplaysCurrentMetadata(currentUser: User { Confirmed = True, CreatedUtc = null, Credentials = [], EmailAddress =<EMAIL_ADDRESS>EmailAllowed = False, ... }, owner: Organization { Administrators = [User { ... }], Collaborators = [User { ... }], Confirmed = True, CreatedUtc = null, Credentials = [], ... }) [FAIL]
2020-04-27T20:42:16.9732515Z       Assert.IsType() Failure
2020-04-27T20:42:16.9733461Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:16.9733825Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:16.9734124Z       Stack Trace:
2020-04-27T20:42:16.9734516Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:16.9735048Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:16.9735577Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(775,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__22.MoveNext()
2020-04-27T20:42:16.9736023Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:16.9736392Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:16.9736780Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:16.9737169Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:16.9737520Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:16.9737903Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:16.9738277Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:16.9739861Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:16.9740234Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:17.1200514Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.GivenAnOwnedValidPackageWithNoEditsItDisplaysCurrentMetadata(currentUser: User { Confirmed = True, CreatedUtc = null, Credentials = [], EmailAddress =<EMAIL_ADDRESS>EmailAllowed = False, ... }, owner: Organization { Administrators = [User { ... }], Collaborators = [User { ... }], Confirmed = True, CreatedUtc = null, Credentials = [], ... }) [FAIL]
2020-04-27T20:42:17.1201652Z       Assert.IsType() Failure
2020-04-27T20:42:17.1204265Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:17.1205289Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:17.1205594Z       Stack Trace:
2020-04-27T20:42:17.1205972Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:17.1206427Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:17.1207317Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(775,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__22.MoveNext()
2020-04-27T20:42:17.1207699Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:17.1208035Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:17.1208376Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:17.1208719Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:17.1209105Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:17.1209430Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:17.1209772Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:17.1210091Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:17.1210431Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:17.2784569Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.WhenHasReadMeAndFileNotFound_ReturnsNull [FAIL]
2020-04-27T20:42:17.2785424Z       Moq.MockException : The following setups were not matched:
2020-04-27T20:42:17.2786897Z IPackageDeprecationService x => x.GetDeprecationsById("Foo")
2020-04-27T20:42:17.2790846Z
2020-04-27T20:42:17.2791200Z       Stack Trace:
2020-04-27T20:42:17.2791520Z         C:\projects\moq4\Source\Mock.cs(245,0): at Moq.Mock.Verify()
2020-04-27T20:42:17.2791965Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(1079,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__30.MoveNext()
2020-04-27T20:42:17.2792443Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:17.2792806Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:17.2793192Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:17.2793757Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(1008,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__28.MoveNext()
2020-04-27T20:42:17.2794501Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:17.2794886Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:17.2795256Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:17.2795643Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:17.2796007Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:17.2796398Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:17.2796794Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:17.2797154Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:17.2797545Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:17.4263848Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.WhenHasReadMeFalse_ReturnsNull [FAIL]
2020-04-27T20:42:17.4264729Z       Moq.MockException : The following setups were not matched:
2020-04-27T20:42:17.4265936Z IPackageDeprecationService x => x.GetDeprecationsById("Foo")
2020-04-27T20:42:17.4267194Z
2020-04-27T20:42:17.4267895Z       Stack Trace:
2020-04-27T20:42:17.4268215Z         C:\projects\moq4\Source\Mock.cs(245,0): at Moq.Mock.Verify()
2020-04-27T20:42:17.4268690Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(1079,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__30.MoveNext()
2020-04-27T20:42:17.4269133Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:17.4269513Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:17.4269924Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:17.4270394Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(1019,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__29.MoveNext()
2020-04-27T20:42:17.4270851Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:17.4271219Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:17.4271612Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:17.4271988Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:17.4272359Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:17.4272732Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:17.4273141Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:17.4273512Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:17.4273886Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:17.5771854Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.ShowsAtomFeedIfEnabled(isAtomFeedEnabled: False) [FAIL]
2020-04-27T20:42:17.5772811Z       Assert.IsType() Failure
2020-04-27T20:42:17.5774962Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:17.5775916Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:17.5776765Z       Stack Trace:
2020-04-27T20:42:17.5777202Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:17.5778111Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:17.5778639Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(1198,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__32.MoveNext()
2020-04-27T20:42:17.5779122Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:17.5779489Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:17.5779907Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:17.5780286Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:17.5780664Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:17.5781050Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:17.5781447Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:17.5781819Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:17.5782194Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:17.7280307Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.ShowsAtomFeedIfEnabled(isAtomFeedEnabled: True) [FAIL]
2020-04-27T20:42:17.7281155Z       Assert.IsType() Failure
2020-04-27T20:42:17.7282213Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:17.7283922Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:17.7284337Z       Stack Trace:
2020-04-27T20:42:17.7285470Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:17.7286031Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:17.7286559Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(1198,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__32.MoveNext()
2020-04-27T20:42:17.7287027Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:17.7287381Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:17.7287768Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:17.7288144Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:17.7288525Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:17.7288893Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:17.7289281Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:17.7289632Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:17.7290029Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:17.8768174Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.GetsValidationIssues [FAIL]
2020-04-27T20:42:17.8769077Z       Assert.IsType() Failure
2020-04-27T20:42:17.8772710Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:17.8777571Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:17.8777914Z       Stack Trace:
2020-04-27T20:42:17.8778511Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:17.8779016Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:17.8779497Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(1138,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__31.MoveNext()
2020-04-27T20:42:17.8779907Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:17.8780250Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:17.8780593Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:17.8780958Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:17.8781294Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:17.8781655Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:17.8781998Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:17.8782338Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:17.8782854Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:18.6299034Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.SplitsLicenseExpressionWhenProvided [FAIL]
2020-04-27T20:42:18.6300009Z       Moq.MockException :
2020-04-27T20:42:18.6300743Z Expected invocation on the mock once, but was 0 times: les => les.SplitExpression("some expression")
2020-04-27T20:42:18.6301346Z
2020-04-27T20:42:18.6301647Z       Configured setups:
2020-04-27T20:42:18.6301943Z       les => les.SplitExpression("some expression")
2020-04-27T20:42:18.6302246Z       No invocations performed.
2020-04-27T20:42:18.6302505Z       Stack Trace:
2020-04-27T20:42:18.6302938Z         C:\projects\moq4\Source\Mock.cs(473,0): at Moq.Mock.ThrowVerifyException(MethodCall expected, IEnumerable`1 setups, IEnumerable`1 actualCalls, Expression expression, Times times, Int32 callCount)
2020-04-27T20:42:18.6303486Z         C:\projects\moq4\Source\Mock.cs(451,0): at Moq.Mock.VerifyCalls(Mock targetMock, MethodCall expected, Expression expression, Times times)
2020-04-27T20:42:18.6303949Z         C:\projects\moq4\Source\Mock.cs(340,0): at Moq.Mock.Verify[T,TResult](Mock`1 mock, Expression`1 expression, Times times, String failMessage)
2020-04-27T20:42:18.6304407Z         C:\projects\moq4\Source\Mock.Generic.cs(508,0): at Moq.Mock`1.Verify[TResult](Expression`1 expression, Func`1 times)
2020-04-27T20:42:18.6304924Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(1442,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__36.MoveNext()
2020-04-27T20:42:18.6305373Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:18.6305749Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:18.6306138Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:18.6306537Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:18.6306909Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:18.6307303Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:18.6307694Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:18.6309037Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:18.6309434Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:18.8092257Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.GivenAnAbsoluteLatestVersionItReturnsTheFirstLatestSemVer2 [FAIL]
2020-04-27T20:42:18.8093309Z       Assert.IsType() Failure
2020-04-27T20:42:18.8094663Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:18.8095038Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:18.8095352Z       Stack Trace:
2020-04-27T20:42:18.8095746Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:18.8096272Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:18.8096871Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(851,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__23.MoveNext()
2020-04-27T20:42:18.8097379Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:18.8098094Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:18.8098498Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:18.8098875Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:18.8099247Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:18.8099619Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:18.8100029Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:18.8100385Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:18.8100775Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:18.9687592Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.WhenHasReadMeAndMarkdownExists_ReturnsContent [FAIL]
2020-04-27T20:42:18.9688692Z       Moq.MockException : The following setups were not matched:
2020-04-27T20:42:18.9689493Z IPackageDeprecationService x => x.GetDeprecationsById("Foo")
2020-04-27T20:42:18.9690047Z
2020-04-27T20:42:18.9690344Z       Stack Trace:
2020-04-27T20:42:18.9690674Z         C:\projects\moq4\Source\Mock.cs(245,0): at Moq.Mock.Verify()
2020-04-27T20:42:18.9691104Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(1079,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__30.MoveNext()
2020-04-27T20:42:18.9691572Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:18.9692454Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:18.9694069Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:18.9696628Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(981,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__26.MoveNext()
2020-04-27T20:42:18.9697164Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:18.9697736Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:18.9698177Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:18.9699686Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:18.9700055Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:18.9700419Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:18.9706092Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:18.9709775Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:18.9710181Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.1095173Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.GivenAValidPackageWithNoVersionThatTheCurrentUserDoesNotOwnItDisplaysCurrentMetadata [FAIL]
2020-04-27T20:42:19.1096128Z       Assert.IsType() Failure
2020-04-27T20:42:19.1096973Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:19.1097357Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:19.1097635Z       Stack Trace:
2020-04-27T20:42:19.1098029Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:19.1098895Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:19.1099423Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(963,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__25.MoveNext()
2020-04-27T20:42:19.1120768Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.1121150Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.1121502Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.1121844Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.1122173Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.1122518Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.1122860Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.1123180Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.1123512Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.2488781Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.DoesNotShowDeprecationToLoggedOutUsers(isDeprecationEnabled: False) [FAIL]
2020-04-27T20:42:19.2489718Z       Assert.IsType() Failure
2020-04-27T20:42:19.2490547Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:19.2490871Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:19.2491156Z       Stack Trace:
2020-04-27T20:42:19.2492003Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:19.2492868Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:19.2493347Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(1253,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__33.MoveNext()
2020-04-27T20:42:19.2494133Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.2494484Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.2494824Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.2495186Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.2495527Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.2495883Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.2496222Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.2496560Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.2496895Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.3996664Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.DoesNotShowDeprecationToLoggedOutUsers(isDeprecationEnabled: True) [FAIL]
2020-04-27T20:42:19.3997534Z       Assert.IsType() Failure
2020-04-27T20:42:19.3998193Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:19.3998538Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:19.3999740Z       Stack Trace:
2020-04-27T20:42:19.4000811Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:19.4001393Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:19.4001918Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(1253,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__33.MoveNext()
2020-04-27T20:42:19.4002438Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.4002828Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.4003223Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.4003613Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.4003984Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.4004356Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.4004749Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.4005100Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.4005504Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.5393818Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.WhenHasReadMeAndLongMarkdownExists_ReturnsClampedContent [FAIL]
2020-04-27T20:42:19.5394683Z       Moq.MockException : The following setups were not matched:
2020-04-27T20:42:19.5396539Z IPackageDeprecationService x => x.GetDeprecationsById("Foo")
2020-04-27T20:42:19.5397638Z
2020-04-27T20:42:19.5397893Z       Stack Trace:
2020-04-27T20:42:19.5398109Z         C:\projects\moq4\Source\Mock.cs(245,0): at Moq.Mock.Verify()
2020-04-27T20:42:19.5398467Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(1079,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__30.MoveNext()
2020-04-27T20:42:19.5398796Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.5399329Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.5399603Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.5399990Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(995,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__27.MoveNext()
2020-04-27T20:42:19.5400349Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.5400625Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.5400896Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.5401190Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.5401454Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.5401760Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.5402037Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.5402310Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.5402698Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.6960386Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.GivenAnAbsoluteLatestVersionAndNoLatestSemVer2ItFiltersTheList [FAIL]
2020-04-27T20:42:19.6961334Z       Assert.IsType() Failure
2020-04-27T20:42:19.6962817Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:19.6963187Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:19.6963530Z       Stack Trace:
2020-04-27T20:42:19.6963920Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:19.6964433Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:19.6965018Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(908,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__24.MoveNext()
2020-04-27T20:42:19.6965512Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.6965871Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.6966255Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.6966640Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.6967003Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.6967371Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.6967837Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.6968235Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.6968634Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.8421971Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.GivenAValidatingPackageThatCurrentUsersOrganizationOwnsThenShowIt(packageStatus: Validating, isAdmin: True) [FAIL]
2020-04-27T20:42:19.8422991Z       Moq.MockException : The following setups were not matched:
2020-04-27T20:42:19.8424652Z IPackageDeprecationService x => x.GetDeprecationsById("NuGet.Versioning")
2020-04-27T20:42:19.8425188Z
2020-04-27T20:42:19.8425500Z       Stack Trace:
2020-04-27T20:42:19.8425818Z         C:\projects\moq4\Source\Mock.cs(245,0): at Moq.Mock.Verify()
2020-04-27T20:42:19.8426288Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(662,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__15.MoveNext()
2020-04-27T20:42:19.8426790Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.8427171Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.8427545Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.8428080Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(555,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__12.MoveNext()
2020-04-27T20:42:19.8428579Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.8428936Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.8429324Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.8429941Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.8430324Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.8430696Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.8431086Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.8431451Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.8431837Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.9752668Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.GivenAValidatingPackageThatCurrentUsersOrganizationOwnsThenShowIt(packageStatus: FailedValidation, isAdmin: True) [FAIL]
2020-04-27T20:42:19.9753681Z       Moq.MockException : The following setups were not matched:
2020-04-27T20:42:19.9860551Z IPackageDeprecationService x => x.GetDeprecationsById("NuGet.Versioning")
2020-04-27T20:42:19.9861233Z
2020-04-27T20:42:19.9861514Z       Stack Trace:
2020-04-27T20:42:19.9861853Z         C:\projects\moq4\Source\Mock.cs(245,0): at Moq.Mock.Verify()
2020-04-27T20:42:19.9862294Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(662,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__15.MoveNext()
2020-04-27T20:42:19.9862792Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.9863164Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.9863551Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.9864625Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(555,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__12.MoveNext()
2020-04-27T20:42:19.9865158Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.9865530Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.9865899Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.9866765Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.9867118Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.9867506Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:19.9867894Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:19.9868281Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:19.9868666Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.1163315Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.GivenAValidatingPackageThatCurrentUsersOrganizationOwnsThenShowIt(packageStatus: Validating, isAdmin: False) [FAIL]
2020-04-27T20:42:20.1164369Z       Moq.MockException : The following setups were not matched:
2020-04-27T20:42:20.1164693Z IPackageDeprecationService x => x.GetDeprecationsById("NuGet.Versioning")
2020-04-27T20:42:20.1164938Z
2020-04-27T20:42:20.1165328Z       Stack Trace:
2020-04-27T20:42:20.1256611Z         C:\projects\moq4\Source\Mock.cs(245,0): at Moq.Mock.Verify()
2020-04-27T20:42:20.1257714Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(662,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__15.MoveNext()
2020-04-27T20:42:20.1258468Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:20.1258765Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:20.1259086Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.1259508Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(555,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__12.MoveNext()
2020-04-27T20:42:20.1259935Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:20.1260221Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:20.1260541Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.1260857Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:20.1261157Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:20.1261460Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.1261782Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:20.1262067Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:20.1262397Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.2747616Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.GivenAValidatingPackageThatCurrentUsersOrganizationOwnsThenShowIt(packageStatus: FailedValidation, isAdmin: False) [FAIL]
2020-04-27T20:42:20.2748494Z       Moq.MockException : The following setups were not matched:
2020-04-27T20:42:20.2970030Z IPackageDeprecationService x => x.GetDeprecationsById("NuGet.Versioning")
2020-04-27T20:42:20.2970982Z
2020-04-27T20:42:20.2971346Z       Stack Trace:
2020-04-27T20:42:20.2971666Z         C:\projects\moq4\Source\Mock.cs(245,0): at Moq.Mock.Verify()
2020-04-27T20:42:20.2972139Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(662,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__15.MoveNext()
2020-04-27T20:42:20.2973052Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:20.2973446Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:20.2973822Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.2974354Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(555,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__12.MoveNext()
2020-04-27T20:42:20.2974851Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:20.2975203Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:20.2975586Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.2975955Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:20.2976332Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:20.2976698Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.2977082Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:20.2977633Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:20.2978035Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.4470754Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.IsIndexCheckOnlyHappensForRecentlyChangedPackages(created: 2020-04-27T20:42:20.2592877Z, lastEdited: null, searchTimes: 1) [FAIL]
2020-04-27T20:42:20.4471570Z       Assert.IsType() Failure
2020-04-27T20:42:20.4473119Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:20.4473743Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:20.4474037Z       Stack Trace:
2020-04-27T20:42:20.4474391Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:20.4474867Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:20.4475376Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(450,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__2.MoveNext()
2020-04-27T20:42:20.4475781Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:20.4476121Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:20.4476469Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.4476827Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:20.4477163Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:20.4477499Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.4477860Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:20.4478180Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:20.4478529Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.5876932Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.IsIndexCheckOnlyHappensForRecentlyChangedPackages(created: 2020-04-26T20:42:20.2592877Z, lastEdited: 2020-04-27T20:42:20.2592877Z, searchTimes: 1) [FAIL]
2020-04-27T20:42:20.5878294Z       Assert.IsType() Failure
2020-04-27T20:42:20.5878524Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:20.5878737Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:20.5878950Z       Stack Trace:
2020-04-27T20:42:20.5879243Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:20.5879668Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:20.5880083Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(450,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__2.MoveNext()
2020-04-27T20:42:20.5880462Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:20.5880745Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:20.5881020Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.5881313Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:20.5881724Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:20.5882018Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.5882295Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:20.5882568Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:20.5882840Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.7279193Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.IsIndexCheckOnlyHappensForRecentlyChangedPackages(created: 2020-04-27T20:42:20.2592877Z, lastEdited: 2020-04-26T20:42:20.2592877Z, searchTimes: 1) [FAIL]
2020-04-27T20:42:20.7280016Z       Assert.IsType() Failure
2020-04-27T20:42:20.7280224Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:20.7280474Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:20.7280785Z       Stack Trace:
2020-04-27T20:42:20.7281080Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:20.7281460Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:20.7281889Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(450,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__2.MoveNext()
2020-04-27T20:42:20.7282223Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:20.7282489Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:20.7282761Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.7283046Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:20.7283303Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:20.7283589Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.7283863Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:20.7284456Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:20.7284726Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.8560846Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.IsIndexCheckOnlyHappensForRecentlyChangedPackages(created: 2020-04-26T20:42:20.2592877Z, lastEdited: 2020-04-26T20:42:20.2592877Z, searchTimes: 0) [FAIL]
2020-04-27T20:42:20.8561766Z       Assert.IsType() Failure
2020-04-27T20:42:20.8665753Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:20.8666168Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:20.8666435Z       Stack Trace:
2020-04-27T20:42:20.8666802Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:20.8667292Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:20.8667765Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(450,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__2.MoveNext()
2020-04-27T20:42:20.8668531Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:20.8668849Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:20.8669196Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.8669529Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:20.8669857Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:20.8670216Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.8670546Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:20.8670872Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:20.8671199Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:20.9973940Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.IsIndexCheckOnlyHappensForRecentlyChangedPackages(created: 2020-04-26T20:42:20.2592877Z, lastEdited: null, searchTimes: 0) [FAIL]
2020-04-27T20:42:20.9974822Z       Assert.IsType() Failure
2020-04-27T20:42:21.0189879Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:21.0190438Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:21.0190748Z       Stack Trace:
2020-04-27T20:42:21.0191130Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:21.0191598Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:21.0192065Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(450,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__2.MoveNext()
2020-04-27T20:42:21.0192527Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:21.0192857Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:21.0193184Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:21.0193530Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:21.0194184Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:21.0194535Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:21.0194868Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:21.0195211Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:21.0195538Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:21.1715303Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.GivenAValidatingPackageAsAdminThenShowIt(packageStatus: Validating) [FAIL]
2020-04-27T20:42:21.1716343Z       Moq.MockException : The following setups were not matched:
2020-04-27T20:42:21.1717766Z IPackageDeprecationService x => x.GetDeprecationsById("NuGet.Versioning")
2020-04-27T20:42:21.1718369Z
2020-04-27T20:42:21.1718661Z       Stack Trace:
2020-04-27T20:42:21.1719011Z         C:\projects\moq4\Source\Mock.cs(245,0): at Moq.Mock.Verify()
2020-04-27T20:42:21.1719468Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(662,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__15.MoveNext()
2020-04-27T20:42:21.1720264Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:21.1720663Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:21.1721040Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:21.1721526Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(522,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__9.MoveNext()
2020-04-27T20:42:21.1722004Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:21.1722353Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:21.1722736Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:21.1723107Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:21.1723483Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:21.1723864Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:21.1724232Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:21.1724595Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:21.1724960Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:21.3298038Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.GivenAValidatingPackageAsAdminThenShowIt(packageStatus: FailedValidation) [FAIL]
2020-04-27T20:42:21.3298951Z       Moq.MockException : The following setups were not matched:
2020-04-27T20:42:21.3300352Z IPackageDeprecationService x => x.GetDeprecationsById("NuGet.Versioning")
2020-04-27T20:42:21.3301590Z
2020-04-27T20:42:21.3302332Z       Stack Trace:
2020-04-27T20:42:21.3302663Z         C:\projects\moq4\Source\Mock.cs(245,0): at Moq.Mock.Verify()
2020-04-27T20:42:21.3303106Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(662,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__15.MoveNext()
2020-04-27T20:42:21.3303529Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:21.3304278Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:21.3304618Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:21.3305058Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(522,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__9.MoveNext()
2020-04-27T20:42:21.3305470Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:21.3305806Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:21.3306142Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:21.3306499Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:21.3306816Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:21.3307181Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:21.3307534Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:21.3307853Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:21.3308202Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:21.4759145Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.ShowsDeprecationIfEnabled(isDeprecationEnabled: False) [FAIL]
2020-04-27T20:42:21.4760143Z       Assert.IsType() Failure
2020-04-27T20:42:21.4760952Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:21.4761409Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:21.4761711Z       Stack Trace:
2020-04-27T20:42:21.4762132Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:21.4762706Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:21.4763223Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(1309,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__34.MoveNext()
2020-04-27T20:42:21.4763695Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:21.4764055Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:21.4764469Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:21.4764845Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:21.4765232Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:21.4765624Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:21.4765998Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:21.4766367Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:21.4766750Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:21.6324241Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.ShowsDeprecationIfEnabled(isDeprecationEnabled: True) [FAIL]
2020-04-27T20:42:21.6325037Z       Assert.IsType() Failure
2020-04-27T20:42:21.6325275Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:21.6325534Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:21.6326091Z       Stack Trace:
2020-04-27T20:42:21.6326431Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:21.6326870Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:21.6327354Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(1309,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__34.MoveNext()
2020-04-27T20:42:21.6327726Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:21.6328034Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:21.6328343Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:21.6328680Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:21.6328970Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:21.6329294Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:21.6329604Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:21.6330035Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:21.6330333Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:21.7716889Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.GivenAnUnownedValidPackageWithNoEditsItDisplaysCurrentMetadata(currentUser: User { Confirmed = True, CreatedUtc = null, Credentials = [], EmailAddress =<EMAIL_ADDRESS>EmailAllowed = False, ... }, owner: User { Confirmed = False, CreatedUtc = null, Credentials = [], EmailAddress = null, EmailAllowed = False, ... }) [FAIL]
2020-04-27T20:42:21.7717987Z       Assert.IsType() Failure
2020-04-27T20:42:21.7718768Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:21.7719103Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:21.7719394Z       Stack Trace:
2020-04-27T20:42:21.7719768Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:21.7720269Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:21.7720745Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(775,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__22.MoveNext()
2020-04-27T20:42:21.7721159Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:21.7721482Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:21.7721833Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:21.7722173Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:21.7722519Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:21.7722853Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:21.7723205Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:21.7723521Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:21.7723871Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:21.8984250Z ##[error]    NuGetGallery.PackagesControllerFacts+TheDisplayPackageMethod.GivenAnUnownedValidPackageWithNoEditsItDisplaysCurrentMetadata(currentUser: null, owner: User { Confirmed = True, CreatedUtc = null, Credentials = [], EmailAddress =<EMAIL_ADDRESS>EmailAllowed = False, ... }) [FAIL]
2020-04-27T20:42:21.8985244Z       Assert.IsType() Failure
2020-04-27T20:42:21.8985502Z       Expected: System.Web.Mvc.ViewResult
2020-04-27T20:42:21.8985717Z       Actual:   System.Web.Mvc.HttpNotFoundResult
2020-04-27T20:42:21.8986083Z       Stack Trace:
2020-04-27T20:42:21.9156605Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(62,0): at NuGetGallery.ResultAssert.IsView(ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:22.0663769Z         tests\NuGetGallery.Facts\TestUtils\ResultAssert.cs(76,0): at NuGetGallery.ResultAssert.IsView[TModel](ActionResult result, String viewName, String masterName, Object viewData)
2020-04-27T20:42:22.0667345Z         tests\NuGetGallery.Facts\Controllers\PackagesControllerFacts.cs(775,0): at NuGetGallery.PackagesControllerFacts.TheDisplayPackageMethod.d__22.MoveNext()
2020-04-27T20:42:22.0673446Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:22.0673929Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:22.0674640Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:22.0675039Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:22.0675418Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:22.0675800Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:42:22.0676203Z         --- End of stack trace from previous location where exception was thrown ---
2020-04-27T20:42:22.0676596Z            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2020-04-27T20:42:22.0676975Z            at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2020-04-27T20:44:20.9982584Z     NuGetGallery.Authentication.V3HasherTests.ProcessingTimesForSuccessfulAuthAndFailedAuthAreSimilar [SKIP]
2020-04-27T20:44:20.9983670Z       This test is not deterministic.  Test results should look better now. On my end i still get localization errors, but i guess they don't happen on the CI environment but let's see when it's done.

Test results should look better now.

Tests passed. Now I'm building and deploying it to a test environment so functional tests run. I'll also click around and try some scenarios manually.

I deployed to our dev environment and ran into some functional test bugs. I pushed a commit to fix them up as well as added absoluteLatest coverage. Let me know if it looks good to you and feel free to make any changes you want.
I'll do one more test deployment to make sure everything is clean then we can merge!

I deployed to our dev environment and ran into some functional test bugs. I pushed a commit to fix them up as well as added absoluteLatest coverage. Let me know if it looks good to you and feel free to make any changes you want.
I'll do one more test deployment to make sure everything is clean then we can merge!

Looks good to me - If you want me to do any cosmetic changes let me know. As mentioned i don't mind doing them. I hope the tests keep passing :)

Merged! 🥇 This will go out with our next deployment (probably some time next week).

Merged! 1st_place_medal This will go out with our next deployment (probably some time next week).

Thanks for your guidance!


add context to predictor http requests

What type of PR is this?
kind/enhancement
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Codecov Report

Merging #701 (3bfa44e) into main (e2ffa5f) will increase coverage by 0.47%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #701      +/-   ##
==========================================
+ Coverage   13.60%   14.07%   +0.47%
==========================================
  Files          66       72       +6
  Lines        7492     7923     +431
==========================================
+ Hits         1019     1115      +96
- Misses       6391     6724     +333
- Partials       82       84       +2

see 43 files with indirect coverage changes


Azure pipeline failing -- 0.5.0 was never released

The last command is
+ upload_package --validate --feedstock-name=pyiron_workflow-feedstock /home/conda/feedstock_root /home/conda/recipe_root /home/conda/feedstock_root/.ci_support/linux_64_.yaml
Found git SHA dc36690f03184be43f8696e807ce7bb79cb9c474 for this build!
Using STAGING_BINSTAR_TOKEN for anaconda.org uploads to cf-staging.
WARNING: No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.22
Adding in variants from internal_defaults
Adding in variants from /home/conda/feedstock_root/.ci_support/linux_64_.yaml

Which then results in this loop happening:
0%|          | 0.00/87.6k [00:00<?, ?B/s]
93.1kB [00:00, 762kB/s]
ERROR getting output validation information from the webservice: JSONDecodeError('Expecting value: line 1 column 1 (char 0)')
copy results:
{}
Failed to upload due to copy from staging to production channel failed. Trying again in 10 seconds
Using STAGING_BINSTAR_TOKEN for anaconda.org uploads to cf-staging.
INFO:binstar:Using Anaconda API: https://api.anaconda.org/
Distribution /home/conda/feedstock_root/build_artifacts/noarch/pyiron_workflow-0.5.0-pyhd8ed1ab_0.conda already exists on cf-staging. Waiting another 15 seconds to try uploading again.
Distribution /home/conda/feedstock_root/build_artifacts/noarch/pyiron_workflow-0.5.0-pyhd8ed1ab_0.conda already exists on cf-staging. Waiting another 30 seconds to try uploading again.
Distribution /home/conda/feedstock_root/build_artifacts/noarch/pyiron_workflow-0.5.0-pyhd8ed1ab_0.conda already exists on cf-staging. Waiting another 45 seconds to try uploading again.
Distribution /home/conda/feedstock_root/build_artifacts/noarch/pyiron_workflow-0.5.0-pyhd8ed1ab_0.conda already exists on cf-staging. Waiting another 60 seconds to try uploading again.
Distribution /home/conda/feedstock_root/build_artifacts/noarch/pyiron_workflow-0.5.0-pyhd8ed1ab_0.conda already exists on cf-staging. Waiting another 75 seconds to try uploading again.
WARNING: Distribution /home/conda/feedstock_root/build_artifacts/noarch/pyiron_workflow-0.5.0-pyhd8ed1ab_0.conda already existed in cf-staging for a while. Deleting and re-uploading.

  0%|          | 0.00/87.6k [00:00<?, ?B/s]
93.1kB [00:00, 1.12MB/s]
ERROR getting output validation information from the webservice: JSONDecodeError('Expecting value: line 1 column 1 (char 0)')
copy results:
{}

Until it finally times out:
ERROR getting output validation information from the webservice: JSONDecodeError('Expecting value: line 1 column 1 (char 0)')
copy results:
{}
Failed to upload due to copy from staging to production channel failed. Trying again in<PHONE_NUMBER>8100586 seconds
Traceback (most recent call last):
  File "/opt/conda/bin/upload_package", line 11, in <module>
    sys.exit(upload_package())
  File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/conda_forge_ci_setup/build_utils.py", line 248, in upload_package
    retry_upload_or_check(
  File "/opt/conda/lib/python3.10/site-packages/conda_forge_ci_setup/upload_or_check_non_existence.py", line 322, in retry_upload_or_check
    raise TimeoutError("Did not manage to upload package.  Failing.")
TimeoutError: Did not manage to upload package.  Failing.

Poking around, a similar issue was encountered last year and at least once the solution was just to turn the crank again. There is no burning fire for 0.5.0 and 0.6.0 will be ready pretty soon, so I'll close this if that works out, or follow up if I run into the same problem again.

Just conjecture, but I wonder now if this is also why 0.3.0 never appeared on the release page?

Conda had some issues, you can always trigger a new build by just increasing the build number.