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

[main] Update dependencies from dotnet/arcade #67771

Merged
merged 66 commits into from
May 9, 2022

Conversation

dotnet-maestro[bot]
Copy link
Contributor

@dotnet-maestro dotnet-maestro bot commented Apr 8, 2022

This pull request updates the following dependencies

From https://github.com/dotnet/arcade

  • Subscription: c32383ee-d79c-4435-5b63-08d8d8feb47e
  • Build: 20220505.2
  • Date Produced: May 5, 2022 8:12:44 PM UTC
  • Commit: ba1c3aff4be864c493031d989259ef92aaa23fc3
  • Branch: refs/heads/main

…406.10

Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.GenAPI , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.GenFacades , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk
 From Version 2.5.1-beta.22179.1 -> To Version 2.5.1-beta.22206.10
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@lewing lewing changed the title [main] Update dependencies from dotnet/arcade [main] Update dependencies from dotnet/arcade dotnet/hotreload-utils Apr 8, 2022
@dotnet-maestro dotnet-maestro bot requested a review from marek-safar as a code owner April 8, 2022 22:48
lewing and others added 2 commits April 8, 2022 18:00
The generated path property for
`Pkgoptimization_windows_nt-x86_PGO_CoreCLR` seems to have a trailing
`\` now, on windows, which breaks the quoted use of the property:

`"-DCLR_CMAKE_OPTDATA_PATH="D:\a\_work\1\s\.packages\optimization.windows_nt-x86.pgo.coreclr\1.0.0-prerelease.22121.2\""`

Since this is a directory path being passed, it should be safe to always
trim the trailing `\`.

This manifests as:
```
  Calling "D:\a\_work\1\s\src\coreclr\..\..\eng\native\gen-buildsys.cmd" "D:\a\_work\1\s\src\coreclr" "D:\a\_work\1\s\src\coreclr\..\..\artifacts\obj\coreclr\windows.x64.Release" vs2019 x64 "-DCMAKE_BUILD_TYPE=Release" "-DCLR_CMAKE_TARGET_ARCH=x64" "-DCLR_CMAKE_TARGET_OS=windows" "-DCLR_CMAKE_PGO_INSTRUMENT=0" "-DCLR_CMAKE_OPTDATA_PATH="D:\a\_work\1\s\.packages\optimization.windows_nt-x64.pgo.coreclr\1.0.0-prerelease.22121.2\"" "-DCLR_CMAKE_PGO_OPTIMIZE=1"
  CMake Warning:
    No source or binary directory provided.  Both will be assumed to be the
    same as the current working directory, but note that this warning will
    become a fatal error in future CMake releases.

```
.. and ..
```
  CMake Warning:
    Manually-specified variables were not used by the project:

      CLR_CMAKE_OPTDATA_PATH
```

and eventually:
```
 ##[error]BUILD: Error: unable to find generated native component build project
