Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test: simplify gc memmove #109014

Closed
wants to merge 8 commits into from

Update arraynative.inl

bb7af81
Select commit
Loading
Failed to load commit list.
Closed

Test: simplify gc memmove #109014

Update arraynative.inl
bb7af81
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Oct 18, 2024 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

⚠️ The following pipeline(s) will not be analyzed as has been explicited excluded from analysis

Known Infrastructure Errors

Build Failures

runtime / Build / linux-x64 release Installer_Build_And_Test / Build product

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌VSTest(0,0): error : Tests failed: /__w/1/s/artifacts/TestResults/Release/AppHost.Bundle.Tests_net9.0_x64.html [net9.0|x64]
    ❌VSTest(0,0): error : Tests failed: /__w/1/s/artifacts/TestResults/Release/HostActivation.Tests_net9.0_x64.html [net9.0|x64]

runtime / Build / osx-x64 release Installer_Build_And_Test / Build product

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌VSTest(0,0): error : Tests failed: /Users/runner/work/1/s/artifacts/TestResults/Release/AppHost.Bundle.Tests_net9.0_x64.html [net9.0|x64]
    ❌VSTest(0,0): error : Tests failed: /Users/runner/work/1/s/artifacts/TestResults/Release/HostActivation.Tests_net9.0_x64.html [net9.0|x64]

runtime / Build / windows-x64 release Installer_Build_And_Test / Build product

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌VSTest(0,0): error : Tests failed: D:\a\_work\1\s\artifacts\TestResults\Release\AppHost.Bundle.Tests_net9.0_x64.html [net9.0|x64]
    ❌VSTest(0,0): error : Tests failed: D:\a\_work\1\s\artifacts\TestResults\Release\HostActivation.Tests_net9.0_x64.html [net9.0|x64]

1 other jobs are failing and were not displayed due to space limitations.
Builds with failures: [runtime]

Known test errors

The following build(s) were only partially analyzed due to the number of test errors and helix logs:
- [runtime]

Test Failures (2477 tests failed)

