parameters:
name: Alpine3_13
osGroup: Linux
- dockerImage: mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.13-WithNode-20210720123506-ddfc481
+ dockerImage: mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.13-WithNode-20210728123842-ddfc481
artifactsTargetPath: bin/Linux-musl.x64.Release
+ requiresCapPtraceContainer: true
strategy:
matrix:
Build_Release:
{
information.OutputHelper = Output;
- // TODO: enable when the Alpine images (we are currently using 3.13) have the py3-lldb package installed.
// TODO: enable either when bpmd is fixed on Alpine or the bpmd tests are ifdef'ed out of the scripts for Alpine
- if (testLive && !SOSRunner.IsAlpine())
+ if (testLive)
{
// Live
using (SOSRunner runner = await SOSRunner.StartDebugger(information, SOSRunner.DebuggerAction.Live))
}
}
- // TODO: enable for 6.0 when PR https://github.com/dotnet/runtime/pull/56272 is merged/released
- if (testDump && !SOSRunner.IsAlpine())
+ if (testDump)
{
- // Create and test dumps on OSX only if the runtime is 6.0 or greater
- // TODO: reenable for 5.0 when the MacOS createdump fixes make it into a service release (https://github.com/dotnet/diagnostics/issues/1749)
- if (OS.Kind != OSKind.OSX || information.TestConfiguration.RuntimeFrameworkVersionMajor > 5)
+ // Create and test dumps on OSX or Alpine only if the runtime is 6.0 or greater
+ if (!(OS.Kind == OSKind.OSX || SOSRunner.IsAlpine()) || information.TestConfiguration.RuntimeFrameworkVersionMajor > 5)
{
// Generate a crash dump.
if (information.TestConfiguration.DebuggeeDumpOutputRootDir() != null)
# Verify that bpmd works
IFDEF:LIVE
!IFDEF:MAJOR_RUNTIME_VERSION_1
+# Issue: https://github.com/dotnet/diagnostics/issues/2459
+!IFDEF:ALPINE
IFDEF:DESKTOP
SOSCOMMAND:bpmd NestedExceptionTest.exe NestedExceptionTest.Program.Main
VERIFY:\s+<HEXVAL>\s+<HEXVAL>\s+NestedExceptionTest\.Program\.Main(\(.*\))?\s*
VERIFY:\[.*[\\|/]Debuggees[\\|/](dotnet.+[\\|/])?[Nn]ested[Ee]xception[Tt]est[\\|/][Nn]ested[Ee]xception[Tt]est\.cs @ 8\s*\]\s*
+ENDIF:ALPINE
ENDIF:MAJOR_RUNTIME_VERSION_1
ENDIF:LIVE
# Verify that bpmd works
IFDEF:LIVE
!IFDEF:MAJOR_RUNTIME_VERSION_1
+# Issue: https://github.com/dotnet/diagnostics/issues/2459
+!IFDEF:ALPINE
IFDEF:DESKTOP
SOSCOMMAND:bpmd SymbolTestApp.exe SymbolTestApp.Program.Main
SOSCOMMAND:ClrStack
VERIFY:\s+<HEXVAL>\s+<HEXVAL>\s+SymbolTestApp\.Program\.Foo4\(.*\)\s+\[(?i:.*[\\|/]SymbolTestApp\.cs) @ 34\]\s*
+ENDIF:ALPINE
ENDIF:MAJOR_RUNTIME_VERSION_1
ENDIF:LIVE
# Verify that bpmd works
IFDEF:LIVE
!IFDEF:MAJOR_RUNTIME_VERSION_1
+# Issue: https://github.com/dotnet/diagnostics/issues/2459
+!IFDEF:ALPINE
IFDEF:DESKTOP
SOSCOMMAND:bpmd SymbolTestApp.exe SymbolTestApp.Program.Main
SOSCOMMAND:ClrStack
VERIFY:\s+<HEXVAL>\s+<HEXVAL>\s+SymbolTestApp\.Program\.Foo4\(.*\)\s+\[(?i:.*[\\|/]SymbolTestApp\.cs) @ 34\]\s*
+ENDIF:ALPINE
ENDIF:MAJOR_RUNTIME_VERSION_1
ENDIF:LIVE