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

Failing tests on armv7 #193

Closed
ayakael opened this issue Mar 18, 2022 · 6 comments
Closed

Failing tests on armv7 #193

ayakael opened this issue Mar 18, 2022 · 6 comments

Comments

@ayakael
Copy link
Contributor

ayakael commented Mar 18, 2022

Failing tests on armv7 platform. Central place to follow issues. Log:

Testing everything under /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1
Current platform is: linux, linux-arm, alpine, alpine-arm, alpine3.15.0_alpha20210804, alpine.3.15.0_alpha20210804, alpine.3.15.0_alpha20210804-arm         
apphost-framework-lookup                                    [PASS]
aspnet-same-runtime-version                                 [PASS]                                                                                                                      
aspnet-same-runtime-version-2x                              [SKIP]
aspnetpatch-21                                              [SKIP]                                       
assemblies-valid                                            [FAIL]                                                    
bash-completion                                             [SKIP]
bundled-libunwind                                           [PASS]                                                                                                  
cgroup-limit                                                [PASS]                                                                                                         
commit-ids-in-binaries                                      [PASS]
createdump-aspnet                                           [SKIP]
curl-certificate-store                                      [PASS]                      
debugging-sos-lldb-via-core                                 [SKIP]                           
debugging-sos-lldb-via-core-2x                              [SKIP]
distribution-packages                                       [PASS]
dotnet-info-commit-ids                                      [PASS]
equality-and-sort                                           [PASS]
extract-bundle-dir                                          [SKIP]
fdd-no-nuget                                                [PASS]                                                                                            
file-permissions                                            [PASS]
hardened-binaries                                           [FAIL]                                                                                                             
helloworld                                                  [PASS]
install-location                                            [PASS]                                                           
japanese-eras                                               [SKIP]                                           
liblttng-ust_sys-sdt.h                                      [SKIP]           
libuv-kestrel-sample-app-2x                                 [SKIP]                                                                                                  
linq                                                        [PASS]
lttng                                                       [SKIP]
man-pages                                                   [SKIP]
managed-symbols-available                                   [PASS]
no-source-files-in-nuget                                    [PASS]
omnisharp                                                   [SKIP]
openssl-alpn                                                [PASS]
openssl-libcurl                                             [PASS]
publish-ready-to-run                                        [FAIL]
publish-ready-to-run-linux                                  [FAIL]
release-version-sane                                        [PASS]
rest-client                                                 [SKIP]
restore-with-rid                                            [PASS]
sdks-are-available                                          [PASS]
strerrorr-linkage                                           [PASS]
system-libcurl                                              [PASS]
system-libunwind                                            [SKIP]
system-openssl                                              [PASS]
targeting-packs-bad-files                                   [PASS]
telemetry-is-off-by-default                                 [PASS]
template-test                                               [PASS]
tool-dev-certs                                              [PASS]
use-apphost-from-sdk                                        [PASS]
use-current-runtime                                         [PASS]
version-apis                                                [PASS]
workload                                                    [SKIP]
xunit-smoketest                                             [PASS]
Total: 52 Passed: 32 Failed: 

assemblies-valid:

# Standard Output:


Welcome to .NET 6.0!
---------------------
SDK Version: 6.0.103

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/assemblies-valid/assemblies-valid.csproj (in 5.4 sec).
  assemblies-valid -> /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/assemblies-valid/bin/Debug/net6.0/assemblies-valid.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:10.06

