@mark1russell7/harness 0.16.31 → 0.16.33
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 +42 -0
- package/build/index.d.ts +353 -44
- package/build/index.js +480 -10
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -855,7 +855,7 @@ const ERRNO$1 = {
|
|
|
855
855
|
113: "EHOSTUNREACH"
|
|
856
856
|
};
|
|
857
857
|
const between$3 = (from, to) => quantity(Math.round((to - from) / 1e3) / 1e6, "s");
|
|
858
|
-
const round = (seconds) => Math.round(seconds * 1e6) / 1e6;
|
|
858
|
+
const round$1 = (seconds) => Math.round(seconds * 1e6) / 1e6;
|
|
859
859
|
/** This function gives the value of a field of a line by its name. A dotted name is a field in a field. */
|
|
860
860
|
const fieldOf = (line, path) => path.split(".").reduce((value, key) => value !== null && typeof value === "object" ? value[key] : void 0, line);
|
|
861
861
|
/** This function tells if a line of the client matches a line match: its `ev`, and each field that the match names. */
|
|
@@ -871,7 +871,7 @@ const countFinding = (counts, lines) => {
|
|
|
871
871
|
return off.length === 0 ? null : off.join("; ");
|
|
872
872
|
};
|
|
873
873
|
/** This function says a line match in words, for a finding. */
|
|
874
|
-
const wordsOf = (match) => {
|
|
874
|
+
const wordsOf$1 = (match) => {
|
|
875
875
|
const where = Object.entries(match.where ?? {}).map(([path, value]) => `${path} ${String(value)}`);
|
|
876
876
|
return where.length === 0 ? `a ${match.ev} line` : `a ${match.ev} line with ${where.join(", ")}`;
|
|
877
877
|
};
|
|
@@ -1172,7 +1172,7 @@ const measureDriver = (cell, run) => {
|
|
|
1172
1172
|
const until = prediction.detects ? Infinity : after + valueIn(prediction.window, "s") * 1e9;
|
|
1173
1173
|
for (const match of driver.quiet ?? []) {
|
|
1174
1174
|
const line = events.find((event) => event.t > after && event.t <= until && matches(event, match));
|
|
1175
|
-
if (line !== void 0) findings.push(`${wordsOf(match)} came ${between$3(after, line.t).value} s after the fault, where none should`);
|
|
1175
|
+
if (line !== void 0) findings.push(`${wordsOf$1(match)} came ${between$3(after, line.t).value} s after the fault, where none should`);
|
|
1176
1176
|
}
|
|
1177
1177
|
const expected = prediction.detects ? void 0 : prediction.middlebox?.forgets;
|
|
1178
1178
|
if (!prediction.detects && (run.middlebox !== void 0 || expected !== void 0)) {
|
|
@@ -1190,7 +1190,7 @@ const measureDriver = (cell, run) => {
|
|
|
1190
1190
|
else if (last === void 0) findings.push(`the ${socket.role} socket got no segment before the fault`);
|
|
1191
1191
|
else {
|
|
1192
1192
|
const at = between$3(last, forgot.t).value;
|
|
1193
|
-
const [low, high] = [round(valueIn(expected.low, "s") - noise), round(valueIn(expected.high, "s") + noise)];
|
|
1193
|
+
const [low, high] = [round$1(valueIn(expected.low, "s") - noise), round$1(valueIn(expected.high, "s") + noise)];
|
|
1194
1194
|
if (at < low || at > high) findings.push(`a router forgot the flow of the ${socket.role} socket ${at} s after its last segment, outside [${low}, ${high}] s`);
|
|
1195
1195
|
}
|
|
1196
1196
|
}
|
|
@@ -1199,7 +1199,7 @@ const measureDriver = (cell, run) => {
|
|
|
1199
1199
|
const line = lineAfter(events, step.ends, after);
|
|
1200
1200
|
const from = referenceOf(run, step.from, step.socket ?? driver.socket, true, line?.t);
|
|
1201
1201
|
if (line === void 0 || from === void 0) {
|
|
1202
|
-
findings.push(line === void 0 ? `${step.what}: ${wordsOf(step.ends)} never came` : `${step.what}: its reference (${step.from}) never came`);
|
|
1202
|
+
findings.push(line === void 0 ? `${step.what}: ${wordsOf$1(step.ends)} never came` : `${step.what}: its reference (${step.from}) never came`);
|
|
1203
1203
|
return {
|
|
1204
1204
|
what: step.what,
|
|
1205
1205
|
name: line === void 0 ? null : nameOf$1(line, step.ends),
|
|
@@ -1209,7 +1209,7 @@ const measureDriver = (cell, run) => {
|
|
|
1209
1209
|
const elapsed = between$3(from, line.t);
|
|
1210
1210
|
const name = nameOf$1(line, step.ends);
|
|
1211
1211
|
if (step.name !== "OK" && name !== step.name) findings.push(`${step.what}: it ended with ${name}, not ${step.name}`);
|
|
1212
|
-
const [low, high] = [round(valueIn(step.low, "s") - noise), round(valueIn(step.high, "s") + noise)];
|
|
1212
|
+
const [low, high] = [round$1(valueIn(step.low, "s") - noise), round$1(valueIn(step.high, "s") + noise)];
|
|
1213
1213
|
if (elapsed.value < low || elapsed.value > high) findings.push(`${step.what}: ${elapsed.value} s is outside [${low}, ${high}] s`);
|
|
1214
1214
|
return {
|
|
1215
1215
|
what: step.what,
|
|
@@ -1233,7 +1233,7 @@ const measureDriver = (cell, run) => {
|
|
|
1233
1233
|
...nothing,
|
|
1234
1234
|
...stepped,
|
|
1235
1235
|
void: voided,
|
|
1236
|
-
finding: findings[0] ?? `the reply never came: ${wordsOf(driver.reply.ends)}`
|
|
1236
|
+
finding: findings[0] ?? `the reply never came: ${wordsOf$1(driver.reply.ends)}`
|
|
1237
1237
|
};
|
|
1238
1238
|
return {
|
|
1239
1239
|
...base,
|
|
@@ -3779,8 +3779,37 @@ const leafLacks = (views) => {
|
|
|
3779
3779
|
* the outage in the two directions.
|
|
3780
3780
|
*/
|
|
3781
3781
|
const laterMove = (routes, after) => {
|
|
3782
|
-
const firsts = LEAVES.map((leaf) => routes
|
|
3783
|
-
return firsts.every((t) => t !==
|
|
3782
|
+
const firsts = LEAVES.map((leaf) => leafRouteAfter(routes, leaf.name, after, "spine2"));
|
|
3783
|
+
return firsts.every((t) => t !== null) ? Math.max(...firsts) : null;
|
|
3784
|
+
};
|
|
3785
|
+
/**
|
|
3786
|
+
* This function gives the time of the first route of a leaf to its far network after an instant, through a spine. It
|
|
3787
|
+
* gives null when the leaf has no such route. A route that leaves spine1 is a move, and a route back to spine1 is a return.
|
|
3788
|
+
*/
|
|
3789
|
+
const leafRouteAfter = (routes, leaf, after, spine) => {
|
|
3790
|
+
const remote = LEAVES.find((each) => each.name === leaf)?.remote;
|
|
3791
|
+
return routes.find((route) => route.leaf === leaf && route.prefix === remote && route.t > after && !route.deleted && route.dev === PREFERRED_DEVICE === (spine === "spine1"))?.t ?? null;
|
|
3792
|
+
};
|
|
3793
|
+
/**
|
|
3794
|
+
* This function reads the drops of a silence from the output of `iptables-save -c`. It gives null when a chain has no
|
|
3795
|
+
* rule of a silence: a rule with no match and the target `DROP`.
|
|
3796
|
+
*/
|
|
3797
|
+
const silenceDrops = (text) => {
|
|
3798
|
+
const counts = /* @__PURE__ */ new Map();
|
|
3799
|
+
for (const line of text.split("\n")) {
|
|
3800
|
+
const found = /^\[(\d+):\d+\] -A (INPUT|OUTPUT|FORWARD) -j DROP$/.exec(line.trim());
|
|
3801
|
+
if (found !== null) counts.set(found[2], (counts.get(found[2]) ?? 0) + Number(found[1]));
|
|
3802
|
+
}
|
|
3803
|
+
const [input, output, forward] = [
|
|
3804
|
+
"INPUT",
|
|
3805
|
+
"OUTPUT",
|
|
3806
|
+
"FORWARD"
|
|
3807
|
+
].map((chain) => counts.get(chain));
|
|
3808
|
+
return input === void 0 || output === void 0 || forward === void 0 ? null : {
|
|
3809
|
+
input,
|
|
3810
|
+
output,
|
|
3811
|
+
forward
|
|
3812
|
+
};
|
|
3784
3813
|
};
|
|
3785
3814
|
/** This function runs a program on the host and gives its output. Its error holds the stderr of the program. */
|
|
3786
3815
|
const host = (program, args) => new Promise((resolve, reject) => {
|
|
@@ -3917,6 +3946,12 @@ const openFabric = async (parts) => {
|
|
|
3917
3946
|
routes,
|
|
3918
3947
|
silence: () => stamp("silence"),
|
|
3919
3948
|
clear: () => stamp("clear-silence"),
|
|
3949
|
+
drops: async () => silenceDrops(await output(silencer, [
|
|
3950
|
+
"iptables-save",
|
|
3951
|
+
"-c",
|
|
3952
|
+
"-t",
|
|
3953
|
+
"filter"
|
|
3954
|
+
])),
|
|
3920
3955
|
async ready() {
|
|
3921
3956
|
const deadline = Date.now() + READY_MS;
|
|
3922
3957
|
for (;;) {
|
|
@@ -3947,6 +3982,11 @@ const openFabric = async (parts) => {
|
|
|
3947
3982
|
for (const leaf of LEAVES) out[leaf.name] = sessionsOf(await vtysh(leaf.name, "show bgp neighbors json")).established;
|
|
3948
3983
|
return out;
|
|
3949
3984
|
},
|
|
3985
|
+
async bgp() {
|
|
3986
|
+
const out = {};
|
|
3987
|
+
for (const leaf of LEAVES) out[leaf.name] = sessionsOf(await vtysh(leaf.name, "show bgp neighbors json"));
|
|
3988
|
+
return out;
|
|
3989
|
+
},
|
|
3950
3990
|
manifest: () => ({
|
|
3951
3991
|
...fabric,
|
|
3952
3992
|
image: FRR_IMAGE,
|
|
@@ -5619,6 +5659,436 @@ const recordProblems = (record) => [.../* @__PURE__ */ new Set([
|
|
|
5619
5659
|
...record.manifests.flatMap((manifest) => manifestProblems(manifest)),
|
|
5620
5660
|
...record.debug === true ? [DEBUG] : []
|
|
5621
5661
|
])];
|
|
5662
|
+
// src/fabric-tier.ts
|
|
5663
|
+
/**
|
|
5664
|
+
* The fabric tier applies a fault to the routed fabric of `fabric.ts` (layer E3), and records what the routers and a
|
|
5665
|
+
* stream of datagrams did. Four routers of FRRouting, two leaves and two spines, run eBGP under containerlab. A client
|
|
5666
|
+
* behind leaf1 sends a numbered UDP datagram to a target behind leaf2 each 50 ms. The path goes through spine1.
|
|
5667
|
+
*
|
|
5668
|
+
* Each fault uses the silence of `fabric.ts`: the injector drops each packet of spine1 in one commit, and the links stay
|
|
5669
|
+
* up. Thus only the BGP hold timer can see the fault.
|
|
5670
|
+
*
|
|
5671
|
+
* - `stall` silences spine1 for `ms`, then ends the silence. Under the hold time, no route changes.
|
|
5672
|
+
* - `blackhole` silences spine1 until each leaf moves its route to spine2. Then the stream goes through spine2.
|
|
5673
|
+
* - `route-flap` is a blackhole, then the end of the silence, until each leaf is back on spine1.
|
|
5674
|
+
*
|
|
5675
|
+
* The tier needs Docker, containerlab and sudo on a Linux host. Thus it operates only in CI, in the workflow `fabric.yml`.
|
|
5676
|
+
*/
|
|
5677
|
+
/** The format of a record of the fabric tier. */
|
|
5678
|
+
const FABRIC_RECORD_FORMAT = "harness-fabric/1";
|
|
5679
|
+
/** The kinds of fault that the fabric tier applies, in a stable sequence. The rig `systems.fabric-tier` names the same kinds. */
|
|
5680
|
+
const FABRIC_TIER_FAULTS = [
|
|
5681
|
+
"stall",
|
|
5682
|
+
"blackhole",
|
|
5683
|
+
"route-flap"
|
|
5684
|
+
];
|
|
5685
|
+
/**
|
|
5686
|
+
* The BGP timers of the tier: keepalive 2 s, hold 6 s, and no BFD. Only the hold timer detects a silence, thus a move
|
|
5687
|
+
* comes 4 s to 6 s after the start of a silence.
|
|
5688
|
+
*/
|
|
5689
|
+
const FABRIC_TIER_TIMERS = {
|
|
5690
|
+
keepalive: {
|
|
5691
|
+
value: 2,
|
|
5692
|
+
unit: "s"
|
|
5693
|
+
},
|
|
5694
|
+
hold: {
|
|
5695
|
+
value: 6,
|
|
5696
|
+
unit: "s"
|
|
5697
|
+
},
|
|
5698
|
+
bfd: null
|
|
5699
|
+
};
|
|
5700
|
+
/** The image of the client and the target of the stream: Node.js 24.21.0, pinned by digest. */
|
|
5701
|
+
const FABRIC_STREAM_IMAGE = "node:24.21.0-alpine@sha256:ebfe2f90462722a7a4de65e91990e97fe0d401c70e0e762c5b53302f905ec1c1";
|
|
5702
|
+
/** The UDP port of the target of the stream. */
|
|
5703
|
+
const FABRIC_STREAM_PORT = 9e3;
|
|
5704
|
+
/** The client sends one datagram in each interval of this length in ms. */
|
|
5705
|
+
const FABRIC_STREAM_INTERVAL_MS = 50;
|
|
5706
|
+
/** The folder of the scripts of the stream in the client and in the target. */
|
|
5707
|
+
const SCRIPTS = "/opt/fabric";
|
|
5708
|
+
/** The client starts the stream when this file exists. */
|
|
5709
|
+
const GO = "/tmp/fabric-go";
|
|
5710
|
+
/** A record holds each interval between two datagrams that is longer than this time in ms: two intervals of the stream. */
|
|
5711
|
+
const GAP_MS = 100;
|
|
5712
|
+
/** The stream operates for this time in ms before a fault, thus a record shows the stream before the fault. */
|
|
5713
|
+
const LEAD_MS = 1e3;
|
|
5714
|
+
/** The stream operates for this time in ms after a stall or a route flap, thus a record shows the stream after the fault. */
|
|
5715
|
+
const TAIL_MS$4 = 2e3;
|
|
5716
|
+
/** After a move, a blackhole holds the silence for this time in ms, thus a record shows the stream on spine2. */
|
|
5717
|
+
const RESUME_MS = 1e3;
|
|
5718
|
+
/** The limit in ms for the move of each leaf after the start of a silence: the hold time of 6 s, with a margin. */
|
|
5719
|
+
const MOVE_MS = 15e3;
|
|
5720
|
+
/** The limit in ms for the first datagram of the stream after its start. */
|
|
5721
|
+
const FIRST_MS = 1e4;
|
|
5722
|
+
const POLL_MS$1 = 50;
|
|
5723
|
+
/**
|
|
5724
|
+
* The target of the stream writes one JSON line for each datagram: its number and its time on CLOCK_MONOTONIC in ns.
|
|
5725
|
+
* `process.hrtime` of Node.js reads CLOCK_MONOTONIC. The clock is the same in each container and on the host.
|
|
5726
|
+
*/
|
|
5727
|
+
const FABRIC_SINK_SCRIPT = String.raw`import { createSocket } from "node:dgram";
|
|
5728
|
+
const port = Number(process.argv[2]);
|
|
5729
|
+
const socket = createSocket("udp4");
|
|
5730
|
+
socket.on("message", (data) => {
|
|
5731
|
+
const t = process.hrtime.bigint();
|
|
5732
|
+
const seq = Number(data.toString("utf8"));
|
|
5733
|
+
if (Number.isInteger(seq)) process.stdout.write('{"ev":"got","seq":' + seq + ',"t":' + t + '}\n');
|
|
5734
|
+
});
|
|
5735
|
+
socket.bind(port, () => process.stdout.write('{"ev":"ready","port":' + port + '}\n'));
|
|
5736
|
+
`;
|
|
5737
|
+
/**
|
|
5738
|
+
* The client of the stream waits for the file of its fourth argument. Then it sends a datagram with the next number
|
|
5739
|
+
* each interval of its third argument in ms, on a schedule from its start. A send that fails does not stop the stream.
|
|
5740
|
+
*/
|
|
5741
|
+
const FABRIC_STREAM_SCRIPT = String.raw`import { createSocket } from "node:dgram";
|
|
5742
|
+
import { existsSync } from "node:fs";
|
|
5743
|
+
const [host, portText, intervalText, go] = process.argv.slice(2);
|
|
5744
|
+
const port = Number(portText);
|
|
5745
|
+
const interval = BigInt(Number(intervalText) * 1000000);
|
|
5746
|
+
const socket = createSocket("udp4");
|
|
5747
|
+
socket.on("error", () => undefined);
|
|
5748
|
+
const start = () => {
|
|
5749
|
+
const origin = process.hrtime.bigint();
|
|
5750
|
+
process.stdout.write('{"ev":"go","t":' + origin + '}\n');
|
|
5751
|
+
let seq = 0;
|
|
5752
|
+
const tick = () => {
|
|
5753
|
+
socket.send(String(seq), port, host, () => undefined);
|
|
5754
|
+
seq += 1;
|
|
5755
|
+
const next = origin + BigInt(seq) * interval;
|
|
5756
|
+
setTimeout(tick, Math.max(0, Number(next - process.hrtime.bigint()) / 1e6));
|
|
5757
|
+
};
|
|
5758
|
+
tick();
|
|
5759
|
+
};
|
|
5760
|
+
const wait = () => (existsSync(go) ? start() : setTimeout(wait, 100));
|
|
5761
|
+
wait();
|
|
5762
|
+
`;
|
|
5763
|
+
/** This function reads one line of the target of the stream, or it gives null for another line. */
|
|
5764
|
+
const arrivalOf = (line) => {
|
|
5765
|
+
try {
|
|
5766
|
+
const value = JSON.parse(line);
|
|
5767
|
+
return value.ev === "got" && Number.isInteger(value.seq) && typeof value.t === "number" ? {
|
|
5768
|
+
seq: value.seq,
|
|
5769
|
+
t: value.t
|
|
5770
|
+
} : null;
|
|
5771
|
+
} catch {
|
|
5772
|
+
return null;
|
|
5773
|
+
}
|
|
5774
|
+
};
|
|
5775
|
+
/** This function gives each problem of a fault of the fabric tier. An empty list means that the fault is correct. */
|
|
5776
|
+
const fabricFaultProblems = (fault) => {
|
|
5777
|
+
const kind = fault.kind;
|
|
5778
|
+
if (kind !== "none" && !FABRIC_TIER_FAULTS.includes(kind)) return [`the fabric tier does not apply the kind ${String(kind)}. It applies ${FABRIC_TIER_FAULTS.join(", ")} and the control none.`];
|
|
5779
|
+
if (kind === "none" || kind === "stall") {
|
|
5780
|
+
const ms = fault.ms;
|
|
5781
|
+
if (!(typeof ms === "number" && Number.isFinite(ms) && ms > 0)) return [`the ms of a ${kind} is a positive number, not ${String(ms)}`];
|
|
5782
|
+
}
|
|
5783
|
+
return [];
|
|
5784
|
+
};
|
|
5785
|
+
/**
|
|
5786
|
+
* This function gives the stream of a window from the arrivals of the target. `from` and `to` are times on
|
|
5787
|
+
* CLOCK_MONOTONIC in ns, and each time of the stream is in ms from `from`.
|
|
5788
|
+
*/
|
|
5789
|
+
const fabricStreamOf = (arrivals, from, to) => {
|
|
5790
|
+
const inside = arrivals.filter((each) => each.t >= from && each.t <= to).sort((a, b) => a.t - b.t);
|
|
5791
|
+
const seqs = new Set(inside.map((each) => each.seq));
|
|
5792
|
+
const firstSeq = inside.length === 0 ? null : Math.min(...seqs);
|
|
5793
|
+
const lastSeq = inside.length === 0 ? null : Math.max(...seqs);
|
|
5794
|
+
const gaps = [];
|
|
5795
|
+
let longest = 0;
|
|
5796
|
+
for (let at = 1; at < inside.length; at += 1) {
|
|
5797
|
+
const [before, after] = [inside[at - 1], inside[at]];
|
|
5798
|
+
const ms = (after.t - before.t) / 1e6;
|
|
5799
|
+
longest = Math.max(longest, ms);
|
|
5800
|
+
if (ms > GAP_MS) gaps.push({
|
|
5801
|
+
at: msFrom(before.t, from),
|
|
5802
|
+
ms: round(ms),
|
|
5803
|
+
after: before.seq,
|
|
5804
|
+
before: after.seq
|
|
5805
|
+
});
|
|
5806
|
+
}
|
|
5807
|
+
return {
|
|
5808
|
+
intervalMs: 50,
|
|
5809
|
+
received: inside.length,
|
|
5810
|
+
firstSeq,
|
|
5811
|
+
lastSeq,
|
|
5812
|
+
lost: firstSeq === null || lastSeq === null ? 0 : lastSeq - firstSeq + 1 - seqs.size,
|
|
5813
|
+
first: inside.length === 0 ? null : msFrom(inside[0].t, from),
|
|
5814
|
+
last: inside.length === 0 ? null : msFrom(inside.at(-1).t, from),
|
|
5815
|
+
longest: round(longest),
|
|
5816
|
+
gaps
|
|
5817
|
+
};
|
|
5818
|
+
};
|
|
5819
|
+
const round = (ms) => Math.round(ms * 1e3) / 1e3;
|
|
5820
|
+
const msFrom = (t, origin) => round((t - origin) / 1e6);
|
|
5821
|
+
const now = () => Number(process.hrtime.bigint());
|
|
5822
|
+
/** This function waits until a value is not null, or until a limit in ms passes. Then it gives null. */
|
|
5823
|
+
const until$1 = async (read, limitMs) => {
|
|
5824
|
+
const deadline = performance.now() + limitMs;
|
|
5825
|
+
for (;;) {
|
|
5826
|
+
const value = read();
|
|
5827
|
+
if (value !== null || performance.now() > deadline) return value;
|
|
5828
|
+
await setTimeout$1(POLL_MS$1);
|
|
5829
|
+
}
|
|
5830
|
+
};
|
|
5831
|
+
/**
|
|
5832
|
+
* This function opens the lab of the fabric tier. It builds the image of the harness once, and starts the target and
|
|
5833
|
+
* the client of the stream. Then it deploys the routers with the timers of `FABRIC_TIER_TIMERS`, and starts the stream.
|
|
5834
|
+
* The promise rejects when the fabric is not ready, or when no datagram arrives.
|
|
5835
|
+
*/
|
|
5836
|
+
const openFabricLab = async (options) => {
|
|
5837
|
+
const image = await harnessImage();
|
|
5838
|
+
const build = buildRecordOf(shippedSource("harness"));
|
|
5839
|
+
const { GenericContainer, Wait } = await containers();
|
|
5840
|
+
const opened = [];
|
|
5841
|
+
const arrivals = [];
|
|
5842
|
+
let fabric;
|
|
5843
|
+
const close = async () => {
|
|
5844
|
+
await fabric?.close();
|
|
5845
|
+
for (const container of opened.reverse()) await container.stop(STOP).catch(() => void 0);
|
|
5846
|
+
};
|
|
5847
|
+
try {
|
|
5848
|
+
const server = await new GenericContainer(FABRIC_STREAM_IMAGE).withCopyContentToContainer([{
|
|
5849
|
+
content: FABRIC_SINK_SCRIPT,
|
|
5850
|
+
target: `${SCRIPTS}/sink.mjs`
|
|
5851
|
+
}]).withCommand([
|
|
5852
|
+
"node",
|
|
5853
|
+
`${SCRIPTS}/sink.mjs`,
|
|
5854
|
+
String(FABRIC_STREAM_PORT)
|
|
5855
|
+
]).withWaitStrategy(Wait.forLogMessage(/"ev":"ready"/)).withLogConsumer((stream) => {
|
|
5856
|
+
let rest = "";
|
|
5857
|
+
stream.on("data", (chunk) => {
|
|
5858
|
+
const lines = (rest + chunk.toString()).split("\n");
|
|
5859
|
+
rest = lines.pop() ?? "";
|
|
5860
|
+
for (const line of lines) {
|
|
5861
|
+
const arrival = arrivalOf(line);
|
|
5862
|
+
if (arrival !== null) arrivals.push(arrival);
|
|
5863
|
+
}
|
|
5864
|
+
});
|
|
5865
|
+
}).start();
|
|
5866
|
+
opened.push(server);
|
|
5867
|
+
const client = await new GenericContainer(FABRIC_STREAM_IMAGE).withCopyContentToContainer([{
|
|
5868
|
+
content: FABRIC_STREAM_SCRIPT,
|
|
5869
|
+
target: `${SCRIPTS}/stream.mjs`
|
|
5870
|
+
}]).withCommand([
|
|
5871
|
+
"node",
|
|
5872
|
+
`${SCRIPTS}/stream.mjs`,
|
|
5873
|
+
FABRIC_TARGET,
|
|
5874
|
+
String(FABRIC_STREAM_PORT),
|
|
5875
|
+
String(50),
|
|
5876
|
+
GO
|
|
5877
|
+
]).start();
|
|
5878
|
+
opened.push(client);
|
|
5879
|
+
const admin = await new GenericContainer(image).withNetworkMode(`container:${client.getId()}`).withPrivilegedMode().start();
|
|
5880
|
+
opened.push(admin);
|
|
5881
|
+
const injector = await new GenericContainer(image).withNetworkMode(`container:${server.getId()}`).withAddedCapabilities("NET_ADMIN", "NET_RAW").start();
|
|
5882
|
+
opened.push(injector);
|
|
5883
|
+
fabric = await openFabric({
|
|
5884
|
+
fabric: FABRIC_TIER_TIMERS,
|
|
5885
|
+
image,
|
|
5886
|
+
client,
|
|
5887
|
+
server,
|
|
5888
|
+
admin,
|
|
5889
|
+
injector,
|
|
5890
|
+
opened,
|
|
5891
|
+
output
|
|
5892
|
+
});
|
|
5893
|
+
await fabric.ready();
|
|
5894
|
+
await output(client, ["touch", GO]);
|
|
5895
|
+
if (await until$1(() => arrivals.length > 0 ? true : null, FIRST_MS) === null) throw new Error(`openFabricLab: no datagram of the stream arrived in ${FIRST_MS} ms.`);
|
|
5896
|
+
return {
|
|
5897
|
+
fabric,
|
|
5898
|
+
arrivals,
|
|
5899
|
+
image: {
|
|
5900
|
+
tag: image,
|
|
5901
|
+
...build === void 0 ? {} : { build }
|
|
5902
|
+
},
|
|
5903
|
+
code: options.code,
|
|
5904
|
+
substrate: substrateHere("E3"),
|
|
5905
|
+
close
|
|
5906
|
+
};
|
|
5907
|
+
} catch (error) {
|
|
5908
|
+
await close();
|
|
5909
|
+
throw error;
|
|
5910
|
+
}
|
|
5911
|
+
};
|
|
5912
|
+
/**
|
|
5913
|
+
* This function applies one fault, or the control, to the lab, and gives its record. It throws a `RangeError` for a
|
|
5914
|
+
* fault with problems. First it waits until each leaf is on spine1 with each session up. The window of the record starts
|
|
5915
|
+
* `LEAD_MS` before the fault.
|
|
5916
|
+
*/
|
|
5917
|
+
const runFabricFault = async (lab, fault) => {
|
|
5918
|
+
const problems = fabricFaultProblems(fault);
|
|
5919
|
+
if (problems.length > 0) throw new RangeError(`runFabricFault: ${problems.join(" ")}`);
|
|
5920
|
+
const { fabric } = lab;
|
|
5921
|
+
await fabric.ready();
|
|
5922
|
+
const at = (/* @__PURE__ */ new Date()).toISOString();
|
|
5923
|
+
const before = await fabric.bgp();
|
|
5924
|
+
const origin = now();
|
|
5925
|
+
await setTimeout$1(LEAD_MS);
|
|
5926
|
+
let silence = null;
|
|
5927
|
+
let clear = null;
|
|
5928
|
+
let drops = null;
|
|
5929
|
+
let after;
|
|
5930
|
+
switch (fault.kind) {
|
|
5931
|
+
case "none":
|
|
5932
|
+
await setTimeout$1(fault.ms);
|
|
5933
|
+
break;
|
|
5934
|
+
case "stall":
|
|
5935
|
+
silence = await fabric.silence();
|
|
5936
|
+
await setTimeout$1(fault.ms);
|
|
5937
|
+
drops = await fabric.drops();
|
|
5938
|
+
clear = await fabric.clear();
|
|
5939
|
+
await setTimeout$1(TAIL_MS$4);
|
|
5940
|
+
break;
|
|
5941
|
+
case "blackhole":
|
|
5942
|
+
case "route-flap": {
|
|
5943
|
+
silence = await fabric.silence();
|
|
5944
|
+
const t0 = silence.t0;
|
|
5945
|
+
if (await until$1(() => laterMove(fabric.routes, t0), MOVE_MS) !== null) await setTimeout$1(RESUME_MS);
|
|
5946
|
+
drops = await fabric.drops();
|
|
5947
|
+
if (fault.kind === "blackhole") after = await fabric.bgp();
|
|
5948
|
+
clear = await fabric.clear();
|
|
5949
|
+
if (fault.kind === "route-flap") {
|
|
5950
|
+
await fabric.ready();
|
|
5951
|
+
await setTimeout$1(TAIL_MS$4);
|
|
5952
|
+
}
|
|
5953
|
+
break;
|
|
5954
|
+
}
|
|
5955
|
+
}
|
|
5956
|
+
after ??= await fabric.bgp();
|
|
5957
|
+
const end = now();
|
|
5958
|
+
const stamp = (pair) => pair === null ? null : {
|
|
5959
|
+
t0: msFrom(pair.t0, origin),
|
|
5960
|
+
t1: msFrom(pair.t1, origin)
|
|
5961
|
+
};
|
|
5962
|
+
const routes = fabric.routes.filter((route) => route.t >= origin && route.t <= end);
|
|
5963
|
+
const leaves = ROUTERS.filter((router) => router.remote !== void 0).map((leaf) => {
|
|
5964
|
+
const away = silence === null ? null : leafRouteAfter(routes, leaf.name, silence.t0, "spine2");
|
|
5965
|
+
const back = clear === null ? null : leafRouteAfter(routes, leaf.name, clear.t0, "spine1");
|
|
5966
|
+
return {
|
|
5967
|
+
leaf: leaf.name,
|
|
5968
|
+
away: away === null || silence === null ? null : round((away - silence.t0) / 1e6),
|
|
5969
|
+
back: back === null || clear === null ? null : round((back - clear.t0) / 1e6),
|
|
5970
|
+
changes: routes.filter((route) => route.leaf === leaf.name && route.prefix === leaf.remote).length
|
|
5971
|
+
};
|
|
5972
|
+
});
|
|
5973
|
+
const moved = silence === null ? null : laterMove(routes, silence.t0);
|
|
5974
|
+
const resumedAt = moved === null || clear === null ? void 0 : lab.arrivals.find((each) => each.t > moved && each.t < clear.t0)?.t;
|
|
5975
|
+
const manifest = fabric.manifest();
|
|
5976
|
+
return {
|
|
5977
|
+
format: FABRIC_RECORD_FORMAT,
|
|
5978
|
+
fault,
|
|
5979
|
+
at,
|
|
5980
|
+
code: lab.code,
|
|
5981
|
+
substrate: lab.substrate,
|
|
5982
|
+
image: lab.image,
|
|
5983
|
+
frr: {
|
|
5984
|
+
image: FRR_IMAGE,
|
|
5985
|
+
digest: FRR_IMAGE.slice(FRR_IMAGE.indexOf("@") + 1)
|
|
5986
|
+
},
|
|
5987
|
+
stream: {
|
|
5988
|
+
...fabricStreamOf(lab.arrivals, origin, end),
|
|
5989
|
+
image: FABRIC_STREAM_IMAGE,
|
|
5990
|
+
port: FABRIC_STREAM_PORT
|
|
5991
|
+
},
|
|
5992
|
+
containerlab: manifest.containerlab,
|
|
5993
|
+
timers: {
|
|
5994
|
+
keepaliveS: valueIn(FABRIC_TIER_TIMERS.keepalive, "s"),
|
|
5995
|
+
holdS: valueIn(FABRIC_TIER_TIMERS.hold, "s"),
|
|
5996
|
+
bfd: null
|
|
5997
|
+
},
|
|
5998
|
+
window: msFrom(end, origin),
|
|
5999
|
+
injector: {
|
|
6000
|
+
silence: stamp(silence),
|
|
6001
|
+
clear: stamp(clear),
|
|
6002
|
+
drops
|
|
6003
|
+
},
|
|
6004
|
+
resumed: resumedAt === void 0 || moved === null ? null : round((resumedAt - moved) / 1e6),
|
|
6005
|
+
leaves,
|
|
6006
|
+
routes: routes.map((route) => ({
|
|
6007
|
+
...route,
|
|
6008
|
+
t: msFrom(route.t, origin)
|
|
6009
|
+
})),
|
|
6010
|
+
sessions: {
|
|
6011
|
+
before,
|
|
6012
|
+
after
|
|
6013
|
+
}
|
|
6014
|
+
};
|
|
6015
|
+
};
|
|
6016
|
+
/**
|
|
6017
|
+
* This function gives each problem of the pins of a fabric record. The pins are the commit of the code and the image of
|
|
6018
|
+
* the harness with its build record. The FRR image and the image of the stream need a digest. A checkout with changes is
|
|
6019
|
+
* also a problem. A record with a problem is not a record.
|
|
6020
|
+
*/
|
|
6021
|
+
const fabricRecordProblems = (record) => [.../* @__PURE__ */ new Set([
|
|
6022
|
+
...commitProblems(record.code?.commit),
|
|
6023
|
+
...record.code?.dirty === true ? [DIRTY] : [],
|
|
6024
|
+
...imagePinProblems("the image of the harness", record.image.tag, record.image.build),
|
|
6025
|
+
...imagePinProblems("the image of FRRouting", record.frr.image, void 0),
|
|
6026
|
+
...imagePinProblems("the image of the stream", record.stream.image, void 0)
|
|
6027
|
+
])];
|
|
6028
|
+
// src/vm-tier.ts
|
|
6029
|
+
/** The kinds of fault that the gate of the VM tier examines. */
|
|
6030
|
+
const VM_TIER_FAULTS = ["blackhole", "stall"];
|
|
6031
|
+
/** The format of the boot record. The type holds it equal to the format that `vm.ts` writes, with no import of `vm.ts`. */
|
|
6032
|
+
const BOOT_FORMAT = "harness-vm-boot/1";
|
|
6033
|
+
/** The format of the record of a cell, as the cells write it. */
|
|
6034
|
+
const CELL_RECORD_FORMAT = "loom.cell-record/1";
|
|
6035
|
+
const wordsOf = (outcome) => outcome.kind === "error" ? `the error ${outcome.errno}` : outcome.kind;
|
|
6036
|
+
const range = ([low, high]) => `${low} s to ${high} s`;
|
|
6037
|
+
const inRange = (value, [low, high]) => value >= low && value <= high;
|
|
6038
|
+
const controlProblems = (arm, expected) => {
|
|
6039
|
+
const problems = [];
|
|
6040
|
+
const { boot } = arm;
|
|
6041
|
+
if (boot === null) return ["the arm has no boot record: the guest did not boot"];
|
|
6042
|
+
if (boot.format !== BOOT_FORMAT) problems.push(`the boot record has the format ${String(boot.format)}, not ${BOOT_FORMAT}`);
|
|
6043
|
+
if (boot.kernel !== expected.kernel) problems.push(`the guest booted the kernel ${boot.kernel}, not the pinned kernel ${expected.kernel}`);
|
|
6044
|
+
if (!(boot.ms <= expected.bootMaxMs)) problems.push(`the boot to Docker took ${boot.ms} ms, not ${expected.bootMaxMs} ms or less`);
|
|
6045
|
+
if (arm.records.length === 0) problems.push("the arm has no record of a cell");
|
|
6046
|
+
for (const record of arm.records) {
|
|
6047
|
+
const name = record.cell.name;
|
|
6048
|
+
if (record.manifests.length === 0) problems.push(`the record of ${name} has no manifest`);
|
|
6049
|
+
for (const manifest of record.manifests) {
|
|
6050
|
+
if (manifest.kernel !== expected.kernel) problems.push(`the record of ${name} operated on the kernel ${manifest.kernel}, not ${expected.kernel}`);
|
|
6051
|
+
if (manifest.substrate?.layer !== "E4") problems.push(`the record of ${name} is of the layer ${String(manifest.substrate?.layer)}, not E4`);
|
|
6052
|
+
}
|
|
6053
|
+
for (const run of record.runs) if (run.steal === void 0) problems.push(`the run ${run.environment}.${run.index} of ${name} has no steal`);
|
|
6054
|
+
else if (!(run.steal <= expected.stealMax)) problems.push(`the steal of the run ${run.environment}.${run.index} of ${name} is ${run.steal}, not ${expected.stealMax} or less`);
|
|
6055
|
+
}
|
|
6056
|
+
return problems;
|
|
6057
|
+
};
|
|
6058
|
+
const faultProblems = (arm, expected) => {
|
|
6059
|
+
const record = arm.records.find((each) => each.cell.name === expected.cell);
|
|
6060
|
+
if (record === void 0) return [`the arm has no record of the cell ${expected.cell}`];
|
|
6061
|
+
const problems = [];
|
|
6062
|
+
if (record.cell.fault !== expected.fault) problems.push(`the cell ${expected.cell} applies ${record.cell.fault}, not ${expected.fault}`);
|
|
6063
|
+
const counted = record.runs.map((run) => ({
|
|
6064
|
+
run,
|
|
6065
|
+
read: measure(record.cell, run)
|
|
6066
|
+
})).filter(({ read }) => read.void === null);
|
|
6067
|
+
if (counted.length < expected.runsMin) problems.push(`the cell ${expected.cell} has ${counted.length} runs that are not void, not ${expected.runsMin} or more`);
|
|
6068
|
+
const times = [];
|
|
6069
|
+
for (const { run, read } of counted) {
|
|
6070
|
+
const id = `the run ${run.environment}.${run.index}`;
|
|
6071
|
+
const { outcome } = read;
|
|
6072
|
+
if (!(outcome.kind === expected.outcome && (outcome.kind !== "error" || outcome.errno === expected.errno))) problems.push(`${id} ended with ${wordsOf(outcome)}, not ${expected.outcome === "error" ? `the error ${String(expected.errno)}` : expected.outcome}`);
|
|
6073
|
+
if (read.elapsed === null || read.elapsed === void 0) {
|
|
6074
|
+
problems.push(`${id} has no measured time`);
|
|
6075
|
+
continue;
|
|
6076
|
+
}
|
|
6077
|
+
const seconds = valueIn(read.elapsed, "s");
|
|
6078
|
+
times.push(seconds);
|
|
6079
|
+
if (expected.each !== void 0 && !inRange(seconds, expected.each)) problems.push(`${id} took ${seconds} s, not ${range(expected.each)}`);
|
|
6080
|
+
}
|
|
6081
|
+
if (expected.median !== void 0 && times.length > 0) {
|
|
6082
|
+
const middle = median(times);
|
|
6083
|
+
if (!inRange(middle, expected.median)) problems.push(`the median of the cell ${expected.cell} is ${middle} s, not ${range(expected.median)}`);
|
|
6084
|
+
}
|
|
6085
|
+
return problems;
|
|
6086
|
+
};
|
|
6087
|
+
/**
|
|
6088
|
+
* This function gives each difference between the records of an arm `e4` and the result that a case expects. An arm
|
|
6089
|
+
* with no boot record, no record of the cell or no counted run gives a problem: a void arm does not pass.
|
|
6090
|
+
*/
|
|
6091
|
+
const vmArmProblems = (arm, cases) => cases.flatMap((each) => (each.kind === "control" ? controlProblems(arm, each) : faultProblems(arm, each)).map((problem) => `${each.name}: ${problem}`));
|
|
5622
6092
|
// src/disk.ts
|
|
5623
6093
|
/**
|
|
5624
6094
|
* The disk tier applies a disk plan of `@mark1russell7/rigor-chaos` to the files of a program. Each fault starts one new
|
|
@@ -9950,6 +10420,6 @@ const runCell = async (cell, say = () => {}) => {
|
|
|
9950
10420
|
target = larger;
|
|
9951
10421
|
}
|
|
9952
10422
|
};
|
|
9953
|
-
export { AWS_FROM, CLIENT_CAPABILITIES, CLIENT_NAMES, CLOSED_TOLERANCE, CLOUDS, CLUSTER_STAGES, CONVERGE_MS, CPU_STATES, DAEMONS, DEBUG, DIRTY, DISK_MOUNT, DISK_RECORD_FORMAT, DISK_ROOT, DISK_SUBJECT, DISK_TIER_KINDS, DROP_HANDLING, FABRIC_CLIENT, FABRIC_DEVICE, FABRIC_TARGET, FRR_IMAGE, GIVES_AWAY, HASH_SCRIPT, INJECT, INSERT, KAFKA_TAIL_MS, KEPT, LAYERS, LAYER_FACTS, LAYER_RIG_ENV, LIMITS, LINGER_MS, LISTING, LOAD_FORMAT, LOAD_PATH, LOAD_POOL_LIMIT, LOCK_NAMES, LOSS_MARGIN, MEMBER_MARKS, MONITOR_DOWN, NODE_MARKS, NOISE, PINNED, PUMP, PUMP_SLACK, QUIET_MS, RELATIVE, REPLICA_SET_STAGES, REPOSITORY, RESOURCES_EVENT, RESOURCES_PROGRAM, RESTART, RIG_TERMS, ROUTERS, SCHEDULE_PATH, SEED_DOCUMENT, SHIPPED_CLIENTS, SHIPPED_NAMES, STAGES, STANDBY_READY, STATUS_SCRIPT, STEPS, STEP_DOWN, TOXIC_RIG_TERMS, amqpClientImage, basesOf, bootstrapOf, brokerEnv, buildOf, buildRecordOf, callOf, cancelsOf, cargoVersions, cgroupKeyed, cgroupLimit, cgroupNumber, clockOffsetOf, closeOrExit, cloudOf, clusterArgs, clusterConf, clusterCutOf, clusterHostsOf, clusterOnce, clusterStagesOf, clusterViewOf, commitProblems, commitVoid, comparable, connectionsProblems, controllerEnv, cpuMaxOf, cpuShares, cpuStatOf, cpusOfList, crossingsOf, cutOf, deadlineOf, delayVoids, deliveryFinding, deliveryOf, deviceOf, diskLayerCommand, diskRecordProblems, diskSubjectProblems, diskTornCommand, 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, hostLimitsOf, hzOf, imageOf, imagePinProblems, imageProblems, inContext, infoOf, initiateScript, isFenceLine, isHopPlace, jarVersions, jitterOf, jitterOfLines, judge, kafkaArgs, kafkaClientImage, kafkaCutOf, kafkaOnce, kafkaPauseOnce, kafkaViewOf, lagsOf, laterMove, latestEndOf, layerOf, leafLacks, leftAfter, limitsOf, limitsProblems, loadOf, loadPlanOf, loadVerdict, locksOf, logNameOf, logTimeOf, manifestProblems, matches, measure, measureConntrack, measureDriver, measureEgress, measureGroup, measureMemory, measurePause, measurePorts, measureQueue, medianInterval, memAvailableOf, memberCommand, memberConfig, memberLineOf, memoryStatOf, mongoClientImage, monotonicAt, monotonicOf, namesGroup, networkOf, nodeClientImage, nodeCommand, nodeHttpImage, nodeIdOf, nodeLineOf, nodeNameOf, nodesOnMonotonic, noiseOf, npmDrift, 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, readCpus, readHost, readOplog, reconnectFinding, reconnectOf, recordProblems, recoveryFindings, recoveryOf, referenceOf, reorderingOf, replicaSetArgs, replicaSetOnce, replicaSetStagesOf, requestOf, requestWords, resourceArgs, resourceChange, resourceReader, resourceReadingIn, resourceReadingOf, restamped, rigTermsOf, roomNeeded, roomVoidOf, routeLine, routerImage, routesOf, runCell, runCpusOf, 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 };
|
|
10423
|
+
export { AWS_FROM, CELL_RECORD_FORMAT, CLIENT_CAPABILITIES, CLIENT_NAMES, CLOSED_TOLERANCE, CLOUDS, CLUSTER_STAGES, CONVERGE_MS, CPU_STATES, DAEMONS, DEBUG, DIRTY, DISK_MOUNT, DISK_RECORD_FORMAT, DISK_ROOT, DISK_SUBJECT, DISK_TIER_KINDS, DROP_HANDLING, FABRIC_CLIENT, FABRIC_DEVICE, FABRIC_RECORD_FORMAT, FABRIC_SINK_SCRIPT, FABRIC_STREAM_IMAGE, FABRIC_STREAM_INTERVAL_MS, FABRIC_STREAM_PORT, FABRIC_STREAM_SCRIPT, FABRIC_TARGET, FABRIC_TIER_FAULTS, FABRIC_TIER_TIMERS, FRR_IMAGE, GIVES_AWAY, HASH_SCRIPT, INJECT, INSERT, KAFKA_TAIL_MS, KEPT, LAYERS, LAYER_FACTS, LAYER_RIG_ENV, LIMITS, LINGER_MS, LISTING, LOAD_FORMAT, LOAD_PATH, LOAD_POOL_LIMIT, LOCK_NAMES, LOSS_MARGIN, MEMBER_MARKS, MONITOR_DOWN, NODE_MARKS, NOISE, PINNED, PUMP, PUMP_SLACK, QUIET_MS, RELATIVE, REPLICA_SET_STAGES, REPOSITORY, RESOURCES_EVENT, RESOURCES_PROGRAM, RESTART, RIG_TERMS, ROUTERS, SCHEDULE_PATH, SEED_DOCUMENT, SHIPPED_CLIENTS, SHIPPED_NAMES, STAGES, STANDBY_READY, STATUS_SCRIPT, STEPS, STEP_DOWN, TOXIC_RIG_TERMS, VM_TIER_FAULTS, amqpClientImage, arrivalOf, basesOf, bootstrapOf, brokerEnv, buildOf, buildRecordOf, callOf, cancelsOf, cargoVersions, cgroupKeyed, cgroupLimit, cgroupNumber, clockOffsetOf, closeOrExit, cloudOf, clusterArgs, clusterConf, clusterCutOf, clusterHostsOf, clusterOnce, clusterStagesOf, clusterViewOf, commitProblems, commitVoid, comparable, connectionsProblems, controllerEnv, cpuMaxOf, cpuShares, cpuStatOf, cpusOfList, crossingsOf, cutOf, deadlineOf, delayVoids, deliveryFinding, deliveryOf, deviceOf, diskLayerCommand, diskRecordProblems, diskSubjectProblems, diskTornCommand, drillOnce, drillSpan, dropFinding, dropOf, endpointAfter, envOf, environmentCounts, environmentProblems, errorsOf, estimateOf, estimateVerdict, exitOf, fabricFaultProblems, fabricRecordProblems, fabricStreamOf, fieldOf, fieldsOf, firstUnanswered, folderDigest, frrConf, goHttpImage, goVersions, groupOnce, groupVerdictOf, grpcClientImage, harnessImage, harnessRecord, harnessVersion, hashOf, highestHeld, hikariClientImage, hostLimitsOf, hzOf, imageOf, imagePinProblems, imageProblems, inContext, infoOf, initiateScript, isFenceLine, isHopPlace, jarVersions, jitterOf, jitterOfLines, judge, kafkaArgs, kafkaClientImage, kafkaCutOf, kafkaOnce, kafkaPauseOnce, kafkaViewOf, lagsOf, laterMove, latestEndOf, layerOf, leafLacks, leafRouteAfter, leftAfter, limitsOf, limitsProblems, loadOf, loadPlanOf, loadVerdict, locksOf, logNameOf, logTimeOf, manifestProblems, matches, measure, measureConntrack, measureDriver, measureEgress, measureGroup, measureMemory, measurePause, measurePorts, measureQueue, medianInterval, memAvailableOf, memberCommand, memberConfig, memberLineOf, memoryStatOf, mongoClientImage, monotonicAt, monotonicOf, namesGroup, networkOf, nodeClientImage, nodeCommand, nodeHttpImage, nodeIdOf, nodeLineOf, nodeNameOf, nodesOnMonotonic, noiseOf, npmDrift, npmVersions, numbersOf, onMonotonic, openClusterLab, openDiskLab, openFabric, openFabricLab, openGroupLab, openKafkaLab, openLab, openReplicaSetLab, openStandby, pairArgs, pairOnce, pairingOf, pairingsOf, pauseReady, peersOf, pgClientImage, pingsOf, plainOf, planOf, pongsOf, poolOf, programLines, programOf, quantileOf, readCpu, readCpus, readHost, readOplog, reconnectFinding, reconnectOf, recordProblems, recoveryFindings, recoveryOf, referenceOf, reorderingOf, replicaSetArgs, replicaSetOnce, replicaSetStagesOf, requestOf, requestWords, resourceArgs, resourceChange, resourceReader, resourceReadingIn, resourceReadingOf, restamped, rigTermsOf, roomNeeded, roomVoidOf, routeLine, routerImage, routesOf, runCell, runCpusOf, runDiskFault, runFabricFault, seedScript, sentinelConfig, sessionsOf, shippedClientRecord, shippedSource, silenceDrops, 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, vmArmProblems, writesOf };
|
|
9954
10424
|
|
|
9955
10425
|
//# sourceMappingURL=index.js.map
|