@mark1russell7/harness 0.16.29 → 0.16.31
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 +10 -3
- package/build/index.d.ts +34 -4
- package/build/index.js +81 -18
- package/build/index.js.map +1 -1
- package/build/layers.d.ts +34 -1
- package/build/layers.js +100 -1
- package/build/layers.js.map +1 -1
- package/image/lazyfs/Dockerfile +6 -2
- package/image/lazyfs/faultfs.c +452 -0
- package/image/lazyfs/start.mts +31 -6
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ A **cell** (`cell.ts`) is all that one measurement needs, as data:
|
|
|
33
33
|
- An injector sidecar in the namespace of the target, with NET_ADMIN. Thus the image of the target stays stock.
|
|
34
34
|
- The manifest of each environment gives the HZ of its kernel, from /proc/config.gz. A host without that file (a hosted runner) gets HZ from two readings of /proc/timer_list, one second apart: its jiffies against the time of the kernel (`hzOf`). `hzFrom` tells which.
|
|
35
35
|
- The manifest of each environment holds a `substrate` block (`substrate.ts`). It gives the layer, the cloud, the vendor, the kernel, HZ, KVM and the image of the runner. GitHub can schedule one image on Azure or on AWS. Thus the cloud comes from the DMI vendor, not from the name of the kernel. No statistic pools two substrates (`comparable`). A record from before the block reads through `substrateOf`, and nothing rewrites it.
|
|
36
|
-
- The layers ([`docs/S7.md`](../../docs/S7.md)) are data in the entry `@mark1russell7/harness/layers`, which imports no `node:` module. `LAYER_FACTS` gives each layer its texts from the table of S7, the faults that its cells inject and the limits that their load fills. The faults of E2 are the triggers of `@mark1russell7/kind`. `layerOf` gives the layer of a lab from its topology.
|
|
36
|
+
- The layers ([`docs/S7.md`](../../docs/S7.md)) are data in the entry `@mark1russell7/harness/layers`, which imports no `node:` module. `LAYER_FACTS` gives each layer its texts from the table of S7, the faults that its cells inject and the limits that their load fills. The faults of E2 are the triggers of `@mark1russell7/kind`. `layerOf` gives the layer of a lab from its topology. `rigTermsOf` gives the pairs of the rig map of rigor that a cell applies (`RIG_TERMS`). A test holds `docs/rigs.json` equal to them.
|
|
37
37
|
- The prober ([`@mark1russell7/prober`](https://www.npmjs.com/package/@mark1russell7/prober)): a privileged container that loads the kernel program. It watches the namespace of the client, of the target and of each hop. Each run keeps its records from its start to its end. A run whose records the prober lost is void.
|
|
38
38
|
|
|
39
39
|
Each command is an argv array.
|
|
@@ -351,6 +351,7 @@ From 0.11.20, the harness builds each image with the CLI of Docker (`docker buil
|
|
|
351
351
|
- A cell gives its configuration as one file of the hop: `/etc/pgpool/pgpool.conf`. Each other file that Pgpool-II reads is empty in the image. Pgpool-II operates in the foreground as its own user.
|
|
352
352
|
- **The docker-proxy image** (`image/docker-proxy`) is docker-proxy of Docker Engine 29.1.5, the userland proxy of a published port, as a proxy hop. The build gets the static bundle of Docker 29.1.5 and checks its SHA-256. The proxy writes its status to fd 3, the pipe of its parent in Docker. Thus a cell starts it with `3>/dev/null`.
|
|
353
353
|
- **The LazyFS image** (`image/lazyfs`) is LazyFS of the commit 3edad01 with Node.js 24.21.0, on a digest-pinned Debian. It is the image of the disk tier.
|
|
354
|
+
- The image also builds the fault layer `faultfs` (`image/lazyfs/faultfs.c`) on libfuse 3. It mounts `/mnt/disk` above the mount of LazyFS, `/mnt/lazy`.
|
|
354
355
|
- LazyFS is a FUSE file system that keeps each write in its cache until an fsync. The command `lazyfs::clear-cache` loses each write of data after the last fsync. It keeps each directory entry: LazyFS applies each new file, each rename and each unlink at once. This is the rule of the kind `lose-unsynced`.
|
|
355
356
|
- The build gets the tarball of the commit, toml11 v3.7.1 and spdlog v1.10.0. It checks the SHA-256 of each before it builds.
|
|
356
357
|
|
|
@@ -555,7 +556,7 @@ The distribution test needs a simulator, which does not exist at this time.
|
|
|
555
556
|
|
|
556
557
|
The disk tier applies a disk plan of `@mark1russell7/rigor-chaos` to the files of a program. A fault of the kind `lose-unsynced` is a power cut. The process stops at its point, and the disk loses each write after the last fsync. Then a check reads the files that the disk kept. An example is the data loss of each synchronous setting of a database.
|
|
557
558
|
|
|
558
|
-
A fault of the kind `torn-write` is a power cut in a write. The disk keeps the first parts of the next write to the file `tornFile` of the subject.
|
|
559
|
+
A fault of the kind `torn-write` is a power cut in a write. The disk keeps the first parts of the next write to the file `tornFile` of the subject. A fault layer above LazyFS applies `fsync-error`, `full` and `slow`. With these kinds, the process runs on after the point. `DISK_TIER_KINDS` names the kinds that the tier applies.
|
|
559
560
|
|
|
560
561
|
```ts
|
|
561
562
|
import { diskPlanOf } from "@mark1russell7/rigor-chaos";
|
|
@@ -570,7 +571,7 @@ for (const fault of plan.faults) console.log((await runDiskFault(lab, fault)).pe
|
|
|
570
571
|
```
|
|
571
572
|
|
|
572
573
|
- **The subject** is a folder with a writer and a check, each an argv with no shell. The tier copies the folder to `/opt/subject` in each container.
|
|
573
|
-
- The writer operates in the mount of
|
|
574
|
+
- The writer operates in the mount of the fault layer, `/mnt/disk`, above LazyFS. The check operates in the folder below the mount, `/var/disk`, and writes one JSON value.
|
|
574
575
|
- **A fault at a step** uses the stop points of `@mark1russell7/rigor-testkit/stop`. The tier puts the order in `RIGOR_STOP`, and the writer stops itself at the step with `SIGKILL`.
|
|
575
576
|
- The protocol is data: an environment variable and one JSON line for each stop point. Thus a writer in each language can speak it.
|
|
576
577
|
- **A fault at a time** stops the writer with `SIGKILL` after that time from its start, through `timeout -s KILL`.
|
|
@@ -580,6 +581,11 @@ for (const fault of plan.faults) console.log((await runDiskFault(lab, fault)).pe
|
|
|
580
581
|
- LazyFS answers only `lazyfs::clear-cache`. Thus the image reads the log of LazyFS, and writes each answer to a file. The tier continues the writer after the answer.
|
|
581
582
|
- The image keeps the container after LazyFS ends, for the check. The record holds the command and the exit of LazyFS (`torn`).
|
|
582
583
|
- When the writer writes no more to the file, LazyFS does not end. Then the tier cuts the power with `lazyfs::clear-cache`.
|
|
584
|
+
- **The fault layer** (`faultfs`) is a passthrough FUSE file system above LazyFS. The writer writes in its mount. The tier arms it at the point of a fault, as for a torn write, with the command of `diskLayerCommand`.
|
|
585
|
+
- `fsync-error` fails the next fsync with `EIO`. The layer writes back the old bytes of each write after the last good fsync, as Linux drops the dirty pages. Thus a retry passes, but the writes are lost.
|
|
586
|
+
- With `keepDirty`, the layer keeps the writes, and a later good fsync makes them durable.
|
|
587
|
+
- `full` fails each write from the point with `ENOSPC`. `slow` adds `ms` to each write and each fsync from the point.
|
|
588
|
+
- After the end of the writer, the tier cuts the power. The record holds the command and each operation that the fault changed (`layer`).
|
|
583
589
|
- **The record** (`harness-disk/1`) holds the fault and the digest of the subject folder. It also holds the image with its build record and id, and the commit of the code.
|
|
584
590
|
- It also holds the substrate (layer E1), the exit and the stop points of the writer, and the value of the check (`persisted`).
|
|
585
591
|
- `diskRecordProblems` gives each problem of the pins of a record. A record with a problem is not a record.
|
|
@@ -587,6 +593,7 @@ for (const fault of plan.faults) console.log((await runDiskFault(lab, fault)).pe
|
|
|
587
593
|
- Thus the tier operates only in CI, in the workflow `disk.yml`.
|
|
588
594
|
- **The self-test** (`HARNESS_DISK=1`) has a writer that writes each line to one file with an fsync, and to a second file with none. Each case holds its expected result as data.
|
|
589
595
|
- Its torn writes tear `synced.log`. The check gives the size of the file, and a case expects whole lines or a part of the next line.
|
|
596
|
+
- With `DISK_RETRY=1`, the writer does a failed fsync again. The check gives the last line of `synced.log`, thus a case sees a lost line before later lines.
|
|
590
597
|
|
|
591
598
|
## Runs
|
|
592
599
|
|
package/build/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $ as MemoryStep, $t as latestEndOf, A as Hop, At as RunCpus, B as KafkaPause, Bt as SentinelEvent, C as FabricManifest, Cn as resourceArgs, Ct as ReplicaSetStage, D as GroupPlace, Dt as RttRange, E as Group, En as resourceReadingOf, Et as RouterHop, F as HostSysctl, Ft as RunPause, G as LoadConnections, Gt as StageBand, H as LineCount, Ht as Shipped, I as HttpProbe, It as RunResources, J as LoadStream, Jt as Topology, K as LoadPlan, Kt as Subject, L as ImageSource, Lt as RunRoute, M as HopPlace, Mt as RunFabric, N as HopSignal, Nt as RunGroup, O as GroupPrediction, Ot as Run, P as HopWrite, Pt as RunPart, Q as MemoryPrediction, Qt as isHopPlace, R as Jitter, Rt as RunStream, S as Fabric, Sn as networkOf, St as ReplicaSet, T as FaultPlace, Tn as resourceReadingIn, Tt as RequestPrediction, U as LineMatch, Ut as ShippedImage, V as KernelRecord, Vt as SentinelStage, W as LoadBand, Wt as Stage, X as MemoryOomPrediction, Xt as WsProbe, Y as MemoryLimits, Yt as Toxic, Z as MemoryOomTask, Zt as environmentProblems, _ as DriverBand, _n as cpuStatOf, _t as QueueEnd, a as ClientCapability, an as ResourceDevice, at as Outcomes, b as EgressPacketLaw, bn as limitsProblems, bt as Recovers, c as ClusterClientAt, cn as ResourceNetwork, ct as PausePrediction, d as ContainerLimits, dn as ResourceReading, dt as Prediction, en as HostLimits, et as MemoryThrottlePrediction, f as CountBand, fn as ResourceTraffic, ft as ProbeEvent, g as DrillRoom, gn as cpuMaxOf, gt as QueueConnection, h as Drill, hn as cgroupNumber, ht as QueueBand, i as Client, in as ResourceCpu, it as Observer, j as HopEvent, jt as RunDrill, k as GroupRole, kt as RunBackup, l as ClusterStage, ln as ResourceOptions, lt as PinnedImage, m as DeliveryPrediction, mn as cgroupLimit, mt as ProxyTime, n as CLIENT_CAPABILITIES, nn as RESOURCES_PROGRAM, nt as MiddleboxExpectation, o as ClientImage, on as ResourceLimits, ot as Pair, p as CpuShares, pn as cgroupKeyed, pt as ProxyHop, q as LoadPrediction, qt as Target, r as Cell, rn as ResourceChange, rt as MiddleboxForm, s as Cluster, sn as ResourceMemory, st as PauseBand, t as BuildImage, tn as RESOURCES_EVENT, tt as MiddleboxEvent, u as ConntrackPrediction, un as ResourceReader, ut as PortsPrediction, v as DriverStep, vn as cpusOfList, vt as QueuePrediction, w as Fault, wn as resourceChange, wt as Replies, x as EgressPrediction, xn as memoryStatOf, xt as Reference, y as EgressBurst, yn as hostLimitsOf, yt as Reconnects, z as Kafka, zt as RunTopology } from "./cell-DjDNdbuB.js";
|
|
2
|
-
import { LAYERS, LAYER_FACTS, LIMITS, Layer, LayerFacts, LayerState, Limit, layerOf, limitsOf } from "./layers.js";
|
|
2
|
+
import { LAYERS, LAYER_FACTS, LAYER_RIG_ENV, LIMITS, Layer, LayerFacts, LayerState, Limit, RIG_TERMS, RigTerm, RigTermCell, TOXIC_RIG_TERMS, layerOf, limitsOf, rigTermsOf } from "./layers.js";
|
|
3
3
|
import { Quantity } from "@mark1russell7/quantity";
|
|
4
4
|
import { DiskFault, DiskFaultKind, LoadMeasure, Schedule } from "@mark1russell7/rigor-chaos";
|
|
5
5
|
import { StartedTestContainer } from "testcontainers";
|
|
@@ -2628,7 +2628,19 @@ export declare const recordProblems: (record: Pinnable) => string[];
|
|
|
2628
2628
|
* A fault of the kind `torn-write` arms LazyFS at its point. At a step, the writer pauses itself with `SIGSTOP`. The tier
|
|
2629
2629
|
* sends the command `lazyfs::torn-op` for the file `tornFile` of the subject, waits for the answer of LazyFS, and then
|
|
2630
2630
|
* continues the writer. The next write to the file keeps only its first parts on the disk, and LazyFS ends: a power cut
|
|
2631
|
-
* in that write.
|
|
2631
|
+
* in that write.
|
|
2632
|
+
*
|
|
2633
|
+
* LazyFS cannot fail an fsync, fill the disk or slow a write. Thus the image has a second FUSE layer, `faultfs`, above
|
|
2634
|
+
* LazyFS: the writer writes in its mount. The tier arms it at the point of a fault, as it arms LazyFS for a torn write:
|
|
2635
|
+
*
|
|
2636
|
+
* - `fsync-error` fails the next fsync with `EIO`. The layer writes back the old bytes of each write after the last
|
|
2637
|
+
* good fsync. Linux also drops the dirty pages after a failed writeback. Thus a retry of the fsync passes, but
|
|
2638
|
+
* the writes are lost. With `keepDirty`, the layer keeps the writes, and a later good fsync makes them durable.
|
|
2639
|
+
* - `full` fails each write from the point with `ENOSPC`.
|
|
2640
|
+
* - `slow` adds `ms` to each write and each fsync from the point.
|
|
2641
|
+
*
|
|
2642
|
+
* The writer of these kinds runs on after the point. After its end, the tier cuts the power as for `lose-unsynced`, and
|
|
2643
|
+
* the check reads what the disk kept. The record keeps each operation that the fault changed.
|
|
2632
2644
|
*
|
|
2633
2645
|
* The container is privileged: it needs `/dev/fuse` and a mount. The AppArmor profile of Docker refuses a FUSE mount in
|
|
2634
2646
|
* a container that is not privileged. Thus the tier operates only in CI, in the workflow `disk.yml`.
|
|
@@ -2713,6 +2725,17 @@ interface DiskTornRecord {
|
|
|
2713
2725
|
/** The exit of LazyFS, as `code=<n>` or `signal=<name>`. The value is `null` when LazyFS did not end. */
|
|
2714
2726
|
readonly exit: string | null;
|
|
2715
2727
|
}
|
|
2728
|
+
/** The record of the arm of the fault layer for an `fsync-error`, a `full` or a `slow`. */
|
|
2729
|
+
interface DiskLayerRecord {
|
|
2730
|
+
/** The command that the tier sent to the fault layer. */
|
|
2731
|
+
readonly command: string;
|
|
2732
|
+
/** This value is `true` when the tier sent the command. A writer that ends before the point gives `false`. */
|
|
2733
|
+
readonly armed: boolean;
|
|
2734
|
+
/** The count of the operations that the fault changed: a write or an fsync that failed, or a slow one. */
|
|
2735
|
+
readonly hits: number;
|
|
2736
|
+
/** The first operations that the fault changed, as `<op> <result> <path>`. An example is `fsync EIO /synced.log`. */
|
|
2737
|
+
readonly first: readonly string[];
|
|
2738
|
+
}
|
|
2716
2739
|
/** The record of one fault of a disk plan. */
|
|
2717
2740
|
interface DiskRecord {
|
|
2718
2741
|
readonly format: typeof DISK_RECORD_FORMAT;
|
|
@@ -2730,6 +2753,8 @@ interface DiskRecord {
|
|
|
2730
2753
|
readonly writer: DiskWriterRecord;
|
|
2731
2754
|
/** The arm of LazyFS. Only a `torn-write` has it. */
|
|
2732
2755
|
readonly torn?: DiskTornRecord;
|
|
2756
|
+
/** The arm of the fault layer. Only an `fsync-error`, a `full` and a `slow` have it. */
|
|
2757
|
+
readonly layer?: DiskLayerRecord;
|
|
2733
2758
|
/** The JSON value that the check wrote: what the disk kept. */
|
|
2734
2759
|
readonly persisted: unknown;
|
|
2735
2760
|
/** The time when `runDiskFault` started the fault, in ISO 8601. */
|
|
@@ -2743,6 +2768,11 @@ export declare const diskSubjectProblems: (subject: DiskSubject) => string[];
|
|
|
2743
2768
|
* the write, thus the disk keeps none of it. It throws a `RangeError` for a file that is not a path in the disk.
|
|
2744
2769
|
*/
|
|
2745
2770
|
export declare const diskTornCommand: (file: string, keep: number) => string;
|
|
2771
|
+
/**
|
|
2772
|
+
* This function gives the command of the fault layer for a fault of the kind `fsync-error`, `full` or `slow`. It gives
|
|
2773
|
+
* `undefined` for each other kind.
|
|
2774
|
+
*/
|
|
2775
|
+
export declare const diskLayerCommand: (fault: DiskFault) => string | undefined;
|
|
2746
2776
|
/** This function gives the sha256 of the path and the content of each file under a folder, in a stable sequence. */
|
|
2747
2777
|
export declare const folderDigest: (folder: string) => string;
|
|
2748
2778
|
/**
|
|
@@ -2757,7 +2787,7 @@ export declare const openDiskLab: (options: DiskLabOptions) => Promise<DiskLab>;
|
|
|
2757
2787
|
* cut also covers the write of the command to LazyFS: that write waits when LazyFS did not start.
|
|
2758
2788
|
*
|
|
2759
2789
|
* It also throws a `RangeError` for a kind that is not in `DISK_TIER_KINDS`, and for a `torn-write` of a subject with
|
|
2760
|
-
* no `tornFile`. The promise rejects when LazyFS refuses the command of a
|
|
2790
|
+
* no `tornFile`. The promise rejects when LazyFS or the fault layer refuses the command of a fault, or does not answer it.
|
|
2761
2791
|
*/
|
|
2762
2792
|
export declare const runDiskFault: (lab: DiskLab, fault: DiskFault) => Promise<DiskRecord>;
|
|
2763
2793
|
/** These are the parts of a disk record that tell if it pins its code and its image. */
|
|
@@ -3122,4 +3152,4 @@ export declare const environmentCounts: (cell: Cell, runs: number) => number[];
|
|
|
3122
3152
|
* Each environment does a warm-up first, and the result keeps it apart from the counted runs.
|
|
3123
3153
|
*/
|
|
3124
3154
|
export declare const runCell: (cell: Cell, say?: (line: string) => void) => Promise<CellResult>;
|
|
3125
|
-
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 ContainerLimits, type ContextFile, type CountBand, type CpuLists, type CpuShares, type CpuState, type CpuStates, 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 DiskTornRecord, type DiskWriterRecord, type Drill, type DrillRoom, type DriverBand, type DriverSocket, type DriverStep, type DriverStepTime, type EgressBurst, type EgressPacketLaw, type EgressPacketReading, type EgressPrediction, type EgressReading, 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 HostLimits, type HostSetting, type HostSysctl, type HttpProbe, type ImagePlan, type ImageSource, type Interval, type Jitter, type Kafka, type KafkaLab, type KafkaMember, type KafkaPause, type KernelRecord, LAYERS, LAYER_FACTS, LIMITS, type Lab, type Layer, type LayerFacts, type LayerState, type LeafViews, type Limit, type LineCount, type LineMatch, type LoadBand, type LoadConnections, 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, RESOURCES_EVENT, RESOURCES_PROGRAM, 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 ResourceChange, type ResourceCpu, type ResourceDevice, type ResourceLimits, type ResourceMemory, type ResourceNetwork, type ResourceOptions, type ResourceReader, type ResourceReading, type ResourceTraffic, type RouteLine, type RouterHop, type RttRange, type Run, type RunBackup, type RunCpus, type RunDrill, type RunEstimate, type RunFabric, type RunGroup, type RunLoad, type RunPart, type RunPause, type RunResources, type RunRoute, type RunStream, type RunTopology, type SentinelEvent, type SentinelStage, type Shipped, type ShippedImage, type Sibling, type SocketPlace, type Spread, type StackChange, 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, cgroupKeyed, cgroupLimit, cgroupNumber, cpuMaxOf, cpuStatOf, cpusOfList, environmentProblems, hostLimitsOf, isHopPlace, latestEndOf, layerOf, limitsOf, limitsProblems, memoryStatOf, networkOf, resourceArgs, resourceChange, resourceReadingIn, resourceReadingOf };
|
|
3155
|
+
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 ContainerLimits, type ContextFile, type CountBand, type CpuLists, type CpuShares, type CpuState, type CpuStates, type Crossings, type Cut, type Decision, type DeliveryPrediction, type DeliveryReading, type DeliveryStream, type DiskImage, type DiskLab, type DiskLabOptions, type DiskLayerRecord, type DiskPinnable, type DiskRecord, type DiskSubject, type DiskTornRecord, type DiskWriterRecord, type Drill, type DrillRoom, type DriverBand, type DriverSocket, type DriverStep, type DriverStepTime, type EgressBurst, type EgressPacketLaw, type EgressPacketReading, type EgressPrediction, type EgressReading, 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 HostLimits, type HostSetting, type HostSysctl, type HttpProbe, type ImagePlan, type ImageSource, type Interval, type Jitter, type Kafka, type KafkaLab, type KafkaMember, type KafkaPause, type KernelRecord, LAYERS, LAYER_FACTS, LAYER_RIG_ENV, LIMITS, type Lab, type Layer, type LayerFacts, type LayerState, type LeafViews, type Limit, type LineCount, type LineMatch, type LoadBand, type LoadConnections, 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, RESOURCES_EVENT, RESOURCES_PROGRAM, RIG_TERMS, 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 ResourceChange, type ResourceCpu, type ResourceDevice, type ResourceLimits, type ResourceMemory, type ResourceNetwork, type ResourceOptions, type ResourceReader, type ResourceReading, type ResourceTraffic, type RigTerm, type RigTermCell, type RouteLine, type RouterHop, type RttRange, type Run, type RunBackup, type RunCpus, type RunDrill, type RunEstimate, type RunFabric, type RunGroup, type RunLoad, type RunPart, type RunPause, type RunResources, type RunRoute, type RunStream, type RunTopology, type SentinelEvent, type SentinelStage, type Shipped, type ShippedImage, type Sibling, type SocketPlace, type Spread, type StackChange, type Stage, type StageBand, type StageVerdict, type StallReading, type Stamp, type Status, type StatusRow, type Subject, type Substrate, type SubstrateSource, TOXIC_RIG_TERMS, type Target, type TimeFromFault, type Topology, type Toxic, type Verdict, type WallStamp, type Writes, type WsProbe, cgroupKeyed, cgroupLimit, cgroupNumber, cpuMaxOf, cpuStatOf, cpusOfList, environmentProblems, hostLimitsOf, isHopPlace, latestEndOf, layerOf, limitsOf, limitsProblems, memoryStatOf, networkOf, resourceArgs, resourceChange, resourceReadingIn, resourceReadingOf, rigTermsOf };
|
package/build/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $ as cpusOfList, A as targetSourceOf, B as versionsOf, C as programOf, D as subjectClient, E as sources, F as goVersions, G as requestFirst, H as environmentProblems, I as jarVersions, J as cgroupKeyed, K as RESOURCES_EVENT, L as locksOf, M as unpinnedBases, N as LOCK_NAMES, O as subjectProblems, P as cargoVersions, Q as cpuStatOf, R as npmDrift, S as planOf, T as shippedSource, U as isHopPlace, V as CLIENT_CAPABILITIES, W as latestEndOf, X as cgroupNumber, Y as cgroupLimit, Z as cpuMaxOf, _ as kafkaClientImage, _t as loadOf, a as SHIPPED_NAMES, at as resourceChange, b as nodeHttpImage, bt as poolOf, c as buildRecordOf, ct as CLOSED_TOLERANCE, d as harnessImage, dt as LOAD_POOL_LIMIT, et as hostLimitsOf, f as harnessVersion, ft as SCHEDULE_PATH, g as inContext, gt as loadEnds, h as imageProblems, ht as estimateVerdict, i as SHIPPED_CLIENTS, it as resourceArgs, j as unlockedManifests, k as targetImageOf, l as goHttpImage, lt as LOAD_FORMAT, m as imageOf, mt as estimateOf, n as PINNED, nt as memoryStatOf, o as amqpClientImage, ot as resourceReadingIn, p as hikariClientImage, pt as connectionsProblems, q as RESOURCES_PROGRAM, r as REPOSITORY, rt as networkOf, s as basesOf, st as resourceReadingOf, t as CLIENT_NAMES, tt as limitsProblems, u as grpcClientImage, ut as LOAD_PATH, v as mongoClientImage, vt as loadPlanOf, w as routerImage, x as pgClientImage, xt as streamsLoadOf, y as nodeClientImage, yt as loadVerdict, z as npmVersions } from "./image-B1jai9Lq.js";
|
|
2
|
-
import { LAYERS, LAYER_FACTS, LIMITS, layerOf, limitsOf } from "./layers.js";
|
|
2
|
+
import { LAYERS, LAYER_FACTS, LAYER_RIG_ENV, LIMITS, RIG_TERMS, TOXIC_RIG_TERMS, layerOf, limitsOf, rigTermsOf } from "./layers.js";
|
|
3
3
|
import { quantity, valueIn } from "@mark1russell7/quantity";
|
|
4
4
|
import { checkDiskFault, schedule, stopTriggerOf } from "@mark1russell7/rigor-chaos";
|
|
5
5
|
import { median, medianInterval as medianInterval$1, quantileSorted } from "@mark1russell7/rigor-statistics";
|
|
@@ -5637,7 +5637,19 @@ const recordProblems = (record) => [.../* @__PURE__ */ new Set([
|
|
|
5637
5637
|
* A fault of the kind `torn-write` arms LazyFS at its point. At a step, the writer pauses itself with `SIGSTOP`. The tier
|
|
5638
5638
|
* sends the command `lazyfs::torn-op` for the file `tornFile` of the subject, waits for the answer of LazyFS, and then
|
|
5639
5639
|
* continues the writer. The next write to the file keeps only its first parts on the disk, and LazyFS ends: a power cut
|
|
5640
|
-
* in that write.
|
|
5640
|
+
* in that write.
|
|
5641
|
+
*
|
|
5642
|
+
* LazyFS cannot fail an fsync, fill the disk or slow a write. Thus the image has a second FUSE layer, `faultfs`, above
|
|
5643
|
+
* LazyFS: the writer writes in its mount. The tier arms it at the point of a fault, as it arms LazyFS for a torn write:
|
|
5644
|
+
*
|
|
5645
|
+
* - `fsync-error` fails the next fsync with `EIO`. The layer writes back the old bytes of each write after the last
|
|
5646
|
+
* good fsync. Linux also drops the dirty pages after a failed writeback. Thus a retry of the fsync passes, but
|
|
5647
|
+
* the writes are lost. With `keepDirty`, the layer keeps the writes, and a later good fsync makes them durable.
|
|
5648
|
+
* - `full` fails each write from the point with `ENOSPC`.
|
|
5649
|
+
* - `slow` adds `ms` to each write and each fsync from the point.
|
|
5650
|
+
*
|
|
5651
|
+
* The writer of these kinds runs on after the point. After its end, the tier cuts the power as for `lose-unsynced`, and
|
|
5652
|
+
* the check reads what the disk kept. The record keeps each operation that the fault changed.
|
|
5641
5653
|
*
|
|
5642
5654
|
* The container is privileged: it needs `/dev/fuse` and a mount. The AppArmor profile of Docker refuses a FUSE mount in
|
|
5643
5655
|
* a container that is not privileged. Thus the tier operates only in CI, in the workflow `disk.yml`.
|
|
@@ -5669,8 +5681,22 @@ const EXIT_MS = 5e3;
|
|
|
5669
5681
|
const WRITER_MS = 6e4;
|
|
5670
5682
|
/** The time in s for the clear of the cache. */
|
|
5671
5683
|
const CLEAR_S = 30;
|
|
5684
|
+
/** The FIFO of the commands of the fault layer `faultfs`. */
|
|
5685
|
+
const LAYER_COMMANDS = "/run/faultfs/commands.fifo";
|
|
5686
|
+
/** The fault layer writes one answer to each command to this file: `ok <command>` or `error <command>`. */
|
|
5687
|
+
const LAYER_ACKS = "/run/faultfs/acks";
|
|
5688
|
+
/** The fault layer writes one line to this file for each operation that a fault changed. */
|
|
5689
|
+
const LAYER_HITS = "/run/faultfs/hits";
|
|
5690
|
+
/** A record keeps this number of the first lines of `LAYER_HITS`. */
|
|
5691
|
+
const HITS_LIMIT = 20;
|
|
5672
5692
|
/** The kinds of `@mark1russell7/rigor-chaos` that the disk tier applies. The tier refuses a fault of each other kind. */
|
|
5673
|
-
const DISK_TIER_KINDS = [
|
|
5693
|
+
const DISK_TIER_KINDS = [
|
|
5694
|
+
"lose-unsynced",
|
|
5695
|
+
"torn-write",
|
|
5696
|
+
"fsync-error",
|
|
5697
|
+
"full",
|
|
5698
|
+
"slow"
|
|
5699
|
+
];
|
|
5674
5700
|
const isArgv = (value) => Array.isArray(value) && value.length > 0 && value.every((part) => typeof part === "string" && part.length > 0);
|
|
5675
5701
|
/** This function gives each problem of a subject of the disk tier. An empty list means that the subject is correct. */
|
|
5676
5702
|
const diskSubjectProblems = (subject) => {
|
|
@@ -5701,6 +5727,18 @@ const diskTornCommand = (file, keep) => {
|
|
|
5701
5727
|
const persist = Array.from({ length: parts }, (_, index) => index + 1).join(",");
|
|
5702
5728
|
return `lazyfs::torn-op::file=${path}::parts=${TORN_PARTS}::persist=${persist}::occurrence=1`;
|
|
5703
5729
|
};
|
|
5730
|
+
/**
|
|
5731
|
+
* This function gives the command of the fault layer for a fault of the kind `fsync-error`, `full` or `slow`. It gives
|
|
5732
|
+
* `undefined` for each other kind.
|
|
5733
|
+
*/
|
|
5734
|
+
const diskLayerCommand = (fault) => {
|
|
5735
|
+
switch (fault.kind) {
|
|
5736
|
+
case "fsync-error": return fault.keepDirty === true ? "fsync-error keep-dirty" : "fsync-error";
|
|
5737
|
+
case "full": return "full";
|
|
5738
|
+
case "slow": return `slow ${String(fault.ms)}`;
|
|
5739
|
+
default: return;
|
|
5740
|
+
}
|
|
5741
|
+
};
|
|
5704
5742
|
/** This function gives the sha256 of the path and the content of each file under a folder, in a stable sequence. */
|
|
5705
5743
|
const folderDigest = (folder) => {
|
|
5706
5744
|
const root = resolve(folder);
|
|
@@ -5741,7 +5779,7 @@ const tail = (text) => text.slice(-4e3);
|
|
|
5741
5779
|
* cut also covers the write of the command to LazyFS: that write waits when LazyFS did not start.
|
|
5742
5780
|
*
|
|
5743
5781
|
* It also throws a `RangeError` for a kind that is not in `DISK_TIER_KINDS`, and for a `torn-write` of a subject with
|
|
5744
|
-
* no `tornFile`. The promise rejects when LazyFS refuses the command of a
|
|
5782
|
+
* no `tornFile`. The promise rejects when LazyFS or the fault layer refuses the command of a fault, or does not answer it.
|
|
5745
5783
|
*/
|
|
5746
5784
|
const runDiskFault = async (lab, fault) => {
|
|
5747
5785
|
const problems = checkDiskFault(fault);
|
|
@@ -5750,6 +5788,18 @@ const runDiskFault = async (lab, fault) => {
|
|
|
5750
5788
|
const tornFile = lab.subject.tornFile;
|
|
5751
5789
|
if (fault.kind === "torn-write" && tornFile === void 0) throw new RangeError("runDiskFault: a torn-write needs the tornFile of the subject.");
|
|
5752
5790
|
const command = fault.kind === "torn-write" ? diskTornCommand(tornFile, fault.keep) : void 0;
|
|
5791
|
+
const layerCommand = diskLayerCommand(fault);
|
|
5792
|
+
const arm = command !== void 0 ? {
|
|
5793
|
+
name: "LazyFS",
|
|
5794
|
+
command,
|
|
5795
|
+
fifo: FAULTS,
|
|
5796
|
+
acks: ACKS
|
|
5797
|
+
} : layerCommand !== void 0 ? {
|
|
5798
|
+
name: "the fault layer",
|
|
5799
|
+
command: layerCommand,
|
|
5800
|
+
fifo: LAYER_COMMANDS,
|
|
5801
|
+
acks: LAYER_ACKS
|
|
5802
|
+
} : void 0;
|
|
5753
5803
|
const trigger = stopTriggerOf(fault.at);
|
|
5754
5804
|
if (trigger === void 0) throw new RangeError(`runDiskFault: the point of the fault is not a step or a time.`);
|
|
5755
5805
|
const at = (/* @__PURE__ */ new Date()).toISOString();
|
|
@@ -5762,7 +5812,7 @@ const runDiskFault = async (lab, fault) => {
|
|
|
5762
5812
|
const runtime = await getContainerRuntimeClient();
|
|
5763
5813
|
const id = (await runtime.container.inspect(runtime.container.getById(container.getId()))).Image;
|
|
5764
5814
|
const env = lab.subject.env ?? {};
|
|
5765
|
-
const order =
|
|
5815
|
+
const order = arm !== void 0 && trigger.measure === "step" ? {
|
|
5766
5816
|
progress: PROGRESS,
|
|
5767
5817
|
step: trigger.value,
|
|
5768
5818
|
signal: "SIGSTOP"
|
|
@@ -5770,7 +5820,7 @@ const runDiskFault = async (lab, fault) => {
|
|
|
5770
5820
|
at: fault.at,
|
|
5771
5821
|
signal: "SIGKILL"
|
|
5772
5822
|
}, PROGRESS);
|
|
5773
|
-
const limitMs = trigger.measure === "ms" &&
|
|
5823
|
+
const limitMs = trigger.measure === "ms" && arm === void 0 ? trigger.value : lab.subject.timeoutMs ?? WRITER_MS;
|
|
5774
5824
|
if (command !== void 0) await container.exec(["touch", ARMED]);
|
|
5775
5825
|
const started = performance.now();
|
|
5776
5826
|
let ended = false;
|
|
@@ -5790,7 +5840,7 @@ const runDiskFault = async (lab, fault) => {
|
|
|
5790
5840
|
ended = true;
|
|
5791
5841
|
});
|
|
5792
5842
|
writing.catch(() => void 0);
|
|
5793
|
-
const armed =
|
|
5843
|
+
const armed = arm === void 0 ? false : await armLayer(container, trigger, arm, () => ended);
|
|
5794
5844
|
const write = await writing;
|
|
5795
5845
|
const ms = performance.now() - started;
|
|
5796
5846
|
let torn;
|
|
@@ -5803,6 +5853,17 @@ const runDiskFault = async (lab, fault) => {
|
|
|
5803
5853
|
exit
|
|
5804
5854
|
};
|
|
5805
5855
|
}
|
|
5856
|
+
let layer;
|
|
5857
|
+
if (layerCommand !== void 0) {
|
|
5858
|
+
const hits = await container.exec(["cat", LAYER_HITS]);
|
|
5859
|
+
const lines = hits.exitCode === 0 ? hits.stdout.split("\n").filter((line) => line.length > 0) : [];
|
|
5860
|
+
layer = {
|
|
5861
|
+
command: layerCommand,
|
|
5862
|
+
armed,
|
|
5863
|
+
hits: lines.length,
|
|
5864
|
+
first: lines.slice(0, HITS_LIMIT)
|
|
5865
|
+
};
|
|
5866
|
+
}
|
|
5806
5867
|
if (torn?.crashed !== true) {
|
|
5807
5868
|
const cut = await container.exec([
|
|
5808
5869
|
"timeout",
|
|
@@ -5830,7 +5891,7 @@ const runDiskFault = async (lab, fault) => {
|
|
|
5830
5891
|
} catch (error) {
|
|
5831
5892
|
throw new Error(`runDiskFault: the output of the check is not one JSON value: ${tail(check.stdout.trim())}`, { cause: error });
|
|
5832
5893
|
}
|
|
5833
|
-
const stopped = trigger.measure === "step" ? lines.some((line) => line.stop === true) : torn
|
|
5894
|
+
const stopped = trigger.measure === "step" ? lines.some((line) => line.stop === true) : torn !== void 0 ? torn.crashed : layer !== void 0 ? layer.armed : write.exitCode === 137;
|
|
5834
5895
|
return {
|
|
5835
5896
|
format: DISK_RECORD_FORMAT,
|
|
5836
5897
|
fault,
|
|
@@ -5854,6 +5915,7 @@ const runDiskFault = async (lab, fault) => {
|
|
|
5854
5915
|
output: tail(write.output)
|
|
5855
5916
|
},
|
|
5856
5917
|
...torn === void 0 ? {} : { torn },
|
|
5918
|
+
...layer === void 0 ? {} : { layer },
|
|
5857
5919
|
persisted,
|
|
5858
5920
|
at
|
|
5859
5921
|
};
|
|
@@ -5862,11 +5924,12 @@ const runDiskFault = async (lab, fault) => {
|
|
|
5862
5924
|
}
|
|
5863
5925
|
};
|
|
5864
5926
|
/**
|
|
5865
|
-
* This function arms LazyFS at the point of a fault, and gives `true` when it sent the command. It
|
|
5866
|
-
* writer ended before the point. At a step, it waits for the pause of the writer, and continues
|
|
5867
|
-
* answer of
|
|
5927
|
+
* This function arms LazyFS or the fault layer at the point of a fault, and gives `true` when it sent the command. It
|
|
5928
|
+
* gives `false` when the writer ended before the point. At a step, it waits for the pause of the writer, and continues
|
|
5929
|
+
* the writer after the answer of the layer. It throws when the layer refuses the command or does not answer it in time.
|
|
5868
5930
|
*/
|
|
5869
|
-
const
|
|
5931
|
+
const armLayer = async (container, trigger, arm, ended) => {
|
|
5932
|
+
const { name, command } = arm;
|
|
5870
5933
|
if (trigger.measure === "ms") {
|
|
5871
5934
|
await setTimeout$1(trigger.value);
|
|
5872
5935
|
if (ended()) return false;
|
|
@@ -5881,18 +5944,18 @@ const armLazyFs = async (container, trigger, command, ended) => {
|
|
|
5881
5944
|
String(CLEAR_S),
|
|
5882
5945
|
"sh",
|
|
5883
5946
|
"-c",
|
|
5884
|
-
`printf '%s\\n' "$1" > ${
|
|
5947
|
+
`printf '%s\\n' "$1" > ${arm.fifo}`,
|
|
5885
5948
|
"sh",
|
|
5886
5949
|
command
|
|
5887
5950
|
]);
|
|
5888
|
-
if (sent.exitCode !== 0) throw new Error(`runDiskFault: the command did not go to
|
|
5951
|
+
if (sent.exitCode !== 0) throw new Error(`runDiskFault: the command did not go to ${name} (exit ${sent.exitCode}): ${tail(sent.output.trim())}`);
|
|
5889
5952
|
const deadline = performance.now() + CLEAR_S * 1e3;
|
|
5890
5953
|
for (;;) {
|
|
5891
|
-
const acks = await container.exec(["cat",
|
|
5954
|
+
const acks = await container.exec(["cat", arm.acks]);
|
|
5892
5955
|
const answer = acks.exitCode === 0 ? acks.stdout.split("\n").find((line) => line.length > 0) : void 0;
|
|
5893
5956
|
if (answer?.startsWith("ok ") === true) break;
|
|
5894
|
-
if (answer !== void 0) throw new Error(`runDiskFault:
|
|
5895
|
-
if (performance.now() > deadline) throw new Error(`runDiskFault:
|
|
5957
|
+
if (answer !== void 0) throw new Error(`runDiskFault: ${name} refused the command ${command}: ${answer}`);
|
|
5958
|
+
if (performance.now() > deadline) throw new Error(`runDiskFault: ${name} did not answer the command ${command} in ${CLEAR_S} s.`);
|
|
5896
5959
|
await setTimeout$1(POLL_MS);
|
|
5897
5960
|
}
|
|
5898
5961
|
if (trigger.measure === "step") await container.exec([
|
|
@@ -9887,6 +9950,6 @@ const runCell = async (cell, say = () => {}) => {
|
|
|
9887
9950
|
target = larger;
|
|
9888
9951
|
}
|
|
9889
9952
|
};
|
|
9890
|
-
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, 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, 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, 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, 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, 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 };
|
|
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 };
|
|
9891
9954
|
|
|
9892
9955
|
//# sourceMappingURL=index.js.map
|