Skip to content

Commit 735fbcb

Browse files
authored
Merge branch 'main' into fix-devtool-install
2 parents 41f1bea + 350d617 commit 735fbcb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+1336
-1131
lines changed

.buildkite/pipeline_cpu_template.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class BkStep(str, Enum):
2323
cpu_template_test = {
2424
"rdmsr": {
2525
BkStep.COMMAND: [
26-
"tools/devtool -y test --no-build -- -m nonci -n4 --dist worksteal integration_tests/functional/test_cpu_features.py -k 'test_cpu_rdmsr' "
26+
"tools/devtool -y test --no-build -- -m nonci -n4 --dist worksteal integration_tests/functional/test_cpu_features_x86_64.py -k 'test_cpu_rdmsr' "
2727
],
2828
BkStep.LABEL: "📖 rdmsr",
2929
"instances": ["c5n.metal", "m5n.metal", "m6a.metal", "m6i.metal"],
@@ -40,7 +40,7 @@ class BkStep(str, Enum):
4040
"cpuid_wrmsr": {
4141
"snapshot": {
4242
BkStep.COMMAND: [
43-
"tools/devtool -y test --no-build -- -m nonci -n4 --dist worksteal integration_tests/functional/test_cpu_features.py -k 'test_cpu_wrmsr_snapshot or test_cpu_cpuid_snapshot'",
43+
"tools/devtool -y test --no-build -- -m nonci -n4 --dist worksteal integration_tests/functional/test_cpu_features_x86_64.py -k 'test_cpu_wrmsr_snapshot or test_cpu_cpuid_snapshot'",
4444
"mkdir -pv tests/snapshot_artifacts_upload/{instance}_{os}_{kv}",
4545
"sudo mv tests/snapshot_artifacts/* tests/snapshot_artifacts_upload/{instance}_{os}_{kv}",
4646
],
@@ -52,7 +52,7 @@ class BkStep(str, Enum):
5252
BkStep.COMMAND: [
5353
"buildkite-agent artifact download tests/snapshot_artifacts_upload/{instance}_{os}_{kv}/**/* .",
5454
"mv tests/snapshot_artifacts_upload/{instance}_{os}_{kv} tests/snapshot_artifacts",
55-
"tools/devtool -y test --no-build -- -m nonci -n4 --dist worksteal integration_tests/functional/test_cpu_features.py -k 'test_cpu_wrmsr_restore or test_cpu_cpuid_restore'",
55+
"tools/devtool -y test --no-build -- -m nonci -n4 --dist worksteal integration_tests/functional/test_cpu_features_x86_64.py -k 'test_cpu_wrmsr_restore or test_cpu_cpuid_restore'",
5656
],
5757
BkStep.LABEL: "📸 load snapshot artifacts created on {instance} {snapshot_os} {snapshot_kv} to {restore_instance} {restore_os} {restore_kv}",
5858
BkStep.TIMEOUT: 30,

.buildkite/pipeline_cross.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@
2121
instances_x86_64 = ["c5n.metal", "m5n.metal", "m6i.metal", "m6a.metal"]
2222
instances_aarch64 = ["m7g.metal"]
2323
commands = [
24-
"./tools/devtool -y sh ./tools/create_snapshot_artifact/main.py",
25-
"mkdir -pv snapshots/{instance}_{kv}",
26-
"sudo chown -Rc $USER: snapshot_artifacts",
27-
"mv -v snapshot_artifacts/* snapshots/{instance}_{kv}",
24+
"./tools/devtool -y test --no-build -- -m nonci -n4 integration_tests/functional/test_snapshot_phase1.py",
25+
# punch holes in mem snapshot tiles and tar them so they are preserved in S3
26+
"find test_results/test_snapshot_phase1 -type f -name mem |xargs -P4 -t -n1 fallocate -d",
27+
"mv -v test_results/test_snapshot_phase1 snapshot_artifacts",
28+
"mkdir -pv snapshots",
29+
"tar cSvf snapshots/{instance}_{kv}.tar snapshot_artifacts",
2830
]
2931
pipeline.build_group(
3032
"📸 create snapshots",
@@ -80,10 +82,10 @@
8082
k_val = pytest_keyword_for_instance.get(dst_instance, "")
8183
step = {
8284
"command": [
83-
f"buildkite-agent artifact download snapshots/{src_instance}_{src_kv}/* .",
84-
f"mv -v snapshots/{src_instance}_{src_kv} snapshot_artifacts",
85+
f"buildkite-agent artifact download snapshots/{src_instance}_{src_kv}.tar .",
86+
f"tar xSvf snapshots/{src_instance}_{src_kv}.tar",
8587
*pipeline.devtool_test(
86-
pytest_opts=f"-m nonci {k_val} integration_tests/functional/test_snapshot_restore_cross_kernel.py",
88+
pytest_opts=f"-m nonci -n4 {k_val} integration_tests/functional/test_snapshot_restore_cross_kernel.py",
8789
),
8890
],
8991
"label": f"🎬 {src_instance} {src_kv} ➡️ {dst_instance} {dst_kv}",

.github/pull_request_template.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,20 @@ Certificate of Origin and signing off your commits, please check
1515

1616
## PR Checklist
1717

18+
- [ ] I have read and understand [CONTRIBUTING.md][3].
19+
- [ ] I have run `tools/devtool checkstyle` to verify that the PR passes the
20+
automated style checks.
21+
- [ ] I have described what is done in these changes, why they are needed, and
22+
how they are solving the problem in a clear and encompassing way.
23+
- [ ] I have updated any relevant documentation (both in code and in the docs)
24+
in the PR.
25+
- [ ] I have mentioned all user-facing changes in `CHANGELOG.md`.
1826
- [ ] If a specific issue led to this PR, this PR closes the issue.
19-
- [ ] The description of changes is clear and encompassing.
20-
- [ ] Any required documentation changes (code and docs) are included in this
21-
PR.
22-
- [ ] API changes follow the [Runbook for Firecracker API changes][2].
23-
- [ ] User-facing changes are mentioned in `CHANGELOG.md`.
24-
- [ ] All added/changed functionality is tested.
25-
- [ ] New `TODO`s link to an issue.
26-
- [ ] Commits meet
27-
[contribution quality standards](https://github.com/firecracker-microvm/firecracker/blob/main/CONTRIBUTING.md#contribution-quality-standards).
27+
- [ ] When making API changes, I have followed the
28+
[Runbook for Firecracker API changes][2].
29+
- [ ] I have tested all new and changed functionalities in unit tests and/or
30+
integration tests.
31+
- [ ] I have linked an issue to every new `TODO`.
2832

2933
______________________________________________________________________
3034

CHANGELOG.md

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,30 @@ and this project adheres to
1010

1111
### Added
1212

13+
### Changed
14+
15+
- [#4913](https://github.com/firecracker-microvm/firecracker/pull/4913): Removed
16+
unnecessary fields (`max_connections` and `max_pending_resets`) from the
17+
snapshot format, bumping the snapshot version to 5.0.0. Users need to
18+
regenerate snapshots.
19+
20+
### Deprecated
21+
22+
### Removed
23+
24+
### Fixed
25+
26+
## \[1.10.1\]
27+
28+
### Changed
29+
30+
- [#4907](https://github.com/firecracker-microvm/firecracker/pull/4907): Bumped
31+
the snapshot version to 4.0.0, so users need to regenerate snapshots.
32+
33+
## \[1.10.0\]
34+
35+
### Added
36+
1337
- [#4834](https://github.com/firecracker-microvm/firecracker/pull/4834): Add
1438
`VIRTIO_NET_F_RX_MRGBUF` support to the `virtio-net` device. When this feature
1539
is negotiated, guest `virtio-net` driver can perform more efficient memory
@@ -33,10 +57,6 @@ and this project adheres to
3357

3458
### Changed
3559

36-
- [#4875](https://github.com/firecracker-microvm/firecracker/pull/4875):
37-
Increase default queue size for the `virtio-net` device from 256 to 512. This
38-
decreases wait time between guest and vmm threads for network packets
39-
processing and allows for more throughput.
4060
- [#4844](https://github.com/firecracker-microvm/firecracker/pull/4844): Upgrade
4161
`virtio-net` device to use `readv` syscall to avoid unnecessary memory copies
4262
on RX path, increasing the RX performance.

0 commit comments

Comments
 (0)