History log of /cloud-hypervisor/scripts/run_integration_tests_windows_x86_64.sh (Results 1 – 25 of 30)
Revision Date Author Comments
# 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>


# 8ba5682e 19-Oct-2023 Wei Liu <liuwe@microsoft.com>

scripts: propagate RUSTFLAGS and TARGET_CC to test scripts

There is no need to set them in the test scripts while the main script
already has them.

The consolidates how things are done.

Signed-off

scripts: propagate RUSTFLAGS and TARGET_CC to test scripts

There is no need to set them in the test scripts while the main script
already has them.

The consolidates how things are done.

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

show more ...


# c7e51e51 19-Oct-2023 Wei Liu <liuwe@microsoft.com>

scripts: pass BUILD_TARGET directly to test scripts

There is no need to reconstruct it from within the scripts since the
main script already constructed it once.

Drop the previously useless setting

scripts: pass BUILD_TARGET directly to test scripts

There is no need to reconstruct it from within the scripts since the
main script already constructed it once.

Drop the previously useless setting of BUILD_TARGET from various
scripts. The value was always overwritten at a later point.

No functional change intended.

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

show more ...


# 219716c3 04-Aug-2023 Bo Chen <chen.bo@intel.com>

scripts: Stop using "--no-default-features" for cargo build

Now feature "mshv" can be built together with "kvm". There is no need to
use "--no-default-features" any more.

Fixes: #5647

Signed-off-b

scripts: Stop using "--no-default-features" for cargo build

Now feature "mshv" can be built together with "kvm". There is no need to
use "--no-default-features" any more.

Fixes: #5647

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

show more ...


# f3870ae6 20-Apr-2023 Ruslan Mstoi <ruslan.mstoi@intel.com>

scripts: indent bash if statement

This commit indents unindented if statements in scripts

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


# 934b20a7 10-Feb-2023 Anatol Belski <anbelski@linux.microsoft.com>

ci: Switch to Windows Server 2022

The updated image is configured in a same way as the previously used
2019, it has same

- Credentials
- Services configured, like SAC, SSH, RDP
- Size

All the Wind

ci: Switch to Windows Server 2022

The updated image is configured in a same way as the previously used
2019, it has same

- Credentials
- Services configured, like SAC, SSH, RDP
- Size

All the Windows updates are applied so the state is current to the date.
Also, the latest stable version 0.1.229 of the VirtIO Windows drivers
is installed.

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>

show more ...


# c95b82d9 24-Nov-2022 Rob Bradford <robert.bradford@intel.com>

scripts: Build dual kvm/mshv binary (like release.yaml) for integration testing

This means we are testing the same binary as we use in our releases.

Fixes: #4915

Signed-off-by: Rob Bradford <rober

scripts: Build dual kvm/mshv binary (like release.yaml) for integration testing

This means we are testing the same binary as we use in our releases.

Fixes: #4915

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

show more ...


# d83fc7f6 24-Nov-2022 Rob Bradford <robert.bradford@intel.com>

scripts: Make --hypervisor=mshv only affect features used by tests

This uncouples it from the features used for building the binary under
test allowing it to use the default build features.

This ch

scripts: Make --hypervisor=mshv only affect features used by tests

This uncouples it from the features used for building the binary under
test allowing it to use the default build features.

This change also removes the feature control from the test scripts where
it was never used (e.g. run_integration_tests_sgx.sh)

This allows the combined binary to be used for all testing but allows
the disabling of tests known not to work under mshv.

Fixes: #4915

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

show more ...


# 8724ac1f 21-Nov-2022 Rob Bradford <robert.bradford@intel.com>

scripts: Remove stripping from testing scripts

The binary stripping is now done by the toolchain for release builds.

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


# 45fa8be9 28-Sep-2022 Smit Gardhariya <sgardhariya@microsoft.com>

scripts: Remove common feature flag for mshv tests

