summaryrefslogtreecommitdiff
path: root/jenkins/notify-full.log
blob: b51564b267a99c516fcbce292e69df98b83a0bfc (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
++ pwd
++ cat
+ remote_exec build-04.tcwglab::/home/tcwg-buildslave/workspace/tcwg_aosp_1:-p50758: ./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-04.tcwglab::/home/tcwg-buildslave/workspace/tcwg_aosp_1:-p50758:
++ cut -d: -f 1
+ host=build-04.tcwglab
+ local port
++ echo build-04.tcwglab::/home/tcwg-buildslave/workspace/tcwg_aosp_1:-p50758:
++ cut -s -d: -f 2
+ port=
+ local dir
++ echo build-04.tcwglab::/home/tcwg-buildslave/workspace/tcwg_aosp_1:-p50758:
++ cut -s -d: -f 3
+ dir=/home/tcwg-buildslave/workspace/tcwg_aosp_1
+ local opts
++ echo build-04.tcwglab::/home/tcwg-buildslave/workspace/tcwg_aosp_1:-p50758:
++ cut -s -d: -f 4
+ opts=-p50758
+ local env_vars
++ echo build-04.tcwglab::/home/tcwg-buildslave/workspace/tcwg_aosp_1:-p50758:
++ 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_aosp_1
+ ssh -p50758 build-04.tcwglab 'cd /home/tcwg-buildslave/workspace/tcwg_aosp_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_aosp_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_aosp-code_size-dalvikvm
++ get_current_manifest '{rr[ci_config]}'
++ get_manifest artifacts/manifest.sh '{rr[ci_config]}'
++ set +x
# Debug traces :
+ ci_config=oriole-master
+ 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_aosp-code_size-dalvikvm--oriole-master-build/346/
#   Using dir : base-artifacts
+ echo '#   Baseline  : https://ci.linaro.org/job/tcwg_aosp-code_size-dalvikvm--oriole-master-build/346/'
+ 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_aosp-code_size-dalvikvm--oriole-master-build/351/
#   Using dir : artifacts

+ echo '#   Artifacts : https://ci.linaro.org/job/tcwg_aosp-code_size-dalvikvm--oriole-master-build/351/'
+ 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]}
+++ '[' xbaseline '!=' xbaseline ']'
+++ for c in ${rr[components]}
+++ '[' xbaseline '!=' xbaseline ']'
+++ for c in ${rr[components]}
+++ '[' xhttps://android.googlesource.com/platform/superproject#llvm-toolchain '!=' xbaseline ']'
+++ echo -ne toolchain_superproject
+++ delim=' '
+++ echo
++ for c in $(print_updated_components)
+++ get_current_git toolchain_superproject_rev
+++ set -euf -o pipefail
+++ assert_with_msg 'ERROR: No toolchain_superproject_rev in current git' '[' -f artifacts/git/toolchain_superproject_rev ']'
+++ set -euf -o pipefail +x
+++ cat artifacts/git/toolchain_superproject_rev
+++ get_baseline_git toolchain_superproject_rev
+++ set -euf -o pipefail
+++ local base_artifacts=base-artifacts
+++ assert_with_msg 'ERROR: No toolchain_superproject_rev in baseline git' '[' -f base-artifacts/git/toolchain_superproject_rev ']'
+++ set -euf -o pipefail +x
+++ cat base-artifacts/git/toolchain_superproject_rev
++ '[' xf5e7216e322d18dc82a56b8a4cf572a2b973146d '!=' xae54ee9b3c4f098c2945a886b3089a219c99e88e ']'
++ echo -ne toolchain_superproject
++ delim=' '
++ echo
+ local c base_rev cur_rev c_commits
+ '[' 1 = 0 ']'
+ '[' 1 = 1 ']'
+ changed_single_component=toolchain_superproject
++ get_current_git toolchain_superproject_rev
++ set -euf -o pipefail
++ assert_with_msg 'ERROR: No toolchain_superproject_rev in current git' '[' -f artifacts/git/toolchain_superproject_rev ']'
++ set -euf -o pipefail +x
++ cat artifacts/git/toolchain_superproject_rev
+ first_bad=f5e7216e322d18dc82a56b8a4cf572a2b973146d
++ get_baseline_git toolchain_superproject_rev
++ set -euf -o pipefail
++ local base_artifacts=base-artifacts
++ assert_with_msg 'ERROR: No toolchain_superproject_rev in baseline git' '[' -f base-artifacts/git/toolchain_superproject_rev ']'
++ set -euf -o pipefail +x
++ cat base-artifacts/git/toolchain_superproject_rev
+ last_good=ae54ee9b3c4f098c2945a886b3089a219c99e88e
+ local res
+ res=0
+ wait 1497
+ git -C toolchain_superproject rev-parse --verify HEAD
+ assert_with_msg 'Cannot parse HEAD in repo toolchain_superproject' '[' 0 = 0 ']'
+ set -euf -o pipefail +x
+ single_commit_p toolchain_superproject
+ set -euf -o pipefail
+ local c=toolchain_superproject
+ local base_rev cur_rev sha1
++ get_baseline_git toolchain_superproject_rev
++ set -euf -o pipefail
++ local base_artifacts=base-artifacts
++ assert_with_msg 'ERROR: No toolchain_superproject_rev in baseline git' '[' -f base-artifacts/git/toolchain_superproject_rev ']'
++ set -euf -o pipefail +x
++ cat base-artifacts/git/toolchain_superproject_rev
+ base_rev=ae54ee9b3c4f098c2945a886b3089a219c99e88e
++ get_current_git toolchain_superproject_rev
++ set -euf -o pipefail
++ assert_with_msg 'ERROR: No toolchain_superproject_rev in current git' '[' -f artifacts/git/toolchain_superproject_rev ']'
++ set -euf -o pipefail +x
++ cat artifacts/git/toolchain_superproject_rev
+ cur_rev=f5e7216e322d18dc82a56b8a4cf572a2b973146d
++ git -C toolchain_superproject rev-parse 'f5e7216e322d18dc82a56b8a4cf572a2b973146d^@'
+ for sha1 in $(git -C "$c" rev-parse "$cur_rev^@")
+ '[' 45a093c0fc219ed3c13961d9b94c103342d26efd = ae54ee9b3c4f098c2945a886b3089a219c99e88e ']'
+ return 1
# Debug traces :
#   change_kind=single_component : toolchain_superproject
+ change_kind=single_component
+ echo '# Debug traces :'
+ echo '#   change_kind=single_component : toolchain_superproject'
+ for c in "${changed_components[@]}"
++ get_baseline_git toolchain_superproject_rev
++ set -euf -o pipefail
++ local base_artifacts=base-artifacts
++ assert_with_msg 'ERROR: No toolchain_superproject_rev in baseline git' '[' -f base-artifacts/git/toolchain_superproject_rev ']'
++ set -euf -o pipefail +x
++ cat base-artifacts/git/toolchain_superproject_rev
+ base_rev=ae54ee9b3c4f098c2945a886b3089a219c99e88e
++ get_current_git toolchain_superproject_rev
++ set -euf -o pipefail
++ assert_with_msg 'ERROR: No toolchain_superproject_rev in current git' '[' -f artifacts/git/toolchain_superproject_rev ']'
++ set -euf -o pipefail +x
++ cat artifacts/git/toolchain_superproject_rev
+ cur_rev=f5e7216e322d18dc82a56b8a4cf572a2b973146d
++ git -C toolchain_superproject rev-list --count ae54ee9b3c4f098c2945a886b3089a219c99e88e..f5e7216e322d18dc82a56b8a4cf572a2b973146d
#   rev for toolchain_superproject : ae54ee9b3c4f098c2945a886b3089a219c99e88e..f5e7216e322d18dc82a56b8a4cf572a2b973146d (9 commits)

