From 6f15c2b920c41af786adeae447b5d144e64baa1d Mon Sep 17 00:00:00 2001 From: Parker Bibus Date: Tue, 16 Apr 2024 15:38:23 -0700 Subject: [PATCH] [PERF] Remove lttng-modules-dkms package at beginning of microbenchmark runs (#101142) Add removal of lttng-modules-dkms package as it is currently causing microbenchmarking runs to fail. --- eng/pipelines/coreclr/templates/run-performance-job.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eng/pipelines/coreclr/templates/run-performance-job.yml b/eng/pipelines/coreclr/templates/run-performance-job.yml index 65b1cb3b78443c..2b61558e2fc97f 100644 --- a/eng/pipelines/coreclr/templates/run-performance-job.yml +++ b/eng/pipelines/coreclr/templates/run-performance-job.yml @@ -93,6 +93,7 @@ jobs: echo "** Installing prerequistes **"; echo "** Waiting for dpkg to unlock (up to 2 minutes) **" && timeout 2m bash -c 'while sudo fuser /var/lib/dpkg/lock-frontend >/dev/null 2>&1; do if [ -z "$printed" ]; then echo "Waiting for dpkg lock to be released... Lock is held by: $(ps -o cmd= -p $(sudo fuser /var/lib/dpkg/lock-frontend))"; printed=1; fi; echo "Waiting 5 seconds to check again"; sleep 5; done;' && + sudo apt-get remove -y lttng-modules-dkms && sudo apt-get -y install python3-pip && python3 -m pip install --user -U pip && sudo apt-get -y install python3-venv && @@ -194,4 +195,4 @@ jobs: WorkItemDirectory: '$(WorkItemDirectory)' # WorkItemDirectory can not be empty, so we send it some docs to keep it happy CorrelationPayloadDirectory: '$(PayloadDirectory)' # it gets checked out to a folder with shorter path than WorkItemDirectory so we can avoid file name too long exceptions ProjectFile: ${{ parameters.projectFile }} - osGroup: ${{ parameters.osGroup }} \ No newline at end of file + osGroup: ${{ parameters.osGroup }}