🔹 [All failing tests from runtime]

    ⚠️ 2472 failing tests not displayed for this pipeline due to space limitations

    AppHost.Bundle.Tests.BundledAppWithSubDirs.FrameworkDependent_Targeting50(options: BundleAllContent) [Details] [0.38% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (2)

    Exception Message
    **WARNING** failure message 'Expected command to pass but it did not.
    File Name: D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-0\AppWithSubDirs.exe
    Arguments: 
    Environment:
      DOTNET_ROOT = D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish
      DOTNET_ROOT(x86) = D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish
    Exit Code: 0xdead
    StdOut:
    Wow! We now say hello to the big world and you.
    [createdump] Writing full dump for process 4792 to file D:\a\_work\_temp\fe50fa5d-11e5-4b9a-b438-52a1f2d5e2a2\AppWithSubDirs.exe_4792_1729286948_crashdump.dmp
    [createdump] Dump successfully written in 515ms
    

    StdErr:
    Tracing enabled @ Fri Oct 18 21:29:06 2024 GMT
    --- Invoked apphost [version: 10.0.0-ci @Commit: 5e1836e2b13f409a58ea946639a7bc414b910bd4] main = {
    D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-0\AppWithSubDirs.exe
    }
    Redirecting errors to custom writer.
    The managed DLL bound to this executable is: 'AppWithSubDirs.dll'
    Detected Single-File app bundle
    .NET root search location options: 0
    Using environment variable DOTNET_ROOT=[D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish] as runtime location.
    Reading fx resolver directory=[D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish\host\fxr]
    Considering fxr version=[10.0.0-ci]...
    Detected latest fxr version=[D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish\host\fxr\10.0.0-ci]...
    Resolved fxr [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish\host\fxr\10.0.0-ci\hostfxr.dll]...
    Loaded library from D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish\host\fxr\10.0.0-ci\hostfxr.dll
    Invoking fx resolver [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish\host\fxr\10.0.0-ci\hostfxr.dll] hostfxr_main_bundle_startupinfo
    Host path: [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-0\AppWithSubDirs.exe]
    Dotnet path: [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish]
    App path: [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-0\AppWithSubDirs.dll]
    Bundle Header Offset: [155870]
    Tracing enabled @ Fri Oct 18 21:29:06 2024 GMT
    --- Invoked hostfxr_main_bundle_startupinfo [version: 10.0.0-ci @Commit: 5e1836e2b13f409a58ea946639a7bc414b910bd4]
    Mapped application bundle
    Unmapped application bundle
    Single-File bundle details:
    DepsJson Offset:[23200] Size[1ec]
    RuntimeConfigJson Offset:[26000] Size[af]
    .net core 3 compatibility mode: [Yes]
    --- Executing in a native executable mode...
    Using dotnet root path [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish]
    App runtimeconfig.json from [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-0\AppWithSubDirs.dll]
    Runtime config is cfg=D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-0\AppWithSubDirs.runtimeconfig.json dev=D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-0\AppWithSubDirs.runtimeconfig.dev.json
    Attempting to read dev runtime config: D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-0\AppWithSubDirs.runtimeconfig.dev.json
    Attempting to read runtime config: D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-0\AppWithSubDirs.runtimeconfig.json
    Mapped bundle for [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-0\AppWithSubDirs.runtimeconfig.json]
    Unmapped application bundle
    Runtime config [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bund

    CallStack
       at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
       at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
       at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
       at Microsoft.DotNet.CoreSetup.Test.CommandResultAssertions.Pass() in /_/src/installer/tests/TestUtils/Assertions/CommandResultAssertions.cs:line 35
       at AppHost.Bundle.Tests.BundledAppWithSubDirs.RunTheApp(String path, Boolean selfContained) in /_/src/installer/tests/AppHost.Bundle.Tests/BundledAppWithSubDirs.cs:line 25
       at AppHost.Bundle.Tests.BundledAppWithSubDirs.FrameworkDependent_Targeting50(BundleOptions options) in /_/src/installer/tests/AppHost.Bundle.Tests/BundledAppWithSubDirs.cs:line 158
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
       at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
    AppHost.Bundle.Tests.BundledAppWithSubDirs.FrameworkDependent(options: BundleAllContent) [Details] [0.38% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (2)

    Exception Message
    **WARNING** failure message 'Expected command to pass but it did not.
    File Name: D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-2\AppWithSubDirs.exe
    Arguments: 
    Environment:
      DOTNET_ROOT = D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish
      DOTNET_ROOT(x86) = D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish
    Exit Code: 0xdead
    StdOut:
    Wow! We now say hello to the big world and you.
    [createdump] Writing full dump for process 7088 to file D:\a\_work\_temp\fe50fa5d-11e5-4b9a-b438-52a1f2d5e2a2\AppWithSubDirs.exe_7088_1729286954_crashdump.dmp
    [createdump] Dump successfully written in 103ms
    

    StdErr:
    Tracing enabled @ Fri Oct 18 21:29:14 2024 GMT
    --- Invoked apphost [version: 10.0.0-ci @Commit: 5e1836e2b13f409a58ea946639a7bc414b910bd4] main = {
    D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-2\AppWithSubDirs.exe
    }
    Redirecting errors to custom writer.
    The managed DLL bound to this executable is: 'AppWithSubDirs.dll'
    Detected Single-File app bundle
    .NET root search location options: 0
    Using environment variable DOTNET_ROOT=[D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish] as runtime location.
    Reading fx resolver directory=[D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish\host\fxr]
    Considering fxr version=[10.0.0-ci]...
    Detected latest fxr version=[D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish\host\fxr\10.0.0-ci]...
    Resolved fxr [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish\host\fxr\10.0.0-ci\hostfxr.dll]...
    Loaded library from D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish\host\fxr\10.0.0-ci\hostfxr.dll
    Invoking fx resolver [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish\host\fxr\10.0.0-ci\hostfxr.dll] hostfxr_main_bundle_startupinfo
    Host path: [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-2\AppWithSubDirs.exe]
    Dotnet path: [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish]
    App path: [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-2\AppWithSubDirs.dll]
    Bundle Header Offset: [155870]
    Tracing enabled @ Fri Oct 18 21:29:14 2024 GMT
    --- Invoked hostfxr_main_bundle_startupinfo [version: 10.0.0-ci @Commit: 5e1836e2b13f409a58ea946639a7bc414b910bd4]
    Mapped application bundle
    Unmapped application bundle
    Single-File bundle details:
    DepsJson Offset:[23200] Size[1ec]
    RuntimeConfigJson Offset:[26000] Size[af]
    .net core 3 compatibility mode: [Yes]
    --- Executing in a native executable mode...
    Using dotnet root path [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish]
    App runtimeconfig.json from [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-2\AppWithSubDirs.dll]
    Runtime config is cfg=D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-2\AppWithSubDirs.runtimeconfig.json dev=D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-2\AppWithSubDirs.runtimeconfig.dev.json
    Attempting to read dev runtime config: D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-2\AppWithSubDirs.runtimeconfig.dev.json
    Attempting to read runtime config: D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-2\AppWithSubDirs.runtimeconfig.json
    Mapped bundle for [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-2\AppWithSubDirs.runtimeconfig.json]
    Unmapped application bundle
    Runtime config [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bund

    CallStack
       at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
       at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
       at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
       at Microsoft.DotNet.CoreSetup.Test.CommandResultAssertions.Pass() in /_/src/installer/tests/TestUtils/Assertions/CommandResultAssertions.cs:line 35
       at AppHost.Bundle.Tests.BundledAppWithSubDirs.RunTheApp(String path, Boolean selfContained) in /_/src/installer/tests/AppHost.Bundle.Tests/BundledAppWithSubDirs.cs:line 25
       at AppHost.Bundle.Tests.BundledAppWithSubDirs.FrameworkDependent(BundleOptions options) in /_/src/installer/tests/AppHost.Bundle.Tests/BundledAppWithSubDirs.cs:line 47
       at InvokeStub_BundledAppWithSubDirs.FrameworkDependent(Object, Span`1)
       at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    AppHost.Bundle.Tests.BundledAppWithSubDirs.FrameworkDependent(options: None) [Details] [0.35% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (2)

    Exception Message
    **WARNING** failure message 'Expected command to pass but it did not.
    File Name: D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-1\AppWithSubDirs.exe
    Arguments: 
    Environment:
      DOTNET_ROOT = D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish
      DOTNET_ROOT(x86) = D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish
    Exit Code: 0xdead
    StdOut:
    Wow! We now say hello to the big world and you.
    [createdump] Writing full dump for process 7560 to file D:\a\_work\_temp\fe50fa5d-11e5-4b9a-b438-52a1f2d5e2a2\AppWithSubDirs.exe_7560_1729286951_crashdump.dmp
    [createdump] Dump successfully written in 137ms
    

    StdErr:
    Tracing enabled @ Fri Oct 18 21:29:11 2024 GMT
    --- Invoked apphost [version: 10.0.0-ci @Commit: 5e1836e2b13f409a58ea946639a7bc414b910bd4] main = {
    D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-1\AppWithSubDirs.exe
    }
    Redirecting errors to custom writer.
    The managed DLL bound to this executable is: 'AppWithSubDirs.dll'
    Detected Single-File app bundle
    .NET root search location options: 0
    Using environment variable DOTNET_ROOT=[D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish] as runtime location.
    Reading fx resolver directory=[D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish\host\fxr]
    Considering fxr version=[10.0.0-ci]...
    Detected latest fxr version=[D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish\host\fxr\10.0.0-ci]...
    Resolved fxr [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish\host\fxr\10.0.0-ci\hostfxr.dll]...
    Loaded library from D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish\host\fxr\10.0.0-ci\hostfxr.dll
    Invoking fx resolver [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish\host\fxr\10.0.0-ci\hostfxr.dll] hostfxr_main_bundle_startupinfo
    Host path: [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-1\AppWithSubDirs.exe]
    Dotnet path: [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish]
    App path: [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-1\AppWithSubDirs.dll]
    Bundle Header Offset: [155823]
    Tracing enabled @ Fri Oct 18 21:29:11 2024 GMT
    --- Invoked hostfxr_main_bundle_startupinfo [version: 10.0.0-ci @Commit: 5e1836e2b13f409a58ea946639a7bc414b910bd4]
    Mapped application bundle
    Unmapped application bundle
    Single-File bundle details:
    DepsJson Offset:[23200] Size[1ec]
    RuntimeConfigJson Offset:[26000] Size[af]
    .net core 3 compatibility mode: [No]
    --- Executing in a native executable mode...
    Using dotnet root path [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\sharedFrameworkPublish]
    App runtimeconfig.json from [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-1\AppWithSubDirs.dll]
    Runtime config is cfg=D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-1\AppWithSubDirs.runtimeconfig.json dev=D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-1\AppWithSubDirs.runtimeconfig.dev.json
    Attempting to read dev runtime config: D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-1\AppWithSubDirs.runtimeconfig.dev.json
    Attempting to read runtime config: D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-1\AppWithSubDirs.runtimeconfig.json
    Mapped bundle for [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundle-1\AppWithSubDirs.runtimeconfig.json]
    Unmapped application bundle
    Runtime config [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\a40fffzl.dm0\AppWithSubDirs\bundl

    CallStack
       at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
       at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
       at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
       at Microsoft.DotNet.CoreSetup.Test.CommandResultAssertions.Pass() in /_/src/installer/tests/TestUtils/Assertions/CommandResultAssertions.cs:line 35
       at AppHost.Bundle.Tests.BundledAppWithSubDirs.RunTheApp(String path, Boolean selfContained) in /_/src/installer/tests/AppHost.Bundle.Tests/BundledAppWithSubDirs.cs:line 25
       at AppHost.Bundle.Tests.BundledAppWithSubDirs.FrameworkDependent(BundleOptions options) in /_/src/installer/tests/AppHost.Bundle.Tests/BundledAppWithSubDirs.cs:line 47
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
       at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
    AppHost.Bundle.Tests.BundledAppWithSubDirs.SelfContained_Targeting50(options: BundleAllContent) [Details] [0.38% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (2)

    Exception Message
    **WARNING** failure message 'Expected command to pass but it did not.
    File Name: D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-5\AppWithSubDirs.exe
    Arguments: 
    Environment:
      DOTNET_ROOT = 
      DOTNET_ROOT(x86) = 
    Exit Code: 0xdead
    StdOut:
    Wow! We now say hello to the big world and you.
    

    StdErr:
    Tracing enabled @ Fri Oct 18 21:29:23 2024 GMT
    --- Invoked apphost [version: 10.0.0-ci @Commit: 5e1836e2b13f409a58ea946639a7bc414b910bd4] main = {
    D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-5\AppWithSubDirs.exe
    }
    Redirecting errors to custom writer.
    The managed DLL bound to this executable is: 'AppWithSubDirs.dll'
    Detected Single-File app bundle
    Using internal fxr
    Invoking fx resolver [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-5\] hostfxr_main_bundle_startupinfo
    Host path: [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-5\AppWithSubDirs.exe]
    Dotnet path: [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-5\]
    App path: [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-5\AppWithSubDirs.dll]
    Bundle Header Offset: [74350592]
    --- Invoked hostfxr_main_bundle_startupinfo [version: 10.0.0-ci @Commit: 5e1836e2b13f409a58ea946639a7bc414b910bd4]
    Mapped application bundle
    Unmapped application bundle
    Single-File bundle details:
    DepsJson Offset:[954a00] Size[64fc]
    RuntimeConfigJson Offset:[95d000] Size[b7]
    .net core 3 compatibility mode: [Yes]
    --- Executing in a native executable mode...
    Using dotnet root path [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-5\]
    App runtimeconfig.json from [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-5\AppWithSubDirs.dll]
    Runtime config is cfg=D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-5\AppWithSubDirs.runtimeconfig.json dev=D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-5\AppWithSubDirs.runtimeconfig.dev.json
    Attempting to read dev runtime config: D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-5\AppWithSubDirs.runtimeconfig.dev.json
    Attempting to read runtime config: D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-5\AppWithSubDirs.runtimeconfig.json
    Mapped bundle for [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-5\AppWithSubDirs.runtimeconfig.json]
    Unmapped application bundle
    Runtime config [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-5\AppWithSubDirs.runtimeconfig.json] is valid=[1]
    Executing as a self-contained app as per config file [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-5\AppWithSubDirs.runtimeconfig.json]
    Using internal hostpolicy
    Reading from host interface version: [0x16041101:248] to initialize policy version: [0x16041101:248]
    Mapped application bundle
    Files embedded within the bundle will be extracted to [C:\Users\CLOUDT~1\AppData\Local\Temp\.net\AppWithSubDirs\5Seby2ImBB_8UAUjyDZxGUrO56usvIU=] directory.
    Reusing existing extraction of application bundle.
    Unmapped application bundle
    --- Invoked hostpolicy [version: 10.0.0-ci @Commit: 5e1836e2b13f409a58ea946639a7bc414b910bd4] corehost_main = {
    D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-5\AppWithSubDirs.exe
    }
    Mode: apphost
    Deps file:
    -- arguments_t: app_root='D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-5\' deps='D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhje

    CallStack
       at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
       at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
       at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
       at Microsoft.DotNet.CoreSetup.Test.CommandResultAssertions.Pass() in /_/src/installer/tests/TestUtils/Assertions/CommandResultAssertions.cs:line 35
       at AppHost.Bundle.Tests.BundledAppWithSubDirs.RunTheApp(String path, Boolean selfContained) in /_/src/installer/tests/AppHost.Bundle.Tests/BundledAppWithSubDirs.cs:line 25
       at AppHost.Bundle.Tests.BundledAppWithSubDirs.SelfContained_Targeting50(BundleOptions options) in /_/src/installer/tests/AppHost.Bundle.Tests/BundledAppWithSubDirs.cs:line 142
       at InvokeStub_BundledAppWithSubDirs.SelfContained_Targeting50(Object, Span`1)
       at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    AppHost.Bundle.Tests.BundledAppWithSubDirs.SelfContained_Targeting50(options: None) [Details] [0.35% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (2)

    Exception Message
    **WARNING** failure message 'Expected command to pass but it did not.
    File Name: D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-4\AppWithSubDirs.exe
    Arguments: 
    Environment:
      DOTNET_ROOT = 
      DOTNET_ROOT(x86) = 
    Exit Code: 0xdead
    StdOut:
    Wow! We now say hello to the big world and you.
    

    StdErr:
    Tracing enabled @ Fri Oct 18 21:29:21 2024 GMT
    --- Invoked apphost [version: 10.0.0-ci @Commit: 5e1836e2b13f409a58ea946639a7bc414b910bd4] main = {
    D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-4\AppWithSubDirs.exe
    }
    Redirecting errors to custom writer.
    The managed DLL bound to this executable is: 'AppWithSubDirs.dll'
    Detected Single-File app bundle
    Using internal fxr
    Invoking fx resolver [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-4\] hostfxr_main_bundle_startupinfo
    Host path: [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-4\AppWithSubDirs.exe]
    Dotnet path: [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-4\]
    App path: [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-4\AppWithSubDirs.dll]
    Bundle Header Offset: [74346496]
    --- Invoked hostfxr_main_bundle_startupinfo [version: 10.0.0-ci @Commit: 5e1836e2b13f409a58ea946639a7bc414b910bd4]
    Mapped application bundle
    Unmapped application bundle
    Single-File bundle details:
    DepsJson Offset:[954a00] Size[64fc]
    RuntimeConfigJson Offset:[95d000] Size[b7]
    .net core 3 compatibility mode: [No]
    --- Executing in a native executable mode...
    Using dotnet root path [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-4\]
    App runtimeconfig.json from [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-4\AppWithSubDirs.dll]
    Runtime config is cfg=D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-4\AppWithSubDirs.runtimeconfig.json dev=D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-4\AppWithSubDirs.runtimeconfig.dev.json
    Attempting to read dev runtime config: D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-4\AppWithSubDirs.runtimeconfig.dev.json
    Attempting to read runtime config: D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-4\AppWithSubDirs.runtimeconfig.json
    Mapped bundle for [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-4\AppWithSubDirs.runtimeconfig.json]
    Unmapped application bundle
    Runtime config [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-4\AppWithSubDirs.runtimeconfig.json] is valid=[1]
    Executing as a self-contained app as per config file [D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-4\AppWithSubDirs.runtimeconfig.json]
    Using internal hostpolicy
    Reading from host interface version: [0x16041101:248] to initialize policy version: [0x16041101:248]
    Mapped application bundle
    Unmapped application bundle
    --- Invoked hostpolicy [version: 10.0.0-ci @Commit: 5e1836e2b13f409a58ea946639a7bc414b910bd4] corehost_main = {
    D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-4\AppWithSubDirs.exe
    }
    Mode: apphost
    Deps file:
    -- arguments_t: app_root='D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-4\' deps='D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-4\AppWithSubDirs.deps.json' mgd_app='D:\a\_work\1\s\artifacts\tests\host\windows.x64.Release\ahb\itgmhjef.0nz\AppWithSubDirs\bundle-4\AppWithSubDirs.dll'
    DOTNET_MULTILEVEL_LOOKUP is

    CallStack
       at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
       at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
       at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
       at Microsoft.DotNet.CoreSetup.Test.CommandResultAssertions.Pass() in /_/src/installer/tests/TestUtils/Assertions/CommandResultAssertions.cs:line 35
       at AppHost.Bundle.Tests.BundledAppWithSubDirs.RunTheApp(String path, Boolean selfContained) in /_/src/installer/tests/AppHost.Bundle.Tests/BundledAppWithSubDirs.cs:line 25
       at AppHost.Bundle.Tests.BundledAppWithSubDirs.SelfContained_Targeting50(BundleOptions options) in /_/src/installer/tests/AppHost.Bundle.Tests/BundledAppWithSubDirs.cs:line 142
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
       at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Was this helpful? Yes No