Test run for /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/assemblies-valid/bin/Debug/net6.0/assemblies-valid.dll (.NETCoreApp,Version=v6.0)
Microsoft (R) Test Execution Command Line Tool Version 17.0.0+68bd10d3aee862a9fbb0bac8b3d474bc323024f3
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
Searching for dotnet binaries in /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.AspNetCore.App/6.0.3/Microsoft.AspNetCore.Antiforgery.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.AspNetCore.App/6.0.3/Microsoft.AspNetCore.Authentication.Abstractions.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.AspNetCore.App/6.0.3/Microsoft.AspNetCore.Authentication.Cookies.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.AspNetCore.App/6.0.3/Microsoft.AspNetCore.Authentication.Core.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.AspNetCore.App/6.0.3/Microsoft.AspNetCore.Authentication.OAuth.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.AspNetCore.App/6.0.3/Microsoft.AspNetCore.Authentication.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.AspNetCore.App/6.0.3/Microsoft.AspNetCore.Authorization.Policy.dll hasMethods: True, hasAot: False, inReleaseMode: True
[...]
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Net.WebSockets.Client.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Net.WebSockets.dll hasMethods: True, hasAot: False, inReleaseMode: True
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Net.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Numerics.Vectors.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Numerics.dll: OK
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.ObjectModel.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Private.DataContractSerialization.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Private.Uri.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Private.Xml.Linq.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Private.Xml.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Reflection.DispatchProxy.dll hasMethods: True, hasAot: False, inReleaseMode: True
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Reflection.Emit.ILGeneration.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Reflection.Emit.Lightweight.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Reflection.Emit.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Reflection.Extensions.dll: OK
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Reflection.Metadata.dll hasMethods: True, hasAot: False, inReleaseMode: True
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Reflection.Primitives.dll: OK
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Reflection.TypeExtensions.dll hasMethods: True, hasAot: False, inReleaseMode: True
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Reflection.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Resources.Reader.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Resources.ResourceManager.dll: OK
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Resources.Writer.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.CompilerServices.Unsafe.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.CompilerServices.VisualC.dll hasMethods: True, hasAot: False, inReleaseMode: True
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.Extensions.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.Handles.dll: OK
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.InteropServices.RuntimeInformation.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.InteropServices.dll hasMethods: True, hasAot: False, inReleaseMode: True
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.Intrinsics.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.Loader.dll: OK
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.Numerics.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.Serialization.Formatters.dll hasMethods: True, hasAot: False, inReleaseMode: True
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.Serialization.Json.dll: OK
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.Serialization.Primitives.dll hasMethods: True, hasAot: False, inReleaseMode: True
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.Serialization.Xml.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.Serialization.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.dll: OK
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Security.AccessControl.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Security.Claims.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Security.Cryptography.Algorithms.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Security.Cryptography.Cng.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Security.Cryptography.Csp.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Security.Cryptography.Encoding.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Security.Cryptography.OpenSsl.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Security.Cryptography.Primitives.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Security.Cryptography.X509Certificates.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Security.Principal.Windows.dll hasMethods: True, hasAot: False, inReleaseMode: True
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Security.Principal.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Security.SecureString.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Security.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.ServiceModel.Web.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.ServiceProcess.dll: OK
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Text.Encoding.CodePages.dll hasMethods: True, hasAot: False, inReleaseMode: True
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Text.Encoding.Extensions.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Text.Encoding.dll: OK
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Text.Encodings.Web.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Text.Json.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Text.RegularExpressions.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Threading.Channels.dll hasMethods: True, hasAot: False, inReleaseMode: True
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Threading.Overlapped.dll: OK
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Threading.Tasks.Dataflow.dll hasMethods: True, hasAot: False, inReleaseMode: True
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Threading.Tasks.Extensions.dll: OK
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Threading.Tasks.Parallel.dll hasMethods: True, hasAot: False, inReleaseMode: True
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Threading.Tasks.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Threading.Thread.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Threading.ThreadPool.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Threading.Timer.dll: OK
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Threading.dll hasMethods: True, hasAot: False, inReleaseMode: True
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Transactions.Local.dll hasMethods: True, hasAot: False, inReleaseMode: True
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Transactions.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.ValueTuple.dll: OK
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Web.HttpUtility.dll hasMethods: True, hasAot: False, inReleaseMode: True
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Web.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Windows.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Xml.Linq.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Xml.ReaderWriter.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Xml.Serialization.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Xml.XDocument.dll: OK
error: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Xml.XPath.XDocument.dll hasMethods: True, hasAot: False, inReleaseMode: True
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Xml.XPath.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Xml.XmlDocument.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Xml.XmlSerializer.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.Xml.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/System.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/WindowsBase.dll: OK
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/shared/Microsoft.NETCore.App/6.0.3/netstandard.dll: OK
  Failed AssembliesValid.AssembliesValid.ValidateAssemblies [689 ms]
  Error Message:
   Assert.True() Failure
Expected: True
Actual:   False
  Stack Trace:
     at AssembliesValid.AssembliesValid.ValidateAssemblies() in /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/assemblies-valid/AssembliesValid.cs:line 117