```
@radical
Copy link
Member

radical commented Apr 8, 2022

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@radical
Copy link
Member

radical commented Apr 8, 2022

System.IO.Compression tests failed with errors like:

    System.IO.Compression.Tests.zip_CreateTests.CreateNormal_Unicode_Seekable [FAIL]
      System.IO.FileNotFoundException : Could not find file '/root/helix/work/workitem/e/ZipTestData/refzipfolders/unicode/한글.txt'.
      Stack Trace:
        /_/src/libraries/Common/src/Interop/Unix/Interop.IOErrors.cs(21,0): at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
        /_/src/libraries/Common/src/Interop/Unix/Interop.IOErrors.cs(28,0): at Interop.CheckIo(Error error, String path, Boolean isDirectory, Func`2 errorRewriter)
        /_/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.Unix.cs(96,0): at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Func`4 createOpenException)
        /_/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.Unix.cs(224,0): at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Permissions openPermissions, Int64& fileLength, Permissions& filePermissions, Func`4 createOpenException)
        /_/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.Unix.cs(189,0): at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Permissions openPermissions, Func`4 createOpenException)
        /_/src/libraries/System.Private.CoreLib/src/System/IO/File.cs(167,0): at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
        /_/src/libraries/System.Private.CoreLib/src/System/IO/File.cs(250,0): at System.IO.File.ReadAllBytes(String path)
        /_/src/libraries/Common/tests/System/IO/Compression/StreamHelpers.cs(12,0): at StreamHelpers.CreateTempCopyStream(String path)
        /_/src/libraries/Common/tests/System/IO/Compression/ZipTestHelper.cs(338,0): at System.IO.Compression.Tests.ZipFileTestBase.CreateFromDir(String directory, Stream archiveStream, ZipArchiveMode mode, Boolean useSpansForWriting, Boolean writeInChunks)
        /_/src/libraries/System.IO.Compression/tests/ZipArchive/zip_CreateTests.cs(94,0): at System.IO.Compression.Tests.zip_CreateTests.CreateNormal_Unicode_Seekable()
        --- End of stack trace from previous location ---

I think this is #65750 . And it's breaking the tests here because now the sdk is being bumped to 7.0*. so, it is going to be a blocker for the sdk bump.

cc @carlossanlop @dotnet/area-system-io-compression
cc @javiercn

@radical
Copy link
Member

radical commented Apr 9, 2022

Some of the library failures are #58927 :

    System.Net.Security.Tests.SslStreamTls11NetworkConformanceTests.ZeroByteWrite_OtherDataReceivedSuccessfully(mode: SyncArray) [FAIL]
      System.Security.Authentication.AuthenticationException : Authentication failed, see inner exception.
      ---- System.ComponentModel.Win32Exception : The client and server cannot communicate, because they do not possess a common algorithm.
      Stack Trace:
        /_/src/libraries/System.Net.Security/src/System/Net/Security/SslStreamPal.Windows.cs(160,0): at System.Net.Security.SslStreamPal.AcquireCredentialsHandle(SslStreamCertificateContext certificateContext, SslProtocols protocols, EncryptionPolicy policy, Boolean isServer)
        /_/src/libraries/System.Net.Security/src/System/Net/Security/SecureChannel.cs(723,0): at System.Net.Security.SecureChannel.AcquireCredentialsHandle(SslAuthenticationOptions sslAuthenticationOptions)
        /_/src/libraries/System.Net.Security/src/System/Net/Security/SecureChannel.cs(610,0): at System.Net.Security.SecureChannel.AcquireClientCredentials(Byte[]& thumbPrint)
        /_/src/libraries/System.Net.Security/src/System/Net/Security/SecureChannel.cs(834,0): at System.Net.Security.SecureChannel.GenerateToken(ReadOnlySpan`1 inputBuffer, Byte[]& output)
        /_/src/libraries/System.Net.Security/src/System/Net/Security/SecureChannel.cs(777,0): at System.Net.Security.SecureChannel.NextMessage(ReadOnlySpan`1 incomingBuffer)
        /_/src/libraries/System.Net.Security/src/System/Net/Security/SslStream.Implementation.cs(322,0): at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
        /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(120,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task)
        --- End of stack trace from previous location ---
        /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(90,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks)
        /_/src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamConformanceTests.cs(28,0): at System.Net.Security.Tests.SslStreamConformanceTests.CreateWrappedConnectedStreamsAsync(StreamPair wrapped, Boolean leaveOpen)
        /_/src/libraries/Common/tests/StreamConformanceTests/System/IO/StreamConformanceTests.cs(2233,0): at System.IO.Tests.ConnectedStreamConformanceTests.ZeroByteWrite_OtherDataReceivedSuccessfully(ReadWriteMode mode)
        --- End of stack trace from previous location ---
        ----- Inner Stack Trace -----
        /_/src/libraries/Common/src/Interop/Windows/SspiCli/SSPIWrapper.cs(138,0): at System.Net.SSPIWrapper.AcquireCredentialsHandle(ISSPIInterface secModule, String package, CredentialUse intent, SCH_CREDENTIALS* scc)
        /_/src/libraries/System.Net.Security/src/System/Net/Security/SslStreamPal.Windows.cs(605,0): at System.Net.Security.SslStreamPal.AcquireCredentialsHandle(CredentialUse credUsage, SCH_CREDENTIALS* secureCredential)
        /_/src/libraries/System.Net.Security/src/System/Net/Security/SslStreamPal.Windows.cs(305,0): at System.Net.Security.SslStreamPal.AcquireCredentialsHandleSchCredentials(SslStreamCertificateContext certificateContext, SslProtocols protocols, EncryptionPolicy policy, Boolean isServer)
        /_/src/libraries/System.Net.Security/src/System/Net/Security/SslStreamPal.Windows.cs(147,0): at System.Net.Security.SslStreamPal.AcquireCredentialsHandle(SslStreamCertificateContext certificateContext, SslProtocols protocols, EncryptionPolicy policy, Boolean isServer)

@lewing
Copy link
Member

lewing commented Apr 9, 2022

System.IO.Compression tests failed with errors like:

    System.IO.Compression.Tests.zip_CreateTests.CreateNormal_Unicode_Seekable [FAIL]
      System.IO.FileNotFoundException : Could not find file '/root/helix/work/workitem/e/ZipTestData/refzipfolders/unicode/한글.txt'.
      Stack Trace:
        /_/src/libraries/Common/src/Interop/Unix/Interop.IOErrors.cs(21,0): at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
        /_/src/libraries/Common/src/Interop/Unix/Interop.IOErrors.cs(28,0): at Interop.CheckIo(Error error, String path, Boolean isDirectory, Func`2 errorRewriter)
        /_/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.Unix.cs(96,0): at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Func`4 createOpenException)
        /_/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.Unix.cs(224,0): at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Permissions openPermissions, Int64& fileLength, Permissions& filePermissions, Func`4 createOpenException)
        /_/src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.Unix.cs(189,0): at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Permissions openPermissions, Func`4 createOpenException)
        /_/src/libraries/System.Private.CoreLib/src/System/IO/File.cs(167,0): at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
        /_/src/libraries/System.Private.CoreLib/src/System/IO/File.cs(250,0): at System.IO.File.ReadAllBytes(String path)
        /_/src/libraries/Common/tests/System/IO/Compression/StreamHelpers.cs(12,0): at StreamHelpers.CreateTempCopyStream(String path)
        /_/src/libraries/Common/tests/System/IO/Compression/ZipTestHelper.cs(338,0): at System.IO.Compression.Tests.ZipFileTestBase.CreateFromDir(String directory, Stream archiveStream, ZipArchiveMode mode, Boolean useSpansForWriting, Boolean writeInChunks)
        /_/src/libraries/System.IO.Compression/tests/ZipArchive/zip_CreateTests.cs(94,0): at System.IO.Compression.Tests.zip_CreateTests.CreateNormal_Unicode_Seekable()
        --- End of stack trace from previous location ---

I think this is #65750 . And it's breaking the tests here because now the sdk is being bumped to 7.0*. so, it is going to be a blocker for the sdk bump.

cc @carlossanlop @dotnet/area-system-io-compression cc @javiercn

it looks like this might be because helix is using an sdk before #65886 to zip the file which hopefully fixed the issue?

@radical
Copy link
Member

radical commented Apr 9, 2022

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@radical
Copy link
Member

radical commented Apr 9, 2022

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@lewing
Copy link
Member

lewing commented Apr 9, 2022

based on dotnet/aspnetcore#40507 it looks like aspnetcore is using sdk 7.0.100-preview.3.22159.27 which resolved the issue. Let's open an issue / pr in arcade, that sdk is producing bad zips

@radical
Copy link
Member

radical commented Apr 9, 2022

Opened dotnet/arcade#9011

@lewing lewing added the blocked Issue/PR is blocked on something - see comments label Apr 9, 2022
Mirror version used in aspnetcore
@radical
Copy link
Member

radical commented Apr 9, 2022

/azp run runtime-extra-platforms,runtime-wasm

@agocke
Copy link
Member

agocke commented May 6, 2022

I believe this means that we're running the NativeAOT version of Crossgen2

I think we only do that for building the crossgen2 package itself, not for R2Ring the other packages. It's possible there's some bad interaction between side effects, though.

@lewing
Copy link
Member

lewing commented May 6, 2022

/azp run runtime-extra-platforms,runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@trylek
Copy link
Member

trylek commented May 6, 2022

OK, in the latest runtime-dev-innerloop the installer build passed on Linux so hopefully the problem's been resolved somehow.

…505.2

Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.GenAPI , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.GenFacades , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk
 From Version 2.5.1-beta.22179.1 -> To Version 2.5.1-beta.22255.2
@hoyosjs
Copy link
Member

hoyosjs commented May 7, 2022

/azp run runtime-extra-platforms,runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@lewing
Copy link
Member

lewing commented May 8, 2022

Merging main is proving to be a pretty good demonstration of how insufficient the PR tests are for catching regressions

The wasm LibraryTests_AOT failure is probably from #68612 is interesting but unlikely to be related.

[01:21:16] fail: Error: [MONO] * Assertion at /__w/1/s/src/mono/mono/mini/mini-runtime.c:3024, condition `<disabled>' not met
[01:21:16] fail: 
[01:21:16] fail:     at mono_wasm_stringify_as_error_with_stack (./dotnet.js:3:19506)
[01:21:16] fail:     at Object.mono_wasm_trace_logger (./dotnet.js:3:19877)
[01:21:16] fail:     at _mono_wasm_trace_logger (./dotnet.js:6122:67)
[01:21:16] fail:     at wasm_trace_logger (<anonymous>:wasm-function[71725]:0xd8b77d)
[01:21:16] fail:     at eglib_log_adapter (<anonymous>:wasm-function[59964]:0xc32ae5)
[01:21:16] fail:     at monoeg_g_logstr (<anonymous>:wasm-function[70921]:0xd714c9)
[01:21:16] fail:     at monoeg_g_logv_nofree (<anonymous>:wasm-function[70919]:0xd71478)
[01:21:16] fail:     at monoeg_assertion_message (<anonymous>:wasm-function[70924]:0xd71548)
[01:21:16] fail:     at mono_assertion_message (<anonymous>:wasm-function[70926]:0xd7158f)
[01:21:16] fail:     at mono_assertion_message_disabled (<anonymous>:wasm-function[70925]:0xd71560)
[01:21:16] fail:     at mono_get_optimizations_for_method (<anonymous>:wasm-function[69708]:0xd4a042)
[01:21:16] fail:     at mono_jit_compile_method_jit_only (<anonymous>:wasm-function[69711]:0xd4a0ec)
[01:21:16] fail:     at mono_jit_runtime_invoke (<anonymous>:wasm-function[69735]:0xd4b08d)
[01:21:16] fail:     at do_runtime_invoke (<anonymous>:wasm-function[58358]:0xc0a340)
[01:21:16] fail:     at mono_runtime_try_invoke (<anonymous>:wasm-function[58369]:0xc0aa4b)
[01:21:16] fail:     at mono_object_try_to_string (<anonymous>:wasm-function[58515]:0xc0e68c)
[01:21:16] fail:     at mono_invoke_unhandled_exception_hook (<anonymous>:wasm-function[56991]:0xbe3af5)
[01:21:16] fail:     at mono_thread_abort (<anonymous>:wasm-function[69783]:0xd4d02e)
[01:21:16] fail:     at mono_thread_abort_dummy (<anonymous>:wasm-function[69785]:0xd4d09d)
[01:21:16] fail:     at mono_handle_exception_internal (<anonymous>:wasm-function[70357]:0xd6063a)
[01:21:16] fail:     at mono_handle_exception (<anonymous>:wasm-function[70318]:0xd5e35a)
[01:21:16] fail:     at mini_llvmonly_throw_exception (<anonymous>:wasm-function[70316]:0xd5e2ef)
[01:21:16] fail:     at mini_llvmonly_throw_corlib_exception (<anonymous>:wasm-function[70383]:0xd6165f)
[01:21:16] fail:     at System_Runtime_Numerics_System_Numerics_BigIntegerCalculator_Remainder_System_ReadOnlySpan_1_uint_uint (<anonymous>:wasm-function[37992]:0x7960c6)
[01:21:16] fail:     at System_Runtime_Numerics_System_Numerics_BigIntegerCalculator_Pow_System_ReadOnlySpan_1_uint_uint_uint (<anonymous>:wasm-function[38022]:0x7997fc)
[01:21:16] fail:     at System_Runtime_Numerics_System_Numerics_BigInteger_ModPow_System_Numerics_BigInteger_System_Numerics_BigInteger_System_Numerics_BigInteger (<anonymous>:wasm-function[38124]:0x7a31fa)
[01:21:16] fail:     at System_Runtime_Numerics_Tests_System_Numerics_Tests_StackCalc_DoTertanaryOperatorSN_System_Numerics_BigInteger_System_Numerics_BigInteger_System_Numerics_BigInteger_string (<anonymous>:wasm-function[39841]:0x861bec)
[01:21:16] fail:     at System_Runtime_Numerics_Tests_System_Numerics_Tests_StackCalc_DoNextOperation (<anonymous>:wasm-function[39213]:0x7d2198)
[01:21:16] fail:     at System_Runtime_Numerics_Tests_System_Numerics_Tests_modpowTest_VerifyModPowString_string (<anonymous>:wasm-function[39590]:0x837693)
[01:21:16] fail:     at System_Runtime_Numerics_Tests_System_Numerics_Tests_modpowTest__c__DisplayClass3_0__ModPowNegativeb__3 (<anonymous>:wasm-function[40196]:0x88aee6)
[01:21:16] fail:     at corlib_wrapper_delegate_invoke__Module_invoke_void (<anonymous>:wasm-function[31361]:0x6b136a)
[01:21:16] fail:     at invoke_vii (./dotnet.js:7956:29)
[01:21:16] fail:     at xunit_assert_Xunit_Assert_RecordException_System_Action (<anonymous>:wasm-function[45083]:0x9935cb)
[01:21:16] fail:     at xunit_assert_Xunit_Assert_Throws_T_REF_System_Action (<anonymous>:wasm-function[45082]:0x993467)
[01:21:16] fail:     at System_Runtime_Numerics_Tests_System_Numerics_Tests_modpowTest_ModPowNegative (<anonymous>:wasm-function[39591]:0x837a1b)
[01:21:16] fail:     at corlib_aot_wrapper_gsharedvt_out_sig_pinvoke_void_ (<anonymous>:wasm-function[31458]:0x6b4536)

