Skip to content

Add support for target tag endpoints #1557

Add support for target tag endpoints

Add support for target tag endpoints #1557

Triggered via pull request July 23, 2024 00:12
Status Failure
Total duration 7m 36s
Artifacts

main.yaml

on: pull_request
Build Octopus Clients
7m 14s
Build Octopus Clients
test-linux
0s
test-linux
Unit test on Mac OS
0s
Unit test on Mac OS
Build and test outcome
0s
Build and test outcome
Upload nuget packages to Octopus Deploy
0s
Upload nuget packages to Octopus Deploy
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 4 warnings
Octopus.Client.Tests.PublicSurfaceAreaFixture ► ThePublicSurfaceAreaShouldNotRegress: source/Octopus.Client.Tests/PublicSurfaceAreaFixture.cs#L45
Failed test found in: ./TestResults/Win_net462_20240723001756.trx Error: Assent.AssentFailedException : Strings differ at 263722. Received:.Client.Model.DeploymentTargets { DeploymentTargetTaskType { Deployment = 0 RunbookRun = 1 } } Octopus.Client.Model.DeploymentTargetTags { class CreateDeploymentTargetTagCommand Octopus.Client.Extensibility.IHaveSpaceResource { .ctor() String SpaceId { get; set; } String Tag { get; set; } } class CreateDeploymentTargetTagResponse { .ctor() String Approved:.Client.Model.DeploymentTargets { DeploymentTargetTaskType { Deployment = 0 RunbookRun = 1 } } Octopus.Client.Model.DeploymentTargetTags { class CreateDeploymentTargetTagCommand { .ctor() String SpaceId { get; set; } String Tag { get; set; } } class CreateDeploymentTargetTagResponse { .ctor() String SpaceId { get; set; } String Tag { get; set; }
Octopus.Client.Tests.PublicSurfaceAreaFixture ► ThePublicSurfaceAreaShouldNotRegress: source/Octopus.Client.Tests/PublicSurfaceAreaFixture.cs#L45
Failed test found in: ./TestResults/Win_net48_20240723001825.trx Error: Assent.AssentFailedException : Strings differ at 263722. Received:.Client.Model.DeploymentTargets { DeploymentTargetTaskType { Deployment = 0 RunbookRun = 1 } } Octopus.Client.Model.DeploymentTargetTags { class CreateDeploymentTargetTagCommand Octopus.Client.Extensibility.IHaveSpaceResource { .ctor() String SpaceId { get; set; } String Tag { get; set; } } class CreateDeploymentTargetTagResponse { .ctor() String Approved:.Client.Model.DeploymentTargets { DeploymentTargetTaskType { Deployment = 0 RunbookRun = 1 } } Octopus.Client.Model.DeploymentTargetTags { class CreateDeploymentTargetTagCommand { .ctor() String SpaceId { get; set; } String Tag { get; set; } } class CreateDeploymentTargetTagResponse { .ctor() String SpaceId { get; set; } String Tag { get; set; }
Octopus.Client.Tests.PublicSurfaceAreaFixture ► ThePublicSurfaceAreaShouldNotRegress: source/Octopus.Client.Tests/PublicSurfaceAreaFixture.cs#L33
Failed test found in: ./TestResults/Win_net6.0_20240723001900.trx Error: Assent.AssentFailedException : Strings differ at 263438. Received:.Client.Model.DeploymentTargets { DeploymentTargetTaskType { Deployment = 0 RunbookRun = 1 } } Octopus.Client.Model.DeploymentTargetTags { class CreateDeploymentTargetTagCommand Octopus.Client.Extensibility.IHaveSpaceResource { .ctor() String SpaceId { get; set; } String Tag { get; set; } } class CreateDeploymentTargetTagResponse { .ctor() String Approved:.Client.Model.DeploymentTargets { DeploymentTargetTaskType { Deployment = 0 RunbookRun = 1 } } Octopus.Client.Model.DeploymentTargetTags { class CreateDeploymentTargetTagCommand { .ctor() String SpaceId { get; set; } String Tag { get; set; } } class CreateDeploymentTargetTagResponse { .ctor() String SpaceId { get; set; } String Tag { get; set; }
Octopus.Client.Tests.PublicSurfaceAreaFixture ► ThePublicSurfaceAreaShouldNotRegress: source/Octopus.Client.Tests/PublicSurfaceAreaFixture.cs#L33
Failed test found in: ./TestResults/Win_net8.0_20240723001931.trx Error: Assent.AssentFailedException : Strings differ at 263438. Received:.Client.Model.DeploymentTargets { DeploymentTargetTaskType { Deployment = 0 RunbookRun = 1 } } Octopus.Client.Model.DeploymentTargetTags { class CreateDeploymentTargetTagCommand Octopus.Client.Extensibility.IHaveSpaceResource { .ctor() String SpaceId { get; set; } String Tag { get; set; } } class CreateDeploymentTargetTagResponse { .ctor() String Approved:.Client.Model.DeploymentTargets { DeploymentTargetTaskType { Deployment = 0 RunbookRun = 1 } } Octopus.Client.Model.DeploymentTargetTags { class CreateDeploymentTargetTagCommand { .ctor() String SpaceId { get; set; } String Tag { get; set; } } class CreateDeploymentTargetTagResponse { .ctor() String SpaceId { get; set; } String Tag { get; set; }
Build Octopus Clients
Failed test were found and 'fail-on-error' option is set to true
Build Octopus Clients
Failed test were found and 'fail-on-error' option is set to true
Build Octopus Clients
Failed test were found and 'fail-on-error' option is set to true
Build Octopus Clients
Target "Test" has thrown an exception
Build Octopus Clients
Process completed with exit code 1.
Build Octopus Clients
Failed test were found and 'fail-on-error' option is set to true
Build and test outcome
Process completed with exit code 1.
Build Octopus Clients
C:\Program Files\dotnet\sdk\8.0.303\Microsoft.Common.CurrentVersion.targets(2401,5): warning MSB3243: No way to resolve conflict between "System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" and "System.Net.Http". Choosing "System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" arbitrarily. [D:\a\OctopusClients\OctopusClients\source\Octopus.Client.E2ETests\Octopus.Client.E2ETests.csproj::TargetFramework=net6.0]
Build Octopus Clients
C:\Program Files\dotnet\sdk\8.0.303\Microsoft.Common.CurrentVersion.targets(2401,5): warning MSB3243: No way to resolve conflict between "System.Net.Http, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" and "System.Net.Http". Choosing "System.Net.Http, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" arbitrarily. [D:\a\OctopusClients\OctopusClients\source\Octopus.Client.E2ETests\Octopus.Client.E2ETests.csproj::TargetFramework=net8.0]
Build Octopus Clients
C:\Program Files\dotnet\sdk\8.0.303\Microsoft.Common.CurrentVersion.targets(2401,5): warning MSB3243: No way to resolve conflict between "System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" and "System.Net.Http". Choosing "System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" arbitrarily. [D:\a\OctopusClients\OctopusClients\source\Octopus.Client.E2ETests\Octopus.Client.E2ETests.csproj::TargetFramework=net6.0]
Build Octopus Clients
C:\Program Files\dotnet\sdk\8.0.303\Microsoft.Common.CurrentVersion.targets(2401,5): warning MSB3243: No way to resolve conflict between "System.Net.Http, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" and "System.Net.Http". Choosing "System.Net.Http, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" arbitrarily. [D:\a\OctopusClients\OctopusClients\source\Octopus.Client.E2ETests\Octopus.Client.E2ETests.csproj::TargetFramework=net8.0]