functional.yaml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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-agent-data-1
  6. etcd-log-path: /tmp/etcd-agent-data-1/current-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-agent-data-1/etcd.data
  13. wal-dir: /tmp/etcd-agent-data-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. - etcd-exec-path: ./bin/etcd
  38. agent-addr: 127.0.0.1:29027
  39. failpoint-http-addr: http://127.0.0.1:7382
  40. base-dir: /tmp/etcd-agent-data-2
  41. etcd-log-path: /tmp/etcd-agent-data-2/current-etcd.log
  42. etcd-client-proxy: false
  43. etcd-peer-proxy: true
  44. etcd-client-endpoint: 127.0.0.1:2379
  45. etcd:
  46. name: s2
  47. data-dir: /tmp/etcd-agent-data-2/etcd.data
  48. wal-dir: /tmp/etcd-agent-data-2/etcd.data/member/wal
  49. heartbeat-interval: 100
  50. election-timeout: 1000
  51. listen-client-urls: ["https://127.0.0.1:2379"]
  52. advertise-client-urls: ["https://127.0.0.1:2379"]
  53. auto-tls: true
  54. client-cert-auth: false
  55. cert-file: ""
  56. key-file: ""
  57. trusted-ca-file: ""
  58. listen-peer-urls: ["https://127.0.0.1:2380"]
  59. initial-advertise-peer-urls: ["https://127.0.0.1:23800"]
  60. peer-auto-tls: true
  61. peer-client-cert-auth: false
  62. peer-cert-file: ""
  63. peer-key-file: ""
  64. peer-trusted-ca-file: ""
  65. initial-cluster: s1=https://127.0.0.1:13800,s2=https://127.0.0.1:23800,s3=https://127.0.0.1:33800
  66. initial-cluster-state: new
  67. initial-cluster-token: tkn
  68. snapshot-count: 10000
  69. quota-backend-bytes: 10740000000 # 10 GiB
  70. pre-vote: true
  71. initial-corrupt-check: true
  72. - etcd-exec-path: ./bin/etcd
  73. agent-addr: 127.0.0.1:39027
  74. failpoint-http-addr: http://127.0.0.1:7383
  75. base-dir: /tmp/etcd-agent-data-3
  76. etcd-log-path: /tmp/etcd-agent-data-3/current-etcd.log
  77. etcd-client-proxy: false
  78. etcd-peer-proxy: true
  79. etcd-client-endpoint: 127.0.0.1:3379
  80. etcd:
  81. name: s3
  82. data-dir: /tmp/etcd-agent-data-3/etcd.data
  83. wal-dir: /tmp/etcd-agent-data-3/etcd.data/member/wal
  84. heartbeat-interval: 100
  85. election-timeout: 1000
  86. listen-client-urls: ["https://127.0.0.1:3379"]
  87. advertise-client-urls: ["https://127.0.0.1:3379"]
  88. auto-tls: true
  89. client-cert-auth: false
  90. cert-file: ""
  91. key-file: ""
  92. trusted-ca-file: ""
  93. listen-peer-urls: ["https://127.0.0.1:3380"]
  94. initial-advertise-peer-urls: ["https://127.0.0.1:33800"]
  95. peer-auto-tls: true
  96. peer-client-cert-auth: false
  97. peer-cert-file: ""
  98. peer-key-file: ""
  99. peer-trusted-ca-file: ""
  100. initial-cluster: s1=https://127.0.0.1:13800,s2=https://127.0.0.1:23800,s3=https://127.0.0.1:33800
  101. initial-cluster-state: new
  102. initial-cluster-token: tkn
  103. snapshot-count: 10000
  104. quota-backend-bytes: 10740000000 # 10 GiB
  105. pre-vote: true
  106. initial-corrupt-check: true
  107. tester-config:
  108. data-dir: /tmp/etcd-tester-data
  109. network: tcp
  110. addr: 127.0.0.1:9028
  111. # slow enough to trigger election
  112. delay-latency-ms: 5000
  113. delay-latency-ms-rv: 500
  114. round-limit: 1
  115. exit-on-failure: true
  116. consistency-check: true
  117. enable-pprof: true
  118. failure-delay-ms: 7000
  119. failure-shuffle: true
  120. failure-cases:
  121. - SIGTERM_ONE_FOLLOWER
  122. - SIGTERM_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT
  123. - SIGTERM_LEADER
  124. - SIGTERM_LEADER_UNTIL_TRIGGER_SNAPSHOT
  125. - SIGTERM_QUORUM
  126. - SIGTERM_ALL
  127. - BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER
  128. - BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT
  129. - BLACKHOLE_PEER_PORT_TX_RX_LEADER
  130. - BLACKHOLE_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT
  131. - BLACKHOLE_PEER_PORT_TX_RX_QUORUM
  132. - BLACKHOLE_PEER_PORT_TX_RX_ALL
  133. - DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER
  134. - RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER
  135. - DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT
  136. - RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT
  137. - DELAY_PEER_PORT_TX_RX_LEADER
  138. - RANDOM_DELAY_PEER_PORT_TX_RX_LEADER
  139. - DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT
  140. - RANDOM_DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT
  141. - DELAY_PEER_PORT_TX_RX_QUORUM
  142. - RANDOM_DELAY_PEER_PORT_TX_RX_QUORUM
  143. - DELAY_PEER_PORT_TX_RX_ALL
  144. - RANDOM_DELAY_PEER_PORT_TX_RX_ALL
  145. - NO_FAIL_WITH_STRESS
  146. - NO_FAIL_WITH_NO_STRESS_FOR_LIVENESS
  147. failpoint-commands:
  148. - panic("etcd-tester")
  149. # - panic("etcd-tester"),1*sleep(1000)
  150. runner-exec-path: ./bin/etcd-runner
  151. external-exec-path: ""
  152. stress-types:
  153. - KV
  154. - LEASE
  155. # - ELECTION_RUNNER
  156. # - WATCH_RUNNER
  157. # - LOCK_RACER_RUNNER
  158. # - LEASE_RUNNER
  159. stress-key-size: 100
  160. stress-key-size-large: 32769
  161. stress-key-suffix-range: 250000
  162. stress-key-suffix-range-txn: 100
  163. stress-key-txn-ops: 10
  164. stress-clients: 100
  165. stress-qps: 2000