You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Explain differences between the two
* Add new issues discovered by Antithesis to track record
* Document Antithesis setup
Signed-off-by: Marek Siarkowicz <[email protected]>
Copy file name to clipboardExpand all lines: tests/antithesis/README.md
+51-1Lines changed: 51 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,54 @@
1
-
This directory enables integration of Antithesis with etcd. There are 4 containers running in this system: 3 that make up an etcd cluster (etcd0, etcd1, etcd2) and one that "[makes the system go](https://antithesis.com/docs/getting_started/basic_test_hookup/)" (client).
1
+
# etcd Antithesis tests
2
+
3
+
This document describes the etcd test integration with [Antithesis].
4
+
Antithesis provides a testing platform that allows you to explore edge cases, race conditions, and rare
5
+
bugs that are difficult or impossible to reproduce in a normal environment.
6
+
7
+
[Antithesis]: https://antithesis.com/
8
+
9
+
## Robustness vs Antithesis tests
10
+
11
+
[Antithesis] runs the robustness tests inside their
| Inconsistent revision caused by crash during high load [#13766]| Mar 2022 | v3.5 | User | Yes, report preceded robustness tests |`make test-robustness-issue13766`|
14
-
| Single node cluster can lose a write on crash [#14370]| Aug 2022 | v3.4 or earlier | User | Yes, report preceded robustness tests |`make test-robustness-issue14370`|
15
-
| Enabling auth can lead to inconsistency [#14571]| Oct 2022 | v3.4 or earlier | User | No, authorization is not covered. ||
16
-
| Inconsistent revision caused by crash during defrag [#14685]| Nov 2022 | v3.5 | Robustness | Yes, after covering defragmentation. |`make test-robustness-issue14685`|
17
-
| Watch progress notification not synced with stream [#15220]| Jan 2023 | v3.4 or earlier | User | Yes, after covering watch progress notification |`make test-robustness-issue15220`|
18
-
| Watch traveling back in time after network partition [#15271]| Feb 2023 | v3.4 or earlier | Robustness | Yes, after covering network partitions |`make test-robustness-issue15271`|
19
-
| Duplicated watch event due to bug in TXN caching [#17247]| Jan 2024 | main branch | Robustness | Yes, prevented regression in v3.6 ||
20
-
| Watch events lost during stream starvation [#17529]| Mar 2024 | v3.4 or earlier | User | Yes, after covering of slow watch |`make test-robustness-issue17529`|
21
-
| Revision decreasing caused by crash during compaction [#17780]| Apr 2024 | v3.4 or earlier | Robustness | Yes, after covering compaction ||
22
-
| Watch dropping an event when compacting on delete [#18089]| May 2024 | v3.4 or earlier | Robustness | Yes, after covering of compaction |`make test-robustness-issue18089`|
23
-
| Inconsistency when reading compacted revision in TXN [#18667]| Oct 2024 | v3.4 or earlier | User |||
24
-
| Missing delete event on watch opened on same revision as compaction [#19179]| Jan 2025 | v3.4 or earlier | Robustness | Yes, after covering of compaction |`make test-robustness-issue19179`|
25
-
| Watch on future revision returns old events or notifications [#20221]| Jun 2025 | v3.4 or earlier | Robustness | Yes, after covering connection to multiple members||
21
+
| Correctness / Consistency / Panic issue | Report | Introduced in | Discovered by | Reproducible by robustness test | Command |
| Inconsistent revision caused by crash during high load [#13766]| Mar 2022 | v3.5 | User | Yes, report preceded robustness tests |`make test-robustness-issue13766`|
24
+
| Single node cluster can lose a write on crash [#14370]| Aug 2022 | v3.4 or earlier | User | Yes, report preceded robustness tests |`make test-robustness-issue14370`|
25
+
| Enabling auth can lead to inconsistency [#14571]| Oct 2022 | v3.4 or earlier | User | No, authorization is not covered. ||
26
+
| Inconsistent revision caused by crash during defrag [#14685]| Nov 2022 | v3.5 | Robustness | Yes, after covering defragmentation. |`make test-robustness-issue14685`|
27
+
| Watch progress notification not synced with stream [#15220]| Jan 2023 | v3.4 or earlier | User | Yes, after covering watch progress notification |`make test-robustness-issue15220`|
28
+
| Watch traveling back in time after network partition [#15271]| Feb 2023 | v3.4 or earlier | Robustness | Yes, after covering network partitions |`make test-robustness-issue15271`|
29
+
| Duplicated watch event due to bug in TXN caching [#17247]| Jan 2024 | main branch | Robustness | Yes, prevented regression in v3.6 ||
30
+
| Watch events lost during stream starvation [#17529]| Mar 2024 | v3.4 or earlier | User | Yes, after covering of slow watch |`make test-robustness-issue17529`|
31
+
| Revision decreasing caused by crash during compaction [#17780]| Apr 2024 | v3.4 or earlier | Robustness | Yes, after covering compaction ||
32
+
| Watch dropping an event when compacting on delete [#18089]| May 2024 | v3.4 or earlier | Robustness | Yes, after covering of compaction |`make test-robustness-issue18089`|
33
+
| Panic when two snapshots are received in a short period [#18055]| May 2024 | v3.4 or earlier | Robustness | Yes, via Antithesis ||
34
+
| Inconsistency when reading compacted revision in TXN [#18667]| Oct 2024 | v3.4 or earlier | User | No, specifying revision in TXN is not implemented ||
35
+
| Missing delete event on watch opened on same revision as compaction [#19179]| Jan 2025 | v3.4 or earlier | Robustness | Yes, after covering of compaction |`make test-robustness-issue19179`|
36
+
| Watch on future revision returns notifications [#20221]| Jun 2025 | v3.4 or earlier | Robustness, Antithesis | Yes, after covering connection to multiple members ||
37
+
| Watch on future revision returns old events [#20221]| Jun 2025 | v3.4 or earlier | Antithesis | Yes, after covering connection to multiple members ||
38
+
| Panic from db page expected to be 5 [#20271]| Jul 2025 | v3.4 or earlier | Antithesis | Yes, via Antithesis ||
0 commit comments