Skip to content

Conversation

dotnet-maestro[bot]
Copy link
Contributor

@dotnet-maestro dotnet-maestro bot commented Oct 11, 2025

This pull request updates the following dependencies

From https://github.com/microsoft/testfx

…251010.2

On relative base path root
Microsoft.Testing.Platform From Version 2.1.0-preview.25508.5 -> To Version 2.1.0-preview.25510.2
MSTest From Version 4.1.0-preview.25508.5 -> To Version 4.1.0-preview.25510.2
@SimonZhao888
Copy link
Member

SimonZhao888 commented Oct 11, 2025

Judging from the error code:

       Unhandled exception: Response status code does not indicate success: 403 (Forbidden).
, but found 1 (difference of 1).
  Stack Trace:
     at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.AddPreFormattedFailure(String formattedFailureMessage)
   at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
   at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
   at FluentAssertions.Execution.AssertionChain.FailWith(String message, Object[] args)
   at FluentAssertions.Numeric.NumericAssertionsBase`3.Be(T expected, String because, Object[] becauseArgs)
   at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.Pass() in /_/test/Microsoft.NET.TestFramework/Assertions/CommandResultAssertions.cs:line 27
   at Microsoft.DotNet.Tools.Run.Tests.GivenANuGetCommand.ItCanUpdatePackages() in /Users/runner/work/1/s/test/dotnet.Tests/CommandTests/NuGet/GivenANuGetCommand.cs:line 159
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  Standard Output Messages:
 Executing 'dotnet package add dotnet-hello@1.0.0':
 》info : X.509 certificate chain validation will use the fallback certificate bundle at '/private/tmp/helix/working/A34D0943/p/d/sdk/10.0.100-ci/trustedroots/codesignctl.pem'.
 》info : X.509 certificate chain validation will use the fallback certificate bundle at '/private/tmp/helix/working/A34D0943/p/d/sdk/10.0.100-ci/trustedroots/timestampctl.pem'.
 》info : Adding PackageReference for package 'dotnet-hello' into project '/private/tmp/helix/working/A34D0943/t/dotnetSdkTests.2PhwfrFy/ItCanUpdatePa---AB12F51F/TestAppSimple.csproj'.
 》info : Restoring packages for /private/tmp/helix/working/A34D0943/t/dotnetSdkTests.2PhwfrFy/ItCanUpdatePa---AB12F51F/TestAppSimple.csproj...
 》info : Installed dotnet-hello 1.0.0 from /private/tmp/helix/working/A34D0943/t/dotnetSdkTests.2PhwfrFy/Testpackages to /private/tmp/helix/working/A34D0943/t/dotnetSdkTests.2PhwfrFy/artifacts/.nuget/packages/dotnet-hello/1.0.0 with content hash BJgbLd4H2/W4YWy+qFxqCdzAWMjbzLUrNMyQ+nMaxx6VqNNbJv4HPQYr8fUOu0zD1oStQcyhGMl+tzzk4oXqLA==.
 》info : Package 'dotnet-hello' is compatible with all the specified frameworks in project '/private/tmp/helix/working/A34D0943/t/dotnetSdkTests.2PhwfrFy/ItCanUpdatePa---AB12F51F/TestAppSimple.csproj'.
 》info : PackageReference for package 'dotnet-hello' version '1.0.0' added to file '/private/tmp/helix/working/A34D0943/t/dotnetSdkTests.2PhwfrFy/ItCanUpdatePa---AB12F51F/TestAppSimple.csproj'.
 》info : Generating MSBuild file /private/tmp/helix/working/A34D0943/t/dotnetSdkTests.2PhwfrFy/ItCanUpdatePa---AB12F51F/obj/TestAppSimple.csproj.nuget.g.props.
 》info : Generating MSBuild file /private/tmp/helix/working/A34D0943/t/dotnetSdkTests.2PhwfrFy/ItCanUpdatePa---AB12F51F/obj/TestAppSimple.csproj.nuget.g.targets.
 》info : Writing assets file to disk. Path: /private/tmp/helix/working/A34D0943/t/dotnetSdkTests.2PhwfrFy/ItCanUpdatePa---AB12F51F/obj/project.assets.json
 》log  : Restored /private/tmp/helix/working/A34D0943/t/dotnetSdkTests.2PhwfrFy/ItCanUpdatePa---AB12F51F/TestAppSimple.csproj (in 568 ms).
 Command 'dotnet package add dotnet-hello@1.0.0' exited with exit code 0.
 Executing 'dotnet package update dotnet-hello':
 》Updating outdated packages in /private/tmp/helix/working/A34D0943/t/dotnetSdkTests.2PhwfrFy/ItCanUpdatePa---AB12F51F.
 ❌Unhandled exception: Response status code does not indicate success: 403 (Forbidden).
 Command 'dotnet package update dotnet-hello' exited with exit code 1.

Looks like an access rights issue. @nagilson could you please take a look at this?

@SimonZhao888
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

…251011.2

On relative base path root
Microsoft.Testing.Platform From Version 2.1.0-preview.25508.5 -> To Version 2.1.0-preview.25511.2
MSTest From Version 4.1.0-preview.25508.5 -> To Version 4.1.0-preview.25511.2
@SimonZhao888 SimonZhao888 merged commit 53ba354 into release/10.0.1xx Oct 13, 2025
27 checks passed
@SimonZhao888 SimonZhao888 deleted the darc-release/10.0.1xx-07698141-af0a-4ede-8f2b-80109e69dcec branch October 13, 2025 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant