From 1d79946ecb2ed408e122996a5a902e104abe30c1 Mon Sep 17 00:00:00 2001 From: Matan Lurey Date: Mon, 13 Jan 2025 15:44:40 -0800 Subject: [PATCH] Remove last two references to Cirrus CI. (#161530) Towards https://github.com/flutter/flutter/issues/161387. --- dev/devicelab/lib/framework/running_processes.dart | 5 ----- engine/src/flutter/testing/benchmark/bin/parse_and_send.dart | 2 -- 2 files changed, 7 deletions(-) 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',