History log of /cloud-hypervisor/scripts/test-util.sh (Results 1 – 25 of 29)
Revision Date Author Comments
# 2b057537 13-Jun-2025 Bo Chen <bchen@crusoe.ai>

ci: Update reference kernel to 'v6.12.8-20250613'

This bump also includes another release 'ch-release-v6.12.8-20250422'
that changed the naming convention of the released kernel binaries
[1]. As a r

ci: Update reference kernel to 'v6.12.8-20250613'

This bump also includes another release 'ch-release-v6.12.8-20250422'
that changed the naming convention of the released kernel binaries
[1]. As a result, few changes are made to our integration tests and test
scripts.

[1] https://github.com/cloud-hypervisor/linux/releases/tag/ch-release-v6.12.8-20250422

Signed-off-by: Bo Chen <bchen@crusoe.ai>

show more ...


# f8927894 15-Jan-2025 Rob Bradford <rbradford@rivosinc.com>

docs: Update documentation for new kernel configuration

Replace the use of a reference kernel configuration file from this
repository with the use of a defconfig from the linux fork.

Signed-off-by:

docs: Update documentation for new kernel configuration

Replace the use of a reference kernel configuration file from this
repository with the use of a defconfig from the linux fork.

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>

show more ...


# 2f9436bc 14-Jan-2025 Rob Bradford <rbradford@rivosinc.com>

build: Switch to named released kernel binary

For more control over updating the guest kernel use a fixed tag name
rather than fetching the latest.

Signed-off-by: Rob Bradford <rbradford@rivosinc.c

build: Switch to named released kernel binary

For more control over updating the guest kernel use a fixed tag name
rather than fetching the latest.

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>

show more ...


# fa686fdf 23-Nov-2024 Rob Bradford <rbradford@rivosinc.com>

tests: Bump OVMF version

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>


# 66da3b99 13-Dec-2024 Rob Bradford <rbradford@rivosinc.com>

scripts: Temporarily build kernel as part of CI

Updating the kernel to v6.12 has shown up a flaw in the workflow for our
binary kernel releases. The CI job that builds the binary kernel in the
cloud

scripts: Temporarily build kernel as part of CI

Updating the kernel to v6.12 has shown up a flaw in the workflow for our
binary kernel releases. The CI job that builds the binary kernel in the
cloud-hypervisor/linux repository fetches the config from the main
branch of the cloud-hypervisor/cloud-hypervisor repository. However the
CI job to update the kernel version to use is in the cloud-hypervisor
repository.

As a workaround - update the kernel config and version in the
cloud-hypervisor repository to point to v6.12 and use the ability to
build the kernel during the CI run. Once merged to main a new release
can be made in the linux respository which will build a binary asset
using the new config. After that release the CI jobs on the
cloud-hypervisor repository can changed back to using the binary kernel
assets.

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>

show more ...


# 6ddbd60d 13-Dec-2024 Rob Bradford <rbradford@rivosinc.com>

build: Update kernel to v6.12

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>


# 261bfac4 02-Dec-2024 Ruoqing He <heruoqing@iscas.ac.cn>

ci: Constrain FW_URL to x86_64 one

With 0.5.0 release of `rust-hypervisor-firmware`, `aarch64` binary were
added to assets, which causes the `FW_URL` to have multiple download url
separated by a whi

ci: Constrain FW_URL to x86_64 one

With 0.5.0 release of `rust-hypervisor-firmware`, `aarch64` binary were
added to assets, which causes the `FW_URL` to have multiple download url
separated by a white space, thus our integration tests would fail.

Constrain `FW_URL` to `hypervisor-fw` to resolve this.

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>

show more ...


# 906580ee 11-Nov-2024 Ruoqing He <heruoqing@iscas.ac.cn>

scripts: Add prepare_linux function

