Add VSTS ci pipeline#893
Conversation
|
@ryanbrandenburg add: .\tools\update_schema.ps1 to the script section. The reason tests fail is that the aspnetcore schema isn't installed. |
|
Is |
|
Yeah. |
|
Says the operation was canceled? |
|
I suspect it's an issue with VSTS agent failing to capture the log, it happens on a lot of windows builds. I've started a thread with them. |
|
@ryanbrandenburg Can we merge this? |
|
Even though it seems to be a problem on the VSTS end, I don't think we should merge until we've seen a green build from VSTS. |
|
I believe this is blocked by the same thing as aspnet/Razor#2395. We'll need the VSTS team to help us get unblocked here. |
f6e4804 to
fdadbf6
Compare
|
Merging this so we generate more data for the VSTS team. |
fdadbf6 to
145771d
Compare
145771d to
87487a3
Compare
|
Assigning to myself to drive this one. |
|
@natemcmaster are shells and consoles running in admin on VSTS? From what I remember, they are not. |
87487a3 to
26a6ab0
Compare
|
Would update_schema.ps1 fail if it were not running as admin? |
|
It looks like most of the tests fail with the same problem. HTTPS tests fail with HTTP tests fail with |
|
Yeah it would fail, it's writing a file to a config directory. |
|
Think you need to re-add the Microsoft.NET.Test.Sdk |
|
It's not really a test project though, right? It doesn't have any test cases. Btw, you just put those in to a shproj. I'm not sure you really need to factor out a new test assembly for two classes. |
|
Yeah it isn't a test project. Would a shproj have the same capabilities as this? We followed what Kestrel did to test libuv and sockets: https://github.com/aspnet/KestrelHttpServer/tree/release/2.2/test/Kestrel.FunctionalTests https://github.com/aspnet/KestrelHttpServer/tree/release/2.2/test/Kestrel.Transport.Libuv.FunctionalTests |
|
The difference is there isn't a Kestrel.FunctionalTests.csproj file. Instead, libuv/sockets test projects do shproj is just VS sugar for doing the same thing. Either way is fine with me |
|
Adding Restart-Service w3svc didn't help. I don't know what's going wrong here. |
|
There isn't a csproj in our scenario either: https://github.com/aspnet/IISIntegration/tree/release/2.2/test/Common.FunctionalTests |
|
I'm talking about https://github.com/aspnet/IISIntegration/blob/release/2.2/test/Common.Tests/Common.Tests.csproj, not the FunctionalTests folder. |
|
We should improve our naming 😢 |
|
Let's do option 1 |
|
Do we have access to event log on VSTS machines? |
|
Let me try one thing first to fix IIS tests. |
No, they are temporary VMs which are disposed after use, but we can gather the logs after test runs. What is the logname we gather? |
|
Sweet only the HttpsTests are failing (as well as another flaky tests that is logged) |
|
Just chatted with Justin. We'll use #1111 to follow up on the remaining failing tests. |

No description provided.