Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Oct 30

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit f8127399732876749f4855fb35ac3b8693fc7463:

Merge branch 'zbyrne/gpuaccel-null-backend-fix' of https://github.com/ROCm/fio (2026-10-28 14:14:27 -0400)

are available in the Git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to 4b1bb1e0028b452a5bda33a1e934734be15c2bf4:

ci: wait for guest SSH readiness (2026-10-29 15:07:49 -0400)

----------------------------------------------------------------
copilot-swe-agent[bot] (1):
ci: wait for guest SSH readiness

 .github/actions/start-vm/action.yml | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

---

Diff of recent changes:

.github/actions/start-vm/action.yml +14 -6
index a09465ad..486e129a 100644
@@ -23,9 +23,6 @@ inputs:
 runs:
   using: "composite"
   steps:
-    - name: install wait-for-it
-      shell: bash
-      run: sudo apt update && sudo apt-get -qq install wait-for-it
     - name: Enable KVM group perms
       shell: bash
       run: |
@@ -47,11 +44,22 @@ runs:
           -nic user,model=virtio-net-pci,hostfwd=tcp::${{ inputs.ssh_fwd_port }}-:22 \
           ${{ inputs.options }} \
           &
-    - name: Wait for VM to boot
+    - name: Wait for SSH to become available
       shell: bash
       run: |
-        wait-for-it localhost:${{ inputs.ssh_fwd_port }} -t 15
-        sleep 3
+        for attempt in {1..60}; do
+          if ssh -q root@localhost -p ${{ inputs.ssh_fwd_port }} \
+              -o BatchMode=yes \
+              -o ConnectTimeout=2 \
+              -o StrictHostKeyChecking=no \
+              -o UserKnownHostsFile=/dev/null true
+          then
+            exit 0
+          fi
+          sleep 1
+        done
+        echo "Timed out waiting for SSH on localhost:${{ inputs.ssh_fwd_port }}" >&2
+        exit 1
     - name: Add guest host key to known_hosts
       shell: bash
       run: |