Skip to content

Commit 1ddbd1b

Browse files
authored
Merge branch 'main' into main
2 parents 525ea0d + 83aec7b commit 1ddbd1b

File tree

39 files changed

+730
-368
lines changed

39 files changed

+730
-368
lines changed

.buildkite/common.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -180,16 +180,7 @@ def random_str(k: int):
180180

181181
def ab_revision_build(revision):
182182
"""Generate steps for building an A/B-test revision"""
183-
# Copied from framework/ab_test. Double dollar signs needed for Buildkite (otherwise it will try to interpolate itself)
184-
return [
185-
f"commitish={revision}",
186-
f"if ! git cat-file -t $$commitish; then commitish=origin/{revision}; fi",
187-
"branch_name=tmp-$$commitish",
188-
"git branch $$branch_name $$commitish",
189-
f"git clone -b $$branch_name . build/{revision}",
190-
f"cd build/{revision} && ./tools/devtool -y build --release && cd -",
191-
"git branch -D $$branch_name",
192-
]
183+
return [f"./tools/devtool -y build --rev {revision} --release"]
193184

194185

195186
def shared_build():

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@
9898
pytest_opts = ""
9999
if REVISION_A:
100100
devtool_opts += " --ab"
101-
pytest_opts = f"{ab_opts} run {REVISION_A} {REVISION_B} --test {test_path}"
101+
pytest_opts = (
102+
f"{ab_opts} run build/{REVISION_A}/ build/{REVISION_B} --test {test_path}"
103+
)
102104
else:
103105
# Passing `-m ''` below instructs pytest to collect tests regardless of
104106
# their markers (e.g. it will collect both tests marked as nonci, and

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