@mark1russell7/harness 0.16.28 → 0.16.30
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 +9 -1
- package/build/index.d.ts +40 -3
- package/build/index.js +137 -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/start.mts +42 -3
- package/package.json +4 -3
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.
|
|
@@ -555,6 +555,8 @@ The distribution test needs a simulator, which does not exist at this time.
|
|
|
555
555
|
|
|
556
556
|
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
557
|
|
|
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. The tier refuses `fsync-error`, `full` and `slow`: LazyFS cannot apply them. `DISK_TIER_KINDS` names the kinds that the tier applies.
|
|
559
|
+
|
|
558
560
|
```ts
|
|
559
561
|
import { diskPlanOf } from "@mark1russell7/rigor-chaos";
|
|
560
562
|
import { openDiskLab, runDiskFault } from "@mark1russell7/harness";
|
|
@@ -573,12 +575,18 @@ for (const fault of plan.faults) console.log((await runDiskFault(lab, fault)).pe
|
|
|
573
575
|
- The protocol is data: an environment variable and one JSON line for each stop point. Thus a writer in each language can speak it.
|
|
574
576
|
- **A fault at a time** stops the writer with `SIGKILL` after that time from its start, through `timeout -s KILL`.
|
|
575
577
|
- **Each fault has a new container.** After the stop, the tier sends `lazyfs::clear-cache` to LazyFS, and waits for its answer. Then the check starts.
|
|
578
|
+
- **A torn write** arms LazyFS at its point. At a step, the writer pauses itself with `SIGSTOP`, and the tier sends the command of `diskTornCommand`. At a time, the writer runs on.
|
|
579
|
+
- The command `lazyfs::torn-op` divides the next write to the file into 8 parts. The disk keeps the first `floor(keep × 8)` parts, and LazyFS ends. A smaller part ends LazyFS before the write.
|
|
580
|
+
- 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
|
+
- The image keeps the container after LazyFS ends, for the check. The record holds the command and the exit of LazyFS (`torn`).
|
|
582
|
+
- When the writer writes no more to the file, LazyFS does not end. Then the tier cuts the power with `lazyfs::clear-cache`.
|
|
576
583
|
- **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.
|
|
577
584
|
- It also holds the substrate (layer E1), the exit and the stop points of the writer, and the value of the check (`persisted`).
|
|
578
585
|
- `diskRecordProblems` gives each problem of the pins of a record. A record with a problem is not a record.
|
|
579
586
|
- **The container is privileged.** LazyFS needs `/dev/fuse` and a mount. Testcontainers 12 has no option for one device. The AppArmor profile of Docker refuses a FUSE mount in a container that is not privileged.
|
|
580
587
|
- Thus the tier operates only in CI, in the workflow `disk.yml`.
|
|
581
588
|
- **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
|
+
- 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.
|
|
582
590
|
|
|
583
591
|
## Runs
|
|
584
592
|
|
package/build/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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
|
-
import { DiskFault, LoadMeasure, Schedule } from "@mark1russell7/rigor-chaos";
|
|
4
|
+
import { DiskFault, DiskFaultKind, LoadMeasure, Schedule } from "@mark1russell7/rigor-chaos";
|
|
5
5
|
import { StartedTestContainer } from "testcontainers";
|
|
6
6
|
/**
|
|
7
7
|
* This module reads the acts of the program of the observer: its heartbeat, its drop of the
|
|
@@ -2625,6 +2625,11 @@ export declare const recordProblems: (record: Pinnable) => string[];
|
|
|
2625
2625
|
* A point at a step uses the stop points of `@mark1russell7/rigor-testkit/stop` in the writer: the writer stops itself
|
|
2626
2626
|
* at the step with `SIGKILL`. A point at a time stops the writer with `SIGKILL` after that time from its start.
|
|
2627
2627
|
*
|
|
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
|
+
* sends the command `lazyfs::torn-op` for the file `tornFile` of the subject, waits for the answer of LazyFS, and then
|
|
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. The tier refuses `fsync-error`, `full` and `slow`: LazyFS cannot apply them.
|
|
2632
|
+
*
|
|
2628
2633
|
* The container is privileged: it needs `/dev/fuse` and a mount. The AppArmor profile of Docker refuses a FUSE mount in
|
|
2629
2634
|
* a container that is not privileged. Thus the tier operates only in CI, in the workflow `disk.yml`.
|
|
2630
2635
|
*/
|
|
@@ -2636,6 +2641,8 @@ export declare const DISK_MOUNT = "/mnt/disk";
|
|
|
2636
2641
|
export declare const DISK_ROOT = "/var/disk";
|
|
2637
2642
|
/** The format of a record of the disk tier. */
|
|
2638
2643
|
export declare const DISK_RECORD_FORMAT = "harness-disk/1";
|
|
2644
|
+
/** The kinds of `@mark1russell7/rigor-chaos` that the disk tier applies. The tier refuses a fault of each other kind. */
|
|
2645
|
+
export declare const DISK_TIER_KINDS: readonly DiskFaultKind[];
|
|
2639
2646
|
/** The subject of the disk tier: a folder with a writer and a check. */
|
|
2640
2647
|
interface DiskSubject {
|
|
2641
2648
|
/** The name of the subject, for the record. */
|
|
@@ -2650,6 +2657,11 @@ interface DiskSubject {
|
|
|
2650
2657
|
readonly env?: Readonly<Record<string, string>>;
|
|
2651
2658
|
/** The time in ms for the writer of a fault at a step. The default is 60 000. After it, the writer gets `SIGKILL`. */
|
|
2652
2659
|
readonly timeoutMs?: number;
|
|
2660
|
+
/**
|
|
2661
|
+
* The file that a `torn-write` tears, as a path in `DISK_ROOT`. The tier tears the first write to it after the point
|
|
2662
|
+
* of the fault. A subject with no `tornFile` gets no `torn-write`.
|
|
2663
|
+
*/
|
|
2664
|
+
readonly tornFile?: string;
|
|
2653
2665
|
}
|
|
2654
2666
|
/** The options of `openDiskLab`. */
|
|
2655
2667
|
interface DiskLabOptions {
|
|
@@ -2687,6 +2699,20 @@ interface DiskWriterRecord {
|
|
|
2687
2699
|
/** The last characters of the output of the writer. */
|
|
2688
2700
|
readonly output: string;
|
|
2689
2701
|
}
|
|
2702
|
+
/** The record of the arm of LazyFS for a `torn-write`. */
|
|
2703
|
+
interface DiskTornRecord {
|
|
2704
|
+
/** The fault command that the tier sent to LazyFS. */
|
|
2705
|
+
readonly command: string;
|
|
2706
|
+
/** This value is `true` when the tier sent the command. A writer that ends before the point gives `false`. */
|
|
2707
|
+
readonly armed: boolean;
|
|
2708
|
+
/**
|
|
2709
|
+
* This value is `true` when LazyFS ended after the arm: the write tore. When the writer wrote no more to the file, the
|
|
2710
|
+
* value is `false`, and the tier cuts the power with `lazyfs::clear-cache` as for `lose-unsynced`.
|
|
2711
|
+
*/
|
|
2712
|
+
readonly crashed: boolean;
|
|
2713
|
+
/** The exit of LazyFS, as `code=<n>` or `signal=<name>`. The value is `null` when LazyFS did not end. */
|
|
2714
|
+
readonly exit: string | null;
|
|
2715
|
+
}
|
|
2690
2716
|
/** The record of one fault of a disk plan. */
|
|
2691
2717
|
interface DiskRecord {
|
|
2692
2718
|
readonly format: typeof DISK_RECORD_FORMAT;
|
|
@@ -2702,6 +2728,8 @@ interface DiskRecord {
|
|
|
2702
2728
|
readonly code: RecordCode;
|
|
2703
2729
|
readonly substrate: Substrate;
|
|
2704
2730
|
readonly writer: DiskWriterRecord;
|
|
2731
|
+
/** The arm of LazyFS. Only a `torn-write` has it. */
|
|
2732
|
+
readonly torn?: DiskTornRecord;
|
|
2705
2733
|
/** The JSON value that the check wrote: what the disk kept. */
|
|
2706
2734
|
readonly persisted: unknown;
|
|
2707
2735
|
/** The time when `runDiskFault` started the fault, in ISO 8601. */
|
|
@@ -2709,6 +2737,12 @@ interface DiskRecord {
|
|
|
2709
2737
|
}
|
|
2710
2738
|
/** This function gives each problem of a subject of the disk tier. An empty list means that the subject is correct. */
|
|
2711
2739
|
export declare const diskSubjectProblems: (subject: DiskSubject) => string[];
|
|
2740
|
+
/**
|
|
2741
|
+
* This function gives the fault command of LazyFS for a `torn-write` of a file of the disk. A part `keep` from 1/8 tears
|
|
2742
|
+
* the next write into 8 parts, and the disk keeps the first `floor(keep × 8)` parts. A smaller part crashes LazyFS before
|
|
2743
|
+
* 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
|
+
*/
|
|
2745
|
+
export declare const diskTornCommand: (file: string, keep: number) => string;
|
|
2712
2746
|
/** This function gives the sha256 of the path and the content of each file under a folder, in a stable sequence. */
|
|
2713
2747
|
export declare const folderDigest: (folder: string) => string;
|
|
2714
2748
|
/**
|
|
@@ -2721,6 +2755,9 @@ export declare const openDiskLab: (options: DiskLabOptions) => Promise<DiskLab>;
|
|
|
2721
2755
|
* for a fault with problems. The promise rejects when LazyFS does not clear its cache, or when the check does not end
|
|
2722
2756
|
* with the code 0 and one JSON value. Thus a check that cannot read the disk gives no record. The time limit of the
|
|
2723
2757
|
* cut also covers the write of the command to LazyFS: that write waits when LazyFS did not start.
|
|
2758
|
+
*
|
|
2759
|
+
* 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 torn write, or does not answer it.
|
|
2724
2761
|
*/
|
|
2725
2762
|
export declare const runDiskFault: (lab: DiskLab, fault: DiskFault) => Promise<DiskRecord>;
|
|
2726
2763
|
/** These are the parts of a disk record that tell if it pins its code and its image. */
|
|
@@ -3085,4 +3122,4 @@ export declare const environmentCounts: (cell: Cell, runs: number) => number[];
|
|
|
3085
3122
|
* Each environment does a warm-up first, and the result keeps it apart from the counted runs.
|
|
3086
3123
|
*/
|
|
3087
3124
|
export declare const runCell: (cell: Cell, say?: (line: string) => void) => Promise<CellResult>;
|
|
3088
|
-
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 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 };
|
|
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, 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";
|
|
@@ -8,9 +8,10 @@ import { createHash, randomBytes } from "node:crypto";
|
|
|
8
8
|
import { execFile } from "node:child_process";
|
|
9
9
|
import { mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
10
10
|
import { release, tmpdir } from "node:os";
|
|
11
|
-
import { join, relative, resolve } from "node:path";
|
|
11
|
+
import { isAbsolute, join, relative, resolve } from "node:path";
|
|
12
12
|
import { existsSync, readFileSync, statSync } from "node:fs";
|
|
13
13
|
import { STOP_ENV, parseProgress, stopOrderOf } from "@mark1russell7/rigor-testkit/stop";
|
|
14
|
+
import { escapeRegExp } from "@mark1russell7/text";
|
|
14
15
|
// src/verdict.ts
|
|
15
16
|
/** This function gives the words of the outcome of a second request: its connection, a retry, and its end. */
|
|
16
17
|
const requestWords = (outcome) => `${outcome.connection}${outcome.retried ? ", a retry" : ""}, ${outcome.pending === true ? "pending" : outcome.error ?? "a reply"}`;
|
|
@@ -5633,6 +5634,11 @@ const recordProblems = (record) => [.../* @__PURE__ */ new Set([
|
|
|
5633
5634
|
* A point at a step uses the stop points of `@mark1russell7/rigor-testkit/stop` in the writer: the writer stops itself
|
|
5634
5635
|
* at the step with `SIGKILL`. A point at a time stops the writer with `SIGKILL` after that time from its start.
|
|
5635
5636
|
*
|
|
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
|
+
* sends the command `lazyfs::torn-op` for the file `tornFile` of the subject, waits for the answer of LazyFS, and then
|
|
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. The tier refuses `fsync-error`, `full` and `slow`: LazyFS cannot apply them.
|
|
5641
|
+
*
|
|
5636
5642
|
* The container is privileged: it needs `/dev/fuse` and a mount. The AppArmor profile of Docker refuses a FUSE mount in
|
|
5637
5643
|
* a container that is not privileged. Thus the tier operates only in CI, in the workflow `disk.yml`.
|
|
5638
5644
|
*/
|
|
@@ -5647,10 +5653,24 @@ const DISK_RECORD_FORMAT = "harness-disk/1";
|
|
|
5647
5653
|
const FAULTS = "/run/lazyfs/faults.fifo";
|
|
5648
5654
|
const DONE = "/run/lazyfs/done.fifo";
|
|
5649
5655
|
const PROGRESS = "/tmp/rigor-progress.jsonl";
|
|
5656
|
+
/** The image keeps the container after LazyFS ends when this file exists. The tier makes it before it arms a crash. */
|
|
5657
|
+
const ARMED = "/run/lazyfs/armed";
|
|
5658
|
+
/** The image writes the exit of LazyFS to this file after an armed crash. */
|
|
5659
|
+
const EXIT = "/run/lazyfs/exit";
|
|
5660
|
+
/** The image writes one line for each answer of LazyFS to a fault command: `ok` or `error`, then the line of its log. */
|
|
5661
|
+
const ACKS = "/run/lazyfs/acks";
|
|
5662
|
+
/** A torn write divides the write at the point into this number of parts. The `keep` of the fault tells the parts that stay. */
|
|
5663
|
+
const TORN_PARTS = 8;
|
|
5664
|
+
/** The time in ms between two reads of the progress file or of the answers of LazyFS. */
|
|
5665
|
+
const POLL_MS = 50;
|
|
5666
|
+
/** The time in ms for the exit of LazyFS after the end of the writer of a torn write. */
|
|
5667
|
+
const EXIT_MS = 5e3;
|
|
5650
5668
|
/** The default time in ms for the writer of a fault at a step. */
|
|
5651
5669
|
const WRITER_MS = 6e4;
|
|
5652
5670
|
/** The time in s for the clear of the cache. */
|
|
5653
5671
|
const CLEAR_S = 30;
|
|
5672
|
+
/** 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 = ["lose-unsynced", "torn-write"];
|
|
5654
5674
|
const isArgv = (value) => Array.isArray(value) && value.length > 0 && value.every((part) => typeof part === "string" && part.length > 0);
|
|
5655
5675
|
/** This function gives each problem of a subject of the disk tier. An empty list means that the subject is correct. */
|
|
5656
5676
|
const diskSubjectProblems = (subject) => {
|
|
@@ -5662,8 +5682,25 @@ const diskSubjectProblems = (subject) => {
|
|
|
5662
5682
|
if (!isArgv(subject.check)) problems.push("the check is not an argv: a list of one or more texts");
|
|
5663
5683
|
const timeoutMs = subject.timeoutMs;
|
|
5664
5684
|
if (timeoutMs !== void 0 && !(Number.isFinite(timeoutMs) && timeoutMs > 0)) problems.push(`the timeoutMs of the subject is a positive number of ms, not ${String(timeoutMs)}`);
|
|
5685
|
+
const torn = subject.tornFile;
|
|
5686
|
+
if (torn !== void 0 && !isTornFile(torn)) problems.push(`the tornFile of the subject is a path in the disk with no "..", no "::" and no line break, not ${JSON.stringify(torn)}`);
|
|
5665
5687
|
return problems;
|
|
5666
5688
|
};
|
|
5689
|
+
const isTornFile = (file) => typeof file === "string" && file.length > 0 && !isAbsolute(file) && !file.startsWith("/") && !file.includes("::") && !/[\n\r\0\\]/.test(file) && file.split("/").every((part) => part !== "" && part !== "." && part !== "..");
|
|
5690
|
+
/**
|
|
5691
|
+
* This function gives the fault command of LazyFS for a `torn-write` of a file of the disk. A part `keep` from 1/8 tears
|
|
5692
|
+
* the next write into 8 parts, and the disk keeps the first `floor(keep × 8)` parts. A smaller part crashes LazyFS before
|
|
5693
|
+
* the write, thus the disk keeps none of it. It throws a `RangeError` for a file that is not a path in the disk.
|
|
5694
|
+
*/
|
|
5695
|
+
const diskTornCommand = (file, keep) => {
|
|
5696
|
+
if (!isTornFile(file)) throw new RangeError(`diskTornCommand: the file is a path in the disk with no "..", no "::" and no line break, not ${JSON.stringify(file)}.`);
|
|
5697
|
+
if (!(keep >= 0 && keep < 1)) throw new RangeError(`diskTornCommand: the part keep is a number from 0 to less than 1, not ${String(keep)}.`);
|
|
5698
|
+
const path = `${DISK_ROOT}/${file}`;
|
|
5699
|
+
const parts = Math.floor(keep * TORN_PARTS);
|
|
5700
|
+
if (parts === 0) return `lazyfs::crash::timing=before::op=write::from_rgx=^${escapeRegExp(path)}$`;
|
|
5701
|
+
const persist = Array.from({ length: parts }, (_, index) => index + 1).join(",");
|
|
5702
|
+
return `lazyfs::torn-op::file=${path}::parts=${TORN_PARTS}::persist=${persist}::occurrence=1`;
|
|
5703
|
+
};
|
|
5667
5704
|
/** This function gives the sha256 of the path and the content of each file under a folder, in a stable sequence. */
|
|
5668
5705
|
const folderDigest = (folder) => {
|
|
5669
5706
|
const root = resolve(folder);
|
|
@@ -5702,10 +5739,17 @@ const tail = (text) => text.slice(-4e3);
|
|
|
5702
5739
|
* for a fault with problems. The promise rejects when LazyFS does not clear its cache, or when the check does not end
|
|
5703
5740
|
* with the code 0 and one JSON value. Thus a check that cannot read the disk gives no record. The time limit of the
|
|
5704
5741
|
* cut also covers the write of the command to LazyFS: that write waits when LazyFS did not start.
|
|
5742
|
+
*
|
|
5743
|
+
* 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 torn write, or does not answer it.
|
|
5705
5745
|
*/
|
|
5706
5746
|
const runDiskFault = async (lab, fault) => {
|
|
5707
5747
|
const problems = checkDiskFault(fault);
|
|
5708
5748
|
if (problems.length > 0) throw new RangeError(`runDiskFault: ${problems.join(" ")}`);
|
|
5749
|
+
if (!DISK_TIER_KINDS.includes(fault.kind)) throw new RangeError(`runDiskFault: the disk tier does not apply the kind ${fault.kind}. It applies ${DISK_TIER_KINDS.join(" and ")}.`);
|
|
5750
|
+
const tornFile = lab.subject.tornFile;
|
|
5751
|
+
if (fault.kind === "torn-write" && tornFile === void 0) throw new RangeError("runDiskFault: a torn-write needs the tornFile of the subject.");
|
|
5752
|
+
const command = fault.kind === "torn-write" ? diskTornCommand(tornFile, fault.keep) : void 0;
|
|
5709
5753
|
const trigger = stopTriggerOf(fault.at);
|
|
5710
5754
|
if (trigger === void 0) throw new RangeError(`runDiskFault: the point of the fault is not a step or a time.`);
|
|
5711
5755
|
const at = (/* @__PURE__ */ new Date()).toISOString();
|
|
@@ -5718,17 +5762,23 @@ const runDiskFault = async (lab, fault) => {
|
|
|
5718
5762
|
const runtime = await getContainerRuntimeClient();
|
|
5719
5763
|
const id = (await runtime.container.inspect(runtime.container.getById(container.getId()))).Image;
|
|
5720
5764
|
const env = lab.subject.env ?? {};
|
|
5721
|
-
const order =
|
|
5765
|
+
const order = command !== void 0 && trigger.measure === "step" ? {
|
|
5766
|
+
progress: PROGRESS,
|
|
5767
|
+
step: trigger.value,
|
|
5768
|
+
signal: "SIGSTOP"
|
|
5769
|
+
} : stopOrderOf({
|
|
5722
5770
|
at: fault.at,
|
|
5723
5771
|
signal: "SIGKILL"
|
|
5724
5772
|
}, PROGRESS);
|
|
5725
|
-
const
|
|
5773
|
+
const limitMs = trigger.measure === "ms" && command === void 0 ? trigger.value : lab.subject.timeoutMs ?? WRITER_MS;
|
|
5774
|
+
if (command !== void 0) await container.exec(["touch", ARMED]);
|
|
5726
5775
|
const started = performance.now();
|
|
5727
|
-
|
|
5776
|
+
let ended = false;
|
|
5777
|
+
const writing = container.exec([
|
|
5728
5778
|
"timeout",
|
|
5729
5779
|
"-s",
|
|
5730
5780
|
"KILL",
|
|
5731
|
-
String(
|
|
5781
|
+
String(limitMs / 1e3),
|
|
5732
5782
|
...lab.subject.writer
|
|
5733
5783
|
], {
|
|
5734
5784
|
workingDir: DISK_MOUNT,
|
|
@@ -5736,18 +5786,35 @@ const runDiskFault = async (lab, fault) => {
|
|
|
5736
5786
|
...env,
|
|
5737
5787
|
[STOP_ENV]: JSON.stringify(order)
|
|
5738
5788
|
}
|
|
5789
|
+
}).finally(() => {
|
|
5790
|
+
ended = true;
|
|
5739
5791
|
});
|
|
5792
|
+
writing.catch(() => void 0);
|
|
5793
|
+
const armed = command === void 0 ? false : await armLazyFs(container, trigger, command, () => ended);
|
|
5794
|
+
const write = await writing;
|
|
5740
5795
|
const ms = performance.now() - started;
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5796
|
+
let torn;
|
|
5797
|
+
if (command !== void 0) {
|
|
5798
|
+
const exit = armed ? await lazyFsExit(container) : null;
|
|
5799
|
+
torn = {
|
|
5800
|
+
command,
|
|
5801
|
+
armed,
|
|
5802
|
+
crashed: exit !== null,
|
|
5803
|
+
exit
|
|
5804
|
+
};
|
|
5805
|
+
}
|
|
5806
|
+
if (torn?.crashed !== true) {
|
|
5807
|
+
const cut = await container.exec([
|
|
5808
|
+
"timeout",
|
|
5809
|
+
String(CLEAR_S),
|
|
5810
|
+
"sh",
|
|
5811
|
+
"-c",
|
|
5812
|
+
`printf 'lazyfs::clear-cache\\n' > ${FAULTS} && head -n 1 ${DONE}`
|
|
5813
|
+
]);
|
|
5814
|
+
if (cut.exitCode !== 0 || cut.stdout.trim() !== "finished::clear-cache") {
|
|
5815
|
+
const limit = cut.exitCode === 124 ? `, the limit of ${CLEAR_S} s` : "";
|
|
5816
|
+
throw new Error(`runDiskFault: LazyFS did not clear its cache (exit ${cut.exitCode}${limit}): ${tail(cut.output.trim())}`);
|
|
5817
|
+
}
|
|
5751
5818
|
}
|
|
5752
5819
|
const progress = await container.exec(["cat", PROGRESS]);
|
|
5753
5820
|
const lines = parseProgress(progress.exitCode === 0 ? progress.stdout : "");
|
|
@@ -5763,7 +5830,7 @@ const runDiskFault = async (lab, fault) => {
|
|
|
5763
5830
|
} catch (error) {
|
|
5764
5831
|
throw new Error(`runDiskFault: the output of the check is not one JSON value: ${tail(check.stdout.trim())}`, { cause: error });
|
|
5765
5832
|
}
|
|
5766
|
-
const stopped = trigger.measure === "step" ? lines.some((line) => line.stop === true) : write.exitCode === 137;
|
|
5833
|
+
const stopped = trigger.measure === "step" ? lines.some((line) => line.stop === true) : torn === void 0 ? write.exitCode === 137 : torn.crashed;
|
|
5767
5834
|
return {
|
|
5768
5835
|
format: DISK_RECORD_FORMAT,
|
|
5769
5836
|
fault,
|
|
@@ -5786,6 +5853,7 @@ const runDiskFault = async (lab, fault) => {
|
|
|
5786
5853
|
ms,
|
|
5787
5854
|
output: tail(write.output)
|
|
5788
5855
|
},
|
|
5856
|
+
...torn === void 0 ? {} : { torn },
|
|
5789
5857
|
persisted,
|
|
5790
5858
|
at
|
|
5791
5859
|
};
|
|
@@ -5794,6 +5862,57 @@ const runDiskFault = async (lab, fault) => {
|
|
|
5794
5862
|
}
|
|
5795
5863
|
};
|
|
5796
5864
|
/**
|
|
5865
|
+
* This function arms LazyFS at the point of a fault, and gives `true` when it sent the command. It gives `false` when the
|
|
5866
|
+
* writer ended before the point. At a step, it waits for the pause of the writer, and continues the writer after the
|
|
5867
|
+
* answer of LazyFS. It throws when LazyFS refuses the command or does not answer it in time.
|
|
5868
|
+
*/
|
|
5869
|
+
const armLazyFs = async (container, trigger, command, ended) => {
|
|
5870
|
+
if (trigger.measure === "ms") {
|
|
5871
|
+
await setTimeout$1(trigger.value);
|
|
5872
|
+
if (ended()) return false;
|
|
5873
|
+
} else for (;;) {
|
|
5874
|
+
const progress = await container.exec(["cat", PROGRESS]);
|
|
5875
|
+
if (parseProgress(progress.exitCode === 0 ? progress.stdout : "").some((line) => line.stop === true)) break;
|
|
5876
|
+
if (ended()) return false;
|
|
5877
|
+
await setTimeout$1(POLL_MS);
|
|
5878
|
+
}
|
|
5879
|
+
const sent = await container.exec([
|
|
5880
|
+
"timeout",
|
|
5881
|
+
String(CLEAR_S),
|
|
5882
|
+
"sh",
|
|
5883
|
+
"-c",
|
|
5884
|
+
`printf '%s\\n' "$1" > ${FAULTS}`,
|
|
5885
|
+
"sh",
|
|
5886
|
+
command
|
|
5887
|
+
]);
|
|
5888
|
+
if (sent.exitCode !== 0) throw new Error(`runDiskFault: the command did not go to LazyFS (exit ${sent.exitCode}): ${tail(sent.output.trim())}`);
|
|
5889
|
+
const deadline = performance.now() + CLEAR_S * 1e3;
|
|
5890
|
+
for (;;) {
|
|
5891
|
+
const acks = await container.exec(["cat", ACKS]);
|
|
5892
|
+
const answer = acks.exitCode === 0 ? acks.stdout.split("\n").find((line) => line.length > 0) : void 0;
|
|
5893
|
+
if (answer?.startsWith("ok ") === true) break;
|
|
5894
|
+
if (answer !== void 0) throw new Error(`runDiskFault: LazyFS refused the command ${command}: ${answer}`);
|
|
5895
|
+
if (performance.now() > deadline) throw new Error(`runDiskFault: LazyFS did not answer the command ${command} in ${CLEAR_S} s.`);
|
|
5896
|
+
await setTimeout$1(POLL_MS);
|
|
5897
|
+
}
|
|
5898
|
+
if (trigger.measure === "step") await container.exec([
|
|
5899
|
+
"sh",
|
|
5900
|
+
"-c",
|
|
5901
|
+
"kill -CONT -1"
|
|
5902
|
+
]);
|
|
5903
|
+
return true;
|
|
5904
|
+
};
|
|
5905
|
+
/** This function gives the exit of LazyFS after an armed crash, or `null` when LazyFS did not end in `EXIT_MS`. */
|
|
5906
|
+
const lazyFsExit = async (container) => {
|
|
5907
|
+
const deadline = performance.now() + EXIT_MS;
|
|
5908
|
+
for (;;) {
|
|
5909
|
+
const exit = await container.exec(["cat", EXIT]);
|
|
5910
|
+
if (exit.exitCode === 0 && exit.stdout.trim() !== "") return exit.stdout.trim();
|
|
5911
|
+
if (performance.now() > deadline) return null;
|
|
5912
|
+
await setTimeout$1(POLL_MS);
|
|
5913
|
+
}
|
|
5914
|
+
};
|
|
5915
|
+
/**
|
|
5797
5916
|
* This function gives each problem of the pins of a disk record. The pins are the commit of the code and the image with
|
|
5798
5917
|
* its build record. A checkout with changes is also a problem. A record with a problem is not a record.
|
|
5799
5918
|
*/
|
|
@@ -9768,6 +9887,6 @@ const runCell = async (cell, say = () => {}) => {
|
|
|
9768
9887
|
target = larger;
|
|
9769
9888
|
}
|
|
9770
9889
|
};
|
|
9771
|
-
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, 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, 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 };
|
|
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, 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, 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 };
|
|
9772
9891
|
|
|
9773
9892
|
//# sourceMappingURL=index.js.map
|