1
1
#! groovy
2
2
3
- def PLATFORM_MAP = [
3
+ def PLATFORM_MAP = [
4
4
' arm_linux' : [
5
5
' SPEC' : ' linux_arm' ,
6
- ' LABEL' : ' ci.role.test&&sw.os.linux&&hw.arch.aarch32' ,
6
+ ' LABEL' : ' ci.role.test&&sw.os.linux&&hw.arch.aarch32'
7
7
],
8
8
' aarch64_linux' : [
9
9
' SPEC' : ' linux_aarch64_cmprssptrs' ,
10
- ' LABEL' : ' ci.role.test&&sw.os.linux&&hw.arch.aarch64' ,
10
+ ' LABEL' : ' ci.role.test&&sw.os.linux&&hw.arch.aarch64'
11
+ ],
12
+ ' aarch64_linux_mixed' : [
13
+ ' SPEC' : ' linux_aarch64_mxdptrs' ,
14
+ ' LABEL' : ' ci.role.test&&sw.os.linux&&hw.arch.aarch64'
11
15
],
12
16
' aarch64_linux_xl' : [
13
17
' SPEC' : ' linux_aarch64' ,
14
- ' LABEL' : ' ci.role.test&&sw.os.linux&&hw.arch.aarch64' ,
18
+ ' LABEL' : ' ci.role.test&&sw.os.linux&&hw.arch.aarch64'
15
19
],
16
20
' ppc32_aix' : [
17
21
' SPEC' : ' aix_ppc' ,
18
- ' LABEL' : ' ci.role.test&&hw.arch.ppc64&&sw.os.aix' ,
22
+ ' LABEL' : ' ci.role.test&&hw.arch.ppc64&&sw.os.aix'
19
23
],
20
24
' ppc32_linux' : [
21
25
' SPEC' : ' linux_ppc' ,
22
- ' LABEL' : ' ci.role.test&&hw.arch.ppc64&&sw.os.linux' ,
26
+ ' LABEL' : ' ci.role.test&&hw.arch.ppc64&&sw.os.linux'
23
27
],
24
28
' ppc64_aix' : [
25
29
' SPEC' : ' aix_ppc-64_cmprssptrs' ,
26
- ' LABEL' : ' ci.role.test&&hw.arch.ppc64&&sw.os.aix' ,
30
+ ' LABEL' : ' ci.role.test&&hw.arch.ppc64&&sw.os.aix'
31
+ ],
32
+ ' ppc64_aix_mixed' : [
33
+ ' SPEC' : ' aix_ppc-64_mxdptrs' ,
34
+ ' LABEL' : ' ci.role.test&&hw.arch.ppc64&&sw.os.aix'
27
35
],
28
36
' ppc64_aix_xl' : [
29
37
' SPEC' : ' aix_ppc-64' ,
30
- ' LABEL' : ' ci.role.test&&hw.arch.ppc64&&sw.os.aix' ,
31
- ],
32
- ' ppc64_linux' : [
33
- ' SPEC' : ' linux_ppc-64_cmprssptrs' ,
34
- ' LABEL' : ' ci.role.test&&hw.arch.ppc64&&sw.os.linux' ,
35
- ],
36
- ' ppc64_linux_xl' : [
37
- ' SPEC' : ' linux_ppc-64' ,
38
- ' LABEL' : ' ci.role.test&&hw.arch.ppc64&&sw.os.linux' ,
38
+ ' LABEL' : ' ci.role.test&&hw.arch.ppc64&&sw.os.aix'
39
39
],
40
40
' ppc64le_linux' : [
41
41
' SPEC' : ' linux_ppc-64_cmprssptrs_le' ,
42
- ' LABEL' : ' ci.role.test&&hw.arch.ppc64le&&sw.os.linux' ,
42
+ ' LABEL' : ' ci.role.test&&hw.arch.ppc64le&&sw.os.linux'
43
+ ],
44
+ ' ppc64le_linux_mixed' : [
45
+ ' SPEC' : ' linux_ppc-64_mxdptrs_le' ,
46
+ ' LABEL' : ' ci.role.test&&hw.arch.ppc64le&&sw.os.linux'
43
47
],
44
48
' ppc64le_linux_xl' : [
45
49
' SPEC' : ' linux_ppc-64_le' ,
46
- ' LABEL' : ' ci.role.test&&hw.arch.ppc64le&&sw.os.linux' ,
50
+ ' LABEL' : ' ci.role.test&&hw.arch.ppc64le&&sw.os.linux'
51
+ ],
52
+ ' ppc64_linux' : [
53
+ ' SPEC' : ' linux_ppc-64_cmprssptrs' ,
54
+ ' LABEL' : ' ci.role.test&&hw.arch.ppc64&&sw.os.linux'
55
+ ],
56
+ ' ppc64_linux_xl' : [
57
+ ' SPEC' : ' linux_ppc-64' ,
58
+ ' LABEL' : ' ci.role.test&&hw.arch.ppc64&&sw.os.linux'
47
59
],
48
60
' riscv64_linux' : [
49
61
' SPEC' : ' linux_riscv64_cmprssptrs' ,
50
- ' LABEL' : ' ci.role.test&&sw.os.linux&&hw.arch.riscv&&hw.bits.64' ,
62
+ ' LABEL' : ' ci.role.test&&sw.os.linux&&hw.arch.riscv&&hw.bits.64'
51
63
],
52
64
' riscv64_linux_xl' : [
53
65
' SPEC' : ' linux_riscv64' ,
54
- ' LABEL' : ' ci.role.test&&sw.os.linux&&hw.arch.riscv&&hw.bits.64' ,
66
+ ' LABEL' : ' ci.role.test&&sw.os.linux&&hw.arch.riscv&&hw.bits.64'
55
67
],
56
68
' s390_linux' : [
57
69
' SPEC' : ' linux_390' ,
58
- ' LABEL' : ' ci.role.test&&hw.arch.s390x&&sw.os.linux&&hw.bits.32' ,
59
- ],
60
- ' s390_zos' : [
61
- ' SPEC' : ' zos_390' ,
62
- ' LABEL' : ' ci.role.test&&hw.arch.s390x&&sw.os.zos' ,
70
+ ' LABEL' : ' ci.role.test&&hw.arch.s390x&&sw.os.linux&&hw.bits.32'
63
71
],
64
72
' s390x_linux' : [
65
73
' SPEC' : ' linux_390-64_cmprssptrs' ,
66
- ' LABEL' : ' ci.role.test&&hw.arch.s390x&&sw.os.linux' ,
74
+ ' LABEL' : ' ci.role.test&&hw.arch.s390x&&sw.os.linux'
75
+ ],
76
+ ' s390x_linux_mixed' : [
77
+ ' SPEC' : ' linux_390-64_mxdptrs' ,
78
+ ' LABEL' : ' ci.role.test&&hw.arch.s390x&&sw.os.linux'
67
79
],
68
80
' s390x_linux_xl' : [
69
81
' SPEC' : ' linux_390-64' ,
70
- ' LABEL' : ' ci.role.test&&hw.arch.s390x&&sw.os.linux' ,
82
+ ' LABEL' : ' ci.role.test&&hw.arch.s390x&&sw.os.linux'
71
83
],
72
84
' s390x_zos' : [
73
85
' SPEC' : ' zos_390-64_cmprssptrs' ,
74
- ' LABEL' : ' ci.role.test&&hw.arch.s390x&&sw.os.zos' ,
86
+ ' LABEL' : ' ci.role.test&&hw.arch.s390x&&sw.os.zos'
75
87
],
76
88
' s390x_zos_xl' : [
77
89
' SPEC' : ' zos_390-64' ,
78
- ' LABEL' : ' ci.role.test&&hw.arch.s390x&&sw.os.zos' ,
90
+ ' LABEL' : ' ci.role.test&&hw.arch.s390x&&sw.os.zos'
91
+ ],
92
+ ' s390_zos' : [
93
+ ' SPEC' : ' zos_390' ,
94
+ ' LABEL' : ' ci.role.test&&hw.arch.s390x&&sw.os.zos'
79
95
],
80
96
' sparcv9_solaris' : [
81
97
' SPEC' : ' sunos_sparcv9-64_cmprssptrs' ,
82
- ' LABEL' : ' ci.role.test&&hw.arch.sparcv9&&sw.os.sunos' ,
98
+ ' LABEL' : ' ci.role.test&&hw.arch.sparcv9&&sw.os.sunos'
83
99
],
84
100
' x86-32_linux' : [
85
101
' SPEC' : ' linux_x86' ,
86
- ' LABEL' : ' ci.role.test&&hw.arch.x86&&sw.os.linux' ,
102
+ ' LABEL' : ' ci.role.test&&hw.arch.x86&&sw.os.linux'
87
103
],
88
104
' x86-32_windows' : [
89
105
' SPEC' : ' win_x86' ,
90
- ' LABEL' : ' ci.role.test&&hw.arch.x86&&sw.os.windows' ,
106
+ ' LABEL' : ' ci.role.test&&hw.arch.x86&&sw.os.windows'
91
107
],
92
108
' x86-64_linux' : [
93
109
' SPEC' : ' linux_x86-64_cmprssptrs' ,
94
- ' LABEL' : ' ci.role.test&&hw.arch.x86&&sw.os.linux' ,
95
- ],
96
- ' x86-64_linux_xl' : [
97
- ' SPEC' : ' linux_x86-64' ,
98
- ' LABEL' : ' ci.role.test&&hw.arch.x86&&sw.os.linux' ,
110
+ ' LABEL' : ' ci.role.test&&hw.arch.x86&&sw.os.linux'
99
111
],
100
112
' x86-64_linux_mixed' : [
101
113
' SPEC' : ' linux_x86-64_mxdptrs' ,
102
- ' LABEL' : ' ci.role.test&&hw.arch.x86&&sw.os.linux' ,
114
+ ' LABEL' : ' ci.role.test&&hw.arch.x86&&sw.os.linux'
115
+ ],
116
+ ' x86-64_linux_xl' : [
117
+ ' SPEC' : ' linux_x86-64' ,
118
+ ' LABEL' : ' ci.role.test&&hw.arch.x86&&sw.os.linux'
103
119
],
104
120
' x86-64_mac' : [
105
121
' SPEC' : ' osx_x86-64_cmprssptrs' ,
106
- ' LABEL' : ' ci.role.test&&hw.arch.x86&&sw.os.osx' ,
122
+ ' LABEL' : ' ci.role.test&&hw.arch.x86&&sw.os.osx'
123
+ ],
124
+ ' x86-64_mac_mixed' : [
125
+ ' SPEC' : ' osx_x86-64_mxdptrs' ,
126
+ ' LABEL' : ' ci.role.test&&hw.arch.x86&&sw.os.osx'
107
127
],
108
128
' x86-64_mac_xl' : [
109
129
' SPEC' : ' osx_x86-64' ,
110
- ' LABEL' : ' ci.role.test&&hw.arch.x86&&sw.os.osx' ,
130
+ ' LABEL' : ' ci.role.test&&hw.arch.x86&&sw.os.osx'
111
131
],
112
132
' x86-64_windows' : [
113
133
' SPEC' : ' win_x86-64_cmprssptrs' ,
114
- ' LABEL' : ' ci.role.test&&hw.arch.x86&&sw.os.windows' ,
134
+ ' LABEL' : ' ci.role.test&&hw.arch.x86&&sw.os.windows'
135
+ ],
136
+ ' x86-64_windows_mixed' : [
137
+ ' SPEC' : ' win_x86-64_mxdptrs' ,
138
+ ' LABEL' : ' ci.role.test&&hw.arch.x86&&sw.os.windows'
115
139
],
116
140
' x86-64_windows_xl' : [
117
141
' SPEC' : ' win_x86-64' ,
118
- ' LABEL' : ' ci.role.test&&hw.arch.x86&&sw.os.windows' ,
142
+ ' LABEL' : ' ci.role.test&&hw.arch.x86&&sw.os.windows'
119
143
]
120
144
]
121
145
@@ -195,7 +219,7 @@ if (JDK_VERSIONS.size() > 1 || JDK_IMPLS.size() > 1 || PLATFORMS.size() >1 || PL
195
219
if (nodes < 1 ) {
196
220
// If no active node matches the label, we see if there's a timeout value set.
197
221
// If there is, we wait and check again periodically. If not, we fail immediately.
198
-
222
+
199
223
boolean didnt_find_node = true
200
224
201
225
if (params. ACTIVE_NODE_TIMEOUT && params. ACTIVE_NODE_TIMEOUT . isInteger()) {
@@ -237,10 +261,10 @@ if (JDK_VERSIONS.size() > 1 || JDK_IMPLS.size() > 1 || PLATFORMS.size() >1 || PL
237
261
sh " git clone -b ${ SCM_GIT_BRANCH} ${ SCM_GIT_REPO_VAL} openjdk-tests"
238
262
} else {
239
263
def gitConfig = scm. getUserRemoteConfigs(). get(0 )
240
-
264
+
241
265
// Adopt windows machines require env here https://github.com/AdoptOpenJDK/openjdk-tests/issues/1803
242
266
ref_cache = " ${ env.HOME} /openjdk_cache"
243
-
267
+
244
268
checkout scm : [$class : ' GitSCM' ,
245
269
branches : [[name : " ${ scm.branches[0].name} " ]],
246
270
extensions : [
@@ -258,4 +282,3 @@ if (JDK_VERSIONS.size() > 1 || JDK_IMPLS.size() > 1 || PLATFORMS.size() >1 || PL
258
282
assert false : " Cannot find key PLATFORM: ${ params.PLATFORM} in PLATFORM_MAP: ${ PLATFORM_MAP} ."
259
283
}
260
284
}
261
-
0 commit comments