Skip to content

Commit

Permalink
Add VBox HW metrics on failures
Browse files Browse the repository at this point in the history
  • Loading branch information
electrocucaracha committed Oct 8, 2024
1 parent 2418f39 commit dca6d45
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,10 @@ jobs:
}}
working-directory: ./samples/distributed
run: vagrant up registry
- name: Check HW resources
if: failure()
run: |
vm_stat
top -l 1 -n 0
VBoxManage list runningvms --long
cat ~/VirtualBox\ VMs/*/Logs/*.log
7 changes: 7 additions & 0 deletions .github/workflows/on-demand_aio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ jobs:
MEMORY: 12288
OS_DISTRO: ${{ matrix.distro }}
run: ./ci/check_aio.sh
- name: Check HW resources
if: failure()
run: |
vm_stat
top -l 1 -n 0
VBoxManage list runningvms --long
cat ~/VirtualBox\ VMs/*/Logs/*.log
check-aio-baremetal:
runs-on: ubuntu-22.04
name: Check All-in-One deployment on Ubuntu Jammy Virtual Environment
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/on-demand_noha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ jobs:
working-directory: ./samples/noha
run: vagrant up controller
- name: Check HW resources
if: always()
if: failure()
run: |
vm_stat
top -l 1 -n 0
VBoxManage list runningvms --long
cat ~/VirtualBox\ VMs/*/Logs/*.log
7 changes: 7 additions & 0 deletions .github/workflows/scheduled_aio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,10 @@ jobs:
MEMORY: 12288
OS_DISTRO: ${{ matrix.distro }}
run: ./ci/check_aio.sh
- name: Check HW resources
if: failure()
run: |
vm_stat
top -l 1 -n 0
VBoxManage list runningvms --long
cat ~/VirtualBox\ VMs/*/Logs/*.log

0 comments on commit dca6d45

Please sign in to comment.