Skip to content

Commit b6c2b77

Browse files
authored
Merge branch 'main' into fair_devices_2
2 parents 90bd921 + 14cf3f9 commit b6c2b77

33 files changed

+135
-119
lines changed

.buildkite/pipeline_cpu_template.py

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,18 @@ def group_snapshot_restore(test_step):
8888
groups = []
8989

9090
groups.append(
91-
group(
92-
label=test_step["snapshot"][BkStep.LABEL],
93-
command=test_step["snapshot"][BkStep.COMMAND],
94-
instances=test_step["instances"],
95-
platforms=DEFAULT_PLATFORMS,
96-
timeout=test_step["snapshot"][BkStep.TIMEOUT],
97-
artifacts=test_step["snapshot"][BkStep.ARTIFACTS],
98-
)
91+
{
92+
"key": "snapshot",
93+
**group(
94+
label=test_step["snapshot"][BkStep.LABEL],
95+
command=test_step["snapshot"][BkStep.COMMAND],
96+
instances=test_step["instances"],
97+
platforms=DEFAULT_PLATFORMS,
98+
timeout=test_step["snapshot"][BkStep.TIMEOUT],
99+
artifacts=test_step["snapshot"][BkStep.ARTIFACTS],
100+
),
101+
}
99102
)
100-
groups.append("wait")
101103
snapshot_restore_combinations = []
102104
for dp in DEFAULT_PLATFORMS:
103105
for src_instance in test_step["instances"]:
@@ -137,7 +139,9 @@ def group_snapshot_restore(test_step):
137139
}
138140
)
139141

140-
groups.append({"group": "📸 restores snapshots", "steps": steps})
142+
groups.append(
143+
{"group": "📸 restores snapshots", "steps": steps, "depends_on": "snapshot"}
144+
)
141145
return groups
142146

143147

.buildkite/pipeline_perf.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,41 +18,41 @@
1818
perf_test = {
1919
"virtio-block-sync": {
2020
"label": "💿 Virtio Sync Block Performance",
21-
"tests": "integration_tests/performance/test_block_ab.py::test_block_performance -k 'not Async'",
21+
"tests": "integration_tests/performance/test_block.py::test_block_performance -k 'not Async'",
2222
"devtool_opts": "-c 1-10 -m 0",
2323
},
2424
"virtio-block-async": {
2525
"label": "💿 Virtio Async Block Performance",
26-
"tests": "integration_tests/performance/test_block_ab.py::test_block_performance -k Async",
26+
"tests": "integration_tests/performance/test_block.py::test_block_performance -k Async",
2727
"devtool_opts": "-c 1-10 -m 0",
2828
},
2929
"vhost-user-block": {
3030
"label": "💿 vhost-user Block Performance",
31-
"tests": "integration_tests/performance/test_block_ab.py::test_block_vhost_user_performance",
31+
"tests": "integration_tests/performance/test_block.py::test_block_vhost_user_performance",
3232
"devtool_opts": "-c 1-10 -m 0",
3333
"ab_opts": "--noise-threshold 0.1",
3434
},
3535
"network": {
3636
"label": "📠 Network Latency and Throughput",
37-
"tests": "integration_tests/performance/test_network_ab.py",
37+
"tests": "integration_tests/performance/test_network.py",
3838
"devtool_opts": "-c 1-10 -m 0",
3939
# Triggers if delta is > 0.01ms (10µs) or default relative threshold (5%)
4040
# only relevant for latency test, throughput test will always be magnitudes above this anyway
4141
"ab_opts": "--absolute-strength 0.010",
4242
},
4343
"snapshot-latency": {
4444
"label": "📸 Snapshot Latency",
45-
"tests": "integration_tests/performance/test_snapshot_ab.py::test_restore_latency integration_tests/performance/test_snapshot_ab.py::test_post_restore_latency",
45+
"tests": "integration_tests/performance/test_snapshot.py::test_restore_latency integration_tests/performance/test_snapshot.py::test_post_restore_latency integration_tests/performance/test_snapshot.py::test_snapshot_create_latency",
4646
"devtool_opts": "-c 1-12 -m 0",
4747
},
4848
"population-latency": {
4949
"label": "📸 Memory Population Latency",
50-
"tests": "integration_tests/performance/test_snapshot_ab.py::test_population_latency",
50+
"tests": "integration_tests/performance/test_snapshot.py::test_population_latency",
5151
"devtool_opts": "-c 1-12 -m 0",
5252
},
5353
"vsock-throughput": {
5454
"label": "🧦 Vsock Throughput",
55-
"tests": "integration_tests/performance/test_vsock_ab.py",
55+
"tests": "integration_tests/performance/test_vsock.py",
5656
"devtool_opts": "-c 1-10 -m 0",
5757
},
5858
"memory-overhead": {

Cargo.lock

Lines changed: 37 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ wget "https://s3.amazonaws.com/spec.ccfc.min/${latest_kernel_key}"
113113
latest_ubuntu_key=$(curl "http://spec.ccfc.min.s3.amazonaws.com/?prefix=firecracker-ci/$CI_VERSION/$ARCH/ubuntu-&list-type=2" \
114114
| grep -oP "(?<=<Key>)(firecracker-ci/$CI_VERSION/$ARCH/ubuntu-[0-9]+\.[0-9]+\.squashfs)(?=</Key>)" \
115115
| sort -V | tail -1)
116-
ubuntu_version=$(basename $latest_ubuntu_key .sqashfs | grep -oE '[0-9]+\.[0-9]+')
116+
ubuntu_version=$(basename $latest_ubuntu_key .squashfs | grep -oE '[0-9]+\.[0-9]+')
117117

118118
# Download a rootfs
119119
wget -O ubuntu-$ubuntu_version.squashfs.upstream "https://s3.amazonaws.com/spec.ccfc.min/$latest_ubuntu_key"

src/clippy-tracing/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ name = "clippy-tracing"
1010
bench = false
1111

1212
[dependencies]
13-
clap = { version = "4.5.39", features = ["derive"] }
13+
clap = { version = "4.5.40", features = ["derive"] }
1414
itertools = "0.14.0"
1515
proc-macro2 = { version = "1.0.95", features = ["span-locations"] }
1616
quote = "1.0.40"
17-
syn = { version = "2.0.101", features = ["full", "extra-traits", "visit", "visit-mut", "printing"] }
17+
syn = { version = "2.0.103", features = ["full", "extra-traits", "visit", "visit-mut", "printing"] }
1818
walkdir = "2.5.0"
1919

2020
[dev-dependencies]

src/cpu-template-helper/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ bench = false
1313
tracing = ["log-instrument", "vmm/tracing"]
1414

1515
[dependencies]
16-
clap = { version = "4.5.39", features = ["derive", "string"] }
16+
clap = { version = "4.5.40", features = ["derive", "string"] }
1717
displaydoc = "0.2.5"
18-
libc = "0.2.172"
18+
libc = "0.2.173"
1919
log-instrument = { path = "../log-instrument", optional = true }
2020
serde = { version = "1.0.219", features = ["derive"] }
2121
serde_json = "1.0.140"

src/firecracker/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ gdb = ["vmm/gdb"]
2222
[dependencies]
2323
displaydoc = "0.2.5"
2424
event-manager = "0.4.1"
25-
libc = "0.2.172"
25+
libc = "0.2.173"
2626
log-instrument = { path = "../log-instrument", optional = true }
2727
micro_http = { git = "https://github.com/firecracker-microvm/micro-http" }
2828
serde = { version = "1.0.219", features = ["derive"] }
@@ -41,7 +41,7 @@ serde_json = "1.0.140"
4141

4242
[dev-dependencies]
4343
cargo_toml = "0.22.1"
44-
libc = "0.2.172"
44+
libc = "0.2.173"
4545
regex = { version = "1.11.1", default-features = false, features = ["std", "unicode-perl"] }
4646

4747
# Dev-Dependencies for uffd examples

src/jailer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ bench = false
1515
tracing = ["log-instrument", "utils/tracing"]
1616

1717
[dependencies]
18-
libc = "0.2.172"
18+
libc = "0.2.173"
1919
log-instrument = { path = "../log-instrument", optional = true }
2020
regex = { version = "1.11.1", default-features = false, features = ["std"] }
2121
thiserror = "2.0.12"

0 commit comments

Comments
 (0)