summaryrefslogtreecommitdiff
path: root/jenkins/notify-full.log
blob: a8d69d040f44c5d1894d2f2735104e0331b20634 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
++ pwd
++ cat
+ remote_exec build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_kernel_1:-p51503: ./jenkins-scripts/round-robin-notify.sh '@@rr[top_artifacts]' artifacts __TCWG_JIRA_TOKEN ijQW9spm0p7HwZnUtLFx7CCA __stage full __verbose true
+ set -euf -o pipefail
+ local host
++ echo build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_kernel_1:-p51503:
++ cut -d: -f 1
+ host=build-05.tcwglab
+ local port
++ echo build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_kernel_1:-p51503:
++ cut -s -d: -f 2
+ port=
+ local dir
++ echo build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_kernel_1:-p51503:
++ cut -s -d: -f 3
+ dir=/home/tcwg-buildslave/workspace/tcwg_kernel_1
+ local opts
++ echo build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_kernel_1:-p51503:
++ cut -s -d: -f 4
+ opts=-p51503
+ local env_vars
++ echo build-05.tcwglab::/home/tcwg-buildslave/workspace/tcwg_kernel_1:-p51503:
++ cut -s -d: -f 5
+ env_vars=
+ shift
+ local -a cmd
+ cmd=()
+ for i in "$@"
+ cmd+=("$(printf '%q' "$i")")
++ printf %q ./jenkins-scripts/round-robin-notify.sh
+ for i in "$@"
+ cmd+=("$(printf '%q' "$i")")
++ printf %q '@@rr[top_artifacts]'
+ for i in "$@"
+ cmd+=("$(printf '%q' "$i")")
++ printf %q artifacts
+ for i in "$@"
+ cmd+=("$(printf '%q' "$i")")
++ printf %q __TCWG_JIRA_TOKEN
+ for i in "$@"
+ cmd+=("$(printf '%q' "$i")")
++ printf %q ijQW9spm0p7HwZnUtLFx7CCA
+ for i in "$@"
+ cmd+=("$(printf '%q' "$i")")
++ printf %q __stage
+ for i in "$@"
+ cmd+=("$(printf '%q' "$i")")
++ printf %q full
+ for i in "$@"
+ cmd+=("$(printf '%q' "$i")")
++ printf %q __verbose
+ for i in "$@"
+ cmd+=("$(printf '%q' "$i")")
++ printf %q true
++ printf %q /home/tcwg-buildslave/workspace/tcwg_kernel_1
+ ssh -p51503 build-05.tcwglab 'cd /home/tcwg-buildslave/workspace/tcwg_kernel_1 && exec ./jenkins-scripts/round-robin-notify.sh @@rr\[top_artifacts\] artifacts __TCWG_JIRA_TOKEN ijQW9spm0p7HwZnUtLFx7CCA __stage full __verbose true'

/home/tcwg-buildslave/workspace/tcwg_kernel_1/jenkins-scripts/round-robin-notify.sh @@rr[top_artifacts] artifacts __TCWG_JIRA_TOKEN ijQW9spm0p7HwZnUtLFx7CCA __stage full __verbose true

+ false
+ dryrun=
+ declare top_artifacts ci_project ci_config
+ declare change_kind changed_single_component last_good first_bad
+ declare -a changed_components
+ declare print_commits_f print_result_f print_config_f print_last_icommit_f
+ dump_model_only=false
# setup_notify_environment
+ setup_notify_environment
+ echo '# setup_notify_environment'
+ top_artifacts=artifacts
++ get_current_manifest '{rr[ci_project]}'
++ get_manifest artifacts/manifest.sh '{rr[ci_project]}'
++ set +x
+ ci_project=tcwg_kernel
++ get_current_manifest '{rr[ci_config]}'
++ get_manifest artifacts/manifest.sh '{rr[ci_config]}'
++ set +x
# Debug traces :
+ ci_config=gnu-master-arm-lts-defconfig
+ echo '# Debug traces :'
++ get_baseline_manifest BUILD_URL
++ get_manifest base-artifacts/manifest.sh BUILD_URL false
++ set +x
#   Baseline  : https://ci.linaro.org/job/tcwg_kernel--gnu-master-arm-lts-defconfig-build/49/
#   Using dir : base-artifacts
+ echo '#   Baseline  : https://ci.linaro.org/job/tcwg_kernel--gnu-master-arm-lts-defconfig-build/49/'
+ echo '#   Using dir : base-artifacts'
++ get_current_manifest BUILD_URL
++ get_manifest artifacts/manifest.sh BUILD_URL
++ set +x
#   Artifacts : https://ci.linaro.org/job/tcwg_kernel--gnu-master-arm-lts-defconfig-build/50/
#   Using dir : artifacts

