Skip to content

eu-readelf #5243

@ViktorHofer

Description

@ViktorHofer

I got the following test failure when running the VMR source-build tests locally:

[xUnit.net 00:00:00.38]     Microsoft.DotNet.SourceBuild.Tests.DebugTests.SourceBuiltSdkContainsNativeDebugSymbols [FAIL]
[xUnit.net 00:00:00.38]       System.ComponentModel.Win32Exception : An error occurred trying to start process 'eu-readelf' with working directory '/home/vihofer/git/dotnet/artifacts/bin/Microsoft.DotNet.SourceBuild.Tests/Release'. No such file or directory
[xUnit.net 00:00:00.38]       Stack Trace:
[xUnit.net 00:00:00.38]            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)
[xUnit.net 00:00:00.38]            at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
[xUnit.net 00:00:00.38]         /home/vihofer/git/dotnet/test/TestUtilities/ExecuteHelper.cs(69,0): at TestUtilities.ExecuteHelper.ExecuteProcess(String fileName, String args, ITestOutputHelper outputHelper, Boolean logOutput, Boolean excludeInfo, Action`1 configureCallback, Int32 millisecondTimeout)
[xUnit.net 00:00:00.38]         /home/vihofer/git/dotnet/test/TestUtilities/ExecuteHelper.cs(113,0): at TestUtilities.ExecuteHelper.ExecuteProcessValidateExitCode(String fileName, String args, ITestOutputHelper outputHelper, String additionalOutput)
[xUnit.net 00:00:00.38]         /home/vihofer/git/dotnet/test/Microsoft.DotNet.SourceBuild.Tests/DebugTests.cs(70,0): at Microsoft.DotNet.SourceBuild.Tests.DebugTests.ScanFile(String fileName)
[xUnit.net 00:00:00.38]         /home/vihofer/git/dotnet/test/Microsoft.DotNet.SourceBuild.Tests/DebugTests.cs(38,0): at Microsoft.DotNet.SourceBuild.Tests.DebugTests.SourceBuiltSdkContainsNativeDebugSymbols()
[xUnit.net 00:00:00.38]            at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
[xUnit.net 00:00:00.38]            at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
[xUnit.net 00:00:00.38]       Output:
[xUnit.net 00:00:00.38]         Executing: file /home/vihofer/git/dotnet/artifacts/obj/extracted-dotnet-sdk/dotnet
[xUnit.net 00:00:00.38]         Executing: eu-readelf -S /home/vihofer/git/dotnet/artifacts/obj/extracted-dotnet-sdk/dotnet

Command: ./prep-source-build.sh && ./build.sh --source-only && ./build.sh --test --source-only

Is the eu-readelf dependency expected and documented somewhere?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions