Skip to content

Commit 11145ea

Browse files
committed
Add PSMDB 4.2 jobs and minor PSMDB fixes
1 parent c6aa6c8 commit 11145ea

8 files changed

+475
-32
lines changed

psmdb/percona-server-for-mongodb-3.4-template.yml

-7
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,6 @@
99
<regexp>^###DESCRIPTION###(.*)###$</regexp>
1010
</hudson.plugins.descriptionsetter.DescriptionSetterBuilder>
1111
- shell: |-
12-
result=$(hostname | grep -c "min.*xenial" || true)
13-
if [ ${result} -eq 0 ]; then
14-
result=$(hostname | grep -c "mongodb.*xenial" || true)
15-
fi
16-
if [ ${result} -eq 0 ]; then
17-
result=$(hostname | grep -c "bigram.*xenial" || true)
18-
fi
1912
# we need to setup the instance first
2013
# disable THP
2114
echo "echo never > /sys/kernel/mm/transparent_hugepage/enabled" > disable-thp.sh

psmdb/percona-server-for-mongodb-3.6-template.yml

-7
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@
66
- description-setter:
77
regexp: "^###DESCRIPTION###(.*)###$"
88
- shell: |-
9-
result=$(hostname | grep -c "min.*xenial" || true)
10-
if [ "${result}" -eq 0 ]; then
11-
result=$(hostname | grep -c "mongodb.*xenial" || true)
12-
fi
13-
if [ "${result}" -eq 0 ]; then
14-
result=$(hostname | grep -c "bigram.*xenial" || true)
15-
fi
169
# we need to setup the instance first
1710
# disable THP
1811
echo "echo never > /sys/kernel/mm/transparent_hugepage/enabled" > disable-thp.sh

psmdb/percona-server-for-mongodb-4.0-param.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,11 @@
4141
default: resmoke_psmdb_4.0_big
4242
description: |-
4343
<h3>AVAILABLE OPTIONS:<br>
44-
core_all_engines<br>
45-
core_default<br>
4644
resmoke_psmdb_4.0_big<br>
45+
resmoke_psmdb_4.0_big_wiredTiger<br>
46+
resmoke_psmdb_4.0_big_inMemory<br>
4747
resmoke_psmdb_4.0_big_nommap<br>
48+
resmoke_psmdb_4.0_big_special<br>
4849
resmoke_psmdb_4.0_medium<br>
4950
This is test suite from psmdb-misc-scripts/suite_sets and needs to be without .txt extension</h3>
5051
name: SUITE

psmdb/percona-server-for-mongodb-4.0-template.yml

-7
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@
66
- description-setter:
77
regexp: "^###DESCRIPTION###(.*)###$"
88
- shell: |-
9-
result=$(hostname | grep -c "min.*xenial" || true)
10-
if [ "${result}" -eq 0 ]; then
11-
result=$(hostname | grep -c "mongodb.*xenial" || true)
12-
fi
13-
if [ "${result}" -eq 0 ]; then
14-
result=$(hostname | grep -c "bigram.*xenial" || true)
15-
fi
169
# we need to setup the instance first
1710
# disable THP
1811
echo "echo never > /sys/kernel/mm/transparent_hugepage/enabled" > disable-thp.sh
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
- job:
2+
block-downstream: false
3+
block-upstream: false
4+
builders:
5+
- builders-from: percona-server-for-mongodb-4.2-template
6+
concurrent: true
7+
description: null
8+
disabled: false
9+
name: !!python/unicode 'percona-server-for-mongodb-4.2-param'
10+
node: psmdb-bionic
11+
parameters:
12+
- choice:
13+
choices:
14+
- release
15+
- debug
16+
description: Choose how the binaries will be built
17+
name: BUILD_TYPE
18+
- string:
19+
default: ''
20+
description: Build description which will be visible in build history on the
21+
right side.
22+
name: DESCRIPTION
23+
trim: false
24+
- string:
25+
default: https://github.com/percona/percona-server-mongodb.git
26+
description: ''
27+
name: PSM_REPO
28+
trim: false
29+
- string:
30+
default: v4.2
31+
description: ''
32+
name: PSM_BRANCH
33+
trim: false
34+
- string:
35+
default: 'auto'
36+
description: <h3>Number of parallel jobs for running tests, auto=number of
37+
cores or specify exact number like 8,4,2,1</h3>
38+
name: JOBS
39+
trim: false
40+
- string:
41+
default: resmoke_psmdb_4.2_medium
42+
description: |-
43+
<h3>AVAILABLE OPTIONS:<br>
44+
resmoke_psmdb_4.2_big<br>
45+
resmoke_psmdb_4.2_big_wiredTiger<br>
46+
resmoke_psmdb_4.2_big_inMemory<br>
47+
resmoke_psmdb_4.2_special<br>
48+
resmoke_psmdb_4.2_medium<br>
49+
This is test suite from psmdb-misc-scripts/suite_sets and needs to be without .txt extension</h3>
50+
name: SUITE
51+
trim: false
52+
- text:
53+
default: ''
54+
description: |-
55+
<h3>With this you can specify a custom suite content which will be generated and passed to resmoke script.<br>
56+
EXAMPLE CONTENT:<br>
57+
aggregation|wiredTiger|inMemory<br>
58+
core|wiredTiger|inMemory<br>
59+
sharding --excludeWithAnyTags=requires_persistence,requires_journaling|inMemory</h3>
60+
name: CUSTOM_SUITE
61+
trim: false
62+
- string:
63+
default: '1'
64+
description: Number of trials to execute - makes sense if you wish to execute
65+
1 suite some number of times because of flapping tests.
66+
name: NUM_TRIALS
67+
trim: false
68+
- string:
69+
default: https://github.com/Percona-QA/psmdb-misc-scripts.git
70+
description: Use this if you wish to use another psmdb-misc-repo for testing
71+
purposes.
72+
name: MISC_SCRIPTS_REPO
73+
trim: false
74+
- bool:
75+
default: false
76+
description: Don't build the binaries from github but copy the latest binaries
77+
from the release job and run tests on them
78+
name: RELEASE_TEST
79+
- bool:
80+
default: true
81+
description: This enables killer.sh to monitor and kill stalled tests
82+
name: ENABLE_KILLER
83+
- string:
84+
default: master
85+
description: Set to whatever needs to be checked out from psmdb-misc-scripts repo
86+
name: MISC_SCRIPTS_TAG
87+
trim: false
88+
project-type: freestyle
89+
properties:
90+
- build-discarder:
91+
artifact-days-to-keep: -1
92+
artifact-num-to-keep: -1
93+
days-to-keep: -1
94+
num-to-keep: 30
95+
- disk-usage
96+
publishers:
97+
- warnings:
98+
console-log-parsers:
99+
- GNU Make + GNU C Compiler (gcc)
100+
- archive:
101+
artifacts: '**/**/percona-server-mongodb/bin/resmoke_summary*.log, **/**/percona-server-mongodb/bin/resmoke_summary*.log, **/**/percona-server-mongodb/bin/killer.log, **/**/percona-server-mongodb/bin/resmoke_logs.tar.gz, **/**/percona-server-mongodb/bin/perf.json, **/**/percona-server-mongodb/bin/perf_sharding.json'
102+
allow-empty: false
103+
fingerprint: false
104+
default-excludes: true
105+
only-if-success: false
106+
case-sensitive: true
107+
- junit:
108+
results: '**/**/percona-server-mongodb/bin/junit.xml'
109+
keep-long-stdio: false
110+
health-scale-factor: 1.0
111+
allow-empty-results: false
112+
- workspace-cleanup:
113+
clean-if:
114+
- success: true
115+
- unstable: true
116+
- failure: true
117+
- not-built: true
118+
- aborted: true
119+
clean-parent: false
120+
dirmatch: false
121+
exclude: []
122+
fail-build: true
123+
include: []
124+
scm:
125+
- git:
126+
basedir: percona-server-mongodb
127+
branches:
128+
- ${PSM_BRANCH}
129+
url: ${PSM_REPO}
130+
wipe-workspace: true
131+
triggers: []
132+
wrappers:
133+
- timestamps
134+
- inject:
135+
properties-content: |
136+
WORKFLOW_TYPE=param

0 commit comments

Comments
 (0)