+ echo '#   Artifacts : https://ci.linaro.org/job/tcwg_kernel--gnu-master-arm-lts-defconfig-build/50/'
+ echo '#   Using dir : artifacts'
+ echo ''
+ mkdir -p artifacts/notify
+ '[' -f /home/tcwg-buildslave/.jipdate.yml ']'
+ set +x
# check_source_changes
+ check_source_changes
+ echo '# check_source_changes'
++ get_current_manifest '{rr[update_baseline]}'
++ get_manifest artifacts/manifest.sh '{rr[update_baseline]}'
++ set +x
+ '[' onsuccess '!=' init ']'
+ IFS=' '
+ read -r -a changed_components
++ print_changed_components
++ set -euf -o pipefail
++ local c delim=
+++ print_updated_components
+++ set -euf -o pipefail
+++ local c delim=
+++ for c in ${rr[components]}
+++ '[' xgit://sourceware.org/git/binutils-gdb.git#master '!=' xbaseline ']'
+++ echo -ne binutils
+++ delim=' '
+++ for c in ${rr[components]}
+++ '[' xbaseline '!=' xbaseline ']'
+++ for c in ${rr[components]}
+++ '[' xbaseline '!=' xbaseline ']'
+++ for c in ${rr[components]}
+++ '[' xbaseline '!=' xbaseline ']'
+++ echo
++ for c in $(print_updated_components)
+++ get_current_git binutils_rev
+++ set -euf -o pipefail
+++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']'
+++ set -euf -o pipefail +x
+++ cat artifacts/git/binutils_rev
+++ get_baseline_git binutils_rev
+++ set -euf -o pipefail
+++ local base_artifacts=base-artifacts
+++ assert_with_msg 'ERROR: No binutils_rev in baseline git' '[' -f base-artifacts/git/binutils_rev ']'
+++ set -euf -o pipefail +x
+++ cat base-artifacts/git/binutils_rev
++ '[' x9d4f36166d626554adbecbc5bc0f1f4791354e03 '!=' x2a3f442df9e9a71f9e3c4c5999a2c53bf93e488d ']'
++ echo -ne binutils
++ delim=' '
++ echo
+ local c base_rev cur_rev c_commits
+ '[' 1 = 0 ']'
+ '[' 1 = 1 ']'
+ changed_single_component=binutils
++ get_current_git binutils_rev
++ set -euf -o pipefail
++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']'
++ set -euf -o pipefail +x
++ cat artifacts/git/binutils_rev
+ first_bad=9d4f36166d626554adbecbc5bc0f1f4791354e03
++ get_baseline_git binutils_rev
++ set -euf -o pipefail
++ local base_artifacts=base-artifacts
++ assert_with_msg 'ERROR: No binutils_rev in baseline git' '[' -f base-artifacts/git/binutils_rev ']'
++ set -euf -o pipefail +x
++ cat base-artifacts/git/binutils_rev
+ last_good=2a3f442df9e9a71f9e3c4c5999a2c53bf93e488d
+ local res
+ res=0
+ wait 3003
+ git -C binutils rev-parse --verify HEAD
+ assert_with_msg 'Cannot parse HEAD in repo binutils' '[' 0 = 0 ']'
+ set -euf -o pipefail +x
+ single_commit_p binutils
+ set -euf -o pipefail
+ local c=binutils
+ local base_rev cur_rev sha1
++ get_baseline_git binutils_rev
++ set -euf -o pipefail
++ local base_artifacts=base-artifacts
++ assert_with_msg 'ERROR: No binutils_rev in baseline git' '[' -f base-artifacts/git/binutils_rev ']'
++ set -euf -o pipefail +x
++ cat base-artifacts/git/binutils_rev
+ base_rev=2a3f442df9e9a71f9e3c4c5999a2c53bf93e488d
++ get_current_git binutils_rev
++ set -euf -o pipefail
++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']'
++ set -euf -o pipefail +x
++ cat artifacts/git/binutils_rev
+ cur_rev=9d4f36166d626554adbecbc5bc0f1f4791354e03
++ git -C binutils rev-parse '9d4f36166d626554adbecbc5bc0f1f4791354e03^@'
+ for sha1 in $(git -C "$c" rev-parse "$cur_rev^@")
+ '[' c7631501b22bb607a10396621ad4b82c357ae938 = 2a3f442df9e9a71f9e3c4c5999a2c53bf93e488d ']'
+ return 1
# Debug traces :
#   change_kind=single_component : binutils
+ change_kind=single_component
+ echo '# Debug traces :'
+ echo '#   change_kind=single_component : binutils'
+ for c in "${changed_components[@]}"
++ get_baseline_git binutils_rev
++ set -euf -o pipefail
++ local base_artifacts=base-artifacts
++ assert_with_msg 'ERROR: No binutils_rev in baseline git' '[' -f base-artifacts/git/binutils_rev ']'
++ set -euf -o pipefail +x
++ cat base-artifacts/git/binutils_rev
+ base_rev=2a3f442df9e9a71f9e3c4c5999a2c53bf93e488d
++ get_current_git binutils_rev
++ set -euf -o pipefail
++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']'
++ set -euf -o pipefail +x
++ cat artifacts/git/binutils_rev
+ cur_rev=9d4f36166d626554adbecbc5bc0f1f4791354e03
++ git -C binutils rev-list --count 2a3f442df9e9a71f9e3c4c5999a2c53bf93e488d..9d4f36166d626554adbecbc5bc0f1f4791354e03
#   rev for binutils : 2a3f442df9e9a71f9e3c4c5999a2c53bf93e488d..9d4f36166d626554adbecbc5bc0f1f4791354e03 (40 commits)

