-
Notifications
You must be signed in to change notification settings - Fork 16
XUnit build failures in 'prodcon/cli-migrate/release/2.1.3xx/' - '20180510.02' #83
Description
@dotnet-mc-bot commented on Thu May 10 2018
There were a set of failures during this build. Here is a summary of these:
- https://devdiv.visualstudio.com/DefaultCollection/DevDiv/_build?_a=summary&buildId=1674335
- Agent: DDVSOWINAGE100
- Error log: An error occurred while sending the request....
@jcagme commented on Thu May 10 2018
@mmitche this run actually failed with: XUnit : error : E:\A_work\187\s\artifacts\Release\TestResults\Microsoft.DotNet.ProjectJsonMigration.Tests_netcoreapp2.0_x64.log [netcoreapp2.0|x64] [E:\A_work\187\s\src\Tests\Microsoft.DotNet.ProjectJsonMigration.Tests\Microsoft.DotNet.ProjectJsonMigration.Tests.csproj]. How should we treat this issue?
@MattGal commented on Fri May 11 2018
It's a flaky test given all subsequent builds with the same commit succeeded. I think this should be closed, however we should also synch with folks like @tmat to understand why they're doing builds on our internal VSTS server from github; this is generally something we avoid, but there could be a reason for it.
@MattGal commented on Wed May 16 2018
Reading the logs, this is happening because the Xunit test in question is running a non-cleaned build
environment that appears to have leftover AssemblyInfo CS files left behind:
Expected command to pass but it did not.
File Name: E:\A\_work\120\s\.dotnet\dotnet.exe
Arguments: build "TestApp\TestApp.sln"
WorkingDir:: E:\A\_work\120\s\artifacts\Release\bin\dotnet-migrate.Tests\netcoreapp2.0\ItMigratesAndBuildsSln\PJAppWithSlnAndXprojRefs
Exit Code: 1
StdOut:
Microsoft (R) Build Engine version 15.7.177.53362 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restore completed in 88.99 ms for E:\A\_work\120\s\artifacts\Release\bin\dotnet-migrate.Tests\netcoreapp2.0\ItMigratesAndBuildsSln\PJAppWithSlnAndXprojRefs\TestApp\src\subdir\subdir.csproj.
Restore completed in 88.99 ms for E:\A\_work\120\s\artifacts\Release\bin\dotnet-migrate.Tests\netcoreapp2.0\ItMigratesAndBuildsSln\PJAppWithSlnAndXprojRefs\TestLibrary\TestLibrary.csproj.
Restore completed in 15.44 ms for E:\A\_work\120\s\artifacts\Release\bin\dotnet-migrate.Tests\netcoreapp2.0\ItMigratesAndBuildsSln\PJAppWithSlnAndXprojRefs\TestApp\TestApp.csproj.
You are working with a preview version of the .NET Core SDK. You can define the SDK version via a global.json file in the current project. More at https://go.microsoft.com/fwlink/?linkid=869452
You are working with a preview version of the .NET Core SDK. You can define the SDK version via a global.json file in the current project. More at https://go.microsoft.com/fwlink/?linkid=869452
You are working with a preview version of the .NET Core SDK. You can define the SDK version via a global.json file in the current project. More at https://go.microsoft.com/fwlink/?linkid=869452
TestLibrary -> E:\A\_work\120\s\artifacts\Release\bin\dotnet-migrate.Tests\netcoreapp2.0\ItMigratesAndBuildsSln\PJAppWithSlnAndXprojRefs\TestLibrary\bin\Debug\netstandard1.5\TestLibrary.dll
subdir -> E:\A\_work\120\s\artifacts\Release\bin\dotnet-migrate.Tests\netcoreapp2.0\ItMigratesAndBuildsSln\PJAppWithSlnAndXprojRefs\TestApp\src\subdir\bin\Debug\netstandard1.5\subdir.dll
obj\Debug\netcoreapp1.1\TestApp.AssemblyInfo.cs(10,12): error CS0579: Duplicate 'System.Reflection.AssemblyCompanyAttribute' attribute [E:\A\_work\120\s\artifacts\Release\bin\dotnet-migrate.Tests\netcoreapp2.0\ItMigratesAndBuildsSln\PJAppWithSlnAndXprojRefs\TestApp\TestApp.csproj]
obj\Debug\netcoreapp1.1\TestApp.AssemblyInfo.cs(11,12): error CS0579: Duplicate 'System.Reflection.AssemblyConfigurationAttribute' attribute [E:\A\_work\120\s\artifacts\Release\bin\dotnet-migrate.Tests\netcoreapp2.0\ItMigratesAndBuildsSln\PJAppWithSlnAndXprojRefs\TestApp\TestApp.csproj]
obj\Debug\netcoreapp1.1\TestApp.AssemblyInfo.cs(12,12): error CS0579: Duplicate 'System.Reflection.AssemblyFileVersionAttribute' attribute [E:\A\_work\120\s\artifacts\Release\bin\dotnet-migrate.Tests\netcoreapp2.0\ItMigratesAndBuildsSln\PJAppWithSlnAndXprojRefs\TestApp\TestApp.csproj]
obj\Debug\netcoreapp1.1\TestApp.AssemblyInfo.cs(13,12): error CS0579: Duplicate 'System.Reflection.AssemblyInformationalVersionAttribute' attribute [E:\A\_work\120\s\artifacts\Release\bin\dotnet-migrate.Tests\netcoreapp2.0\ItMigratesAndBuildsSln\PJAppWithSlnAndXprojRefs\TestApp\TestApp.csproj]
obj\Debug\netcoreapp1.1\TestApp.AssemblyInfo.cs(14,12): error CS0579: Duplicate 'System.Reflection.AssemblyProductAttribute' attribute [E:\A\_work\120\s\artifacts\Release\bin\dotnet-migrate.Tests\netcoreapp2.0\ItMigratesAndBuildsSln\PJAppWithSlnAndXprojRefs\TestApp\TestApp.csproj]
obj\Debug\netcoreapp1.1\TestApp.AssemblyInfo.cs(15,12): error CS0579: Duplicate 'System.Reflection.AssemblyTitleAttribute' attribute [E:\A\_work\120\s\artifacts\Release\bin\dotnet-migrate.Tests\netcoreapp2.0\ItMigratesAndBuildsSln\PJAppWithSlnAndXprojRefs\TestApp\TestApp.csproj]
obj\Debug\netcoreapp1.1\TestApp.AssemblyInfo.cs(16,12): error CS0579: Duplicate 'System.Reflection.AssemblyVersionAttribute' attribute [E:\A\_work\120\s\artifacts\Release\bin\dotnet-migrate.Tests\netcoreapp2.0\ItMigratesAndBuildsSln\PJAppWithSlnAndXprojRefs\TestApp\TestApp.csproj]
Build FAILED.
obj\Debug\netcoreapp1.1\TestApp.AssemblyInfo.cs(10,12): error CS0579: Duplicate 'System.Reflection.AssemblyCompanyAttribute' attribute [E:\A\_work\120\s\artifacts\Release\bin\dotnet-migrate.Tests\netcoreapp2.0\ItMigratesAndBuildsSln\PJAppWithSlnAndXprojRefs\TestApp\TestApp.csproj]
obj\Debug\netcoreapp1.1\TestApp.AssemblyInfo.cs(11,12): error CS0579: Duplicate 'System.Reflection.AssemblyConfigurationAttribute' attribute [E:\A\_work\120\s\artifacts\Release\bin\dotnet-migrate.Tests\netcoreapp2.0\ItMigratesAndBuildsSln\PJAppWithSlnAndXprojRefs\TestApp\TestApp.csproj]
obj\Debug\netcoreapp1.1\TestApp.AssemblyInfo.cs(12,12): error CS0579: Duplicate 'System.Reflection.AssemblyFileVersionAttribute' attribute [E:\A\_work\120\s\artifacts\Release\bin\dotnet-migrate.Tests\netcoreapp2.0\ItMigratesAndBuildsSln\PJAppWithSlnAndXprojRefs\TestApp\TestApp.csproj]
obj\Debug\netcoreapp1.1\TestApp.AssemblyInfo.cs(13,12): error CS0579: Duplicate 'System.Reflection.AssemblyInformationalVersionAttribute' attribute [E:\A\_work\120\s\artifacts\Release\bin\dotnet-migrate.Tests\netcoreapp2.0\ItMigratesAndBuildsSln\PJAppWithSlnAndXprojRefs\TestApp\TestApp.csproj]
obj\Debug\netcoreapp1.1\TestApp.AssemblyInfo.cs(14,12): error CS0579: Duplicate 'System.Reflection.AssemblyProductAttribute' attribute [E:\A\_work\120\s\artifacts\Release\bin\dotnet-migrate.Tests\netcoreapp2.0\ItMigratesAndBuildsSln\PJAppWithSlnAndXprojRefs\TestApp\TestApp.csproj]
obj\Debug\netcoreapp1.1\TestApp.AssemblyInfo.cs(15,12): error CS0579: Duplicate 'System.Reflection.AssemblyTitleAttribute' attribute [E:\A\_work\120\s\artifacts\Release\bin\dotnet-migrate.Tests\netcoreapp2.0\ItMigratesAndBuildsSln\PJAppWithSlnAndXprojRefs\TestApp\TestApp.csproj]
obj\Debug\netcoreapp1.1\TestApp.AssemblyInfo.cs(16,12): error CS0579: Duplicate 'System.Reflection.AssemblyVersionAttribute' attribute [E:\A\_work\120\s\artifacts\Release\bin\dotnet-migrate.Tests\netcoreapp2.0\ItMigratesAndBuildsSln\PJAppWithSlnAndXprojRefs\TestApp\TestApp.csproj]
0 Warning(s)
7 Error(s)
Time Elapsed 00:00:01.43
StdErr:
I'll try moving this issue over there.