Failed!  - Failed:     1, Passed:     0, Skipped:     0, Total:     1, Duration: < 1 ms - /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/assemblies-valid/bin/Debug/net6.0/assemblies-valid.dll (net6.0)
# Standard Error:


[xUnit.net 00:00:01.53]     AssembliesValid.AssembliesValid.ValidateAssemblies [FAIL]

hardened-binaries

# Standard Output:
Executing /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/hardened-binaries/test.sh with arguments 6.0.3 in working directory /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/hardened-binaries
.NET Core base directory: /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release
Exit Code: 1
# Standard Error:

publish-ready-to-run

# Standard Output:
Executing /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run/test.sh with arguments 6.0.3 in working directory /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run

Welcome to .NET 6.0!
---------------------
SDK Version: 6.0.103

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
The template "Console App" was created successfully.
Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run/publish-ready-to-run.csproj (in 3.92 sec).
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/sdk/6.0.103/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(1110,5): warning NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. [/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run/publish-ready-to-run.csproj]
  publish-ready-to-run -> /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run/bin/Debug/net6.0/alpine.3.15-arm/publish-ready-to-run.dll
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/sdk/6.0.103/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.CrossGen.targets(463,5): error MSB6003: The specified task executable "/home/buildozer/.nuget/packages/microsoft.netcore.app.crossgen2.linux-musl-arm/6.0.3/tools/crossgen2" could not be run. System.ComponentModel.Win32Exception (2): An error occurred trying to start process '/home/buildozer/.nuget/packages/microsoft.netcore.app.crossgen2.linux-musl-arm/6.0.3/tools/crossgen2' with working directory '/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run'. No such file or directory [/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run/publish-ready-to-run.csproj]
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/sdk/6.0.103/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.CrossGen.targets(463,5): error MSB6003:    at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) [/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run/publish-ready-to-run.csproj]
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/sdk/6.0.103/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.CrossGen.targets(463,5): error MSB6003:    at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) [/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run/publish-ready-to-run.csproj]
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/sdk/6.0.103/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.CrossGen.targets(463,5): error MSB6003:    at System.Diagnostics.Process.Start() [/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run/publish-ready-to-run.csproj]
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/sdk/6.0.103/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.CrossGen.targets(463,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run/publish-ready-to-run.csproj]
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/sdk/6.0.103/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.CrossGen.targets(463,5): error MSB6003:    at Microsoft.NET.Build.Tasks.RunReadyToRunCompiler.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run/publish-ready-to-run.csproj]
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/sdk/6.0.103/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.CrossGen.targets(463,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.Execute() [/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run/publish-ready-to-run.csproj]
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/sdk/6.0.103/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.CrossGen.targets(351,5): error NETSDK1096: Optimizing assemblies for performance failed. You can either exclude the failing assemblies from being optimized, or set the PublishReadyToRun property to false. [/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run/publish-ready-to-run.csproj]
Exit Code: 1
# Standard Error:
+ dotnet new console --no-restore
++ ../runtime-id
+ dotnet publish -r alpine.3.15-arm /p:PublishReadyToRun=true

publish-ready-to-run-linux

# Standard Output:
Executing /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run-linux/test.sh with arguments 6.0.3 in working directory /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run-linux

Welcome to .NET 6.0!
---------------------
SDK Version: 6.0.103

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
The template "Console App" was created successfully.
Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run-linux/publish-ready-to-run-linux.csproj (in 4.19 sec).
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/sdk/6.0.103/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(1110,5): warning NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used. [/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run-linux/publish-ready-to-run-linux.csproj]
  publish-ready-to-run-linux -> /builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run-linux/bin/Debug/net6.0/linux-musl-arm/publish-ready-to-run-linux.dll
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/sdk/6.0.103/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.CrossGen.targets(463,5): error MSB6003: The specified task executable "/home/buildozer/.nuget/packages/microsoft.netcore.app.crossgen2.linux-musl-arm/6.0.3/tools/crossgen2" could not be run. System.ComponentModel.Win32Exception (2): An error occurred trying to start process '/home/buildozer/.nuget/packages/microsoft.netcore.app.crossgen2.linux-musl-arm/6.0.3/tools/crossgen2' with working directory '/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run-linux'. No such file or directory [/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run-linux/publish-ready-to-run-linux.csproj]
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/sdk/6.0.103/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.CrossGen.targets(463,5): error MSB6003:    at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) [/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run-linux/publish-ready-to-run-linux.csproj]
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/sdk/6.0.103/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.CrossGen.targets(463,5): error MSB6003:    at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) [/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run-linux/publish-ready-to-run-linux.csproj]
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/sdk/6.0.103/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.CrossGen.targets(463,5): error MSB6003:    at System.Diagnostics.Process.Start() [/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run-linux/publish-ready-to-run-linux.csproj]
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/sdk/6.0.103/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.CrossGen.targets(463,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run-linux/publish-ready-to-run-linux.csproj]
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/sdk/6.0.103/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.CrossGen.targets(463,5): error MSB6003:    at Microsoft.NET.Build.Tasks.RunReadyToRunCompiler.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run-linux/publish-ready-to-run-linux.csproj]
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/sdk/6.0.103/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.CrossGen.targets(463,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.Execute() [/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run-linux/publish-ready-to-run-linux.csproj]
/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-bunny-11/release/sdk/6.0.103/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.CrossGen.targets(351,5): error NETSDK1096: Optimizing assemblies for performance failed. You can either exclude the failing assemblies from being optimized, or set the PublishReadyToRun property to false. [/builds/ayakael/aports/testing/dotnet6-build/src/dotnet-regular-tests-6207e217336d4f9c92add85b310c8a4b1ac0e6b1/publish-ready-to-run-linux/publish-ready-to-run-linux.csproj]
Exit Code: 1
# Standard Error:
+ dotnet new console --no-restore
++ ../runtime-id --portable
+ dotnet publish -r linux-musl-arm /p:PublishReadyToRun=true
@ayakael
Copy link
Contributor Author

ayakael commented Mar 18, 2022

publish-ready-to-run / publish-ready-to-run-linux:
Should be fixed with dotnet/runtime#66814

@ayakael
Copy link
Contributor Author

ayakael commented Mar 18, 2022

assemblies-valid:
hasAot fails, does armv7 lack Aot, like s390x, or is the test broken there?

@ayakael
Copy link
Contributor Author

ayakael commented Mar 18, 2022

hardened-binaries: Per # TODO handle more architectures can just x86-64, this might not support armv7 (it passes on aarch64). Thoughts?

@omajid
Copy link
Member

omajid commented Mar 18, 2022

hardened-binaries: Per # TODO handle more architectures can just x86-64, this might not support armv7 (it passes on aarch64). Thoughts?

This test uses file .. to look for things marked as ELF 64-bit [LM]SB (which it thinks covers all binaries) and then check those for hardening (RELRO, BIND_NOW). Do you know what file shows for armv7 binaries?

@ayakael
Copy link
Contributor Author

ayakael commented Mar 19, 2022

hardened-binaries: Per # TODO handle more architectures can just x86-64, this might not support armv7 (it passes on aarch64). Thoughts?

This test uses file .. to look for things marked as ELF 64-bit [LM]SB (which it thinks covers all binaries) and then check those for hardening (RELRO, BIND_NOW). Do you know what file shows for armv7 binaries?

There it is
dotnet: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-armhf.so.1, BuildID[sha1]=c153d480bd143ce0ac5163e38f9e0bd41e6cbf55, stripped

Indeed, looking for ELF 64-bit covers all 64-bit binaries. This is thus fixable by adjusting the grep.

@ayakael
Copy link
Contributor Author

ayakael commented Mar 19, 2022

hardened-binaries: Per # TODO handle more architectures can just x86-64, this might not support armv7 (it passes on aarch64). Thoughts?

This test uses file .. to look for things marked as ELF 64-bit [LM]SB (which it thinks covers all binaries) and then check those for hardening (RELRO, BIND_NOW). Do you know what file shows for armv7 binaries?

There it is dotnet: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-armhf.so.1, BuildID[sha1]=c153d480bd143ce0ac5163e38f9e0bd41e6cbf55, stripped

Indeed, looking for ELF 64-bit covers all 64-bit binaries. This is thus fixable by adjusting the grep.

I've pushed a fix for that, now greps for ELF [[:digit:]][[:digit:]]-bit [LM]SB. I've also pushed a fix for assemblies-valid by treating arm like s390x as it pertains to hasAot

@ayakael ayakael closed this as completed Mar 19, 2022
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

No branches or pull requests

2 participants