Assertion at /__w/1/s/src/mono/mono/mini/mini-runtime.c:3024 is

guint32
mono_get_optimizations_for_method (MonoMethod *method, guint32 opt)
{
	g_assert (method);

@tannergooding @lambdageek @vargaz can you take a look

@lewing
Copy link
Member

lewing commented May 8, 2022

None of the mono failures appear to be related to this PR.

the runtime-extra-platforms (Libraries Test Run release coreclr windows (x64,arm64) Release) failures are failures in resource lookup:

xunit.console.dll System.ComponentModel.Annotations.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing  
Process terminated. Infinite recursion during resource lookup within System.Private.CoreLib.  This may be a bug in System.Private.CoreLib, or potentially in certain extensibility points such as assembly resolve events or CultureInfo names.  Resource name: Arg_AccessViolationException
   at System.Environment.FailFast(System.String)
   at System.SR.InternalGetResourceString(System.String)
   at System.SR.GetResourceString(System.String)
   at System.AccessViolationException..ctor()
   at System.SpanHelpers.IndexOf(Char ByRef, Char, Int32)
   at System.String.Ctor(Char*)
   at System.Globalization.CultureData.GetLocaleInfoEx(System.String, UInt32)
   at System.Globalization.CultureInfo.GetUserDefaultLocaleName()
   at System.Globalization.CultureInfo..cctor()
   at System.Globalization.CultureInfo.get_CachedCulturesByName()
   at System.Globalization.CultureInfo.GetCultureInfo(System.String)
   at System.Resources.ManifestBasedResourceGroveler.GetNeutralResourcesLanguage(System.Reflection.Assembly, System.Resources.UltimateResourceFallbackLocation ByRef)
   at System.Resources.ResourceManager.CommonAssemblyInit()
   at System.SR.get_ResourceManager()
   at System.SR.InternalGetResourceString(System.String)
   at System.SR.GetResourceString(System.String)
   at System.AccessViolationException..ctor()
   at System.SpanHelpers.IndexOf(Char ByRef, Char, Int32)
   at System.String.Ctor(Char*)
   at System.AppContext.Setup(Char**, Char**, Int32)

Not sure if they are from this pr or just more expanded test coverage

@lewing
Copy link
Member

lewing commented May 8, 2022

I'd prefer it if we don't merge main here until at the very least the rolling build is actually running again. This PR shouldn't continue to be used to debug problems in main.

@danmoseley
Copy link
Member

danmoseley commented May 8, 2022

The resource lookup error above is usually a symptom of mismatched or broken runtime bits. It tries to throw an AccessViolationException, then loading the string AV's again, etc. Nothing to do with resources.

Edit: I've seen this often enough that I almost wonder whether we should special case the resource "Arg_AccessViolationException" here to produce a different message eg "Access violation during resource lookup" which makes things a bit clearer.

@lewing
Copy link
Member

lewing commented May 8, 2022

The resource lookup error above is usually a symptom of mismatched or broken runtime bits. It tries to throw an AccessViolationException, then loading the string AV's again, etc. Nothing to do with resources.

Edit: I've seen this often enough that I almost wonder whether we should special case the resource "Arg_AccessViolationException" here to produce a different message eg "Access violation during resource lookup" which makes things a bit clearer.

ok, it is only failing that way on the win-arm64 lane, do we think it is a real problem or that we're picking up win-arm64 machines with problems? The same lane is failing on win-x64 with what looks like a timeout but that is happening in main too.

@hoyosjs
Copy link
Member

hoyosjs commented May 9, 2022

That AV looks like a native compiler upgrade issue...

@lewing
Copy link
Member

lewing commented May 9, 2022

That AV looks like a native compiler upgrade issue...

so win-arm64 still has issues, are there any other failures unique to this pr?

@lewing lewing added the blocking Marks issues that we want to fast track in order to unblock other important work label May 9, 2022
@agocke
Copy link
Member

agocke commented May 9, 2022

win-arm64 failures appear to be dotnet/arcade#9284, unrelated to this PR. I don't see anything in the 'runtime' pipeline that I would consider blocking. If the Mono/wasm failures are understood and fixed, IMO this is ready to be merged.

@lewing
Copy link
Member

lewing commented May 9, 2022

win-arm64 failures appear to be dotnet/arcade#9284, unrelated to this PR. I don't see anything in the 'runtime' pipeline that I would consider blocking. If the Mono/wasm failures are understood and fixed, IMO this is ready to be merged.

We're confident that the mono failures seen here aren't blocking or unique to this pr and we have fixes for several of them almost ready

@akoeplinger
Copy link
Member

akoeplinger commented May 10, 2022

FYI the error LNK2001: unresolved external symbol __imp___std_init_once_begin_initialize turned out to be because of a breaking change in the MSVC linker: microsoft/STL#2655

@jakobbotsch
Copy link
Member

jakobbotsch commented May 12, 2022

Since this toolset update the build output is being aligned and has extra newlines added into it. For instance, when I copy the crossgen invocation that is logged on build I now get

  Generating native image of System.Private.CoreLib for windows.x64.Checked. Logging to
  C:\dev\dotnet\runtime3\dotnet.cmd C:\dev\dotnet\runtime3\artifacts\bin\coreclr\windows.x64.Checked\crossgen2\crossgen2.dll -o:C:\d
  ev\dotnet\runtime3\artifacts\bin\coreclr\windows.x64.Checked\System.Private.CoreLib.dll -r:C:\dev\dotnet\runtime3\artifacts\bin\co
  reclr\windows.x64.Checked\IL\*.dll --targetarch:x64 -m:C:\dev\dotnet\runtime3\artifacts\bin\coreclr\windows.x64.Checked\StandardOp
  timizationData.mibc --embed-pgo-data -O --verify-type-and-field-layout C:\dev\dotnet\runtime3\artifacts\bin\coreclr\windows.x64.Ch
  ecked\IL\System.Private.CoreLib.dll --pdb --pdb-path:C:\dev\dotnet\runtime3\artifacts\bin\coreclr\windows.x64.Checked\PDB

instead of

  Generating native image of System.Private.CoreLib for windows.x64.Checked. Logging to
  C:\dev\dotnet\runtime3\dotnet.cmd C:\dev\dotnet\runtime3\artifacts\bin\coreclr\windows.x64.Checked\crossgen2\crossgen2.dll -o:C:\dev\dotnet\runtime3\artifacts\bin\coreclr\windows.x64.Checked\System.Private.CoreLib.dll -r:C:\dev\dotnet\runtime3\artifacts\bin\coreclr\windows.x64.Checked\IL\*.dll --targetarch:x64 -m:C:\dev\dotnet\runtime3\artifacts\bin\coreclr\windows.x64.Checked\StandardOptimizationData.mibc -m:C:\dev\dotnet\runtime3\artifacts\bin\coreclr\windows.x64.Checked\StandardOptimizationData.mibc -m:C:\dev\dotnet\runtime3\artifacts\bin\coreclr\windows.x64.Checked\StandardOptimizationData.mibc -m:C:\dev\dotnet\runtime3\artifacts\bin\coreclr\windows.x64.Checked\StandardOptimizationData.mibc --embed-pgo-data -O --verify-type-and-field-layout C:\dev\dotnet\runtime3\artifacts\bin\coreclr\windows.x64.Checked\IL\System.Private.CoreLib.dll --pdb --pdb-path:C:\dev\dotnet\runtime3\artifacts\bin\coreclr\windows.x64.Checked\PDB

that is logged before this toolset update. The former cannot be copy pasted cleanly into the terminal, so this is very annoying. Does anyone have any idea why this changed and how we can get back to the previous behavior?

@Wraith2
Copy link
Contributor

Wraith2 commented Jun 1, 2022

Being unable to copy dumped commandlines and use them without reformatting is slowing down progress. Is there any way to get this fixed?

@ghost ghost locked as resolved and limited conversation to collaborators Jul 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-codeflow for labeling automated codeflow blocking Marks issues that we want to fast track in order to unblock other important work
Projects
None yet
Development

Successfully merging this pull request may close these issues.