History log of /cloud-hypervisor/scripts/run_integration_tests_sgx.sh (Results 1 – 22 of 22)
Revision Date Author Comments
# b1547c4c 04-Oct-2024 Rob Bradford <rbradford@rivosinc.com>

tests: Update version of Jammy image in use

This version is generated with the new script and adds kexec-tools.

Fixes: #6726

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


# 05ec6190 28-Feb-2024 Ravi kumar Veeramally <ravikumar.veeramally@intel.com>

scripts: Update Azure storage location to access images

Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@intel.com>


# 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>


# 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>


# 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 ...


# 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>


# a86edd30 19-Jan-2023 Rob Bradford <robert.bradford@intel.com>

tests: Add tpm2-tools to custom jammy image

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


# 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>


# d2442d39 18-Nov-2022 Rob Bradford <robert.bradford@intel.com>

tests: Update version of jammy image in use

This version has the cpuid binary installed which can be used for SGX
integration testing.

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


# 1a2185ea 18-Nov-2022 Rob Bradford <robert.bradford@intel.com>

tests: Modernise SGX testing

The jammy disk image has a new enough kernel to support SGX and if we
rely on just the CPUid information (which is sufficient) then we can use
the regular jammy test ima

tests: Modernise SGX testing

The jammy disk image has a new enough kernel to support SGX and if we
rely on just the CPUid information (which is sufficient) then we can use
the regular jammy test image for testing.

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

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 ...


# 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 ...


# ca4857b5 23-Sep-2021 Muminul Islam <muislam@microsoft.com>

scripts: check hypervisor before running the test

Add two more checks if the hypervisor value is correct.

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


# c2acea51 25-Jan-2021 Rob Bradford <robert.bradford@intel.com>

tests: Support filtering integration tests

e.g.

scripts/dev_cli.sh tests --integration -- --test-filter test_watchdog

This used to be supported by passing "$@" but was broken when multiple
hypervi

tests: Support filtering integration tests

e.g.

scripts/dev_cli.sh tests --integration -- --test-filter test_watchdog

This used to be supported by passing "$@" but was broken when multiple
hypervisor support was added.

Fixes: #2182

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

show more ...


# 27b5f8d7 18-Nov-2020 Muminul Islam <muislam@microsoft.com>

scripts: Add an option to accept hypervisor argument

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


# f73a3451 15-Oct-2020 Sebastien Boeuf <sebastien.boeuf@intel.com>

scripts: Remove all references to 'mmio' feature

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


# 56b0c855 08-Sep-2020 Sebastien Boeuf <sebastien.boeuf@intel.com>

ci: Introduce SGX integration testing

Extending the Cloud-Hypervisor CI to allow for testing SGX on a
dedicated machine where special image and kernels are ready.

Signed-off-by: Sebastien Boeuf <se

ci: Introduce SGX integration testing

Extending the Cloud-Hypervisor CI to allow for testing SGX on a
dedicated machine where special image and kernels are ready.

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

show more ...