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 failure Interop/ICustomMarshaler/Primitives/ICustomMarshaler_TargetUnix/ICustomMarshaler_TargetUnix.sh #49621

Closed
VincentBu opened this issue Mar 15, 2021 · 5 comments · Fixed by #50679
Labels
arch-arm64 area-Interop-coreclr disabled-test The test is disabled in source code against the issue os-mac-os-x macOS aka OSX

Comments

@VincentBu
Copy link
Contributor

VincentBu commented Mar 15, 2021

Run: runtime 20210314.18

Failed test:

CoreCLR OSX arm64 Checked @ OSX.1100.ARM64.Open
 -Interop/ICustomMarshaler/Primitives/ICustomMarshaler_TargetUnix/ICustomMarshaler_TargetUnix.sh

Error message:

Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
 at System.SZArrayHelper.get_CountT
 at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable1 source, Boolean& found) in /_/src/libraries/System.Linq/src/System/Linq/First.cs:line 41
 at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source) in //src/libraries/System.Linq/src/System/Linq/First.cs:line 34
 at Xunit.Sdk.ReflectionAttributeInfo.<>c.<GetAttributeUsage>b__12_0(Type at) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Reflection\ReflectionAttributeInfo.cs:line 58
 at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory) in //src/libraries/System.Collections.Concurrent/src/System/Collections/Concurrent/ConcurrentDictionary.cs:line 1160
 at Xunit.Sdk.ReflectionAttributeInfo.GetAttributeUsage(Type attributeType) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Reflection\ReflectionAttributeInfo.cs:line 57
 at Xunit.Sdk.ReflectionAttributeInfo.GetCustomAttributes(Type type, String assemblyQualifiedAttributeTypeName) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Reflection\ReflectionAttributeInfo.cs:line 78
 at Xunit.Sdk.ReflectionTypeInfo.GetCustomAttributes(String assemblyQualifiedAttributeTypeName) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Reflection\ReflectionTypeInfo.cs:line 83
 at Xunit.Sdk.TestCollectionFactoryHelper.<>c.<GetTestCollectionDefinitions>b__0_0(ITypeInfo type) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\TestCollectionFactoryHelper.cs:line 24
 at System.Linq.Enumerable.SelectEnumerableIterator2.MoveNext() in /_/src/libraries/System.Linq/src/System/Linq/Select.cs:line 138
 at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext() in //src/libraries/System.Linq/src/System/Linq/Where.cs:line 117
 at System.Linq.Lookup2.Create[TSource](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) in /_/src/libraries/System.Linq/src/System/Linq/Lookup.cs:line 79
 at System.Linq.GroupedEnumerable3.GetEnumerator() in //src/libraries/System.Linq/src/System/Linq/Grouping.cs:line 252
 at Xunit.Sdk.TestCollectionFactoryHelper.GetTestCollectionDefinitions(IAssemblyInfo assemblyInfo, IMessageSink diagnosticMessageSink) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\TestCollectionFactoryHelper.cs:line 30
 at Xunit.Sdk.CollectionPerClassTestCollectionFactory..ctor(ITestAssembly testAssembly, IMessageSink diagnosticMessageSink) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\CollectionPerClassTestCollectionFactory.cs:line 27
 at Xunit.Sdk.ExtensibilityPointFactory.GetXunitTestCollectionFactory(IMessageSink diagnosticMessageSink, IAttributeInfo collectionBehaviorAttribute, ITestAssembly testAssembly) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\ExtensibilityPointFactory.cs:line 239
 at Xunit.Sdk.XunitTestFrameworkDiscoverer..ctor(IAssemblyInfo assemblyInfo, ISourceInformationProvider sourceProvider, IMessageSink diagnosticMessageSink, IXunitTestCollectionFactory collectionFactory) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\XunitTestFrameworkDiscoverer.cs:line 45
 at Xunit.Sdk.XunitTestFramework.CreateDiscoverer(IAssemblyInfo assemblyInfo) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\XunitTestFramework.cs:line 21
 at Xunit.Sdk.TestFramework.GetDiscoverer(IAssemblyInfo assemblyInfo) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\TestFramework.cs:line 71
 at Xunit.Sdk.TestFrameworkProxy.GetDiscoverer(IAssemblyInfo assembly) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\TestFrameworkProxy.cs:line 67
 at Xunit.Xunit2Discoverer..ctor(AppDomainSupport appDomainSupport, ISourceInformationProvider sourceInformationProvider, IAssemblyInfo assemblyInfo, String assemblyFileName, String xuni

Stack trace
   at Interop_ICustomMarshaler._Primitives_ICustomMaraler_TargetUnix_ICustomMaraler_TargetUnix_._Primitives_ICustomMarshaler_TargetUnix_ICustomMarshaler_TargetUnix_sh()


Runfo Tracking Issue: interop/icustommarshaler/primitives/icustommarshaler_targetunix/icustommarshaler_targetunix.sh

Build Definition Kind Run Name Console Core Dump Test Results Run Client
1072066 runtime PR 50364 CoreCLR Linux arm Checked @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440 console.log core dump runclient.py
1072066 runtime PR 50364 CoreCLR Linux arm Checked no_tiered_compilation @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440 console.log core dump runclient.py
1071508 runtime PR 50364 CoreCLR Linux arm Checked @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440 console.log core dump
1071508 runtime PR 50364 CoreCLR Linux arm Checked no_tiered_compilation @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440 console.log core dump runclient.py
1066426 runtime PR 50364 CoreCLR Linux arm Checked @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440 console.log core dump runclient.py
1066426 runtime PR 50364 CoreCLR Linux arm Checked no_tiered_compilation @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440 console.log core dump runclient.py
1065373 runtime PR 50364 CoreCLR Linux arm Checked no_tiered_compilation @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440 console.log core dump runclient.py
1041399 runtime Rolling CoreCLR OSX arm64 Checked @ OSX.1100.ARM64.Open console.log core dump runclient.py
1040912 runtime Rolling CoreCLR OSX arm64 Checked @ OSX.1100.ARM64.Open console.log core dump runclient.py
1040623 runtime Rolling CoreCLR OSX arm64 Checked @ OSX.1100.ARM64.Open console.log core dump runclient.py
1039918 runtime Rolling CoreCLR OSX arm64 Checked @ OSX.1100.ARM64.Open console.log core dump runclient.py
1039858 runtime PR 43706 CoreCLR Linux arm Checked @ (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-bfcd90a-20200121150440 console.log core dump
1039498 runtime Rolling CoreCLR OSX arm64 Checked @ OSX.1100.ARM64.Open console.log core dump runclient.py
1039390 runtime Rolling CoreCLR OSX arm64 Checked @ OSX.1100.ARM64.Open console.log core dump runclient.py
1039185 runtime Rolling CoreCLR OSX arm64 Checked @ OSX.1100.ARM64.Open console.log core dump runclient.py
1038913 runtime Rolling CoreCLR OSX arm64 Checked @ OSX.1100.ARM64.Open console.log core dump runclient.py
1038791 runtime Rolling CoreCLR OSX arm64 Checked @ OSX.1100.ARM64.Open console.log core dump runclient.py
1038678 runtime Rolling CoreCLR OSX arm64 Checked @ OSX.1100.ARM64.Open console.log core dump runclient.py
1038596 runtime Rolling CoreCLR OSX arm64 Checked @ OSX.1100.ARM64.Open console.log core dump runclient.py
1038421 runtime Rolling CoreCLR OSX arm64 Checked @ OSX.1100.ARM64.Open console.log core dump runclient.py
1038360 runtime Rolling CoreCLR OSX arm64 Checked @ OSX.1100.ARM64.Open console.log core dump runclient.py
1038311 runtime Rolling CoreCLR OSX arm64 Checked @ OSX.1100.ARM64.Open console.log core dump runclient.py
1038158 runtime Rolling CoreCLR OSX arm64 Checked @ OSX.1100.ARM64.Open console.log core dump runclient.py
1037986 runtime Rolling CoreCLR OSX arm64 Checked @ OSX.1100.ARM64.Open console.log core dump runclient.py
1037875 runtime Rolling CoreCLR OSX arm64 Checked @ OSX.1100.ARM64.Open console.log core dump runclient.py
1037848 runtime PR 49576 CoreCLR Linux x64 Checked no_tiered_compilation @ Ubuntu.1804.Amd64.Open console.log core dump runclient.py
1037848 runtime PR 49576 CoreCLR Linux arm64 Checked no_tiered_compilation @ (Ubuntu.1804.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-a45aeeb-20190620155855 console.log core dump
1037848 runtime PR 49576 CoreCLR OSX x64 Checked no_tiered_compilation @ OSX.1013.Amd64.Open console.log runclient.py
1037848 runtime PR 49576 CoreCLR OSX arm64 Checked no_tiered_compilation @ OSX.1100.ARM64.Open console.log core dump runclient.py
1037737 runtime Rolling CoreCLR OSX arm64 Checked @ OSX.1100.ARM64.Open console.log core dump runclient.py
1037623 runtime Rolling CoreCLR OSX arm64 Checked @ OSX.1100.ARM64.Open console.log core dump runclient.py

Build Result Summary

Day Hit Count Week Hit Count Month Hit Count
0 0 21
@dotnet-issue-labeler
Copy link

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

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Mar 15, 2021
@directhex
Copy link
Contributor

@ViktorHofer ViktorHofer added the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Mar 16, 2021
@ViktorHofer
Copy link
Member

cc @sdmaclea for the OSX arm64 failures.

@directhex directhex removed the untriaged New issue has not been triaged by the area owner label Mar 16, 2021
@safern safern added disabled-test The test is disabled in source code against the issue and removed blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' labels Mar 16, 2021
@VincentBu
Copy link
Contributor Author

Same test failed in runtime-coreclr gcstress-extra 20210320.1

Failed test:

CoreCLR Linux x64 Checked gcstress0xc_zapdisable_jitstress2 @ Ubuntu.1804.Amd64.Open
 -Interop/ICustomMarshaler/Primitives/ICustomMarshaler_TargetUnix/ICustomMarshaler_TargetUnix.sh

Error message:

/home/helixbot/work/A5FD08F7/w/B5130A32/e/Interop/ICustomMarshaler/Primitives/ICustomMarshaler_TargetUnix/ICustomMarshaler_TargetUnix.sh: line 382: 1978 Segmentation fault (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"

Return code: 1
Raw output file: /home/helixbot/work/A5FD08F7/w/B5130A32/e/Interop/ICustomMarshaler/Reports/Interop.ICustomMarshaler/Primitives/ICustomMarshaler_TargetUnix/ICustomMarshaler_TargetUnix.output.txt
Raw output:
BEGIN EXECUTION
/home/helixbot/work/A5FD08F7/p/corerun ICustomMarshaler_TargetUnix.dll ''
Discovering...
Gathering state for process 1978 corerun
Writing minidump with heap to file /home/helixbot/dotnetbuild/dumps/coredump.1978.dmp
Written 117395456 bytes (28661 pages) to core file
Dump successfully written
Expected: 100
Actual: 139
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/home/helixbot/work/A5FD08F7/p
> /home/helixbot/work/A5FD08F7/w/B5130A32/e/Interop/ICustomMarshaler/Primitives/ICustomMarshaler_TargetUnix/ICustomMarshaler_TargetUnix.sh
Expected: True
Actual: False

Stack trace
   at Interop_ICustomMarshaler._Primitives_ICustomMaraler_TargetUnix_ICustomMaraler_TargetUnix_._Primitives_ICustomMarshaler_TargetUnix_ICustomMarshaler_TargetUnix_sh()

@AaronRobinsonMSFT
Copy link
Member

AaronRobinsonMSFT commented Apr 3, 2021

This looks similar to the Windows issue which was recently fixed: #50404.

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Apr 3, 2021
@ghost ghost closed this as completed in #50679 Apr 3, 2021
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Apr 3, 2021
@ghost ghost locked as resolved and limited conversation to collaborators May 12, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm64 area-Interop-coreclr disabled-test The test is disabled in source code against the issue os-mac-os-x macOS aka OSX
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants