@mark1russell7/harness 0.16.4 → 0.16.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -2
- package/build/{cell-CXxqXp1q.d.ts → cell-FMlgjqVq.d.ts} +83 -4
- package/build/{image-D509StXX.js → image-YlflAajQ.js} +16 -4
- package/build/image-YlflAajQ.js.map +1 -0
- package/build/index.d.ts +186 -5
- package/build/index.js +439 -20
- package/build/index.js.map +1 -1
- package/build/schema.d.ts +1 -1
- package/build/schema.js +1 -1
- package/image/Dockerfile +1 -1
- package/image/lazyfs/Dockerfile +54 -0
- package/image/lazyfs/config.toml +16 -0
- package/image/lazyfs/start.mts +33 -0
- package/image/native/src/bin/memory.rs +460 -0
- package/package.json +12 -4
- package/build/image-D509StXX.js.map +0 -1
package/build/index.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as targetSourceOf, B as CLIENT_CAPABILITIES, C as programOf, D as subjectClient, E as sources, F as goVersions, H as isHopPlace, I as jarVersions, L as locksOf, M as unpinnedBases, N as LOCK_NAMES, O as subjectProblems, P as cargoVersions, R as npmVersions, S as planOf, T as shippedSource, U as latestEndOf, V as environmentProblems, W as requestFirst, _ as kafkaClientImage, a as SHIPPED_NAMES, b as nodeHttpImage, c as buildRecordOf, d as harnessImage, f as harnessVersion, g as inContext, h as imageProblems, i as SHIPPED_CLIENTS, j as unlockedManifests, k as targetImageOf, l as goHttpImage, m as imageOf, n as PINNED, o as amqpClientImage, p as hikariClientImage, r as REPOSITORY, s as basesOf, t as CLIENT_NAMES, u as grpcClientImage, v as mongoClientImage, w as routerImage, x as pgClientImage, y as nodeClientImage, z as versionsOf } from "./image-YlflAajQ.js";
|
|
2
2
|
import { quantity, valueIn } from "@mark1russell7/quantity";
|
|
3
3
|
import { median, medianInterval as medianInterval$1, quantile, quantileSorted } from "@mark1russell7/rigor-statistics";
|
|
4
4
|
import { rungVerdict } from "@mark1russell7/rigor-bench";
|
|
5
|
-
import { closedLoopPlan, measureLoad, schedule, scheduleHeld } from "@mark1russell7/rigor-chaos";
|
|
5
|
+
import { checkDiskFault, closedLoopPlan, measureLoad, schedule, scheduleHeld, stopTriggerOf } from "@mark1russell7/rigor-chaos";
|
|
6
6
|
import { setTimeout as setTimeout$1 } from "node:timers/promises";
|
|
7
7
|
import { createHash, randomBytes } from "node:crypto";
|
|
8
8
|
import { execFile } from "node:child_process";
|
|
9
9
|
import { mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
10
10
|
import { release, tmpdir } from "node:os";
|
|
11
|
-
import { join } from "node:path";
|
|
12
|
-
import { existsSync, readFileSync } from "node:fs";
|
|
11
|
+
import { join, relative, resolve } from "node:path";
|
|
12
|
+
import { existsSync, readFileSync, statSync } from "node:fs";
|
|
13
|
+
import { STOP_ENV, parseProgress, stopOrderOf } from "@mark1russell7/rigor-testkit/stop";
|
|
13
14
|
// src/load.ts
|
|
14
15
|
/**
|
|
15
16
|
* The measure and the verdict of an open-loop cell (SYS-68). A client on a schedule sends each
|
|
@@ -650,7 +651,7 @@ const verdictOfBand = (prediction, runs, delta = NOISE) => {
|
|
|
650
651
|
why: "no run counted"
|
|
651
652
|
};
|
|
652
653
|
if (prediction.detects === null) {
|
|
653
|
-
const law = prediction.queue !== void 0 ? "queue" : prediction.ports !== void 0 ? "port range" : prediction.pause !== void 0 ? "paused consumer" : prediction.conntrack !== void 0 ? "conntrack table" : void 0;
|
|
654
|
+
const law = prediction.queue !== void 0 ? "queue" : prediction.ports !== void 0 ? "port range" : prediction.pause !== void 0 ? "paused consumer" : prediction.conntrack !== void 0 ? "conntrack table" : prediction.memory !== void 0 ? "memory limit" : void 0;
|
|
654
655
|
if (law !== void 0) {
|
|
655
656
|
const off = new Set(outside.map((each) => each.run)).size;
|
|
656
657
|
return {
|
|
@@ -1747,20 +1748,20 @@ const measureQueue = (run, expected) => {
|
|
|
1747
1748
|
// src/conntrack.ts
|
|
1748
1749
|
/** This errno tells that a connect got a slot. */
|
|
1749
1750
|
const NONE = "none";
|
|
1750
|
-
const numberOr = (line, field) => {
|
|
1751
|
+
const numberOr$1 = (line, field) => {
|
|
1751
1752
|
const value = line?.[field];
|
|
1752
1753
|
return typeof value === "number" ? value : null;
|
|
1753
1754
|
};
|
|
1754
1755
|
/** This function gives the time from one stamp to a stamp of a field of a line, when the line has it. */
|
|
1755
1756
|
const untilField = (from, line, field) => {
|
|
1756
|
-
const stamp = numberOr(line, field);
|
|
1757
|
+
const stamp = numberOr$1(line, field);
|
|
1757
1758
|
return from === void 0 || stamp === null ? null : between$2(from.t, stamp);
|
|
1758
1759
|
};
|
|
1759
1760
|
const stallOf = (line) => line === void 0 ? null : {
|
|
1760
1761
|
errno: String(line["errno"]),
|
|
1761
|
-
time: quantity(Math.round((numberOr(line, "elapsed") ?? 0) / 1e3) / 1e6, "s"),
|
|
1762
|
-
drops: numberOr(line, "drops") ?? 0,
|
|
1763
|
-
retransFail: numberOr(line, "retrans_fail") ?? 0
|
|
1762
|
+
time: quantity(Math.round((numberOr$1(line, "elapsed") ?? 0) / 1e3) / 1e6, "s"),
|
|
1763
|
+
drops: numberOr$1(line, "drops") ?? 0,
|
|
1764
|
+
retransFail: numberOr$1(line, "retrans_fail") ?? 0
|
|
1764
1765
|
};
|
|
1765
1766
|
/** This function tells where a reading differs from the law of its cell. */
|
|
1766
1767
|
const findingsOf$1 = (read, failed, expected) => {
|
|
@@ -1841,15 +1842,15 @@ const measureConntrack = (run, expected) => {
|
|
|
1841
1842
|
const closed = events.find((event) => event.ev === "closed");
|
|
1842
1843
|
const neighbor = (run.server ?? []).filter((line) => line.ev === "count" && line.t >= full.t && (stall === void 0 || line.t <= stall.t)).at(-1);
|
|
1843
1844
|
const conntrack = {
|
|
1844
|
-
flows: numberOr(full, "flows") ?? 0,
|
|
1845
|
-
count: numberOr(full, "count") ?? 0,
|
|
1846
|
-
neighbor: numberOr(neighbor, "count"),
|
|
1845
|
+
flows: numberOr$1(full, "flows") ?? 0,
|
|
1846
|
+
count: numberOr$1(full, "count") ?? 0,
|
|
1847
|
+
neighbor: numberOr$1(neighbor, "count"),
|
|
1847
1848
|
stall: stallOf(stall),
|
|
1848
1849
|
firstFall: untilField(closing, drained, "first_fall"),
|
|
1849
1850
|
zero: untilField(closing, drained, "zero"),
|
|
1850
|
-
closed: numberOr(closed, "count"),
|
|
1851
|
-
lowest: numberOr(drained ?? stall, "lowest"),
|
|
1852
|
-
after: numberOr(stall, "after")
|
|
1851
|
+
closed: numberOr$1(closed, "count"),
|
|
1852
|
+
lowest: numberOr$1(drained ?? stall, "lowest"),
|
|
1853
|
+
after: numberOr$1(stall, "after")
|
|
1853
1854
|
};
|
|
1854
1855
|
const found = findingsOf$1(conntrack, full["errno"], expected);
|
|
1855
1856
|
return {
|
|
@@ -1859,6 +1860,195 @@ const measureConntrack = (run, expected) => {
|
|
|
1859
1860
|
conntrack
|
|
1860
1861
|
};
|
|
1861
1862
|
};
|
|
1863
|
+
// src/memory.ts
|
|
1864
|
+
const numberOr = (line, field) => {
|
|
1865
|
+
const value = line?.[field];
|
|
1866
|
+
return typeof value === "number" ? value : null;
|
|
1867
|
+
};
|
|
1868
|
+
const countsOf = (value) => {
|
|
1869
|
+
if (typeof value !== "object" || value === null) return {};
|
|
1870
|
+
return Object.fromEntries(Object.entries(value).filter((entry) => typeof entry[1] === "number"));
|
|
1871
|
+
};
|
|
1872
|
+
/** This function gives the words of a limit in pages as the cgroup prints it: its bytes, or `max`. */
|
|
1873
|
+
const printed = (pages, page) => pages === null ? "max" : String(pages * page);
|
|
1874
|
+
/** This function tells where the limits that the cgroup printed differ from the limits of the cell. */
|
|
1875
|
+
const limitsDiffer = (ready, limits) => {
|
|
1876
|
+
if (ready["page"] !== limits.page) return `the page is ${String(ready["page"])} bytes, not ${limits.page}`;
|
|
1877
|
+
const each = [
|
|
1878
|
+
["high", limits.high],
|
|
1879
|
+
["max", limits.max],
|
|
1880
|
+
["swap", limits.swap]
|
|
1881
|
+
];
|
|
1882
|
+
for (const [name, pages] of each) {
|
|
1883
|
+
const want = printed(pages, limits.page);
|
|
1884
|
+
if (ready[name] !== want) return `memory.${name === "swap" ? "swap.max" : name} reads ${String(ready[name])}, not ${want}`;
|
|
1885
|
+
}
|
|
1886
|
+
return null;
|
|
1887
|
+
};
|
|
1888
|
+
/** This function gives the entry of the table at or below a usage, and the entry at or above it. A usage below the table gives the quiet band. */
|
|
1889
|
+
const around = (expected, usage) => {
|
|
1890
|
+
const { steps } = expected;
|
|
1891
|
+
let below = null;
|
|
1892
|
+
let above = null;
|
|
1893
|
+
for (const step of steps) {
|
|
1894
|
+
if (step.usage <= usage) below = step;
|
|
1895
|
+
if (above === null && step.usage >= usage) above = step;
|
|
1896
|
+
}
|
|
1897
|
+
return {
|
|
1898
|
+
below,
|
|
1899
|
+
above: above ?? steps.at(-1) ?? null
|
|
1900
|
+
};
|
|
1901
|
+
};
|
|
1902
|
+
/** This function gives the band of a step whose charge left the usage from `usage` to `usage + drift`, and the bounds of its events `high`. */
|
|
1903
|
+
const stepBand = (expected, usage) => {
|
|
1904
|
+
const low = around(expected, usage);
|
|
1905
|
+
const high = around(expected, usage + expected.drift);
|
|
1906
|
+
const lowStep = low.below;
|
|
1907
|
+
const highStep = high.above;
|
|
1908
|
+
const quietHigh = expected.limits.high === null || usage + expected.drift <= expected.limits.high;
|
|
1909
|
+
return {
|
|
1910
|
+
band: {
|
|
1911
|
+
low: lowStep === null ? expected.quiet.low : lowStep.band.low,
|
|
1912
|
+
high: highStep === null || quietHigh ? expected.quiet.high : highStep.band.high
|
|
1913
|
+
},
|
|
1914
|
+
high: {
|
|
1915
|
+
low: lowStep === null ? 0 : lowStep.high,
|
|
1916
|
+
high: highStep === null || quietHigh ? 0 : highStep.high
|
|
1917
|
+
}
|
|
1918
|
+
};
|
|
1919
|
+
};
|
|
1920
|
+
const seconds = (time) => valueIn(time, "s");
|
|
1921
|
+
/** This function reads each step of a growth: its usage, its time, and the rise of its events `high`. */
|
|
1922
|
+
const stepsOf = (events, start, startHigh, batch, drift) => {
|
|
1923
|
+
let usage = start;
|
|
1924
|
+
let high = startHigh;
|
|
1925
|
+
const out = [];
|
|
1926
|
+
for (const line of events) {
|
|
1927
|
+
if (line.ev !== "step") continue;
|
|
1928
|
+
const now = numberOr(line, "current") ?? usage;
|
|
1929
|
+
const events = numberOr(line, "high") ?? high;
|
|
1930
|
+
const rise = now - usage;
|
|
1931
|
+
out.push({
|
|
1932
|
+
usage: now,
|
|
1933
|
+
time: quantity(Math.round((numberOr(line, "ns") ?? 0) / 1e3) / 1e6, "s"),
|
|
1934
|
+
high: events - high,
|
|
1935
|
+
read: Math.abs(rise - batch) <= drift
|
|
1936
|
+
});
|
|
1937
|
+
usage = now;
|
|
1938
|
+
high = events;
|
|
1939
|
+
}
|
|
1940
|
+
return out;
|
|
1941
|
+
};
|
|
1942
|
+
/** These are the first findings of a run that the words of its finding name, one for each step. */
|
|
1943
|
+
const NAMED = 5;
|
|
1944
|
+
const throttleFindings = (read, expected) => {
|
|
1945
|
+
const found = [];
|
|
1946
|
+
const off = [];
|
|
1947
|
+
let least = 0;
|
|
1948
|
+
for (const step of read.steps) {
|
|
1949
|
+
if (!step.read) continue;
|
|
1950
|
+
const { band, high } = stepBand(expected, step.usage);
|
|
1951
|
+
if (!inside(step.time, band)) off.push(`the step to ${step.usage} pages took ${seconds(step.time)} s, outside ${bandWords(band)}`);
|
|
1952
|
+
if (step.high < high.low || step.high > high.high) off.push(`the step to ${step.usage} pages added ${step.high} events high, not ${high.low === high.high ? high.low : `${high.low} to ${high.high}`}`);
|
|
1953
|
+
least += seconds(band.low);
|
|
1954
|
+
}
|
|
1955
|
+
if (off.length > 0) found.push(`${off.length} terms of the steps are outside the law: ${off.slice(0, NAMED).join("; ")}`);
|
|
1956
|
+
if (read.stall !== null && seconds(read.stall) < least) found.push(`memory.pressure counts a stall of ${seconds(read.stall)} s, less than the ${Math.round(least * 1e6) / 1e6} s of the sleeps`);
|
|
1957
|
+
return found;
|
|
1958
|
+
};
|
|
1959
|
+
const oomFindings = (read, expected) => {
|
|
1960
|
+
const found = [];
|
|
1961
|
+
for (const task of expected.tasks) {
|
|
1962
|
+
const seen = read.tasks.find((each) => each.name === task.name);
|
|
1963
|
+
if (seen === void 0) found.push(`the task ${task.name} wrote no end`);
|
|
1964
|
+
else if (seen.outcome !== task.outcome) found.push(`the task ${task.name} was ${seen.outcome}, not ${task.outcome}`);
|
|
1965
|
+
else if (task.outcome === "killed" && seen.signal !== 9) found.push(`the task ${task.name} ended by the signal ${seen.signal ?? "none"}, not SIGKILL`);
|
|
1966
|
+
}
|
|
1967
|
+
const kills = read.events["oom_kill"] ?? 0;
|
|
1968
|
+
if (kills !== expected.kills) found.push(`the cgroup counts ${kills} OOM kills, not ${expected.kills}`);
|
|
1969
|
+
return found;
|
|
1970
|
+
};
|
|
1971
|
+
/**
|
|
1972
|
+
* This function reads one run of a memory cell from the lines of the memory client. A run is void
|
|
1973
|
+
* when the client wrote an error or no `done` line, or when the cgroup reads other limits than the
|
|
1974
|
+
* cell. A throttle run is also void when the client did not lock its pages, or on a kernel with
|
|
1975
|
+
* another HZ. It is void too when the judge reads less than `read` of its steps above `memory.high`.
|
|
1976
|
+
* A step is not read when its usage did not rise by one batch: then a reclaim freed pages, or the
|
|
1977
|
+
* step charged two batches.
|
|
1978
|
+
*/
|
|
1979
|
+
const measureMemory = (run, expected) => {
|
|
1980
|
+
const { events, kernel } = run;
|
|
1981
|
+
const base = {
|
|
1982
|
+
environment: run.environment,
|
|
1983
|
+
index: run.index,
|
|
1984
|
+
outcome: { kind: "answered" },
|
|
1985
|
+
elapsed: null,
|
|
1986
|
+
socket: null,
|
|
1987
|
+
noticed: null,
|
|
1988
|
+
steps: [],
|
|
1989
|
+
probes: 0,
|
|
1990
|
+
retransmissions: kernel.filter((record) => record.netns === run.netns && record.ev === "retrans").length,
|
|
1991
|
+
acks: 0
|
|
1992
|
+
};
|
|
1993
|
+
const voided = (why) => ({
|
|
1994
|
+
...base,
|
|
1995
|
+
void: why,
|
|
1996
|
+
finding: null
|
|
1997
|
+
});
|
|
1998
|
+
const error = events.find((event) => event.ev === "error");
|
|
1999
|
+
if (error !== void 0) return voided(`the client stopped: ${String(error["what"])}`);
|
|
2000
|
+
const ready = events.find((event) => event.ev === "ready");
|
|
2001
|
+
if (ready === void 0) return voided("the client wrote no ready line");
|
|
2002
|
+
if (events.find((event) => event.ev === "done") === void 0) {
|
|
2003
|
+
const deadline = events.find((event) => event.ev === "deadline");
|
|
2004
|
+
return voided(deadline === void 0 ? "the client did not reach its end" : `the client reached its deadline in the wait for the ${String(deadline["wait"])}`);
|
|
2005
|
+
}
|
|
2006
|
+
const differs = limitsDiffer(ready, expected.limits);
|
|
2007
|
+
if (differs !== null) return voided(differs);
|
|
2008
|
+
const start = numberOr(ready, "current") ?? 0;
|
|
2009
|
+
const atReady = countsOf(ready["events"]);
|
|
2010
|
+
const last = events.filter((event) => event.ev === "events").at(-1);
|
|
2011
|
+
const pressure = events.find((event) => event.ev === "pressure");
|
|
2012
|
+
const some = numberOr(pressure, "some");
|
|
2013
|
+
const throttle = expected.kind === "throttle";
|
|
2014
|
+
const memory = {
|
|
2015
|
+
limits: {
|
|
2016
|
+
high: String(ready["high"]),
|
|
2017
|
+
max: String(ready["max"]),
|
|
2018
|
+
swap: String(ready["swap"])
|
|
2019
|
+
},
|
|
2020
|
+
start,
|
|
2021
|
+
steps: throttle ? stepsOf(events, start, atReady["high"] ?? 0, expected.batch, expected.drift) : [],
|
|
2022
|
+
tasks: events.filter((event) => event.ev === "task").map((event) => ({
|
|
2023
|
+
name: String(event["name"]),
|
|
2024
|
+
outcome: String(event["outcome"]),
|
|
2025
|
+
signal: numberOr(event, "signal")
|
|
2026
|
+
})),
|
|
2027
|
+
events: Object.fromEntries(Object.entries(countsOf(last)).filter(([name]) => name !== "t")),
|
|
2028
|
+
stall: some === null ? null : quantity(some / 1e6, "s")
|
|
2029
|
+
};
|
|
2030
|
+
const voidedWith = (why) => ({
|
|
2031
|
+
...voided(why),
|
|
2032
|
+
memory
|
|
2033
|
+
});
|
|
2034
|
+
if (expected.kind === "throttle") {
|
|
2035
|
+
if (ready["locked"] === false) return voidedWith("the client did not lock its pages, thus a reclaim can free them: give it IPC_LOCK");
|
|
2036
|
+
if (run.hz !== void 0 && run.hz !== expected.hz) return voidedWith(`the kernel runs at HZ ${run.hz}, and the bands are for HZ ${expected.hz}`);
|
|
2037
|
+
const high = expected.limits.high ?? Number.POSITIVE_INFINITY;
|
|
2038
|
+
const over = memory.steps.filter((step) => step.usage + expected.drift > high);
|
|
2039
|
+
const counted = over.filter((step) => step.read).length;
|
|
2040
|
+
if (over.length === 0 || counted < expected.read * over.length) return voidedWith(`the judge read ${counted} of the ${over.length} steps above memory.high, less than ${expected.read * 100}%`);
|
|
2041
|
+
const reached = memory.steps.at(-1)?.usage ?? start;
|
|
2042
|
+
if (reached < expected.until) return voidedWith(`the growth ended at ${reached} pages, below ${expected.until}`);
|
|
2043
|
+
}
|
|
2044
|
+
const found = expected.kind === "throttle" ? throttleFindings(memory, expected) : oomFindings(memory, expected);
|
|
2045
|
+
return {
|
|
2046
|
+
...base,
|
|
2047
|
+
void: null,
|
|
2048
|
+
finding: found.length === 0 ? null : found.join(". "),
|
|
2049
|
+
memory
|
|
2050
|
+
};
|
|
2051
|
+
};
|
|
1862
2052
|
// src/pause.ts
|
|
1863
2053
|
/** This expression finds the stamp of a log line of a broker, as its console writes it, on UTC. */
|
|
1864
2054
|
const LOG_TIME = /\[(\d{4})-(\d\d)-(\d\d) (\d\d):(\d\d):(\d\d),(\d{3})\]/;
|
|
@@ -3085,6 +3275,7 @@ const measureSocket = (cell, run) => {
|
|
|
3085
3275
|
if (cell.prediction.detects === null && cell.prediction.queue !== void 0) return measureQueue(run, cell.prediction.queue);
|
|
3086
3276
|
if (cell.prediction.detects === null && cell.prediction.ports !== void 0) return measurePorts(run, cell.prediction.ports);
|
|
3087
3277
|
if (cell.prediction.detects === null && cell.prediction.conntrack !== void 0) return measureConntrack(run, cell.prediction.conntrack);
|
|
3278
|
+
if (cell.prediction.detects === null && cell.prediction.memory !== void 0) return measureMemory(run, cell.prediction.memory);
|
|
3088
3279
|
if (cell.prediction.detects !== null && cell.prediction.driver !== void 0) return measureDriver(cell, run);
|
|
3089
3280
|
const { events, kernel } = run;
|
|
3090
3281
|
const ready = events.find((event) => event.ev === "ready");
|
|
@@ -4151,6 +4342,41 @@ const withPid = (container, mode) => {
|
|
|
4151
4342
|
container.hostConfig.PidMode = mode;
|
|
4152
4343
|
return container;
|
|
4153
4344
|
};
|
|
4345
|
+
/** This function puts a container in the cgroup namespace of the host: it sees the cgroup of each container. */
|
|
4346
|
+
const withCgroupns = (container, mode) => {
|
|
4347
|
+
container.hostConfig.CgroupnsMode = mode;
|
|
4348
|
+
return container;
|
|
4349
|
+
};
|
|
4350
|
+
/** These are the folders of the cgroup of a container under the cgroup driver of systemd, and under the driver cgroupfs. */
|
|
4351
|
+
const cgroupDirs = (id) => [`/sys/fs/cgroup/system.slice/docker-${id}.scope`, `/sys/fs/cgroup/docker/${id}`];
|
|
4352
|
+
/**
|
|
4353
|
+
* This function writes the files of the cgroup of a container from an admin in the host cgroup
|
|
4354
|
+
* namespace, and reads each one back. It throws when no folder of the container is there, or when a
|
|
4355
|
+
* file reads another value after its write.
|
|
4356
|
+
*/
|
|
4357
|
+
const writeCgroup = async (admin, id, files) => {
|
|
4358
|
+
const found = await output(admin, [
|
|
4359
|
+
"sh",
|
|
4360
|
+
"-c",
|
|
4361
|
+
"for d in \"$@\"; do if [ -d \"$d\" ]; then echo \"$d\"; break; fi; done",
|
|
4362
|
+
"sh",
|
|
4363
|
+
...cgroupDirs(id)
|
|
4364
|
+
]);
|
|
4365
|
+
if (found === "") throw new Error(`no cgroup folder of the container ${id}: ${cgroupDirs(id).join(", ")}`);
|
|
4366
|
+
for (const [name, value] of Object.entries(files)) {
|
|
4367
|
+
if (!/^[a-z.]+$/.test(name)) throw new Error(`not a file of a cgroup: ${name}`);
|
|
4368
|
+
await output(admin, [
|
|
4369
|
+
"sh",
|
|
4370
|
+
"-c",
|
|
4371
|
+
"printf %s \"$2\" > \"$1\"",
|
|
4372
|
+
"sh",
|
|
4373
|
+
`${found}/${name}`,
|
|
4374
|
+
value
|
|
4375
|
+
]);
|
|
4376
|
+
const reads = await output(admin, ["cat", `${found}/${name}`]);
|
|
4377
|
+
if (reads !== value) throw new Error(`${name} of the cgroup reads ${reads} after the write, not ${value}`);
|
|
4378
|
+
}
|
|
4379
|
+
};
|
|
4154
4380
|
/** This container class can share the process namespace of another container. */
|
|
4155
4381
|
const shared = (Base) => class extends Base {
|
|
4156
4382
|
withPidMode(mode) {
|
|
@@ -4634,6 +4860,7 @@ const openLab = async (target, kind = "tcp", topology) => {
|
|
|
4634
4860
|
};
|
|
4635
4861
|
const proxies = inChain.filter((hop) => hop.hop.kind === "proxy");
|
|
4636
4862
|
let hostAdmin;
|
|
4863
|
+
let cgroupAdmin;
|
|
4637
4864
|
const hostChanges = [];
|
|
4638
4865
|
let hostDone;
|
|
4639
4866
|
restoreHost = async () => {
|
|
@@ -4992,10 +5219,18 @@ const openLab = async (target, kind = "tcp", topology) => {
|
|
|
4992
5219
|
query
|
|
4993
5220
|
]);
|
|
4994
5221
|
},
|
|
4995
|
-
async probe(args, files = []) {
|
|
5222
|
+
async probe(args, files = [], cgroup) {
|
|
4996
5223
|
const events = lines();
|
|
4997
5224
|
const prober = new GenericContainer(clientImage).withNetworkMode(`container:${client.getId()}`).withCommand([...command, ...args]).withCopyContentToContainer(files.map((file) => ({ ...file }))).withLogConsumer(events.consume);
|
|
4998
5225
|
const container = await (capabilities === void 0 ? prober : prober.withAddedCapabilities(...capabilities)).start();
|
|
5226
|
+
if (cgroup !== void 0) {
|
|
5227
|
+
if (cgroupAdmin === void 0) {
|
|
5228
|
+
cgroupAdmin = await withCgroupns(new GenericContainer(image).withNetworkMode("none").withPrivilegedMode(), "host").start();
|
|
5229
|
+
opened.push(cgroupAdmin);
|
|
5230
|
+
}
|
|
5231
|
+
await writeCgroup(cgroupAdmin, container.getId(), cgroup);
|
|
5232
|
+
await output(container, ["touch", "/tmp/cgroup"]);
|
|
5233
|
+
}
|
|
4999
5234
|
return {
|
|
5000
5235
|
events: events.seen,
|
|
5001
5236
|
until: (kinds, within) => events.until(kinds, within, "client"),
|
|
@@ -5387,6 +5622,190 @@ const recordProblems = (record) => [.../* @__PURE__ */ new Set([
|
|
|
5387
5622
|
...record.manifests.flatMap((manifest) => manifestProblems(manifest)),
|
|
5388
5623
|
...record.debug === true ? [DEBUG] : []
|
|
5389
5624
|
])];
|
|
5625
|
+
// src/disk.ts
|
|
5626
|
+
/**
|
|
5627
|
+
* The disk tier applies a disk plan of `@mark1russell7/rigor-chaos` to the files of a program. Each fault starts one new
|
|
5628
|
+
* container of the shipped image `lazyfs`. LazyFS is a FUSE file system that keeps each write in its cache until an
|
|
5629
|
+
* fsync.
|
|
5630
|
+
*
|
|
5631
|
+
* The writer of the subject writes its files on the mount of LazyFS, and the fault stops it at its point. Then
|
|
5632
|
+
* `lazyfs::clear-cache` loses each write of data after the last fsync: the state of the disk after a power cut. LazyFS
|
|
5633
|
+
* applies each new file, each rename and each unlink at once, so the cut keeps each directory entry. This is the rule
|
|
5634
|
+
* of the kind `lose-unsynced`. The check of the subject reads the files that the disk kept, and writes one JSON value. The record
|
|
5635
|
+
* keeps that value.
|
|
5636
|
+
*
|
|
5637
|
+
* A point at a step uses the stop points of `@mark1russell7/rigor-testkit/stop` in the writer: the writer stops itself
|
|
5638
|
+
* at the step with `SIGKILL`. A point at a time stops the writer with `SIGKILL` after that time from its start.
|
|
5639
|
+
*
|
|
5640
|
+
* The container is privileged: it needs `/dev/fuse` and a mount. The AppArmor profile of Docker refuses a FUSE mount in
|
|
5641
|
+
* a container that is not privileged. Thus the tier operates only in CI, in the workflow `disk.yml`.
|
|
5642
|
+
*/
|
|
5643
|
+
/** The folder of the subject in the container. */
|
|
5644
|
+
const DISK_SUBJECT = "/opt/subject";
|
|
5645
|
+
/** The mount of LazyFS in the container. The writer operates in this folder. */
|
|
5646
|
+
const DISK_MOUNT = "/mnt/disk";
|
|
5647
|
+
/** The folder that holds the files under the mount. The check operates in this folder after the fault. */
|
|
5648
|
+
const DISK_ROOT = "/var/disk";
|
|
5649
|
+
/** The format of a record of the disk tier. */
|
|
5650
|
+
const DISK_RECORD_FORMAT = "harness-disk/1";
|
|
5651
|
+
const FAULTS = "/run/lazyfs/faults.fifo";
|
|
5652
|
+
const DONE = "/run/lazyfs/done.fifo";
|
|
5653
|
+
const PROGRESS = "/tmp/rigor-progress.jsonl";
|
|
5654
|
+
/** The default time in ms for the writer of a fault at a step. */
|
|
5655
|
+
const WRITER_MS = 6e4;
|
|
5656
|
+
/** The time in s for the clear of the cache. */
|
|
5657
|
+
const CLEAR_S = 30;
|
|
5658
|
+
const isArgv = (value) => Array.isArray(value) && value.length > 0 && value.every((part) => typeof part === "string" && part.length > 0);
|
|
5659
|
+
/** This function gives each problem of a subject of the disk tier. An empty list means that the subject is correct. */
|
|
5660
|
+
const diskSubjectProblems = (subject) => {
|
|
5661
|
+
const problems = [];
|
|
5662
|
+
if (typeof subject.name !== "string" || subject.name.length === 0) problems.push("the subject has no name");
|
|
5663
|
+
if (typeof subject.folder !== "string" || subject.folder.length === 0) problems.push("the subject has no folder");
|
|
5664
|
+
else if (!statSync(subject.folder, { throwIfNoEntry: false })?.isDirectory()) problems.push(`the folder ${subject.folder} of the subject is not a folder`);
|
|
5665
|
+
if (!isArgv(subject.writer)) problems.push("the writer is not an argv: a list of one or more texts");
|
|
5666
|
+
if (!isArgv(subject.check)) problems.push("the check is not an argv: a list of one or more texts");
|
|
5667
|
+
const timeoutMs = subject.timeoutMs;
|
|
5668
|
+
if (timeoutMs !== void 0 && !(Number.isFinite(timeoutMs) && timeoutMs > 0)) problems.push(`the timeoutMs of the subject is a positive number of ms, not ${String(timeoutMs)}`);
|
|
5669
|
+
return problems;
|
|
5670
|
+
};
|
|
5671
|
+
/** This function gives the sha256 of the path and the content of each file under a folder, in a stable sequence. */
|
|
5672
|
+
const folderDigest = (folder) => {
|
|
5673
|
+
const root = resolve(folder);
|
|
5674
|
+
const hash = createHash("sha256");
|
|
5675
|
+
for (const file of sources(root)) {
|
|
5676
|
+
hash.update(`${relative(root, file).replaceAll("\\", "/")}\n`);
|
|
5677
|
+
hash.update(createHash("sha256").update(readFileSync(file)).digest("hex"));
|
|
5678
|
+
hash.update("\n");
|
|
5679
|
+
}
|
|
5680
|
+
return `sha256:${hash.digest("hex")}`;
|
|
5681
|
+
};
|
|
5682
|
+
/**
|
|
5683
|
+
* This function builds the image `lazyfs` once, and gives the lab of a subject. It throws a `RangeError` for a subject
|
|
5684
|
+
* with problems. The lab reads the substrate of this machine: a container lab is the layer E1.
|
|
5685
|
+
*/
|
|
5686
|
+
const openDiskLab = async (options) => {
|
|
5687
|
+
const problems = diskSubjectProblems(options.subject);
|
|
5688
|
+
if (problems.length > 0) throw new RangeError(`openDiskLab: ${problems.join("; ")}`);
|
|
5689
|
+
const source = shippedSource("lazyfs");
|
|
5690
|
+
const tag = await imageOf(source);
|
|
5691
|
+
const build = buildRecordOf(source);
|
|
5692
|
+
return {
|
|
5693
|
+
subject: options.subject,
|
|
5694
|
+
digest: folderDigest(options.subject.folder),
|
|
5695
|
+
image: {
|
|
5696
|
+
tag,
|
|
5697
|
+
...build === void 0 ? {} : { build }
|
|
5698
|
+
},
|
|
5699
|
+
code: options.code,
|
|
5700
|
+
substrate: substrateHere("E1")
|
|
5701
|
+
};
|
|
5702
|
+
};
|
|
5703
|
+
const tail = (text) => text.slice(-4e3);
|
|
5704
|
+
/**
|
|
5705
|
+
* This function applies one fault of a disk plan in one new container, and gives its record. It throws a `RangeError`
|
|
5706
|
+
* for a fault with problems. The promise rejects when LazyFS does not clear its cache, or when the check does not end
|
|
5707
|
+
* with the code 0 and one JSON value. Thus a check that cannot read the disk gives no record. The time limit of the
|
|
5708
|
+
* cut also covers the write of the command to LazyFS: that write waits when LazyFS did not start.
|
|
5709
|
+
*/
|
|
5710
|
+
const runDiskFault = async (lab, fault) => {
|
|
5711
|
+
const problems = checkDiskFault(fault);
|
|
5712
|
+
if (problems.length > 0) throw new RangeError(`runDiskFault: ${problems.join(" ")}`);
|
|
5713
|
+
const trigger = stopTriggerOf(fault.at);
|
|
5714
|
+
if (trigger === void 0) throw new RangeError(`runDiskFault: the point of the fault is not a step or a time.`);
|
|
5715
|
+
const at = (/* @__PURE__ */ new Date()).toISOString();
|
|
5716
|
+
const { GenericContainer, Wait, getContainerRuntimeClient } = await containers();
|
|
5717
|
+
const container = await new GenericContainer(lab.image.tag).withPrivilegedMode().withCopyDirectoriesToContainer([{
|
|
5718
|
+
source: resolve(lab.subject.folder),
|
|
5719
|
+
target: DISK_SUBJECT
|
|
5720
|
+
}]).withWaitStrategy(Wait.forSuccessfulCommand(`mountpoint -q ${DISK_MOUNT}`).withStartupTimeout(6e4)).start();
|
|
5721
|
+
try {
|
|
5722
|
+
const runtime = await getContainerRuntimeClient();
|
|
5723
|
+
const id = (await runtime.container.inspect(runtime.container.getById(container.getId()))).Image;
|
|
5724
|
+
const env = lab.subject.env ?? {};
|
|
5725
|
+
const order = stopOrderOf({
|
|
5726
|
+
at: fault.at,
|
|
5727
|
+
signal: "SIGKILL"
|
|
5728
|
+
}, PROGRESS);
|
|
5729
|
+
const seconds = trigger.measure === "ms" ? trigger.value / 1e3 : (lab.subject.timeoutMs ?? WRITER_MS) / 1e3;
|
|
5730
|
+
const started = performance.now();
|
|
5731
|
+
const write = await container.exec([
|
|
5732
|
+
"timeout",
|
|
5733
|
+
"-s",
|
|
5734
|
+
"KILL",
|
|
5735
|
+
String(seconds),
|
|
5736
|
+
...lab.subject.writer
|
|
5737
|
+
], {
|
|
5738
|
+
workingDir: DISK_MOUNT,
|
|
5739
|
+
env: {
|
|
5740
|
+
...env,
|
|
5741
|
+
[STOP_ENV]: JSON.stringify(order)
|
|
5742
|
+
}
|
|
5743
|
+
});
|
|
5744
|
+
const ms = performance.now() - started;
|
|
5745
|
+
const cut = await container.exec([
|
|
5746
|
+
"timeout",
|
|
5747
|
+
String(CLEAR_S),
|
|
5748
|
+
"sh",
|
|
5749
|
+
"-c",
|
|
5750
|
+
`printf 'lazyfs::clear-cache\\n' > ${FAULTS} && head -n 1 ${DONE}`
|
|
5751
|
+
]);
|
|
5752
|
+
if (cut.exitCode !== 0 || cut.stdout.trim() !== "finished::clear-cache") {
|
|
5753
|
+
const limit = cut.exitCode === 124 ? `, the limit of ${CLEAR_S} s` : "";
|
|
5754
|
+
throw new Error(`runDiskFault: LazyFS did not clear its cache (exit ${cut.exitCode}${limit}): ${tail(cut.output.trim())}`);
|
|
5755
|
+
}
|
|
5756
|
+
const progress = await container.exec(["cat", PROGRESS]);
|
|
5757
|
+
const lines = parseProgress(progress.exitCode === 0 ? progress.stdout : "");
|
|
5758
|
+
const last = lines.at(-1);
|
|
5759
|
+
const check = await container.exec([...lab.subject.check], {
|
|
5760
|
+
workingDir: DISK_ROOT,
|
|
5761
|
+
env: { ...env }
|
|
5762
|
+
});
|
|
5763
|
+
if (check.exitCode !== 0) throw new Error(`runDiskFault: the check ended with the code ${check.exitCode}: ${tail(check.output.trim())}`);
|
|
5764
|
+
let persisted;
|
|
5765
|
+
try {
|
|
5766
|
+
persisted = JSON.parse(check.stdout);
|
|
5767
|
+
} catch (error) {
|
|
5768
|
+
throw new Error(`runDiskFault: the output of the check is not one JSON value: ${tail(check.stdout.trim())}`, { cause: error });
|
|
5769
|
+
}
|
|
5770
|
+
const stopped = trigger.measure === "step" ? lines.some((line) => line.stop === true) : write.exitCode === 137;
|
|
5771
|
+
return {
|
|
5772
|
+
format: DISK_RECORD_FORMAT,
|
|
5773
|
+
fault,
|
|
5774
|
+
subject: {
|
|
5775
|
+
name: lab.subject.name,
|
|
5776
|
+
digest: lab.digest
|
|
5777
|
+
},
|
|
5778
|
+
image: {
|
|
5779
|
+
...lab.image,
|
|
5780
|
+
id
|
|
5781
|
+
},
|
|
5782
|
+
code: lab.code,
|
|
5783
|
+
substrate: lab.substrate,
|
|
5784
|
+
writer: {
|
|
5785
|
+
exit: write.exitCode,
|
|
5786
|
+
stopped,
|
|
5787
|
+
steps: lines.length,
|
|
5788
|
+
lastStep: last?.step ?? null,
|
|
5789
|
+
lastLabel: last?.label ?? null,
|
|
5790
|
+
ms,
|
|
5791
|
+
output: tail(write.output)
|
|
5792
|
+
},
|
|
5793
|
+
persisted,
|
|
5794
|
+
at
|
|
5795
|
+
};
|
|
5796
|
+
} finally {
|
|
5797
|
+
await container.stop(STOP);
|
|
5798
|
+
}
|
|
5799
|
+
};
|
|
5800
|
+
/**
|
|
5801
|
+
* This function gives each problem of the pins of a disk record. The pins are the commit of the code and the image with
|
|
5802
|
+
* its build record. A checkout with changes is also a problem. A record with a problem is not a record.
|
|
5803
|
+
*/
|
|
5804
|
+
const diskRecordProblems = (record) => [.../* @__PURE__ */ new Set([
|
|
5805
|
+
...commitProblems(record.code?.commit),
|
|
5806
|
+
...record.code?.dirty === true ? [DIRTY] : [],
|
|
5807
|
+
...imagePinProblems("the image lazyfs", record.image.tag, record.image.build)
|
|
5808
|
+
])];
|
|
5390
5809
|
// src/group.ts
|
|
5391
5810
|
/** This function gives the configuration file of a member: its port, its settings, and the primary that a replica follows. */
|
|
5392
5811
|
const memberConfig = (group, primary) => [
|
|
@@ -8644,7 +9063,7 @@ const beforeOnce = async (lab, cell, environment, index) => {
|
|
|
8644
9063
|
const fault = await lab.fault(kind, faultAt, options);
|
|
8645
9064
|
let probe;
|
|
8646
9065
|
try {
|
|
8647
|
-
probe = await lab.probe(probeArgs(cell, lab));
|
|
9066
|
+
probe = await lab.probe(probeArgs(cell, lab), void 0, cell.cgroup);
|
|
8648
9067
|
const started = probe;
|
|
8649
9068
|
const current = () => ({
|
|
8650
9069
|
environment,
|
|
@@ -8754,7 +9173,7 @@ const once = async (lab, cell, environment, index, dry = false) => {
|
|
|
8754
9173
|
content: load.content,
|
|
8755
9174
|
target: LOAD_PATH
|
|
8756
9175
|
}]];
|
|
8757
|
-
const probe = await lab.probe(probeArgs(cell, lab), files.length === 0 ? void 0 : files);
|
|
9176
|
+
const probe = await lab.probe(probeArgs(cell, lab), files.length === 0 ? void 0 : files, cell.cgroup);
|
|
8758
9177
|
const server = cell.observer === "server";
|
|
8759
9178
|
const peer = server ? {
|
|
8760
9179
|
freeze: () => probe.freeze(),
|
|
@@ -9312,6 +9731,6 @@ const runCell = async (cell, say = () => {}) => {
|
|
|
9312
9731
|
target = larger;
|
|
9313
9732
|
}
|
|
9314
9733
|
};
|
|
9315
|
-
export { AWS_FROM, CLIENT_CAPABILITIES, CLIENT_NAMES, CLOSED_TOLERANCE, CLOUDS, CLUSTER_STAGES, CONVERGE_MS, DAEMONS, DEBUG, DIRTY, DROP_HANDLING, FABRIC_CLIENT, FABRIC_DEVICE, FABRIC_TARGET, FRR_IMAGE, GIVES_AWAY, HASH_SCRIPT, INJECT, INSERT, KAFKA_TAIL_MS, KEPT, LAYERS, LINGER_MS, LISTING, LOAD_FORMAT, LOAD_PATH, LOCK_NAMES, LOSS_MARGIN, MEMBER_MARKS, MONITOR_DOWN, NODE_MARKS, NOISE, PINNED, PUMP, PUMP_SLACK, QUIET_MS, RELATIVE, REPLICA_SET_STAGES, REPOSITORY, RESTART, ROUTERS, SCHEDULE_PATH, SEED_DOCUMENT, SHIPPED_CLIENTS, SHIPPED_NAMES, STAGES, STANDBY_READY, STATUS_SCRIPT, STEPS, STEP_DOWN, amqpClientImage, basesOf, bootstrapOf, brokerEnv, buildOf, buildRecordOf, callOf, cancelsOf, cargoVersions, clockOffsetOf, closeOrExit, cloudOf, clusterArgs, clusterConf, clusterCutOf, clusterHostsOf, clusterOnce, clusterStagesOf, clusterViewOf, commitProblems, commitVoid, comparable, controllerEnv, crossingsOf, cutOf, deadlineOf, delayVoids, deliveryFinding, deliveryOf, deviceOf, drillOnce, drillSpan, dropFinding, dropOf, endpointAfter, envOf, environmentCounts, environmentProblems, errorsOf, estimateOf, estimateVerdict, exitOf, fieldOf, fieldsOf, firstUnanswered, frrConf, goHttpImage, goVersions, groupOnce, groupVerdictOf, grpcClientImage, harnessImage, harnessRecord, harnessVersion, hashOf, highestHeld, hikariClientImage, hzOf, imageOf, imagePinProblems, imageProblems, inContext, infoOf, initiateScript, isFenceLine, isHopPlace, jarVersions, jitterOf, jitterOfLines, judge, kafkaArgs, kafkaClientImage, kafkaCutOf, kafkaOnce, kafkaPauseOnce, kafkaViewOf, lagsOf, laterMove, latestEndOf, leafLacks, leftAfter, loadOf, loadPlanOf, loadVerdict, locksOf, logNameOf, logTimeOf, manifestProblems, matches, measure, measureConntrack, measureDriver, measureGroup, measurePause, measurePorts, measureQueue, medianInterval, memAvailableOf, memberCommand, memberConfig, memberLineOf, mongoClientImage, monotonicAt, monotonicOf, namesGroup, nodeClientImage, nodeCommand, nodeHttpImage, nodeIdOf, nodeLineOf, nodeNameOf, nodesOnMonotonic, noiseOf, npmVersions, numbersOf, onMonotonic, openClusterLab, openFabric, openGroupLab, openKafkaLab, openLab, openReplicaSetLab, openStandby, pairArgs, pairOnce, pairingOf, pairingsOf, pauseReady, peersOf, pgClientImage, pingsOf, plainOf, planOf, pongsOf, poolOf, programLines, programOf, quantileOf, readCpu, readHost, readOplog, reconnectFinding, reconnectOf, recordProblems, recoveryFindings, recoveryOf, referenceOf, reorderingOf, replicaSetArgs, replicaSetOnce, replicaSetStagesOf, requestOf, requestWords, restamped, roomNeeded, roomVoidOf, routeLine, routerImage, routesOf, runCell, seedScript, sentinelConfig, sessionsOf, shippedClientRecord, shippedSource, sliceQuery, socketAt, socketOf, socketsOf, spread, spreadOf, stagesOf, standaloneCommand, standbyCommand, statusViewOf, stealShare, stopScript, streamEnded, streamOf, streamsLoadOf, subjectClient, subjectProblems, subscriptionsOf, substrateHere, substrateKey, substrateOf, substrateOn, targetImageOf, targetSourceOf, templated, toolJsonOf, topicOf, topologyOf, toxicBody, unlockedManifests, unpinnedBases, unpoolable, verdictOf, versionsOf, viewOf, writesOf };
|
|
9734
|
+
export { AWS_FROM, CLIENT_CAPABILITIES, CLIENT_NAMES, CLOSED_TOLERANCE, CLOUDS, CLUSTER_STAGES, CONVERGE_MS, DAEMONS, DEBUG, DIRTY, DISK_MOUNT, DISK_RECORD_FORMAT, DISK_ROOT, DISK_SUBJECT, DROP_HANDLING, FABRIC_CLIENT, FABRIC_DEVICE, FABRIC_TARGET, FRR_IMAGE, GIVES_AWAY, HASH_SCRIPT, INJECT, INSERT, KAFKA_TAIL_MS, KEPT, LAYERS, LINGER_MS, LISTING, LOAD_FORMAT, LOAD_PATH, LOCK_NAMES, LOSS_MARGIN, MEMBER_MARKS, MONITOR_DOWN, NODE_MARKS, NOISE, PINNED, PUMP, PUMP_SLACK, QUIET_MS, RELATIVE, REPLICA_SET_STAGES, REPOSITORY, RESTART, ROUTERS, SCHEDULE_PATH, SEED_DOCUMENT, SHIPPED_CLIENTS, SHIPPED_NAMES, STAGES, STANDBY_READY, STATUS_SCRIPT, STEPS, STEP_DOWN, amqpClientImage, basesOf, bootstrapOf, brokerEnv, buildOf, buildRecordOf, callOf, cancelsOf, cargoVersions, clockOffsetOf, closeOrExit, cloudOf, clusterArgs, clusterConf, clusterCutOf, clusterHostsOf, clusterOnce, clusterStagesOf, clusterViewOf, commitProblems, commitVoid, comparable, controllerEnv, crossingsOf, cutOf, deadlineOf, delayVoids, deliveryFinding, deliveryOf, deviceOf, diskRecordProblems, diskSubjectProblems, drillOnce, drillSpan, dropFinding, dropOf, endpointAfter, envOf, environmentCounts, environmentProblems, errorsOf, estimateOf, estimateVerdict, exitOf, fieldOf, fieldsOf, firstUnanswered, folderDigest, frrConf, goHttpImage, goVersions, groupOnce, groupVerdictOf, grpcClientImage, harnessImage, harnessRecord, harnessVersion, hashOf, highestHeld, hikariClientImage, hzOf, imageOf, imagePinProblems, imageProblems, inContext, infoOf, initiateScript, isFenceLine, isHopPlace, jarVersions, jitterOf, jitterOfLines, judge, kafkaArgs, kafkaClientImage, kafkaCutOf, kafkaOnce, kafkaPauseOnce, kafkaViewOf, lagsOf, laterMove, latestEndOf, leafLacks, leftAfter, loadOf, loadPlanOf, loadVerdict, locksOf, logNameOf, logTimeOf, manifestProblems, matches, measure, measureConntrack, measureDriver, measureGroup, measureMemory, measurePause, measurePorts, measureQueue, medianInterval, memAvailableOf, memberCommand, memberConfig, memberLineOf, mongoClientImage, monotonicAt, monotonicOf, namesGroup, nodeClientImage, nodeCommand, nodeHttpImage, nodeIdOf, nodeLineOf, nodeNameOf, nodesOnMonotonic, noiseOf, npmVersions, numbersOf, onMonotonic, openClusterLab, openDiskLab, openFabric, openGroupLab, openKafkaLab, openLab, openReplicaSetLab, openStandby, pairArgs, pairOnce, pairingOf, pairingsOf, pauseReady, peersOf, pgClientImage, pingsOf, plainOf, planOf, pongsOf, poolOf, programLines, programOf, quantileOf, readCpu, readHost, readOplog, reconnectFinding, reconnectOf, recordProblems, recoveryFindings, recoveryOf, referenceOf, reorderingOf, replicaSetArgs, replicaSetOnce, replicaSetStagesOf, requestOf, requestWords, restamped, roomNeeded, roomVoidOf, routeLine, routerImage, routesOf, runCell, runDiskFault, seedScript, sentinelConfig, sessionsOf, shippedClientRecord, shippedSource, sliceQuery, socketAt, socketOf, socketsOf, spread, spreadOf, stagesOf, standaloneCommand, standbyCommand, statusViewOf, stealShare, stepBand, stopScript, streamEnded, streamOf, streamsLoadOf, subjectClient, subjectProblems, subscriptionsOf, substrateHere, substrateKey, substrateOf, substrateOn, targetImageOf, targetSourceOf, templated, toolJsonOf, topicOf, topologyOf, toxicBody, unlockedManifests, unpinnedBases, unpoolable, verdictOf, versionsOf, viewOf, writesOf };
|
|
9316
9735
|
|
|
9317
9736
|
//# sourceMappingURL=index.js.map
|