#
226ecf47 |
| 12-Apr-2025 |
Ruoqing He <heruoqing@iscas.ac.cn> |
build: Bump MSRV to 1.83.0
The dependency `bitfield-struct` 0.10.x of `igvm` 0.3.5 requires MSRV 1.83.0, bump to catch up.
Update image to 20250412-0 because MSRV in Dockerfile is updated.
Signed-
build: Bump MSRV to 1.83.0
The dependency `bitfield-struct` 0.10.x of `igvm` 0.3.5 requires MSRV 1.83.0, bump to catch up.
Update image to 20250412-0 because MSRV in Dockerfile is updated.
Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
show more ...
|
#
6768a13d |
| 20-Feb-2025 |
Ruoqing He <heruoqing@iscas.ac.cn> |
build: Bump MSRV to 1.82.0
We are having complains from Rust 1.86.0-beta.1 (f0cb41030 2025-02-17)' clippy, which suggests us to replace `repeat().take()` with `repeat_n()`. While `repeat_n()` is sta
build: Bump MSRV to 1.82.0
We are having complains from Rust 1.86.0-beta.1 (f0cb41030 2025-02-17)' clippy, which suggests us to replace `repeat().take()` with `repeat_n()`. While `repeat_n()` is stablized in Rust 1.82.0.
Update image to 20250307-2 because MSRV in Dockerfile is updated.
Signed-off-by: Rob Bradford <rbradford@rivosinc.com> Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
show more ...
|
#
5cb51154 |
| 26-Feb-2025 |
Ruoqing He <heruoqing@iscas.ac.cn> |
build: Fix spdk in linux/arm64 image
The reason `test_vfio_user` fails is as @likebreath pointed: our ARM host does not support SVE, while the nvme_tgt binary built from the container image requires
build: Fix spdk in linux/arm64 image
The reason `test_vfio_user` fails is as @likebreath pointed: our ARM host does not support SVE, while the nvme_tgt binary built from the container image requires it. As a result, we encountered a SIGILL when running the nvme_tgt binary. This also explains why this is not happening when the container is built on the same host itself.
And quote from @rbradford:
When a job is run on one of the workers it looks to see if there is a container locally matching the name as specified in the dev_cli.sh script - if there is then it uses it. Otherwise it will try and download it from the container registry - if that fails then it will built locally. For the x86-64 workers started dynamically it will never have a local version as they are a fresh VM. But on the ARM64 builder is a local container image cache.
This can lead to an issue where if the image is build with one version (a handcrafted datestamp) and then the Dockerfile is changed without changing the timestamp then an old version may be fetched from the cache or server. It is there for essential to always bump the datestamp (there is a number after the - that can be used for this.)
However there is also the added complexity that image that is build and uploaded to the container registry is not the same as the built locally and thus used for the initial testing of the Dockerfile change. This leads to the issue we have seen where different CPU compiler flags (from -march=native) from the QEMU cross build in the hosted GHA action and the local ARM64 build. Resulting in a binary in the remotely built container not working locally.
We end up specifying TARGET_ARCHITECTURE="armv8.2-a" for building spdk, and put built `python/spdk/` folder into `/usr/local/bin/spdk-nvme`.
Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
show more ...
|
#
655d5125 |
| 22-Feb-2025 |
Ruoqing He <heruoqing@iscas.ac.cn> |
build: Upgrade to 24.04 in Dockerfile
`arm64` build in ubuntu:22.04 errors out with `error processing package libc-bin`. This issue is a known issue between the binfmt (running different architectur
build: Upgrade to 24.04 in Dockerfile
`arm64` build in ubuntu:22.04 errors out with `error processing package libc-bin`. This issue is a known issue between the binfmt (running different architectures via QEMU) and the libc ldconfig binary running in container. We're "suddenly" having issues as ubuntu-latest (which is the OS version we run the GH action container with) was recently changed from 22.04 to 24.04 and hence why upgrading the container userspace from 22.04 to 24.04 solves the problem.
Removed deprecated package `python3-distutils`.
Update image name from `20250111-0` to `20250222-0`.
Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
show more ...
|
#
2fe7f54e |
| 11-Jan-2025 |
Rob Bradford <rbradford@rivosinc.com> |
build: Bump version number of Docker image
No change to the Dockerfile but I observed that the 20251022-0 image was not available in the repository.
Signed-off-by: Rob Bradford <rbradford@rivosinc.
build: Bump version number of Docker image
No change to the Dockerfile but I observed that the 20251022-0 image was not available in the repository.
Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
show more ...
|
#
34dc97f7 |
| 22-Oct-2024 |
Rob Bradford <rbradford@rivosinc.com> |
build: Bump dev container version
Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
|
#
9f028394 |
| 03-Jun-2024 |
Songqian Li <sionli@tencent.com> |
scripts: add code coverage script
Fixes: #6507
Signed-off-by: Songqian Li <sionli@tencent.com>
|
#
8b86c772 |
| 07-May-2024 |
Rob Bradford <rbradford@rivosinc.com> |
build: Bump MSRV to 1.77.0
The ability to control the rustc flags (required for adding new attributes to the allowed list of #[cfg(..)]) requires bumping the MSRV to 1.77.0
Signed-off-by: Rob Bradf
build: Bump MSRV to 1.77.0
The ability to control the rustc flags (required for adding new attributes to the allowed list of #[cfg(..)]) requires bumping the MSRV to 1.77.0
Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
show more ...
|
#
c4ad9b45 |
| 07-Apr-2024 |
Rob Bradford <rbradford@rivosinc.com> |
build: Use explicit date version number for dev container
This removes the requirement to ensure that we land PRs that update the Dockerfile (and the appropraite dev_cli.sh change) in a specific tim
build: Use explicit date version number for dev container
This removes the requirement to ensure that we land PRs that update the Dockerfile (and the appropraite dev_cli.sh change) in a specific time frame.
Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
show more ...
|
#
d485896e |
| 07-Apr-2024 |
Rob Bradford <rbradford@rivosinc.com> |
build: Bump Rust version from 1.74.0 to 1.74.1
Fixes: #6368
Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
|
#
084eb079 |
| 29-Feb-2024 |
Rob Bradford <rbradford@rivosinc.com> |
build: Bump MSRV to 1.74
This is required for the updated clap crate (see #6237)
Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
|
#
3f2ca537 |
| 28-Feb-2024 |
Alexandru Matei <alexandru.matei@uipath.com> |
scripts: Change features_build variable type to array
Because of double quotes the current value is passed as a single argument with a space in it to cargo. This commit changes it to an array so eac
scripts: Change features_build variable type to array
Because of double quotes the current value is passed as a single argument with a space in it to cargo. This commit changes it to an array so each element is passed as a different arguments.
Signed-off-by: Alexandru Matei <alexandru.matei@uipath.com>
show more ...
|
#
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>
|
#
4625f3ca |
| 29-Jan-2024 |
Ruslan Mstoi <ruslan.mstoi@intel.com> |
scripts: dev_cli: remove unused cargo variable
Variable cargo is unused, hence remove it.
Signed-off-by: Ruslan Mstoi <ruslan.mstoi@intel.com>
|
#
24f384d2 |
| 23-Oct-2023 |
Ravi kumar Veeramally <ravikumar.veeramally@intel.com> |
tests: Migrate docker container from ubuntu 20.04 to 22.04
The following tests have been temporarily disabled:
1. Live upgrade/migration test with ovs-dpdk (#5532); 2. Disk hotplug tests on windows
tests: Migrate docker container from ubuntu 20.04 to 22.04
The following tests have been temporarily disabled:
1. Live upgrade/migration test with ovs-dpdk (#5532); 2. Disk hotplug tests on windows guests (#6037);
This patch has been tested with PR #6048.
Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@intel.com> Signed-off-by: Michael Zhao <michael.zhao@arm.com> Tested-by: Bo Chen <chen.bo@intel.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>
|
#
4817578c |
| 08-Nov-2023 |
Rob Bradford <rbradford@rivosinc.com> |
build: Bump version used into container for clap crate
See: #5925
Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
|
#
99a25510 |
| 07-Nov-2023 |
Rob Bradford <rbradford@rivosinc.com> |
scripts: Propagate AUTH_DOWNLOAD_TOKEN into container
Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
|
#
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 ...
|
#
9d42f48f |
| 19-Oct-2023 |
Wei Liu <liuwe@microsoft.com> |
scripts: dev_cli.sh: respect preset RUSTFLAGS
Signed-off-by: Wei Liu <liuwe@microsoft.com>
|
#
7f47a030 |
| 10-Oct-2023 |
dom.song <dom.song@amperecomputing.com> |
tests: Update spdk code to support Ampere's new CPU
When performing integration testing on the Ampere One server, an error occurred when compiling spdk and not recognizing the CPU ID. The latest spd
tests: Update spdk code to support Ampere's new CPU
When performing integration testing on the Ampere One server, an error occurred when compiling spdk and not recognizing the CPU ID. The latest spdk already contains fixes.
Signed-off-by: dom.song <dom.song@amperecomputing.com>
show more ...
|
#
376b6769 |
| 04-Aug-2023 |
Anatol Belski <anbelski@linux.microsoft.com> |
Dockerfile: Build SPDK for skylake
As the container image can be used on both Intel and AMD, ensure the SPDK binaries are compatible. This implies -march=skylake passed to the underlaying toolchain.
Dockerfile: Build SPDK for skylake
As the container image can be used on both Intel and AMD, ensure the SPDK binaries are compatible. This implies -march=skylake passed to the underlaying toolchain.
Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
show more ...
|
#
70cfd1be |
| 03-Aug-2023 |
Ruslan Mstoi <ruslan.mstoi@intel.com> |
scripts: dev_cli: add possibly to use different container registry
Currently if container registry is inaccessible the image will be built locally and that takes time. This patch adds support to use
scripts: dev_cli: add possibly to use different container registry
Currently if container registry is inaccessible the image will be built locally and that takes time. This patch adds support to use mirror registry. To use a different registry CTR_IMAGE environment variable must be set. For example:
CTR_IMAGE="registry/cloud-hypervisor" scripts/dev_cli.sh
or
export CTR_IMAGE="registry/cloud-hypervisor" scripts/dev_cli.sh
Signed-off-by: Ruslan Mstoi <ruslan.mstoi@intel.com>
show more ...
|