Skip to content

Commit

Permalink
fix: update CI job to address /var/lib/dpkg/lock-frontend issue and k…
Browse files Browse the repository at this point in the history
…ill any process holding the lock
  • Loading branch information
viniciusdc committed Mar 7, 2024
1 parent 8d5c6d3 commit 24e012a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/kvm-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
jobs:
test-kvm:
name: KVM Test
# Disable ci-run untill addressing apt-get lock issue
runs-on: "cirun-runner--${{ github.run_id }}"
# runs-on: "ubuntu-latest"
# Disable ci-run untill addressing /var/lib/dpkg/lock-frontend issue
# runs-on: "cirun-runner--${{ github.run_id }}"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -42,6 +42,10 @@
- name: Check hosts
run: |
cat /etc/hosts
- name: Kill any process that helds the lock
run: |
sudo lsof /var/lib/dpkg/lock-frontend
sudo kill -9 $(sudo lsof /var/lib/dpkg/lock-frontend | awk '{print $2}')
- name: Extract Network Information
run: |
Expand Down

0 comments on commit 24e012a

Please sign in to comment.