`prepare_linux` checks if a `--build-guest-kernel` option is present,
and build kernel from `cloud-hypervisor/linux.git`. Otherwise, it will
invoke `download_linu

scripts: Add prepare_linux function

`prepare_linux` checks if a `--build-guest-kernel` option is present,
and build kernel from `cloud-hypervisor/linux.git`. Otherwise, it will
invoke `download_linux` to use pre-built kernel.

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>

show more ...


# 19d36c76 02-Oct-2024 Rob Bradford <rbradford@rivosinc.com>

scripts: Only download kernel binaries if changed

Only download the kernel binaries from the github release if the remote
file is newer (avoids multiple copies accumulating in the download
directory

scripts: Only download kernel binaries if changed

Only download the kernel binaries from the github release if the remote
file is newer (avoids multiple copies accumulating in the download
directory.)

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>

show more ...


# a10e9e6c 08-Sep-2024 Rob Bradford <rbradford@rivosinc.com>

build: Use binary kernel artifacts

The Linux kernel fork repository for Cloud Hypervisor now produces
prebuilt x86-64 and aarch64 binaries. Speed up the CI by using those
binaries.

Signed-off-by: R

build: Use binary kernel artifacts

The Linux kernel fork repository for Cloud Hypervisor now produces
prebuilt x86-64 and aarch64 binaries. Speed up the CI by using those
binaries.

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>

show more ...


# d8cd403c 15-Feb-2024 Stefan Nuernberger <stefan.nuernberger@cyberus-technology.de>

arch: x86_64: integration test for bzImage boot

Signed-off-by: Stefan Nuernberger <stefan.nuernberger@cyberus-technology.de>


# 2b2d0065 29-Jan-2024 Ruslan Mstoi <ruslan.mstoi@intel.com>

scripts: fix shell scripts according to shellcheck errors

Unify coding style of shell scripts in accordance with
shellcheck errors.

Signed-off-by: Ruslan Mstoi <ruslan.mstoi@intel.com>


# 318caeb9 26-Jan-2024 Ruslan Mstoi <ruslan.mstoi@intel.com>

scripts: fix shell scripts format according to shfmt

Unify coding style of shell scripts in accordance with shfmt checks.

Signed-off-by: Ruslan Mstoi <ruslan.mstoi@intel.com>


# 76dbe660 18-Jan-2024 Thomas Barrett <tbarrett@crusoeenergy.com>

scripts: create download_ovmf helper function

Move the duplicated logic to download OVMF into a helper function.
Explicitly specify the OVMF_FW_TAG instead of downloading the latest
so that new OVMF

scripts: create download_ovmf helper function

Move the duplicated logic to download OVMF into a helper function.
Explicitly specify the OVMF_FW_TAG instead of downloading the latest
so that new OVMF versions can be easily tested.

Signed-off-by: Thomas Barrett <tbarrett@crusoeenergy.com>

show more ...


# 91fe48d5 15-Dec-2023 Philipp Schuster <philipp.schuster@cyberus-technology.de>

scripts: more compatible shebangs

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>


# 14907d07 08-Nov-2023 Wei Liu <liuwe@microsoft.com>

scripts: fix the check for GitHub authentication token

When the script is invoked via dev_cli.sh, it always gets AUTH_DOWNLOAD_TOKEN
from the environment. The original test always returns true.

Sig

scripts: fix the check for GitHub authentication token

When the script is invoked via dev_cli.sh, it always gets AUTH_DOWNLOAD_TOKEN
from the environment. The original test always returns true.

Signed-off-by: Wei Liu <liuwe@microsoft.com>

show more ...


# 5e1806ae 07-Nov-2023 Rob Bradford <rbradford@rivosinc.com>

scripts: Authenticate to GitHub if token present

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>


# 72e213eb 07-Nov-2023 Rob Bradford <rbradford@rivosinc.com>

scripts: Extract downloading hypervisor-fw to a function

This will reduce the number of locations that it will be necessary to
add authentication support.

Signed-off-by: Rob Bradford <rbradford@riv

scripts: Extract downloading hypervisor-fw to a function

This will reduce the number of locations that it will be necessary to
add authentication support.

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>

show more ...


# c152f9f6 08-Mar-2023 Bo Chen <chen.bo@intel.com>

mics: Update reference kernel to 6.2

Signed-off-by: Bo Chen <chen.bo@intel.com>


# d5ce8556 18-Jan-2023 Rob Bradford <robert.bradford@intel.com>

misc: Update reference kernel to 6.1.6

Signed-off-by: Rob Bradford <robert.bradford@intel.com>


# 6c365617 04-Jul-2022 Rob Bradford <robert.bradford@intel.com>

Revert "scripts, README.md: Bump reference kernel to 5.18.8"

This reverts commit 1999ab5707573b36bc7c22a7a0102493b40e406f.

See: #4273

Signed-off-by: Rob Bradford <robert.bradford@intel.com>


# 1999ab57 30-Jun-2022 Rob Bradford <robert.bradford@intel.com>

scripts, README.md: Bump reference kernel to 5.18.8

This marginally reduced the number of patches in the fork.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>


# 26351a81 26-Mar-2022 Henry Wang <Henry.Wang@arm.com>

scripts: Use the same linux kernel build function everywhere

This commit unifies the custom linux kernel build in x86, Arm, and
performance metrics to the same function. Therefore, when bumping
the

scripts: Use the same linux kernel build function everywhere

This commit unifies the custom linux kernel build in x86, Arm, and
performance metrics to the same function. Therefore, when bumping
the kernel version, we can make sure we only need to make the change
in one place.

Signed-off-by: Henry Wang <Henry.Wang@arm.com>

show more ...


# 4335e5f8 18-Mar-2022 Henry Wang <Henry.Wang@arm.com>

scripts: aarch64: Build fio from source for performance metrics

On Arm64, the fio binary that comes from ubuntu distribution cannot
support io_uring, which is a required engine for the block
perform

scripts: aarch64: Build fio from source for performance metrics

On Arm64, the fio binary that comes from ubuntu distribution cannot
support io_uring, which is a required engine for the block
performance tests in performance metrics. Therefore this commit
build the fio from a relatively new version, and replace the native
ubuntu fio with the newly build one.

Signed-off-by: Henry Wang <Henry.Wang@arm.com>

show more ...


# 1f077e78 07-Mar-2022 Rob Bradford <robert.bradford@intel.com>

scripts: Propagate "--test-filter" metrics test

Populate iff the the parameter is passed.

Following combinations tested:

scripts/dev_cli.sh tests --metrics -- --test-filter boot_time
scripts/dev_c

scripts: Propagate "--test-filter" metrics test

Populate iff the the parameter is passed.

Following combinations tested:

scripts/dev_cli.sh tests --metrics -- --test-filter boot_time
scripts/dev_cli.sh tests --metrics -- --test-filter boot_time -- --report-file /root/workloads/metrics.json
scripts/dev_cli.sh tests --metrics
scripts/dev_cli.sh tests --metrics -- -- --report-file /root/workloads/metrics.json

Fixes: #3787

Signed-off-by: Rob Bradford <robert.bradford@intel.com>

show more ...


12