This is an automated email from the ASF dual-hosted git repository.

weizhou pushed a commit to branch 4.20
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.20 by this push:
     new a839e25d559 Fix OOB test failures in ci.yml github actions (#11887)
a839e25d559 is described below

commit a839e25d55960c60889c1a580c8370a8519ee1e9
Author: Vishesh <[email protected]>
AuthorDate: Wed Oct 22 18:20:23 2025 +0530

    Fix OOB test failures in ci.yml github actions (#11887)
---
 .github/workflows/ci.yml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 007abcdc637..1c64df86cba 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -234,6 +234,24 @@ jobs:
           sudo apt-get update
           sudo apt-get install -y git uuid-runtime genisoimage netcat-openbsd 
ipmitool build-essential libgcrypt20 libgpg-error-dev libgpg-error0 
libopenipmi0 ipmitool libpython3-dev libssl-dev libffi-dev python3-openssl 
python3-dev python3-setuptools
 
+      - name: Setup IPMI Tool for CloudStack
+        run: |
+          # Create cloudstack-common directory if it doesn't exist
+          sudo mkdir -p /usr/share/cloudstack-common
+
+          # Copy ipmitool to cloudstack-common directory if it doesn't exist
+          if [ ! -f /usr/share/cloudstack-common/ipmitool ]; then
+            sudo cp /usr/bin/ipmitool /usr/share/cloudstack-common/ipmitool
+            sudo chmod 755 /usr/share/cloudstack-common/ipmitool
+          fi
+
+          # Create ipmitool-C3 wrapper script
+          sudo tee /usr/bin/ipmitool > /dev/null << 'EOF'
+          #!/bin/bash
+          /usr/share/cloudstack-common/ipmitool -C3 $@
+          EOF
+          sudo chmod 755 /usr/bin/ipmitool
+
       - name: Install Python dependencies
         run: |
           python3 -m pip install --user --upgrade urllib3 lxml paramiko nose 
texttable ipmisim pyopenssl pycryptodome mock flask netaddr pylint pycodestyle 
six astroid pynose

Reply via email to