Skip to content

Commit ebfdb3b

Browse files
Add E2E and UPS tests to weekly pipeline
Change-Id: I9dbb6ae5edca208a0461669a16edcc0bc670e4b8 Reviewed-on: https://review.couchbase.org/c/perfrunner/+/191927 Tested-by: Build Bot <build@couchbase.com> Reviewed-by: Bo-Chun Wang <bo-chun.wang@couchbase.com>
1 parent 3a5a065 commit ebfdb3b

4 files changed

Lines changed: 148 additions & 1 deletion

scripts/syncgateway_new.groovy

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,12 @@ pipeline {
174174
buildComponentSGReplicateMultiCluster('SGReplicateMulti', testCases)
175175
}
176176
}
177+
stage('E2E') {
178+
when { expression { return params.E2E } }
179+
steps {
180+
buildComponent('E2E', testCases)
181+
}
182+
}
177183
stage('ReadOnDemand') {
178184
when { expression { return params.ReadOnDemand } }
179185
steps {

tests/pipelines/syncgateway-lithium.json

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,50 @@
514514
"sg_cluster_map": "hebe_1node",
515515
"cb_cluster_map": "hebe_4nodes_colocated.spec",
516516
"sg_config": "3.0/hebe_channel_nocache_xattr_cachelength_300k",
517-
"test": "syncgateway_sg_replicate_multicluster_1_client.test"}
517+
"test": "syncgateway_sg_replicate_multicluster_1_client.test"},
518+
519+
{"job": "sg_hebe_sgreplicate_multicluster",
520+
"sg_cluster_map": "hebe_4node",
521+
"cb_cluster_map": "hebe_4nodes_colocated.spec",
522+
"sg_config": "3.0/hebe_channel_nocache_xattr_cachelength_300k",
523+
"test": "syncgateway_sg_replicate_multicluster_500_clients_100docs.test"},
524+
525+
{"job": "sg_hebe_sgreplicate_multicluster",
526+
"sg_cluster_map": "hebe_4node",
527+
"cb_cluster_map": "hebe_4nodes_colocated.spec",
528+
"sg_config": "3.0/hebe_channel_nocache_xattr_cachelength_300k",
529+
"test": "syncgateway_sg_replicate_multicluster_500_clients_10docs.test"},
530+
531+
{"job": "sg_hebe_sgreplicate_multicluster",
532+
"sg_cluster_map": "hebe_4node",
533+
"cb_cluster_map": "hebe_4nodes_colocated.spec",
534+
"sg_config": "3.0/hebe_channel_nocache_xattr_cachelength_300k",
535+
"test": "syncgateway_sg_replicate_multicluster_12500_clients_users_4nodes.test"},
536+
537+
{"job": "sg_hebe_sgreplicate_multicluster",
538+
"sg_cluster_map": "hebe_4node",
539+
"cb_cluster_map": "hebe_4nodes_colocated.spec",
540+
"sg_config": "3.0/hebe_channel_nocache_xattr_cachelength_300k",
541+
"test": "syncgateway_sg_replicate_multicluster_25000_clients_users_4nodes.test"}
542+
],
543+
"E2E": [
544+
{"job": "sgw-cloud",
545+
"sg_cluster_map": "cloud/infrastructure/cloud.ini",
546+
"cb_cluster_map": "cloud/infrastructure/sync_gateway/ec2_4s_4sgw_20c_large_dev.spec",
547+
"sg_config": "perfrunner/utils/syncgateway/configs/3.0/hebe_e2e_basic_96partitions.config",
548+
"test": "tests/syncgateway/e2e/syncgateway_e2e_push_100cbl_4sgw_1kb_8M.test"},
549+
550+
{"job": "sgw-cloud",
551+
"sg_cluster_map": "cloud/infrastructure/cloud.ini",
552+
"cb_cluster_map": "cloud/infrastructure/sync_gateway/ec2_4s_4sgw_20c_large_dev.spec",
553+
"sg_config": "perfrunner/utils/syncgateway/configs/3.0/hebe_e2e_basic_96partitions.config",
554+
"test": "tests/syncgateway/e2e/syncgateway_e2e_pull_100cbl_4sgw_1kb_8M.test"},
555+
556+
{"job": "sgw-cloud",
557+
"sg_cluster_map": "cloud/infrastructure/cloud.ini",
558+
"cb_cluster_map": "cloud/infrastructure/sync_gateway/ec2_4s_4sgw_20c_large_dev.spec",
559+
"sg_config": "perfrunner/utils/syncgateway/configs/3.0/hebe_e2e_basic_96partitions.config",
560+
"test": "tests/syncgateway/e2e/syncgateway_e2e_bidi_100cbl_4sgw_1kb_8M.test"}
518561
],
519562
"ReadOnDemand": [
520563
{"job": "syncgteway-hebe-new",
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
[test_case]
2+
test = perfrunner.tests.syncgateway.SGReplicateMultiClusterPull
3+
4+
[showfast]
5+
title = , Central cluster (1 sgnode + 4 cbnode), 200K docs, 500 edge clusters (simulated), 100 docs per client, BLIP, pull replication
6+
component = syncgateway
7+
category = sgreplicate
8+
sub_category = Multi-cluster
9+
10+
[cluster]
11+
mem_quota = 25000
12+
index_mem_quota = 25000
13+
initial_nodes = 4
14+
num_buckets = 1
15+
16+
17+
[access]
18+
time = 600
19+
workers = 0
20+
21+
[secondary]
22+
indexer.settings.storage_mode = memory_optimized
23+
24+
[syncgateway]
25+
nodes = 1
26+
threads = 50
27+
clients = 5
28+
instances_per_client = 5
29+
workload_path = workloads/syncgateway_blank
30+
ycsb_repo = git://github.com/couchbaselabs/YCSB.git
31+
ycsb_branch = tmp-sqw-weekly-updated-c3
32+
users = 1000
33+
channels = 100
34+
channels_per_user = 10
35+
channels_per_doc = 10
36+
documents = 100
37+
roundtrip_write = true
38+
feed_mode = longpoll
39+
feed_reading_mode = idsonly
40+
insert_mode = byuser
41+
auth = true
42+
readproportion=0
43+
updateproportion=0
44+
insertproportion=1
45+
requestdistribution = zipfian
46+
log_title = sync_gateway_1node_writes
47+
roundtrip_write_load = true
48+
sg_blackholepuller_timeout = 600
49+
sg_blackholepuller_client = 100
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
[test_case]
2+
test = perfrunner.tests.syncgateway.SGReplicateMultiClusterPull
3+
4+
[showfast]
5+
title = , Central cluster (1 sgnode + 4 cbnode), 200K docs, 500 edge clusters (simulated), 10 docs per client, BLIP, pull replication
6+
component = syncgateway
7+
category = sgreplicate
8+
sub_category = Multi-cluster
9+
10+
[cluster]
11+
mem_quota = 25000
12+
index_mem_quota = 25000
13+
initial_nodes = 4
14+
num_buckets = 1
15+
16+
17+
[access]
18+
time = 600
19+
workers = 0
20+
21+
[secondary]
22+
indexer.settings.storage_mode = memory_optimized
23+
24+
[syncgateway]
25+
nodes = 1
26+
threads = 50
27+
clients = 5
28+
instances_per_client = 5
29+
workload_path = workloads/syncgateway_blank
30+
ycsb_repo = git://github.com/couchbaselabs/YCSB.git
31+
ycsb_branch = tmp-sqw-weekly-updated-c3
32+
users = 1000
33+
channels = 100
34+
channels_per_user = 10
35+
channels_per_doc = 10
36+
documents = 10
37+
roundtrip_write = true
38+
feed_mode = longpoll
39+
feed_reading_mode = idsonly
40+
insert_mode = byuser
41+
auth = true
42+
readproportion=0
43+
updateproportion=0
44+
insertproportion=1
45+
requestdistribution = zipfian
46+
log_title = sync_gateway_1node_writes
47+
roundtrip_write_load = true
48+
sg_blackholepuller_timeout = 600
49+
sg_blackholepuller_client = 100

0 commit comments

Comments
 (0)