+ c_commits=9
+ echo '#   rev for toolchain_superproject : ae54ee9b3c4f098c2945a886b3089a219c99e88e..f5e7216e322d18dc82a56b8a4cf572a2b973146d (9 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
# post_interesting_commits
+ generate_extra_details
+ set -euf -o pipefail
+ echo '# generate_extra_details'
+ post_interesting_commits init
+ 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
# print all notification files
+ set -euf -o pipefail
+ echo '# post_interesting_commits'
+ local stage=full
+ '[' single_component '!=' single_commit ']'
+ return
+ 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
++ echo GNU-692
++ 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_aosp-code_size-dalvikvm--oriole-master-build/351/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_aosp-code_size-dalvikvm--oriole-master-build/346/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 toolchain_superproject_rev
+++ set -euf -o pipefail
+++ local base_artifacts=base-artifacts
+++ assert_with_msg 'ERROR: No toolchain_superproject_rev in baseline git' '[' -f base-artifacts/git/toolchain_superproject_rev ']'
+++ set -euf -o pipefail +x
+++ cat base-artifacts/git/toolchain_superproject_rev
++ base_rev=ae54ee9b3c4f098c2945a886b3089a219c99e88e
+++ get_current_git toolchain_superproject_rev
+++ set -euf -o pipefail
+++ assert_with_msg 'ERROR: No toolchain_superproject_rev in current git' '[' -f artifacts/git/toolchain_superproject_rev ']'
+++ set -euf -o pipefail +x
+++ cat artifacts/git/toolchain_superproject_rev
++ cur_rev=f5e7216e322d18dc82a56b8a4cf572a2b973146d
+++ git -C toolchain_superproject rev-list --count ae54ee9b3c4f098c2945a886b3089a219c99e88e..f5e7216e322d18dc82a56b8a4cf572a2b973146d
++ c_commits=9
++ new_commits=9
+++ echo toolchain_superproject
+++ tr ' ' ,
++ components=toolchain_superproject
++ echo '9 commits in toolchain_superproject'
++ 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 toolchain_superproject_rev
+++ set -euf -o pipefail
+++ local base_artifacts=base-artifacts
+++ assert_with_msg 'ERROR: No toolchain_superproject_rev in baseline git' '[' -f base-artifacts/git/toolchain_superproject_rev ']'
+++ set -euf -o pipefail +x
+++ cat base-artifacts/git/toolchain_superproject_rev
++ base_rev=ae54ee9b3c4f098c2945a886b3089a219c99e88e
+++ get_current_git toolchain_superproject_rev
+++ set -euf -o pipefail
+++ assert_with_msg 'ERROR: No toolchain_superproject_rev in current git' '[' -f artifacts/git/toolchain_superproject_rev ']'
+++ set -euf -o pipefail +x
+++ cat artifacts/git/toolchain_superproject_rev
++ cur_rev=f5e7216e322d18dc82a56b8a4cf572a2b973146d
+++ git -C toolchain_superproject rev-list --count ae54ee9b3c4f098c2945a886b3089a219c99e88e..f5e7216e322d18dc82a56b8a4cf572a2b973146d
++ c_commits=9
++ new_commits=9
++ echo 'toolchain_superproject commits:'
+++ git -C toolchain_superproject log --pretty=oneline ae54ee9b3c4f098c2945a886b3089a219c99e88e..f5e7216e322d18dc82a56b8a4cf572a2b973146d
+++ head -n5
++ echo 'f5e7216e322d18dc82a56b8a4cf572a2b973146d Merge "Define a python_library for the prebuilt stdlib" into main
45a093c0fc219ed3c13961d9b94c103342d26efd Merge "Move order file files into llvm_android from pgo-profiles" into main
b0b96e751e65b670f3763cd682a4c4f67c8fc33d Merge "[patches] Cherry pick CLS for: Fix unaligned __cfi_check" into main
9b4eafbd765855dd002b2492d3fb8f1f4369532e Update build-tools to ab/10669575
38208903c6811556aab2fb3dbfe099680007908a elf.h: add EM_RISCV and ELFCOMPRESS_ZLIB constants.'
++ '[' 9 -gt 5 ']'
++ echo '... and 4 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_aosp_toolchain:
-3
# build_shadow_llvm:
-2
# build_aosp:
-1
# shadow build has no errors
0
# shadow.size present
1'
++ echo ''
++ echo From
+++ cat base-artifacts/results
++ echo '# reset_artifacts:
-10
# build_aosp_toolchain:
-3
# build_shadow_llvm:
-2
# build_aosp:
-1
# shadow build has no errors
0
# shadow.size present
1'
++ 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 toolchain_superproject_rev
+++ set -euf -o pipefail
+++ local base_artifacts=base-artifacts
+++ assert_with_msg 'ERROR: No toolchain_superproject_rev in baseline git' '[' -f base-artifacts/git/toolchain_superproject_rev ']'
+++ set -euf -o pipefail +x
+++ cat base-artifacts/git/toolchain_superproject_rev
++ base_rev=ae54ee9b3c4f098c2945a886b3089a219c99e88e
+++ get_current_git toolchain_superproject_rev
+++ set -euf -o pipefail
+++ assert_with_msg 'ERROR: No toolchain_superproject_rev in current git' '[' -f artifacts/git/toolchain_superproject_rev ']'
+++ set -euf -o pipefail +x
+++ cat artifacts/git/toolchain_superproject_rev
++ cur_rev=f5e7216e322d18dc82a56b8a4cf572a2b973146d
+++ git -C toolchain_superproject rev-list --count ae54ee9b3c4f098c2945a886b3089a219c99e88e..f5e7216e322d18dc82a56b8a4cf572a2b973146d
++ c_commits=9
++ new_commits=9
+++ echo toolchain_superproject
+++ tr ' ' ,
++ components=toolchain_superproject
++ echo '9 commits in toolchain_superproject'
# generate dashboard
# generate_dashboard_squad
... Skipping
# post_dashboard_squad
... Skipping
# post_to_jira
Full stage ran successfully.
+ echo '[Linaro-TCWG-CI] Success after toolchain_superproject commit: 9 commits in toolchain_superproject'
+ 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.'