+ c_commits=40
+ echo '#   rev for binutils : 2a3f442df9e9a71f9e3c4c5999a2c53bf93e488d..9d4f36166d626554adbecbc5bc0f1f4791354e03 (40 commits)'
+ echo ''
+ setup_stages_to_run
+ '[' ignore = onregression ']'
+ '[' ignore = precommit ']'
+ '[' ignore = ignore ']'
+ post_jira_comment=false
+ post_jira_card=false
+ post_icommits=false
+ '[' ignore = ignore ']'
+ post_mail=false
+ generate_dashboard=false
+ post_dashboard=false
+ print_commits_f=print_commits
+ print_result_f=print_result
+ print_config_f=print_config
+ print_last_icommit_f=print_last_icommit
+ case "$ci_project" in
+ generate_extra_details
# generate_extra_details
+ set -euf -o pipefail
+ echo '# generate_extra_details'
+ post_interesting_commits init
# post_interesting_commits
+ set -euf -o pipefail
+ echo '# post_interesting_commits'
+ local stage=init
+ '[' single_component '!=' single_commit ']'
+ return
+ '[' full '!=' full ']'
+ check_if_first_report
+ declare -g first_icommit_to_report
+ first_icommit_to_report=false
+ '[' xsingle_component '!=' xsingle_commit ']'
+ return
+ post_interesting_commits full
# post_interesting_commits
+ set -euf -o pipefail
+ echo '# post_interesting_commits'
+ local stage=full
+ '[' single_component '!=' single_commit ']'
+ return
# print all notification files
+ echo '# print all notification files'
+ print_mail_recipients
+ false
+ return
+ true
+ generate_jira_dir
+ set -euf -o pipefail
+ local icommit_entry jira_key=
++ print_last_icommit --entry
++ false
++ local print_arg=--entry
++ '[' xsingle_component '!=' xsingle_commit ']'
++ return
+ icommit_entry=
+ '[' '' '!=' '' ']'
+ mkdir -p artifacts/notify/jira
+ '[' '' '!=' '' ']'
+ cat
++ print_jira_template_card
++ local jira_card=GNU-692
++ case "$ci_project/$ci_config:$changed_single_component" in
++ jira_card=GNU-680
++ echo GNU-680
++ print_result --oneline
++ false
++ local print_arg=--oneline
++ case "$print_arg" in
++ '[' 0 = 0 ']'
++ echo Success
++ get_current_manifest BUILD_URL
++ get_manifest artifacts/manifest.sh BUILD_URL
++ set +x
+ print_result --oneline
+ false
+ local print_arg=--oneline
+ case "$print_arg" in
+ '[' 0 = 0 ']'
+ echo Success
+ print_mail_body
+ true
+ local bad_artifacts_url good_artifacts_url
++ get_current_manifest BUILD_URL
++ get_manifest artifacts/manifest.sh BUILD_URL
++ set +x
+ bad_artifacts_url=https://ci.linaro.org/job/tcwg_kernel--gnu-master-arm-lts-defconfig-build/50/artifact/artifacts
++ get_baseline_manifest BUILD_URL
++ get_manifest base-artifacts/manifest.sh BUILD_URL false
++ set +x
+ good_artifacts_url=https://ci.linaro.org/job/tcwg_kernel--gnu-master-arm-lts-defconfig-build/49/artifact/artifacts
+ cat
++ print_result --oneline
++ false
++ local print_arg=--oneline
++ case "$print_arg" in
++ '[' 0 = 0 ']'
++ echo Success
++ print_commits --oneline
++ false
++ local print_arg=--oneline
++ local components new_commits more_lines
++ case "$change_kind:$print_arg" in
++ new_commits=0
++ for c in "${changed_components[@]}"
+++ get_baseline_git binutils_rev
+++ set -euf -o pipefail
+++ local base_artifacts=base-artifacts
+++ assert_with_msg 'ERROR: No binutils_rev in baseline git' '[' -f base-artifacts/git/binutils_rev ']'
+++ set -euf -o pipefail +x
+++ cat base-artifacts/git/binutils_rev
++ base_rev=2a3f442df9e9a71f9e3c4c5999a2c53bf93e488d
+++ get_current_git binutils_rev
+++ set -euf -o pipefail
+++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']'
+++ set -euf -o pipefail +x
+++ cat artifacts/git/binutils_rev
++ cur_rev=9d4f36166d626554adbecbc5bc0f1f4791354e03
+++ git -C binutils rev-list --count 2a3f442df9e9a71f9e3c4c5999a2c53bf93e488d..9d4f36166d626554adbecbc5bc0f1f4791354e03
++ c_commits=40
++ new_commits=40
+++ echo binutils
+++ tr ' ' ,
++ components=binutils
++ echo '40 commits in binutils'
++ print_commits --short
++ sed -e 's/^/  | /'
++ false
++ local print_arg=--short
++ local components new_commits more_lines
++ case "$change_kind:$print_arg" in
++ new_commits=0
++ for c in "${changed_components[@]}"
+++ get_baseline_git binutils_rev
+++ set -euf -o pipefail
+++ local base_artifacts=base-artifacts
+++ assert_with_msg 'ERROR: No binutils_rev in baseline git' '[' -f base-artifacts/git/binutils_rev ']'
+++ set -euf -o pipefail +x
+++ cat base-artifacts/git/binutils_rev
++ base_rev=2a3f442df9e9a71f9e3c4c5999a2c53bf93e488d
+++ get_current_git binutils_rev
+++ set -euf -o pipefail
+++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']'
+++ set -euf -o pipefail +x
+++ cat artifacts/git/binutils_rev
++ cur_rev=9d4f36166d626554adbecbc5bc0f1f4791354e03
+++ git -C binutils rev-list --count 2a3f442df9e9a71f9e3c4c5999a2c53bf93e488d..9d4f36166d626554adbecbc5bc0f1f4791354e03
++ c_commits=40
++ new_commits=40
++ echo 'binutils commits:'
+++ git -C binutils log --pretty=oneline 2a3f442df9e9a71f9e3c4c5999a2c53bf93e488d..9d4f36166d626554adbecbc5bc0f1f4791354e03
+++ head -n5
+++ true
++ echo '9d4f36166d626554adbecbc5bc0f1f4791354e03 sim regen
c7631501b22bb607a10396621ad4b82c357ae938 sim regen preparation
e7ad52cde6c8bb7e592ce60cdfe508cd00c3db11 sim --enable-cgen-maint
0e1b3420fbb2a3022a1ceac49ce37af3e59d0856 sim prune_warnings
b92b89993c8e30bed6665b63c0308034932298c2 Automatic date update in version.in'
++ '[' 40 -gt 5 ']'
++ echo '... and 35 more'
++ print_result --short
++ false
++ local print_arg=--short
++ case "$print_arg" in
++ echo 'Results changed to'
+++ cat artifacts/results
++ echo '# reset_artifacts:
-10
# build_abe binutils:
-9
# build_abe stage1:
-5
# build_abe qemu:
-2
# linux_n_obj:
7430
# linux build successful:
all
# linux boot successful:
boot'
++ echo ''
++ echo From
+++ cat base-artifacts/results
++ echo '# reset_artifacts:
-10
# build_abe binutils:
-9
# build_abe stage1:
-5
# build_abe qemu:
-2
# linux_n_obj:
7430
# linux build successful:
all
# linux boot successful:
boot'
++ print_config
++ :
+ '[' xsingle_component '!=' xsingle_commit ']'
+ return
+ print_mail_subject
+ true
++ print_result --oneline
++ false
++ local print_arg=--oneline
++ case "$print_arg" in
++ '[' 0 = 0 ']'
++ echo Success
++ print_commits --oneline
++ false
++ local print_arg=--oneline
++ local components new_commits more_lines
++ case "$change_kind:$print_arg" in
++ new_commits=0
++ for c in "${changed_components[@]}"
+++ get_baseline_git binutils_rev
+++ set -euf -o pipefail
+++ local base_artifacts=base-artifacts
+++ assert_with_msg 'ERROR: No binutils_rev in baseline git' '[' -f base-artifacts/git/binutils_rev ']'
+++ set -euf -o pipefail +x
+++ cat base-artifacts/git/binutils_rev
++ base_rev=2a3f442df9e9a71f9e3c4c5999a2c53bf93e488d
+++ get_current_git binutils_rev
+++ set -euf -o pipefail
+++ assert_with_msg 'ERROR: No binutils_rev in current git' '[' -f artifacts/git/binutils_rev ']'
+++ set -euf -o pipefail +x
+++ cat artifacts/git/binutils_rev
++ cur_rev=9d4f36166d626554adbecbc5bc0f1f4791354e03
+++ git -C binutils rev-list --count 2a3f442df9e9a71f9e3c4c5999a2c53bf93e488d..9d4f36166d626554adbecbc5bc0f1f4791354e03
++ c_commits=40
++ new_commits=40
+++ echo binutils
+++ tr ' ' ,
++ components=binutils
++ echo '40 commits in binutils'
# generate dashboard
# generate_dashboard_squad
... Skipping
# post_dashboard_squad
... Skipping
# post_to_jira
Full stage ran successfully.
+ echo '[Linaro-TCWG-CI] Success after binutils commit: 40 commits in binutils'
+ echo '# generate dashboard'
+ generate_dashboard_squad
+ local results_date
+ echo '# generate_dashboard_squad'
+ false
+ echo '... Skipping'
+ return
+ post_dashboard_squad
+ echo '# post_dashboard_squad'
+ false
+ echo '... Skipping'
+ return
+ false
+ post_to_jira
+ echo '# post_to_jira'
+ false
+ false
+ echo 'Full stage ran successfully.'