github-runner: skip OOM test (#239398)

It's failing with access denied error because of sandbox.

  [xUnit.net 00:00:04.76]     GitHub.Runner.Common.Tests.ProcessInvokerL0.OomScoreAdjIsInherited [FAIL]
  [xUnit.net 00:00:04.77]       System.UnauthorizedAccessException : Access to the path '/proc/1042/oom_score_adj' is denied.
  [xUnit.net 00:00:04.77]       ---- System.IO.IOException : Permission denied
  [xUnit.net 00:00:04.77]       Stack Trace:
  [xUnit.net 00:00:04.77]            at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset)
  [xUnit.net 00:00:04.77]            at System.IO.Strategies.OSFileStreamStrategy.Write(ReadOnlySpan`1 buffer)
  [xUnit.net 00:00:04.77]            at System.IO.Strategies.BufferedFileStreamStrategy.FlushWrite()
  [xUnit.net 00:00:04.77]            at System.IO.Strategies.BufferedFileStreamStrategy.Dispose(Boolean disposing)
  [xUnit.net 00:00:04.77]            at System.IO.StreamWriter.CloseStreamFromDispose(Boolean disposing)
  [xUnit.net 00:00:04.77]            at System.IO.StreamWriter.Dispose(Boolean disposing)
  [xUnit.net 00:00:04.77]            at System.IO.File.WriteAllText(String path, String contents)
  [xUnit.net 00:00:04.77]         /build/src/src/Test/L0/ProcessInvokerL0.cs(486,0): at GitHub.Runner.Common.Tests.ProcessInvokerL0.OomScoreAdjIsInherited()
  [xUnit.net 00:00:04.77]         --- End of stack trace from previous location ---
  [xUnit.net 00:00:04.77]         ----- Inner Stack Trace -----
This commit is contained in:
Yuriy Taraday
2023-06-24 12:12:06 +02:00
committed by GitHub
parent fdd1376d4b
commit e6f60fd9e7
@@ -131,7 +131,10 @@ buildDotnetModule rec {
# Fully qualified name of disabled tests
disabledTests =
[ "GitHub.Runner.Common.Tests.Listener.SelfUpdaterL0.TestSelfUpdateAsync" ]
[
"GitHub.Runner.Common.Tests.Listener.SelfUpdaterL0.TestSelfUpdateAsync"
"GitHub.Runner.Common.Tests.ProcessInvokerL0.OomScoreAdjIsInherited"
]
++ map (x: "GitHub.Runner.Common.Tests.Listener.SelfUpdaterL0.TestSelfUpdateAsync_${x}") [
"Cancel_CloneHashTask_WhenNotNeeded"
"CloneHash_RuntimeAndExternals"