Commit b2d1dd65f39 ("build: Remove "fwdebug" and "common" feature
flags") removed support for common features flag. But some of the
scripts are sti

scripts: Remove common feature flag for mshv tests

Commit b2d1dd65f39 ("build: Remove "fwdebug" and "common" feature
flags") removed support for common features flag. But some of the
scripts are still using that parameter specifically test related to mshv
hypervisor. Thus fix those scripts by removing common feature flag.

Signed-off-by: Smit Gardhariya <sgardhariya@microsoft.com>

show more ...


# 944d0920 03-Aug-2022 Anatol Belski <ab@php.net>

ci: Initial Windows image integration

This enables the Windows test module. One basic test is enabled,
while all others are disabled yet for aarch64. Jenkins file is
extended with the corresponding

ci: Initial Windows image integration

This enables the Windows test module. One basic test is enabled,
while all others are disabled yet for aarch64. Jenkins file is
extended with the corresponding step for aarch64.

installAzureCli() is parametrized.

It seems that transferring a 30GB image would take >= 15 minutes. An
optimization here is having a gzip'ed image to 10GB which would unpack
in 3 minutes. Expect to be quicker than transferring an uncompressed
image while on another network.

Signed-off-by: Anatol Belski <ab@php.net>

show more ...


# 4552d07a 22-Feb-2022 Bo Chen <chen.bo@intel.com>

scripts: Support custom arguments to the test binary with dev_cli.sh

The dev container interface script (e.g. 'dev_cli.sh') now supports the
following arguments syntax for running tests:

`tests [--

scripts: Support custom arguments to the test binary with dev_cli.sh

The dev container interface script (e.g. 'dev_cli.sh') now supports the
following arguments syntax for running tests:

`tests [--unit|--cargo|--all] [--libc musl|gnu] [-- [<test scripts args>] [-- [<test binary args>]]] `

In this way, we can pass custom arguments to the test binary (either
"cargo test" or "performance-metrics") with our dev container script.
For example:

`$ ./dev_cli.sh tests --metrics -- -- --report-file /tmp/metrics.json --test-filter latency`
`$ ./dev_cli.sh tests --integration -- --test-filter "test_serial" -- --nocapture --test-threads=1`

Fixes: #3739

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

show more ...


# 779bc1a5 18-Jan-2022 Sebastien Boeuf <sebastien.boeuf@intel.com>

edk2: Rely on latest OVMF based on CloudHvX64 target

Update documentation and CI to rely on the new CLOUDHV.fd firmware built
from the newly introduced target CloudHvX64.

Signed-off-by: Sebastien B

edk2: Rely on latest OVMF based on CloudHvX64 target

Update documentation and CI to rely on the new CLOUDHV.fd firmware built
from the newly introduced target CloudHvX64.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>

show more ...


# 482e1ca4 17-Jan-2022 Sebastien Boeuf <sebastien.boeuf@intel.com>

scripts: Pin OVMF EDK2 version

By pinning the OVMF version, we will be able to update the EDK2 fork
with a new version without potentially breaking our Cloud Hypervisor CI.

Once the new version is

scripts: Pin OVMF EDK2 version

By pinning the OVMF version, we will be able to update the EDK2 fork
with a new version without potentially breaking our Cloud Hypervisor CI.

Once the new version is ready on the EDK2 fork, we'll be able to update
Cloud Hypervisor codebase, replacing the fixed version with the latest,
as well as replacing OVMF.fd with CLOUDHV.fd. This is because we'll
start building from the new target CloudHvX64.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>

show more ...


# 5b05e0cd 06-Jan-2022 Bo Chen <chen.bo@intel.com>

scripts: Remove use of "integration_tests" feature

Given integration tests don't have special annotations, all our
integration test scripts do not need to carry special flags when running
`cargo tes

scripts: Remove use of "integration_tests" feature

Given integration tests don't have special annotations, all our
integration test scripts do not need to carry special flags when running
`cargo test`. This commit also removed the "test::" prefix for
pattern-matching different set of integration tests.

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

show more ...


# eea2907d 06-Dec-2021 Rob Bradford <robert.bradford@intel.com>

build: Use OVMF binary released from edk2 repo

Fixes: #3415

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


# 9b0fe505 01-Dec-2021 Sebastien Boeuf <sebastien.boeuf@intel.com>

ci: Update the OVMF version the tests rely on

Bumping the OVMF binary version along with UEFI documentation to
reflect the latest set of patches on top of tianocore/edk2 'master'
branch, which can b

ci: Update the OVMF version the tests rely on

Bumping the OVMF binary version along with UEFI documentation to
reflect the latest set of patches on top of tianocore/edk2 'master'
branch, which can be found on the Cloud Hypervisor fork on 'ch' branch.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>

show more ...


# 0a00df2e 06-May-2021 Sebastien Boeuf <sebastien.boeuf@intel.com>

tests: Dynamically assign IPs for Windows integration tests

Relying on dnsmasq running on the host, the Windows guest are now
getting allocated with the expected IP addresses. This allows for
multip

tests: Dynamically assign IPs for Windows integration tests

Relying on dnsmasq running on the host, the Windows guest are now
getting allocated with the expected IP addresses. This allows for
multiple VMs, therefore multiple tests to run in parallel.

The end goal is to reduce the time spent running Windows integration
tests.

Fixes #1891

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>

show more ...


# 8739f6cc 08-Mar-2021 Muminul Islam <muislam@microsoft.com>

scripts: Fix windows test script for running on MSHV

In order to run Windows test on MSHV we need to build and test using
MSHV feature.

Signed-off-by: Muminul Islam <muislam@microsoft.com>


# 99baee8d 01-Mar-2021 Rob Bradford <robert.bradford@intel.com>

tests: Move Windows integration test to updated OVMF

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


# 29f92440 18-Feb-2021 Muminul Islam <muislam@microsoft.com>

scripts: Check if windows image is in the host

Currently script does not exit early if the image/firmware not present
in the host. We should not progress further if the images are not pre
downloaded

scripts: Check if windows image is in the host

Currently script does not exit early if the image/firmware not present
in the host. We should not progress further if the images are not pre
downloaded.

Signed-off-by: Muminul Islam <muislam@microsoft.com>

show more ...


# 282134a4 18-Feb-2021 Muminul Islam <muislam@microsoft.com>

scripts: Use variable for with windows image file

Signed-off-by: Muminul Islam <muislam@microsoft.com>


12