Skip to content

dotnet-store ItPublishesAnAppWithMultipleProfiles fails on Linux with .NET Core 2.1 #8646

@dsplaisted

Description

@dsplaisted

Steps to reproduce

Run Microsoft.DotNet.Cli.Publish.Tests.GivenDotnetStoresAndPublishesProjects.ItPublishesAnAppWithMultipleProfiles with a version of the CLI that uses .NET Core 2.1 (currently not yet merged), on Linux.

Expected behavior

Test passes

Actual behavior

Test fails

Failed   Microsoft.DotNet.Cli.Publish.Tests.GivenDotnetStoresAndPublishesProjects.ItPublishesAnAppWithMultipleProfiles
Error Message:
 Expected command to pass but it did not.
File Name: /mnt/c/git/dotnet-cli-linux/artifacts/linux-x64/stage2/dotnet
Arguments: /mnt/c/git/dotnet-cli-linux/test/dotnet-store.Tests/bin/Debug/netcoreapp2.1/ItPublishesAnAppWithMultipleProfiles/MultiDependentProject/bin/Debug/netcoreapp2.1/publish/MultiDependentProject.dll
WorkingDir::
Exit Code: 140
StdOut:

StdErr:
Error:
  An assembly specified in the application dependencies manifest (MultiDependentProject.deps.json) was not found:
    package: 'FluentAssertions', version: '4.12.0'
    path: 'lib/netstandard1.3/FluentAssertions.Core.dll'
  This assembly was expected to be in the local runtime store as the application was published using the following target manifest files:
    FluentFilterProfile.xml

Stack Trace:
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at Microsoft.DotNet.Tools.Test.Utilities.CommandResultAssertions.Pass() in /mnt/c/git/dotnet-cli-linux/test/Microsoft.DotNet.Tools.Tests.Utilities/Assertions/CommandResultAssertions.cs:line 30
   at Microsoft.DotNet.Cli.Publish.Tests.GivenDotnetStoresAndPublishesProjects.ItPublishesAnAppWithMultipleProfiles() in /mnt/c/git/dotnet-cli-linux/test/dotnet-store.Tests/GivenDotnetStoresAndPublishesProjects.cs:line 163

The local assembly cache folder is empty except for an empty artifact.xml file under x64/netcoreapp2.1. Here is a zipped up version of the test project and output:

ItPublishesAnAppWithMultipleProfiles.zip

Environment data

Private build of CLI based on dotnet/cli#7478, running on Ubuntu on Windows (LXSS)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions