Skip to content

QEMU ubuntu fix & update #946

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,6 @@ jobs:
uses: ./.github/workflows/reusable_qemu.yml
with:
short_run: false
os: "['ubuntu-22.04', 'ubuntu-24.04']"
# Beside the 2 LTS Ubuntu, we also test this on the latest Ubuntu - to be updated
# every 6 months, so we verify the latest version of packages (compilers, etc.).
os: "['ubuntu-22.04', 'ubuntu-24.04', 'ubuntu-24.10']"
6 changes: 4 additions & 2 deletions .github/workflows/reusable_qemu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ jobs:
ssh [email protected] -p 2222 -t "sudo chown -R testuser:users /home/testuser"

ssh [email protected] -p 2222 -t "bash /home/testuser/scripts/qemu/run-build.sh COVERAGE"
ssh [email protected] -p 2222 -t "sudo shutdown -h now"
# ssh may return non-zero error code on closing the connection in Ubuntu 22.04
ssh [email protected] -p 2222 -t "sudo shutdown -h now" || true

- name: Run tests in QEMU
run: |
Expand All @@ -143,7 +144,8 @@ jobs:

ssh [email protected] -p 2222 -t "export SHORT_RUN=${SHORT_RUN} OS_FULL_NAME=${{matrix.os}} && /home/testuser/scripts/qemu/run-tests.sh COVERAGE ${config_name}"
scp -r -P 2222 [email protected]:/home/testuser/coverage ./
ssh [email protected] -p 2222 -t "sudo shutdown -h now"
# ssh may return non-zero error code on closing the connection in Ubuntu 22.04
ssh [email protected] -p 2222 -t "sudo shutdown -h now" || true
done
ls -al ./coverage

Expand Down
Loading