functional.yaml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. agent-configs:
  2. - etcd-exec-path: ./bin/etcd
  3. agent-addr: 127.0.0.1:19027
  4. failpoint-http-addr: http://127.0.0.1:7381
  5. base-dir: /tmp/etcd-functional-1
  6. etcd-log-path: /tmp/etcd-functional-1/etcd.log
  7. etcd-client-proxy: false
  8. etcd-peer-proxy: true
  9. etcd-client-endpoint: 127.0.0.1:1379
  10. etcd:
  11. name: s1
  12. data-dir: /tmp/etcd-functional-1/etcd.data
  13. wal-dir: /tmp/etcd-functional-1/etcd.data/member/wal
  14. heartbeat-interval: 100
  15. election-timeout: 1000
  16. listen-client-urls: ["https://127.0.0.1:1379"]
  17. advertise-client-urls: ["https://127.0.0.1:1379"]
  18. auto-tls: true
  19. client-cert-auth: false
  20. cert-file: ""
  21. key-file: ""
  22. trusted-ca-file: ""
  23. listen-peer-urls: ["https://127.0.0.1:1380"]
  24. initial-advertise-peer-urls: ["https://127.0.0.1:13800"]
  25. peer-auto-tls: true
  26. peer-client-cert-auth: false
  27. peer-cert-file: ""
  28. peer-key-file: ""
  29. peer-trusted-ca-file: ""
  30. initial-cluster: s1=https://127.0.0.1:13800,s2=https://127.0.0.1:23800,s3=https://127.0.0.1:33800
  31. initial-cluster-state: new
  32. initial-cluster-token: tkn
  33. snapshot-count: 10000
  34. quota-backend-bytes: 10740000000 # 10 GiB
  35. pre-vote: true
  36. initial-corrupt-check: true
  37. client-cert-data: ""
  38. client-cert-path: ""
  39. client-key-data: ""
  40. client-key-path: ""
  41. client-trusted-ca-data: ""
  42. client-trusted-ca-path: ""
  43. peer-cert-data: ""
  44. peer-cert-path: ""
  45. peer-key-data: ""
  46. peer-key-path: ""
  47. peer-trusted-ca-data: ""
  48. peer-trusted-ca-path: ""
  49. snapshot-path: /tmp/etcd-functional-1.snapshot.db
  50. - etcd-exec-path: ./bin/etcd
  51. agent-addr: 127.0.0.1:29027
  52. failpoint-http-addr: http://127.0.0.1:7382
  53. base-dir: /tmp/etcd-functional-2
  54. etcd-log-path: /tmp/etcd-functional-2/etcd.log
  55. etcd-client-proxy: false
  56. etcd-peer-proxy: true
  57. etcd-client-endpoint: 127.0.0.1:2379
  58. etcd:
  59. name: s2
  60. data-dir: /tmp/etcd-functional-2/etcd.data
  61. wal-dir: /tmp/etcd-functional-2/etcd.data/member/wal
  62. heartbeat-interval: 100
  63. election-timeout: 1000
  64. listen-client-urls: ["https://127.0.0.1:2379"]
  65. advertise-client-urls: ["https://127.0.0.1:2379"]
  66. auto-tls: true
  67. client-cert-auth: false
  68. cert-file: ""
  69. key-file: ""
  70. trusted-ca-file: ""
  71. listen-peer-urls: ["https://127.0.0.1:2380"]
  72. initial-advertise-peer-urls: ["https://127.0.0.1:23800"]
  73. peer-auto-tls: true
  74. peer-client-cert-auth: false
  75. peer-cert-file: ""
  76. peer-key-file: ""
  77. peer-trusted-ca-file: ""
  78. initial-cluster: s1=https://127.0.0.1:13800,s2=https://127.0.0.1:23800,s3=https://127.0.0.1:33800
  79. initial-cluster-state: new
  80. initial-cluster-token: tkn
  81. snapshot-count: 10000
  82. quota-backend-bytes: 10740000000 # 10 GiB
  83. pre-vote: true
  84. initial-corrupt-check: true
  85. client-cert-data: ""
  86. client-cert-path: ""
  87. client-key-data: ""
  88. client-key-path: ""
  89. client-trusted-ca-data: ""
  90. client-trusted-ca-path: ""
  91. peer-cert-data: ""
  92. peer-cert-path: ""
  93. peer-key-data: ""
  94. peer-key-path: ""
  95. peer-trusted-ca-data: ""
  96. peer-trusted-ca-path: ""
  97. snapshot-path: /tmp/etcd-functional-2.snapshot.db
  98. - etcd-exec-path: ./bin/etcd
  99. agent-addr: 127.0.0.1:39027
  100. failpoint-http-addr: http://127.0.0.1:7383
  101. base-dir: /tmp/etcd-functional-3
  102. etcd-log-path: /tmp/etcd-functional-3/etcd.log
  103. etcd-client-proxy: false
  104. etcd-peer-proxy: true
  105. etcd-client-endpoint: 127.0.0.1:3379
  106. etcd:
  107. name: s3
  108. data-dir: /tmp/etcd-functional-3/etcd.data
  109. wal-dir: /tmp/etcd-functional-3/etcd.data/member/wal
  110. heartbeat-interval: 100
  111. election-timeout: 1000
  112. listen-client-urls: ["https://127.0.0.1:3379"]
  113. advertise-client-urls: ["https://127.0.0.1:3379"]
  114. auto-tls: true
  115. client-cert-auth: false
  116. cert-file: ""
  117. key-file: ""
  118. trusted-ca-file: ""
  119. listen-peer-urls: ["https://127.0.0.1:3380"]
  120. initial-advertise-peer-urls: ["https://127.0.0.1:33800"]
  121. peer-auto-tls: true
  122. peer-client-cert-auth: false
  123. peer-cert-file: ""
  124. peer-key-file: ""
  125. peer-trusted-ca-file: ""
  126. initial-cluster: s1=https://127.0.0.1:13800,s2=https://127.0.0.1:23800,s3=https://127.0.0.1:33800
  127. initial-cluster-state: new
  128. initial-cluster-token: tkn
  129. snapshot-count: 10000
  130. quota-backend-bytes: 10740000000 # 10 GiB
  131. pre-vote: true
  132. initial-corrupt-check: true
  133. client-cert-data: ""
  134. client-cert-path: ""
  135. client-key-data: ""
  136. client-key-path: ""
  137. client-trusted-ca-data: ""
  138. client-trusted-ca-path: ""
  139. peer-cert-data: ""
  140. peer-cert-path: ""
  141. peer-key-data: ""
  142. peer-key-path: ""
  143. peer-trusted-ca-data: ""
  144. peer-trusted-ca-path: ""
  145. snapshot-path: /tmp/etcd-functional-3.snapshot.db
  146. tester-config:
  147. data-dir: /tmp/etcd-tester-data
  148. network: tcp
  149. addr: 127.0.0.1:9028
  150. # slow enough to trigger election
  151. delay-latency-ms: 5000
  152. delay-latency-ms-rv: 500
  153. round-limit: 1
  154. exit-on-failure: true
  155. consistency-check: true
  156. enable-pprof: true
  157. failure-delay-ms: 7000
  158. failure-shuffle: true
  159. # For full descriptions,
  160. # https://godoc.org/github.com/coreos/etcd/functional/rpcpb#FailureCase
  161. failure-cases:
  162. - SIGTERM_ONE_FOLLOWER
  163. - SIGTERM_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT
  164. - SIGTERM_LEADER
  165. - SIGTERM_LEADER_UNTIL_TRIGGER_SNAPSHOT
  166. - SIGTERM_QUORUM
  167. - SIGTERM_ALL
  168. - SIGQUIT_AND_REMOVE_ONE_FOLLOWER
  169. - SIGQUIT_AND_REMOVE_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT
  170. - SIGQUIT_AND_REMOVE_QUORUM_AND_RESTORE_LEADER_SNAPSHOT_FROM_SCRATCH
  171. - BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER
  172. - BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT
  173. - BLACKHOLE_PEER_PORT_TX_RX_LEADER
  174. - BLACKHOLE_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT
  175. - BLACKHOLE_PEER_PORT_TX_RX_QUORUM
  176. - BLACKHOLE_PEER_PORT_TX_RX_ALL
  177. - DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER
  178. - RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER
  179. - DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT
  180. - RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT
  181. - DELAY_PEER_PORT_TX_RX_LEADER
  182. - RANDOM_DELAY_PEER_PORT_TX_RX_LEADER
  183. - DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT
  184. - RANDOM_DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT
  185. - DELAY_PEER_PORT_TX_RX_QUORUM
  186. - RANDOM_DELAY_PEER_PORT_TX_RX_QUORUM
  187. - DELAY_PEER_PORT_TX_RX_ALL
  188. - RANDOM_DELAY_PEER_PORT_TX_RX_ALL
  189. - NO_FAIL_WITH_STRESS
  190. - NO_FAIL_WITH_NO_STRESS_FOR_LIVENESS
  191. # - SIGQUIT_AND_REMOVE_LEADER
  192. # - SIGQUIT_AND_REMOVE_LEADER_UNTIL_TRIGGER_SNAPSHOT
  193. failpoint-commands:
  194. - panic("etcd-tester")
  195. # - panic("etcd-tester"),1*sleep(1000)
  196. runner-exec-path: ./bin/etcd-runner
  197. external-exec-path: ""
  198. stress-types:
  199. - KV
  200. - LEASE
  201. # - ELECTION_RUNNER
  202. # - WATCH_RUNNER
  203. # - LOCK_RACER_RUNNER
  204. # - LEASE_RUNNER
  205. stress-key-size: 100
  206. stress-key-size-large: 32769
  207. stress-key-suffix-range: 250000
  208. stress-key-suffix-range-txn: 100
  209. stress-key-txn-ops: 10
  210. stress-clients: 100
  211. stress-qps: 2000