Skip to content

[coreclr] Can't re-init native module #124896

@ilonatommy

Description

@ilonatommy

Reproduction: Run Wasm.Build.Tests.DownloadThenInitTests (currently disabled in eng/testing/scenarios/BuildWasmAppsJobsListCLR.txt)

Log:

Details Wasm.Build.Tests.DownloadThenInitTests.NoResourcesReFetchedAfterDownloadFinished(config: Debug) [FAIL] System.Exception : Expected exit code 0 but got 1. consoleOutput=TestOutput -> fetching http://127.0.0.1:64002/_framework/dotnet.native.fms7rkw8g5.wasm TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Private.CoreLib.jdcib3r0d7.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Runtime.InteropServices.JavaScript.zanu5tryde.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/Microsoft.CSharp.0h4ug2jkug.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/Microsoft.VisualBasic.Core.3m5whx5xr6.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/Microsoft.VisualBasic.gu7mid4zce.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/Microsoft.Win32.Primitives.y9ouiyu64g.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/Microsoft.Win32.Registry.k9pw6d7t8m.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.AppContext.tud5vi59zv.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Buffers.9d9clengyg.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Collections.Concurrent.vf6s28tyxa.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Collections.Immutable.11xf5oacrr.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Collections.NonGeneric.qqjrjkefly.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Collections.Specialized.6t07yqgfyd.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Collections.l598aq0iwu.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.ComponentModel.Annotations.jr8te84fal.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.ComponentModel.DataAnnotations.p4h0mj64ls.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.ComponentModel.EventBasedAsync.pxvb9piiux.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.ComponentModel.Primitives.gcreyl133p.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.ComponentModel.TypeConverter.24ctt1d6x0.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.ComponentModel.lmxl77m9ga.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Configuration.ym1f7grqo5.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Console.jv7r0y923d.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Core.l29mscey43.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Data.Common.57dqia9x7u.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Data.DataSetExtensions.q5eql7h0it.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Data.5q8qrron0m.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Diagnostics.Contracts.8f5m3wpecv.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Diagnostics.Debug.trhscabkw3.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Diagnostics.DiagnosticSource.b70ieoe4y6.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Diagnostics.FileVersionInfo.zzzbo3x4ao.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Diagnostics.Process.wqjotk79oj.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Diagnostics.StackTrace.jt4ioz4dg9.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Diagnostics.TextWriterTraceListener.fwmhqem6wy.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Diagnostics.Tools.rn1wvatjp0.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Diagnostics.TraceSource.k0peqcfoaa.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Diagnostics.Tracing.jbirn1xap7.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Drawing.Primitives.v336zutrme.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Drawing.h90zyznkij.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Dynamic.Runtime.l4bze2pq1r.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Formats.Asn1.oseaq1on6j.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Formats.Tar.bhwaap963d.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Globalization.Calendars.7psc9ptgwv.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Globalization.Extensions.92yjh2jj4g.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Globalization.hmdo2cmzre.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.IO.Compression.Brotli.mbkagi72zl.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.IO.Compression.FileSystem.tmnwle8swv.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.IO.Compression.ZipFile.tpso6gzqxu.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.IO.Compression.h695dttimj.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.IO.FileSystem.AccessControl.oox3ockiz8.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.IO.FileSystem.DriveInfo.ghzwz1g7wl.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.IO.FileSystem.Primitives.m7euda2vpm.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.IO.FileSystem.Watcher.ngoptwm5h0.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.IO.FileSystem.hlkqfi9sub.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.IO.IsolatedStorage.10wv4topgd.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.IO.MemoryMappedFiles.4e7g0m9p1a.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.IO.Pipelines.icoe6uyt3v.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.IO.Pipes.AccessControl.mh800iojyr.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.IO.Pipes.k1hu1p6h4y.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.IO.UnmanagedMemoryStream.yxkma7pdi1.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.IO.x52l5bq3iy.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Linq.AsyncEnumerable.yotffj1bpu.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Linq.Expressions.awscmv8t78.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Linq.Parallel.ykw2khtjx0.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Linq.Queryable.1vsryax946.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Linq.s2ay10k6yp.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Memory.71fmu8t83f.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Net.Http.Json.p4sgka8i8t.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Net.Http.qkvblsunur.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Net.HttpListener.45pfbujk7r.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Net.Mail.iebgvmjlz8.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Net.NameResolution.kpb444zcgh.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Net.NetworkInformation.obl280eerh.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Net.Ping.66e86v1z9w.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Net.Primitives.bj1zepwubv.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Net.Quic.25rp7hkkds.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Net.Requests.w2kk1dvqq4.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Net.Security.kelfwvl3rs.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Net.ServerSentEvents.q00i5zz8um.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Net.ServicePoint.0v9hnrbhrs.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Net.Sockets.idw6liay43.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Net.WebClient.ja1cf3hxpy.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Net.WebHeaderCollection.0cad3ldu03.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Net.WebProxy.89saki8ugw.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Net.WebSockets.Client.54788plzgb.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Net.WebSockets.lfz4ms9net.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Net.mqagkdde56.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Numerics.Vectors.394o9hfc8d.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Numerics.h9roeek2qb.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.ObjectModel.z1n5ixkk42.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Private.DataContractSerialization.7jgjqftshg.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Private.Uri.2uqkeaspri.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Private.Xml.Linq.sicoha2d9j.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Private.Xml.by5tlgl4jl.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Reflection.DispatchProxy.78vbvkr1fi.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Reflection.Emit.ILGeneration.qw75qy6jfy.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Reflection.Emit.Lightweight.95t240plxv.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Reflection.Emit.xg40tqz48s.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Reflection.Extensions.xg7b6t05kl.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Reflection.Metadata.piin7enj00.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Reflection.Primitives.vcfxbr7faa.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Reflection.TypeExtensions.4q635o6zk1.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Reflection.rvxtt3qjms.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Resources.Reader.nusgfloavr.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Resources.ResourceManager.kstxb5r681.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Resources.Writer.3wbew0oa33.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Runtime.CompilerServices.Unsafe.kt7fxi8tkl.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Runtime.CompilerServices.VisualC.ivi4z3b6mf.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Runtime.Extensions.9mr7s5uw1q.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Runtime.Handles.9p2975ygy2.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Runtime.InteropServices.RuntimeInformation.ycp3nqebd5.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Runtime.InteropServices.1eaoyqv20b.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Runtime.Intrinsics.woe881ipxk.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Runtime.Loader.n4xwkpehvr.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Runtime.Numerics.2h36ql6q5x.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Runtime.Serialization.Formatters.gi3vrdgp1a.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Runtime.Serialization.Json.vjgb0039yp.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Runtime.Serialization.Primitives.ram7jpq2je.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Runtime.Serialization.Xml.w8kj2ieq3q.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Runtime.Serialization.x079cgnktq.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Runtime.dst6lvvjsb.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Security.AccessControl.r5easn1u1t.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Security.Claims.i62cppvsmz.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Security.Cryptography.Algorithms.3yztr1j2nz.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Security.Cryptography.Cng.lfbh24uf1o.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Security.Cryptography.Csp.nytg8xgu4n.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Security.Cryptography.Encoding.z02lbn0u2b.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Security.Cryptography.OpenSsl.5wz1lgbokr.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Security.Cryptography.Primitives.m72st9jf76.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Security.Cryptography.X509Certificates.dldo82pv2k.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Security.Cryptography.tf1sj985iz.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Security.Principal.Windows.48pl8vbktz.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Security.Principal.8qzav4xns1.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Security.SecureString.r5nxd1mm28.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Security.eq4q5t65i5.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.ServiceModel.Web.h0kikdtbsr.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.ServiceProcess.sl2voy9baq.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Text.Encoding.CodePages.m4c2lr7coz.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Text.Encoding.Extensions.h5mpvn5w1w.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Text.Encoding.379zk0o95s.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Text.Encodings.Web.ezv1xnndb1.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Text.Json.k6u5j6eye2.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Text.RegularExpressions.fhkgj8sj3s.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Threading.AccessControl.yrb2o6aakm.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Threading.Channels.il153y9qm4.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Threading.Overlapped.2gyix7l1ms.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Threading.Tasks.Dataflow.k5l55yc495.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Threading.Tasks.Extensions.6ianv06e49.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Threading.Tasks.Parallel.zffmqrorah.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Threading.Tasks.zgdy7k34t9.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Threading.Thread.0pqxjbxsg3.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Threading.ThreadPool.7ez89grk0w.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Threading.Timer.26s8vapdkf.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Threading.225jsbqqb7.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Transactions.Local.46ctyicm5m.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Transactions.btl4u413gk.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.ValueTuple.2g7vtdb0gp.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Web.HttpUtility.dqpjafwncj.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Web.nm6c7bi135.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Windows.miqm2zdky9.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Xml.Linq.kb1nxzlm5n.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Xml.ReaderWriter.lh591p4j90.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Xml.Serialization.19nryop2r6.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Xml.XDocument.rapcfuwmak.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Xml.XPath.XDocument.t5m2bd4gar.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Xml.XPath.fxr9ak418t.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Xml.XmlDocument.ho26kquu1t.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Xml.XmlSerializer.j2ogvb6zbf.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.Xml.yftyh9j4wb.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/System.5607by42il.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/WindowsBase.8ynkyr90in.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/mscorlib.mqimj3ihjr.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/netstandard.6sdf5q6gin.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/Json.lus6dbp7c4.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/LazyLibrary.fue31lk0ue.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/ResourceLibrary.a7hom9ofwg.dll TestOutput -> fetching http://127.0.0.1:64002/_framework/WasmBasicTestApp.cjo1a5uceu.dll TestOutput -> fetching http://127.0.0.1:64002/Vfs1.txt TestOutput -> fetching http://127.0.0.1:64002/subdir/Vfs2.txt TestOutput -> fetching http://127.0.0.1:64002/subdir/subsubdir/Vfs3.txt TestOutput -> fetching http://127.0.0.1:64002/_framework/icudt_EFIGS.xyuimhy3ww.dat TestOutput -> fetching http://127.0.0.1:64002/_framework/Json.zo1a1znj35.pdb TestOutput -> fetching http://127.0.0.1:64002/_framework/ResourceLibrary.unhpjt517h.pdb TestOutput -> fetching http://127.0.0.1:64002/_framework/LazyLibrary.ohiazo94k9.pdb TestOutput -> fetching http://127.0.0.1:64002/_framework/WasmBasicTestApp.r4el1s68fl.pdb TestOutput -> download finished TestOutput -> fetching http://127.0.0.1:64002/_framework/dotnet.native.fms7rkw8g5.wasm Stack Trace: C:\Users\user\repros\runtime2\src\mono\wasm\Wasm.Build.Tests\Templates\WasmTemplateTestsBase.cs(433,0): at Wasm.Build.Tests.WasmTemplateTestsBase.BrowserRun(ToolCommand cmd, String runArgs, RunOptions runOptions) --- End of stack trace from previous location --- C:\Users\user\repros\runtime2\src\mono\wasm\Wasm.Build.Tests\Templates\WasmTemplateTestsBase.cs(435,0): at Wasm.Build.Tests.WasmTemplateTestsBase.BrowserRun(ToolCommand cmd, String runArgs, RunOptions runOptions) at System.Runtime.CompilerServices.AsyncHelpers.RuntimeAsyncTask`1.DispatchContinuations() --- End of stack trace from previous location --- C:\Users\user\repros\runtime2\src\mono\wasm\Wasm.Build.Tests\Templates\WasmTemplateTestsBase.cs(389,0): at Wasm.Build.Tests.WasmTemplateTestsBase.BrowserRunTest(String runArgs, String workingDirectory, RunOptions runOptions) at System.Runtime.CompilerServices.AsyncHelpers.RuntimeAsyncTask`1.DispatchContinuations() --- End of stack trace from previous location ---

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions