#
7d0aa1fd |
| 16-May-2023 |
Ruslan Mstoi <ruslan.mstoi@intel.com> |
scripts: dev_cli: Bump container version
Signed-off-by: Ruslan Mstoi <ruslan.mstoi@intel.com>
|
#
a7aecb5e |
| 30-Mar-2023 |
Omer Faruk Bayram <omer.faruk@sartura.hr> |
tests: refactor `test_api*` to support the D-Bus API and add a new test
Implemented a `TargetApi` enum to make the process of implementing tests for the D-Bus and HTTP API more convenient.
Refactor
tests: refactor `test_api*` to support the D-Bus API and add a new test
Implemented a `TargetApi` enum to make the process of implementing tests for the D-Bus and HTTP API more convenient.
Refactored `test_api_{create_boot, shutdown, pause_resume, delete}` tests with the `TargetApi` enum to also implement tests for the D-Bus API.
Added a new test named `test_api_dbus_and_http_interleaved` that uses both the HTTP and D-Bus API at the same time.
Modified integration test scripts to enable the `dbus_api` feature when compiling and start a dbus-session when integration tests are run.
Signed-off-by: Omer Faruk Bayram <omer.faruk@sartura.hr>
show more ...
|
#
b56da6ee |
| 10-Apr-2023 |
smit-gardhariya <gardhariya.smit@gmail.com> |
Export RUST_BACKTRACE when it is not set explicitly
Currently we are overwriting the RUST_BACKTRACE if set explicitly by user while running performance metrics tests using dev_cli.sh
This change wi
Export RUST_BACKTRACE when it is not set explicitly
Currently we are overwriting the RUST_BACKTRACE if set explicitly by user while running performance metrics tests using dev_cli.sh
This change will allow user to set the RUST_BACKTRACE while running performance metrics tests with dev_cli.sh which invokes run_metrics.sh to run the performance binary. We will set RUST_BACKTRACE to 1 if not set explicitly.
Signed-off-by: smit-gardhariya <gardhariya.smit@gmail.com>
show more ...
|
#
06a9c3b8 |
| 28-Mar-2023 |
Omer Faruk Bayram <omer.faruk@sartura.hr> |
scripts: dev_cli: mention the `--local` flag in the help string
Signed-off-by: Omer Faruk Bayram <omer.faruk@sartura.hr>
|
#
a062401b |
| 16-Mar-2023 |
Rob Bradford <rbradford@rivosinc.com> |
scripts: dev_cli: Bump container version
Unfortunately the build had a transient error and so needed to be restarted which generated a build with a different date tag.
Signed-off-by: Rob Bradford <
scripts: dev_cli: Bump container version
Unfortunately the build had a transient error and so needed to be restarted which generated a build with a different date tag.
Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
show more ...
|
#
ca96ff60 |
| 15-Mar-2023 |
Rob Bradford <rbradford@rivosinc.com> |
build: Migrate from DockerHub to ghcr
It is necessary to transition away from DockerHub as the small organisation plan in being EOLed.
Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
|
#
85962099 |
| 01-Mar-2023 |
Bo Chen <chen.bo@intel.com> |
build: Update development container and release action to Rust 1.67
This latest stable Rust toolchain can help reduce the final binary size around ~300k when comparing with building with Rust 1.62.
build: Update development container and release action to Rust 1.67
This latest stable Rust toolchain can help reduce the final binary size around ~300k when comparing with building with Rust 1.62. Specifically, the binary size now is 3.3M (previously 3.6M) with default feature, and 4.0M (previously 4.2M) with "kvm+mshv" feature (e.g. our release action build) .
Signed-off-by: Bo Chen <chen.bo@intel.com>
show more ...
|
#
2e94a86b |
| 16-Feb-2023 |
Ruslan Mstoi <ruslan.mstoi@intel.com> |
scripts: dev_cli.sh: print help if command unspecified
To improve user friendliness, print help text when no command is given.
Signed-off-by: Ruslan Mstoi <ruslan.mstoi@intel.com>
|
#
e436b382 |
| 26-Jan-2023 |
Muminul Islam <muislam@microsoft.com> |
scripts: check if /dev/{mshv,kvm} exists before test run
Right now integration test fails during the test run if /dev/mshv or /dev/kvm does not exist. We should not progress and exit early if not pr
scripts: check if /dev/{mshv,kvm} exists before test run
Right now integration test fails during the test run if /dev/mshv or /dev/kvm does not exist. We should not progress and exit early if not present.
Signed-off-by: Muminul Islam <muislam@microsoft.com>
show more ...
|
#
a4ef6e57 |
| 12-Jan-2023 |
Praveen K Paladugu <prapal@linux.microsoft.com> |
ci: install swtpm in Docker container
Add steps to build and install swtpm and its dependencies in ci docker container.
Signed-off-by: Praveen K Paladugu <prapal@linux.microsoft.com>
|
#
5034bea8 |
| 16-Jan-2023 |
Rob Bradford <robert.bradford@intel.com> |
Docker: Update Rust toolchain in dev container
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
|
#
ef1983ee |
| 30-Aug-2022 |
Bo Chen <chen.bo@intel.com> |
scripts: Add script to run rate limiter integration tests
Signed-off-by: Bo Chen <chen.bo@intel.com>
|
#
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 ...
|
#
5dfc49c9 |
| 04-Jul-2022 |
Rob Bradford <robert.bradford@intel.com> |
build: Update development container to Rust 1.62
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
|
#
3b106997 |
| 24-May-2022 |
Rob Bradford <robert.bradford@intel.com> |
scripts: Use correct date for container image
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
|
#
ffd1411e |
| 24-May-2022 |
Rob Bradford <robert.bradford@intel.com> |
build: Bump minimum Rust version to 1.60
Some dependencies (e.g. pnet 0.30.0) require it.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
|
#
88ed8524 |
| 19-Apr-2022 |
Vincent Batts <vbatts@hashbangbash.com> |
scripts: dev_cli.sh: add option to specify container runtime
For example:
```shell ./scripts/dev_cli.sh build --release --libc musl --runtime "sudo nerdctl" ```
works. And presumably podman as wel
scripts: dev_cli.sh: add option to specify container runtime
For example:
```shell ./scripts/dev_cli.sh build --release --libc musl --runtime "sudo nerdctl" ```
works. And presumably podman as well.
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
show more ...
|
#
044b57c9 |
| 04-Apr-2022 |
Bo Chen <chen.bo@intel.com> |
scripts: Bump container version and SPDK version for aarch64
In this way, CI jobs on both `x86_64` and `aarch64` will start to use the latest version of SPDK.
Signed-off-by: Bo Chen <chen.bo@intel.
scripts: Bump container version and SPDK version for aarch64
In this way, CI jobs on both `x86_64` and `aarch64` will start to use the latest version of SPDK.
Signed-off-by: Bo Chen <chen.bo@intel.com>
show more ...
|
#
fa748762 |
| 28-Mar-2022 |
Rob Bradford <robert.bradford@intel.com> |
scripts: Fix feature build for aarch64 and mshv builds
These were erroneously skipping features for the unit tests and the "build" target for dev_cli.sh
Signed-off-by: Rob Bradford <robert.bradford
scripts: Fix feature build for aarch64 and mshv builds
These were erroneously skipping features for the unit tests and the "build" target for dev_cli.sh
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
show more ...
|
#
6eb47bdb |
| 28-Mar-2022 |
Rob Bradford <robert.bradford@intel.com> |
scripts: Remove unused "cargo" testing script
These are never run by the CI and is inconsistent with the way we build test which is specified inside the .github workflows.
Signed-off-by: Rob Bradfo
scripts: Remove unused "cargo" testing script
These are never run by the CI and is inconsistent with the way we build test which is specified inside the .github workflows.
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
show more ...
|
#
7936bfe6 |
| 03-Mar-2022 |
Rob Bradford <robert.bradford@intel.com> |
Dockerfile, scripts: Update container Rust to latest stable
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
|
#
b0324f85 |
| 28-Feb-2022 |
Sebastien Boeuf <sebastien.boeuf@intel.com> |
scripts: Fix musl build on aarch64
Adding the missing TARGET_CC environment variable to get the build to complete correctly.
Fixes #3776
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
|
#
5343e09e |
| 25-Feb-2022 |
Fabiano Fidêncio <fabiano.fidencio@intel.com> |
scripts: dev_cli: Add `--features` option
Let's officially have a way to pass the features used to build cloud-hypervisor to the dev_cli.sh script.
This doesn't invalidate the previous commit, as w
scripts: dev_cli: Add `--features` option
Let's officially have a way to pass the features used to build cloud-hypervisor to the dev_cli.sh script.
This doesn't invalidate the previous commit, as we still don't what the features_build variable to be quoted, otherwise we face the following issue: ``` error: Found argument '--features tdx' which wasn't expected, or isn't valid in this context Did you mean --features?
USAGE: cargo build --all --features <FEATURES>... ```
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
show more ...
|
#
7dc9259c |
| 25-Feb-2022 |
Fabiano Fidêncio <fabiano.fidencio@intel.com> |
scripts: dev_cli: Don't quote $features_build
2805e7b1dc203ff4468e3743afe2fe77f444a0a8 quoted enclose variables to prevent globbing or incorrect splitting. However, by doing with with $features_bui
scripts: dev_cli: Don't quote $features_build
2805e7b1dc203ff4468e3743afe2fe77f444a0a8 quoted enclose variables to prevent globbing or incorrect splitting. However, by doing with with $features_build it broke the capability to call the script as: ``` $ ./scripts/dev_cli.sh build --release --libc musl -- --features tdx
```
Before 2805e7b1dc203ff4468e3743afe2fe77f444a0a8 it simply worked, after, the result is: ``` docker run --user 1000:1000 --workdir /cloud-hypervisor --rm --volume /dev/kvm --volume /home/ffidenci/go/src/github.com/cloud-hypervisor/cloud-hypervisor:/cloud-hypervisor --env RUSTFLAGS= cloudhypervisor/dev:20220223-0 cargo build --all '' --target-dir /cloud-hypervisor/build/cargo_target --features tdx --release --target x86_64-unknown-linux-musl error: Found argument '' which wasn't expected, or isn't valid in this context
USAGE: cargo build --all
For more information try --help ```
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@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 ...
|