Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

XUnit build failures in 'prodcon/cli-migrate/release/2.1.3xx/' - '20180510.02' #83

@MattGal

Description

@MattGal

@dotnet-mc-bot commented on Thu May 10 2018

There were a set of failures during this build. Here is a summary of these:

@jcagme, @markwilkie


@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions