Skip to content

Commit 6a866ff

Browse files
aledbfclaude
andcommitted
exp: unmount what the pmem lab run left on the runner (not for merge)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent 5cd94c7 commit 6a866ff

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Runner umount
2+
3+
# EXPERIMENT, not for merge: a pmem lab run left a loop mount in the runner's work tree, which
4+
# every checkout since fails on. No checkout here: unmount it and remove the directory.
5+
on:
6+
push:
7+
branches: [exp/runner-umount]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
umount:
14+
runs-on: [self-hosted, linux, x64, kvm]
15+
timeout-minutes: 5
16+
steps:
17+
- name: Unmount what the pmem test left
18+
run: |
19+
set -eux
20+
findmnt -rno TARGET,SOURCE | grep /TestPageCache || true
21+
findmnt -rno TARGET | grep /TestPageCache | while read -r m; do sudo umount "$m"; done
22+
sudo losetup -a || true
23+
sudo rm -rf "$GITHUB_WORKSPACE/_output/lab/tmp"
24+
findmnt -rno TARGET | grep /TestPageCache && exit 1 || true

0 commit comments

Comments
 (0)