summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuriy Taraday <yuriy.taraday@tweag.io>2023-06-24 12:12:06 +0200
committerGitHub <noreply@github.com>2023-06-24 12:12:06 +0200
commite6f60fd9e737dbc9d2845cd555c17df152a65bdc (patch)
tree53185098fe0f93a74b7db671f6f84a0302f29c97
parentfdd1376d4b43cf8da837e79eb2afd153b9c8bd8b (diff)
downloadnixpkgs-e6f60fd9e737dbc9d2845cd555c17df152a65bdc.tar
nixpkgs-e6f60fd9e737dbc9d2845cd555c17df152a65bdc.tar.gz
nixpkgs-e6f60fd9e737dbc9d2845cd555c17df152a65bdc.tar.bz2
nixpkgs-e6f60fd9e737dbc9d2845cd555c17df152a65bdc.tar.lz
nixpkgs-e6f60fd9e737dbc9d2845cd555c17df152a65bdc.tar.xz
nixpkgs-e6f60fd9e737dbc9d2845cd555c17df152a65bdc.tar.zst
nixpkgs-e6f60fd9e737dbc9d2845cd555c17df152a65bdc.zip
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 -----
-rw-r--r--pkgs/development/tools/continuous-integration/github-runner/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/tools/continuous-integration/github-runner/default.nix b/pkgs/development/tools/continuous-integration/github-runner/default.nix
index 6d7f12d3ef3..feacc4f3138 100644
--- a/pkgs/development/tools/continuous-integration/github-runner/default.nix
+++ b/pkgs/development/tools/continuous-integration/github-runner/default.nix
@@ -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"