diff --git a/dev/devicelab/lib/framework/running_processes.dart b/dev/devicelab/lib/framework/running_processes.dart index f7882d2ed5..6a6f37ef29 100644 --- a/dev/devicelab/lib/framework/running_processes.dart +++ b/dev/devicelab/lib/framework/running_processes.dart @@ -145,11 +145,6 @@ Future> posixRunningProcesses( String? processName, ProcessManager processManager, ) async { - // Cirrus is missing this in Linux for some reason. - if (!processManager.canRun('ps')) { - print('Cannot list processes on this system: "ps" not available.'); - return {}; - } final ProcessResult result = await processManager.run([ 'ps', '-eo', diff --git a/engine/src/flutter/testing/benchmark/bin/parse_and_send.dart b/engine/src/flutter/testing/benchmark/bin/parse_and_send.dart index 92b5674558..e81a4bda9c 100644 --- a/engine/src/flutter/testing/benchmark/bin/parse_and_send.dart +++ b/engine/src/flutter/testing/benchmark/bin/parse_and_send.dart @@ -15,8 +15,6 @@ Future runGit(List args, {String? processWorkingDir}) asy Future> getGitLog() async { final String gitRoot = p.absolute('../..'); - // Somehow gitDir.currentBranch() doesn't work in Cirrus with "fatal: 'HEAD' - - // not a valid ref". Therefore, we use "git log" to get the revision manually. final ProcessResult logResult = await runGit([ 'log', '--pretty=format:%H %ct',