@mark1russell7/harness 0.16.5 → 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 +13 -0
- package/build/{cell-Ckoqr7Xc.d.ts → cell-FMlgjqVq.d.ts} +81 -3
- package/build/{image-Bs5hV85M.js → image-YlflAajQ.js} +6 -2
- package/build/image-YlflAajQ.js.map +1 -0
- package/build/index.d.ts +63 -4
- package/build/index.js +251 -17
- 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/native/src/bin/memory.rs +460 -0
- package/package.json +5 -3
- package/build/image-Bs5hV85M.js.map +0 -1
package/build/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as Outcomes, A as HostSysctl, At as RunStream, B as LoadPlan, Bt as Topology, C as GroupPrediction, Ct as RunBackup, D as HopPlace, Dt as RunPart, E as HopEvent, Et as RunGroup, F as KafkaPause, Ft as ShippedImage, G as MemoryOomTask, Gt as latestEndOf, H as LoadStream, Ht as WsProbe, I as KernelRecord, It as Stage, J as MemoryThrottlePrediction, K as MemoryPrediction, L as LineCount, Lt as StageBand, M as ImageSource, Mt as SentinelEvent, N as Jitter, Nt as SentinelStage, O as HopSignal, Ot as RunPause, P as Kafka, Pt as Shipped, Q as Observer, R as LineMatch, Rt as Subject, S as GroupPlace, St as Run, T as Hop, Tt as RunFabric, U as MemoryLimits, Ut as environmentProblems, V as LoadPrediction, Vt as Toxic, W as MemoryOomPrediction, Wt as isHopPlace, X as MiddleboxExpectation, Y as MiddleboxEvent, Z as MiddleboxForm, _ as Fabric, _t as ReplicaSetStage, a as ClientCapability, at as Prediction, b as FaultPlace, bt as RouterHop, c as ClusterClientAt, ct as ProxyTime, d as CountBand, dt as QueueEnd, et as Pair, f as DeliveryPrediction, ft as QueuePrediction, g as DriverStep, gt as ReplicaSet, h as DriverBand, ht as Reference, i as Client, it as PortsPrediction, j as HttpProbe, jt as RunTopology, k as HopWrite, kt as RunRoute, l as ClusterStage, lt as QueueBand, m as DrillRoom, mt as Recovers, n as CLIENT_CAPABILITIES, nt as PausePrediction, o as ClientImage, ot as ProbeEvent, p as Drill, pt as Reconnects, q as MemoryStep, r as Cell, rt as PinnedImage, s as Cluster, st as ProxyHop, t as BuildImage, tt as PauseBand, u as ConntrackPrediction, ut as QueueConnection, v as FabricManifest, vt as Replies, w as GroupRole, wt as RunDrill, x as Group, xt as RttRange, y as Fault, yt as RequestPrediction, z as LoadBand, zt as Target } from "./cell-FMlgjqVq.js";
|
|
2
2
|
import { Quantity } from "@mark1russell7/quantity";
|
|
3
3
|
import { DiskFault, LoadMeasure, Schedule } from "@mark1russell7/rigor-chaos";
|
|
4
4
|
import { StartedTestContainer } from "testcontainers";
|
|
@@ -412,6 +412,56 @@ interface ConntrackReading {
|
|
|
412
412
|
* the run did not start from an empty table.
|
|
413
413
|
*/
|
|
414
414
|
export declare const measureConntrack: (run: Run, expected: ConntrackPrediction) => Measured;
|
|
415
|
+
/** This record is one step of the growth of a throttle cell, as the memory client wrote it. */
|
|
416
|
+
interface MemoryStepReading {
|
|
417
|
+
/** This usage is the pages of the cgroup after the step. */
|
|
418
|
+
readonly usage: number;
|
|
419
|
+
readonly time: Quantity;
|
|
420
|
+
/** This count is the rise of the event `high` in the step. */
|
|
421
|
+
readonly high: number;
|
|
422
|
+
/** This choice says that the judge read the step: its usage rose by one batch. */
|
|
423
|
+
readonly read: boolean;
|
|
424
|
+
}
|
|
425
|
+
/** This record is one task of an OOM cell at the end of its run. */
|
|
426
|
+
interface MemoryTaskReading {
|
|
427
|
+
readonly name: string;
|
|
428
|
+
readonly outcome: string;
|
|
429
|
+
readonly signal: number | null;
|
|
430
|
+
}
|
|
431
|
+
/** This record is what a run of a memory cell measured. */
|
|
432
|
+
interface MemoryReading {
|
|
433
|
+
/** These are the limits as the cgroup printed them at the `ready` line. */
|
|
434
|
+
readonly limits: {
|
|
435
|
+
readonly high: string;
|
|
436
|
+
readonly max: string;
|
|
437
|
+
readonly swap: string;
|
|
438
|
+
};
|
|
439
|
+
/** This usage is the pages of the cgroup at the `ready` line. */
|
|
440
|
+
readonly start: number;
|
|
441
|
+
readonly steps: readonly MemoryStepReading[];
|
|
442
|
+
readonly tasks: readonly MemoryTaskReading[];
|
|
443
|
+
/** These are the counts of `memory.events` at the end of the run. */
|
|
444
|
+
readonly events: Readonly<Record<string, number>>;
|
|
445
|
+
/** This time is the total stall of `memory.pressure` (`some`), or null when the kernel has no pressure file. */
|
|
446
|
+
readonly stall: Quantity | null;
|
|
447
|
+
}
|
|
448
|
+
/** 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`. */
|
|
449
|
+
export declare const stepBand: (expected: MemoryThrottlePrediction, usage: number) => {
|
|
450
|
+
readonly band: QueueBand;
|
|
451
|
+
readonly high: {
|
|
452
|
+
readonly low: number;
|
|
453
|
+
readonly high: number;
|
|
454
|
+
};
|
|
455
|
+
};
|
|
456
|
+
/**
|
|
457
|
+
* This function reads one run of a memory cell from the lines of the memory client. A run is void
|
|
458
|
+
* when the client wrote an error or no `done` line, or when the cgroup reads other limits than the
|
|
459
|
+
* cell. A throttle run is also void when the client did not lock its pages, or on a kernel with
|
|
460
|
+
* another HZ. It is void too when the judge reads less than `read` of its steps above `memory.high`.
|
|
461
|
+
* A step is not read when its usage did not rise by one batch: then a reclaim freed pages, or the
|
|
462
|
+
* step charged two batches.
|
|
463
|
+
*/
|
|
464
|
+
export declare const measureMemory: (run: Run, expected: MemoryPrediction) => Measured;
|
|
415
465
|
/**
|
|
416
466
|
* This module reads one run of a paused consumer against its law. Two members of a group each hold
|
|
417
467
|
* one partition. A SIGSTOP stops the first member while it holds a batch, and a SIGCONT ends that
|
|
@@ -1191,11 +1241,15 @@ interface Lab {
|
|
|
1191
1241
|
t0: number;
|
|
1192
1242
|
t1: number;
|
|
1193
1243
|
} | null>;
|
|
1194
|
-
/**
|
|
1244
|
+
/**
|
|
1245
|
+
* This method starts the client with `args`. Each file is in its container before it starts. With
|
|
1246
|
+
* `cgroup`, the lab writes each file of the client cgroup and reads it back. Then it makes the file
|
|
1247
|
+
* `/tmp/cgroup` in the container: the client waits for it.
|
|
1248
|
+
*/
|
|
1195
1249
|
probe(args: readonly string[], files?: ReadonlyArray<{
|
|
1196
1250
|
readonly content: string;
|
|
1197
1251
|
readonly target: string;
|
|
1198
|
-
}
|
|
1252
|
+
}>, cgroup?: Readonly<Record<string, string>>): Promise<Probe>;
|
|
1199
1253
|
/**
|
|
1200
1254
|
* This method waits for the next clock line of the prober, which gives the count of lost
|
|
1201
1255
|
* records. It gives null when no clock line comes in 5 s, because then nothing tells the count.
|
|
@@ -2198,6 +2252,11 @@ interface Measured {
|
|
|
2198
2252
|
readonly ports?: PortsReading;
|
|
2199
2253
|
/** This record is what a run of a conntrack cell measured: the flows, the count, and when a slot came back. */
|
|
2200
2254
|
readonly conntrack?: ConntrackReading;
|
|
2255
|
+
/**
|
|
2256
|
+
* This record is what a run of a memory cell measured: each step of a growth, or the end of each task of an OOM.
|
|
2257
|
+
* A void run has it too when the judge read the lines of the client.
|
|
2258
|
+
*/
|
|
2259
|
+
readonly memory?: MemoryReading;
|
|
2201
2260
|
/** This record is what the second request of an HTTP client met, for a cell whose prediction says it. */
|
|
2202
2261
|
readonly request?: RequestReading | null;
|
|
2203
2262
|
/** This record is the time of each later band of a driver cell (`DriverBand.then`). */
|
|
@@ -2899,4 +2958,4 @@ export declare const environmentCounts: (cell: Cell, runs: number) => number[];
|
|
|
2899
2958
|
* Each environment does a warm-up first, and the result keeps it apart from the counted runs.
|
|
2900
2959
|
*/
|
|
2901
2960
|
export declare const runCell: (cell: Cell, say?: (line: string) => void) => Promise<CellResult>;
|
|
2902
|
-
export { type Agent, type BuildImage, type BuildRecord, CLIENT_CAPABILITIES, type CallReading, type Cell, type CellResult, type Client, type ClientCapability, type ClientImage, type ClockPair, type Cloud, type Cluster, type ClusterClientAt, type ClusterLab, type ClusterStage, type ConntrackPrediction, type ConntrackReading, type ContextFile, type CountBand, type Crossings, type Cut, type Decision, type DeliveryPrediction, type DeliveryReading, type DeliveryStream, type DiskImage, type DiskLab, type DiskLabOptions, type DiskPinnable, type DiskRecord, type DiskSubject, type DiskWriterRecord, type Drill, type DrillRoom, type DriverBand, type DriverSocket, type DriverStep, type DriverStepTime, type ErrorOnTheWay, type EstimateVerdict, type Fabric, type FabricLab, type FabricManifest, type FabricParts, type Fault, type FaultOptions, type FaultPlace, type FaultSide, type Group, type GroupClient, type GroupLab, type GroupMeasured, type GroupNetworkFault, type GroupPlace, type GroupPrediction, type GroupReading, type GroupRole, type GroupVerdict, type GroupView, type Hop, type HopEvent, type HopPlace, type HopSignal, type HopWrite, type Host, type HostSetting, type HostSysctl, type HttpProbe, type ImagePlan, type ImageSource, type Interval, type Jitter, type Kafka, type KafkaLab, type KafkaMember, type KafkaPause, type KernelRecord, type Lab, type Layer, type LeafViews, type LineCount, type LineMatch, type LoadBand, type LoadJudgement, type LoadPlan, type LoadPrediction, type LoadSpread, type LoadStream, type LoadVerdict, type Manifest, type ManifestHop, type Measured, type MemberLine, type MiddleboxEvent, type MiddleboxExpectation, type MiddleboxForm, type NetworkFault, type NodeLine, type Observer, type OplogRead, type OplogTime, type Outcome, type Outcomes, type Pair, type PairSets, type Pairing, type PartitionView, type PauseBand, type PauseCommit, type PausePrediction, type PauseReading, type Pinnable, type PinnedImage, type PortsPrediction, type PortsReading, type Prediction, type Probe, type ProbeEvent, type ProgramEvent, type ProxyHop, type ProxyTime, type QueueBand, type QueueConnection, type QueueConnectionReading, type QueueEnd, type QueuePrediction, type QueueReading, type ReconnectReading, type ReconnectVerdict, type Reconnects, type RecordCode, type Recovers, type RecoveryMeasured, type Reference, type Reordering, type ReplicaSet, type ReplicaSetLab, type ReplicaSetStage, type Replies, type RequestPrediction, type RequestReading, type RouteLine, type RouterHop, type RttRange, type Run, type RunBackup, type RunDrill, type RunEstimate, type RunFabric, type RunGroup, type RunLoad, type RunPart, type RunPause, type RunRoute, type RunStream, type RunTopology, type SentinelEvent, type SentinelStage, type Shipped, type ShippedImage, type Sibling, type SocketPlace, type Spread, type Stage, type StageBand, type StageVerdict, type StallReading, type Stamp, type Status, type StatusRow, type Subject, type Substrate, type SubstrateSource, type Target, type TimeFromFault, type Topology, type Toxic, type Verdict, type WallStamp, type Writes, type WsProbe, environmentProblems, isHopPlace, latestEndOf };
|
|
2961
|
+
export { type Agent, type BuildImage, type BuildRecord, CLIENT_CAPABILITIES, type CallReading, type Cell, type CellResult, type Client, type ClientCapability, type ClientImage, type ClockPair, type Cloud, type Cluster, type ClusterClientAt, type ClusterLab, type ClusterStage, type ConntrackPrediction, type ConntrackReading, type ContextFile, type CountBand, type Crossings, type Cut, type Decision, type DeliveryPrediction, type DeliveryReading, type DeliveryStream, type DiskImage, type DiskLab, type DiskLabOptions, type DiskPinnable, type DiskRecord, type DiskSubject, type DiskWriterRecord, type Drill, type DrillRoom, type DriverBand, type DriverSocket, type DriverStep, type DriverStepTime, type ErrorOnTheWay, type EstimateVerdict, type Fabric, type FabricLab, type FabricManifest, type FabricParts, type Fault, type FaultOptions, type FaultPlace, type FaultSide, type Group, type GroupClient, type GroupLab, type GroupMeasured, type GroupNetworkFault, type GroupPlace, type GroupPrediction, type GroupReading, type GroupRole, type GroupVerdict, type GroupView, type Hop, type HopEvent, type HopPlace, type HopSignal, type HopWrite, type Host, type HostSetting, type HostSysctl, type HttpProbe, type ImagePlan, type ImageSource, type Interval, type Jitter, type Kafka, type KafkaLab, type KafkaMember, type KafkaPause, type KernelRecord, type Lab, type Layer, type LeafViews, type LineCount, type LineMatch, type LoadBand, type LoadJudgement, type LoadPlan, type LoadPrediction, type LoadSpread, type LoadStream, type LoadVerdict, type Manifest, type ManifestHop, type Measured, type MemberLine, type MemoryLimits, type MemoryOomPrediction, type MemoryOomTask, type MemoryPrediction, type MemoryReading, type MemoryStep, type MemoryStepReading, type MemoryTaskReading, type MemoryThrottlePrediction, type MiddleboxEvent, type MiddleboxExpectation, type MiddleboxForm, type NetworkFault, type NodeLine, type Observer, type OplogRead, type OplogTime, type Outcome, type Outcomes, type Pair, type PairSets, type Pairing, type PartitionView, type PauseBand, type PauseCommit, type PausePrediction, type PauseReading, type Pinnable, type PinnedImage, type PortsPrediction, type PortsReading, type Prediction, type Probe, type ProbeEvent, type ProgramEvent, type ProxyHop, type ProxyTime, type QueueBand, type QueueConnection, type QueueConnectionReading, type QueueEnd, type QueuePrediction, type QueueReading, type ReconnectReading, type ReconnectVerdict, type Reconnects, type RecordCode, type Recovers, type RecoveryMeasured, type Reference, type Reordering, type ReplicaSet, type ReplicaSetLab, type ReplicaSetStage, type Replies, type RequestPrediction, type RequestReading, type RouteLine, type RouterHop, type RttRange, type Run, type RunBackup, type RunDrill, type RunEstimate, type RunFabric, type RunGroup, type RunLoad, type RunPart, type RunPause, type RunRoute, type RunStream, type RunTopology, type SentinelEvent, type SentinelStage, type Shipped, type ShippedImage, type Sibling, type SocketPlace, type Spread, type Stage, type StageBand, type StageVerdict, type StallReading, type Stamp, type Status, type StatusRow, type Subject, type Substrate, type SubstrateSource, type Target, type TimeFromFault, type Topology, type Toxic, type Verdict, type WallStamp, type Writes, type WsProbe, environmentProblems, isHopPlace, latestEndOf };
|
package/build/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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";
|
|
@@ -651,7 +651,7 @@ const verdictOfBand = (prediction, runs, delta = NOISE) => {
|
|
|
651
651
|
why: "no run counted"
|
|
652
652
|
};
|
|
653
653
|
if (prediction.detects === null) {
|
|
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" : 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;
|
|
655
655
|
if (law !== void 0) {
|
|
656
656
|
const off = new Set(outside.map((each) => each.run)).size;
|
|
657
657
|
return {
|
|
@@ -1748,20 +1748,20 @@ const measureQueue = (run, expected) => {
|
|
|
1748
1748
|
// src/conntrack.ts
|
|
1749
1749
|
/** This errno tells that a connect got a slot. */
|
|
1750
1750
|
const NONE = "none";
|
|
1751
|
-
const numberOr = (line, field) => {
|
|
1751
|
+
const numberOr$1 = (line, field) => {
|
|
1752
1752
|
const value = line?.[field];
|
|
1753
1753
|
return typeof value === "number" ? value : null;
|
|
1754
1754
|
};
|
|
1755
1755
|
/** This function gives the time from one stamp to a stamp of a field of a line, when the line has it. */
|
|
1756
1756
|
const untilField = (from, line, field) => {
|
|
1757
|
-
const stamp = numberOr(line, field);
|
|
1757
|
+
const stamp = numberOr$1(line, field);
|
|
1758
1758
|
return from === void 0 || stamp === null ? null : between$2(from.t, stamp);
|
|
1759
1759
|
};
|
|
1760
1760
|
const stallOf = (line) => line === void 0 ? null : {
|
|
1761
1761
|
errno: String(line["errno"]),
|
|
1762
|
-
time: quantity(Math.round((numberOr(line, "elapsed") ?? 0) / 1e3) / 1e6, "s"),
|
|
1763
|
-
drops: numberOr(line, "drops") ?? 0,
|
|
1764
|
-
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
|
|
1765
1765
|
};
|
|
1766
1766
|
/** This function tells where a reading differs from the law of its cell. */
|
|
1767
1767
|
const findingsOf$1 = (read, failed, expected) => {
|
|
@@ -1842,15 +1842,15 @@ const measureConntrack = (run, expected) => {
|
|
|
1842
1842
|
const closed = events.find((event) => event.ev === "closed");
|
|
1843
1843
|
const neighbor = (run.server ?? []).filter((line) => line.ev === "count" && line.t >= full.t && (stall === void 0 || line.t <= stall.t)).at(-1);
|
|
1844
1844
|
const conntrack = {
|
|
1845
|
-
flows: numberOr(full, "flows") ?? 0,
|
|
1846
|
-
count: numberOr(full, "count") ?? 0,
|
|
1847
|
-
neighbor: numberOr(neighbor, "count"),
|
|
1845
|
+
flows: numberOr$1(full, "flows") ?? 0,
|
|
1846
|
+
count: numberOr$1(full, "count") ?? 0,
|
|
1847
|
+
neighbor: numberOr$1(neighbor, "count"),
|
|
1848
1848
|
stall: stallOf(stall),
|
|
1849
1849
|
firstFall: untilField(closing, drained, "first_fall"),
|
|
1850
1850
|
zero: untilField(closing, drained, "zero"),
|
|
1851
|
-
closed: numberOr(closed, "count"),
|
|
1852
|
-
lowest: numberOr(drained ?? stall, "lowest"),
|
|
1853
|
-
after: numberOr(stall, "after")
|
|
1851
|
+
closed: numberOr$1(closed, "count"),
|
|
1852
|
+
lowest: numberOr$1(drained ?? stall, "lowest"),
|
|
1853
|
+
after: numberOr$1(stall, "after")
|
|
1854
1854
|
};
|
|
1855
1855
|
const found = findingsOf$1(conntrack, full["errno"], expected);
|
|
1856
1856
|
return {
|
|
@@ -1860,6 +1860,195 @@ const measureConntrack = (run, expected) => {
|
|
|
1860
1860
|
conntrack
|
|
1861
1861
|
};
|
|
1862
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
|
+
};
|
|
1863
2052
|
// src/pause.ts
|
|
1864
2053
|
/** This expression finds the stamp of a log line of a broker, as its console writes it, on UTC. */
|
|
1865
2054
|
const LOG_TIME = /\[(\d{4})-(\d\d)-(\d\d) (\d\d):(\d\d):(\d\d),(\d{3})\]/;
|
|
@@ -3086,6 +3275,7 @@ const measureSocket = (cell, run) => {
|
|
|
3086
3275
|
if (cell.prediction.detects === null && cell.prediction.queue !== void 0) return measureQueue(run, cell.prediction.queue);
|
|
3087
3276
|
if (cell.prediction.detects === null && cell.prediction.ports !== void 0) return measurePorts(run, cell.prediction.ports);
|
|
3088
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);
|
|
3089
3279
|
if (cell.prediction.detects !== null && cell.prediction.driver !== void 0) return measureDriver(cell, run);
|
|
3090
3280
|
const { events, kernel } = run;
|
|
3091
3281
|
const ready = events.find((event) => event.ev === "ready");
|
|
@@ -4152,6 +4342,41 @@ const withPid = (container, mode) => {
|
|
|
4152
4342
|
container.hostConfig.PidMode = mode;
|
|
4153
4343
|
return container;
|
|
4154
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
|
+
};
|
|
4155
4380
|
/** This container class can share the process namespace of another container. */
|
|
4156
4381
|
const shared = (Base) => class extends Base {
|
|
4157
4382
|
withPidMode(mode) {
|
|
@@ -4635,6 +4860,7 @@ const openLab = async (target, kind = "tcp", topology) => {
|
|
|
4635
4860
|
};
|
|
4636
4861
|
const proxies = inChain.filter((hop) => hop.hop.kind === "proxy");
|
|
4637
4862
|
let hostAdmin;
|
|
4863
|
+
let cgroupAdmin;
|
|
4638
4864
|
const hostChanges = [];
|
|
4639
4865
|
let hostDone;
|
|
4640
4866
|
restoreHost = async () => {
|
|
@@ -4993,10 +5219,18 @@ const openLab = async (target, kind = "tcp", topology) => {
|
|
|
4993
5219
|
query
|
|
4994
5220
|
]);
|
|
4995
5221
|
},
|
|
4996
|
-
async probe(args, files = []) {
|
|
5222
|
+
async probe(args, files = [], cgroup) {
|
|
4997
5223
|
const events = lines();
|
|
4998
5224
|
const prober = new GenericContainer(clientImage).withNetworkMode(`container:${client.getId()}`).withCommand([...command, ...args]).withCopyContentToContainer(files.map((file) => ({ ...file }))).withLogConsumer(events.consume);
|
|
4999
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
|
+
}
|
|
5000
5234
|
return {
|
|
5001
5235
|
events: events.seen,
|
|
5002
5236
|
until: (kinds, within) => events.until(kinds, within, "client"),
|
|
@@ -8829,7 +9063,7 @@ const beforeOnce = async (lab, cell, environment, index) => {
|
|
|
8829
9063
|
const fault = await lab.fault(kind, faultAt, options);
|
|
8830
9064
|
let probe;
|
|
8831
9065
|
try {
|
|
8832
|
-
probe = await lab.probe(probeArgs(cell, lab));
|
|
9066
|
+
probe = await lab.probe(probeArgs(cell, lab), void 0, cell.cgroup);
|
|
8833
9067
|
const started = probe;
|
|
8834
9068
|
const current = () => ({
|
|
8835
9069
|
environment,
|
|
@@ -8939,7 +9173,7 @@ const once = async (lab, cell, environment, index, dry = false) => {
|
|
|
8939
9173
|
content: load.content,
|
|
8940
9174
|
target: LOAD_PATH
|
|
8941
9175
|
}]];
|
|
8942
|
-
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);
|
|
8943
9177
|
const server = cell.observer === "server";
|
|
8944
9178
|
const peer = server ? {
|
|
8945
9179
|
freeze: () => probe.freeze(),
|
|
@@ -9497,6 +9731,6 @@ const runCell = async (cell, say = () => {}) => {
|
|
|
9497
9731
|
target = larger;
|
|
9498
9732
|
}
|
|
9499
9733
|
};
|
|
9500
|
-
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, 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, 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 };
|
|
9501
9735
|
|
|
9502
9736
|
//# sourceMappingURL=index.js.map
|