forked from lowpolyneko/build-pulse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml
More file actions
586 lines (482 loc) · 15 KB
/
config.toml
File metadata and controls
586 lines (482 loc) · 15 KB
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
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
jenkins_url = "https://jenkins-pmrs.cels.anl.gov"
project = "mpich-main-nightly"
blocklist = [
# ignored jobs
"build-pulse",
"mpich-main-ch4-ofi-multinic",
"mpich-main-noshared",
"xfail-mpich-main-ch4-special-tests"
]
# username = <OPTIONAL: your user>
# password = <OPTIONAL: your password>
threshold = 0.9
last_n_history = 5
timezone = -5 # in UTC-<hour> format
database = "data.db"
### VIEWS
### ----------------------------------------------------------------------
[[view]]
name = "By Tag"
expr = '!S"Metadata"'
[[view]]
name = "By Metadata"
expr = '!t"(pmrs-.*)|(built-in)|(aws)|(tiger)|(yuzu)|(softiron-[0-9]+)" && S"Metadata"'
[[view]]
name = "By Agent"
expr = 'T"(pmrs-.*)|(built-in)|(aws)|(tiger)|(yuzu)|(softiron-[0-9]+)"'
[[view]]
name = "Jenkins Failures By Platform"
expr = 't"jenkins_agent_offline" && T"(pmrs-.*)|(built-in)|(aws)|(tiger)|(yuzu)|(softiron-[0-9]+)"'
### ARTIFACTS
### ----------------------------------------------------------------------
[[artifact]]
path = '''top.txt'''
post_process = ["./scripts/top.py"]
[[artifact]]
path = '''graph_.*.svg'''
[[artifact]]
path = '''(summary.junit.xml)|(summary.txt)'''
post_process = ["./scripts/junit.py"]
### FATAL TOOLING EMITS
### ----------------------------------------------------------------------
[[tag]]
name = "cc_emit"
desc = "CC Compiler Error"
# Matches messages of the following
# <filepath>:<lineno>:<linecol?>: error: <message>\n
# <indented followups>\n
# https://www.gnu.org/prep/standards/html_node/Errors.html
pattern = '''(?m)^[a-zA-Z0-9_\-\./ ]+([\.\-:][0-9]+){0,4}: (fatal )?error: .*(\n\s+.*)*(\n[a-zA-Z0-9_\-\./ ]+([\.\-:][0-9]+){0,4}: [a-z]+: .*(\n\s+.*)*)*$'''
from = "Console"
severity = "Error"
[[tag]]
name = "cc_warn"
desc = "CC Compiler Warning"
# Matches messages of the following
# <filepath>:<lineno>:<linecol?>: error: <message>\n
# <indented followups>\n
# https://www.gnu.org/prep/standards/html_node/Errors.html
pattern = '''(?m)^[a-zA-Z0-9_\-\./ ]+([\.\-:][0-9]+){0,4}: warning: .*(\n\s+.*)*(\n[a-zA-Z0-9_\-\./ ]+([\.\-:][0-9]+){0,4}: [a-z]+: .*(\n\s+.*)*)*$'''
from = "Artifact"
severity = "Warning"
[[tag]]
name = "nvcxx_emit"
desc = "NVC++ Compiler Error"
# Matches messages of the following
# "<filepath>", line <lineno>: error: <message>\n
# <indented followups>\n
pattern = '''(?m)^"[a-zA-Z0-9_\-\./ ]+", line [0-9]+: (fatal )?error: .*(\n\s+.*)*(\n"[a-zA-Z0-9_\-\./ ]+", line [0-9]+: [a-z]+: .*(\n\s+.*)*)*$'''
from = "Console"
severity = "Error"
[[tag]]
name = "nvcxx_bail"
desc = "NVC++ Internal Compiler Error"
# Matches messages of the following example
# NVC++-F-0000-Internal compiler error. add_cilis(): bad jmp code 1088 (src/mpi/coll/op/op_fns.c: 105)
# NVC++/x86-64 Linux 22.3-0: compilation aborted
pattern = '''(?m)^NV.*Internal compiler error. .*$'''
from = "Console"
severity = "Error"
# [[tag]]
# name = "cmd_not_found"
# desc = "command not found"
#
# # Matches messages of the following
# # (<file><lineno>: )?<binary>: command not found
# pattern = '''(?m)^([a-zA-Z0-9_\-\./ ]+(: line [0-9]+)?: )?[a-zA-Z0-9_\-\./ ]+: command not found$'''
# from = "Console"
# severity = "Info"
[[tag]]
name = "out_of_space"
desc = "No space left on device"
# Matches messages of the following
# (<file><lineno>: )?<binary>: command not found
pattern = '''(?m)^[a-zA-Z0-9_\-\./ ]+(: .*)?: No space left on device$'''
from = "Console"
severity = "Info"
# [[tag]]
# name = "no_such_file_or_dir"
# desc = "No such file or directory"
#
# # Matches messages of the following
# # (<file><lineno>: )?<binary>: command not found
# pattern = '''(?m)^[a-zA-Z0-9_\-\./ ]+(: .*)?: No such file or directory$'''
# from = "Console"
# severity = "Info"
# [[tag]]
# name = "configure_error"
# desc = "./configure failure"
#
# # Matches messages of the following
# # configure: error: <message>\n
# # See `<log file>' for more details
# pattern = '''(?m)^configure: error: .*$'''
# from = "Console"
# severity = "Error"
[[tag]]
name = "jenkins_agent_offline"
desc = "Jenkins Build Agent went offline during the build"
pattern = '''(?m)^Agent went offline during the build$'''
from = "Console"
severity = "Info"
[[tag]]
name = "java_stack_trace"
desc = "Java Exception Stack Trace"
# Matches messages of the following example
# FATAL: java.io.IOException: Unexpected termination of the channel
# java.io.EOFException
# at java.base/java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2915)
# at java.base/java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3410)
# at java.base/java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:954)
# at java.base/java.io.ObjectInputStream.<init>(ObjectInputStream.java:392)
# at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:50)
# at hudson.remoting.Command.readFrom(Command.java:142)
# at hudson.remoting.Command.readFrom(Command.java:128)
# at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:35)
# at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:61)
# Caused: java.io.IOException: Unexpected termination of the channel
# at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:75)
# Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to pmrs-linux-240-01
# at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1826)
# at hudson.remoting.Request.call(Request.java:199)
# at hudson.remoting.Channel.call(Channel.java:1041)
# at hudson.Launcher$RemoteLauncher.kill(Launcher.java:1147)
# at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:538)
# at hudson.model.Run.execute(Run.java:1894)
# at PluginClassLoader for matrix-project//hudson.matrix.MatrixRun.run(MatrixRun.java:153)
# at hudson.model.ResourceController.execute(ResourceController.java:101)
# at hudson.model.Executor.run(Executor.java:446)
# Caused: hudson.remoting.RequestAbortedException
# at hudson.remoting.Request.abort(Request.java:346)
# at hudson.remoting.Channel.terminate(Channel.java:1122)
# at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:90)
pattern = '''(?m)^([a-zA-Z]+: .*\n([a-z]+\.)+[a-zA-Z]+(: .*)?(\n\s+at .*)+)+$'''
from = "Console"
severity = "Info"
[[tag]]
name = "mpi_abort"
desc = "Generic MPI failure conditions"
# Matches messages of the following
# Abort(<number>) on node <number>: <message>
# <function name>(<number>)\.*: <stack traces>\n
pattern = '''(?m)^Abort\([0-9]+\) on node [0-9]+: .*(\n[a-zA-Z_][a-zA-Z0-9_]+\([0-9]+\)\.*: .*)*$'''
from = "Console"
severity = "Error"
[[tag]]
name = "python_traceback"
desc = "Python Exception Traceback"
# Matches messages of the following example
# Traceback (most recent call last):
# File "/builder_task.py", line 279, in do_one_task
# raise RecoverableBuildException("test error")
# common.exceptions.BuildException
# https://stackoverflow.com/questions/53658695/how-to-match-the-whole-traceback-message-and-not-stop-early-using-regex
pattern = '''(?m)^Traceback \(most recent call last\):(?:\n.*)+?\n(.*?(?:Exception|Error):)\s*(.+)$'''
from = "Console"
severity = "Warning"
[[tag]]
name = "ld_error"
desc = "Program can't find shared library"
# Matches messages of the following
# <program name>: error while loading shared libraries: <libraries>
pattern = '''(?m)^.+: error while loading shared libraries: .*$'''
from = "Console"
severity = "Error"
[[tag]]
name = "cpi_failed_assert"
desc = "Failed assertion from cpi"
# Matches messages of the following
# cpi: <filepath>:<line no>: <function signature>: Assertion `<exp' failed.
pattern = '''(?m)^cpi: [a-zA-Z0-9_\-\./ ]+([\.\-:][0-9]+){0,4}: .*: Assertion `.*' failed.$'''
from = "Console"
severity = "Error"
[[tag]]
name = "mpir_assert_failed"
desc = "Failure from MPIR_Assert"
# Matches messages of the following
# Assertion failed in file %s at line %d: %s
pattern = '''(?m)^Assertion failed in file [a-zA-Z0-9_\-\./ ]+ at line [0-9]+: .*$'''
from = "Console"
severity = "Error"
[[tag]]
name = "tap_failure"
desc = "TAP failure from Testsuite"
# Matches messages of the following
# not ok 2756 - ./rma/acc_pairtype_shm 2
# ---
# Directory: ./rma
# File: acc_pairtype_shm
# Num-procs: 2
# Timeout: 180
# Date: "Mon Sep 15 20:38:42 2025"
# ...
# ## Test output (expected 'No Errors'):
# ## Fatal error in internal_Barrier: Other MPI error, error stack:
# ## internal_Barrier(94)...................: MPI_Barrier(MPI_COMM_WORLD) failed
# ## MPIR_Barrier_impl(111).................:
# ## MPIR_Barrier_allcomm_auto(53)..........:
# ## MPIR_Barrier_intra_dissemination(32)...:
# ## MPIC_Sendrecv(280).....................:
# ## MPIC_Wait(99)..........................:
# ## MPIR_Wait(741).........................:
# ## MPIR_Wait_state(698)...................:
# ## MPIDI_CH3I_Progress(360)...............:
# ## MPID_nem_mpich_blocking_recv(948)......:
# ## MPID_nem_tcp_connpoll(1787)............:
# ## state_commrdy_handler(1632)............:
# ## MPID_nem_tcp_recv_handler(1529)........:
# ## MPID_nem_handle_pkt(607)...............:
# ## MPIDI_CH3_PktHandler_EagerSend(618)....: failure occurred while posting a receive for message data (MPIDI_CH3_PKT_EAGER_SEND)
# ## MPIDI_CH3U_Receive_data_unexpected(232): Out of memory (unable to allocate -2147483648 bytes)
# https://testanything.org/tap-version-14-specification.html
pattern = '''(?m)^not ok [0-9]+ - .*\n([\s#]{2}.*)*$'''
from = "Artifact"
severity = "Warning"
[[tag]]
name = "perl_syntax_error"
desc = "Perl syntax error message"
# Matches messages of the following
# syntax error at <filename> line <line_number>, near "<offending_code>"
pattern = '''(?m)^syntax error at [a-zA-Z0-9_\-\./ ]+ line [0-9]+, near ".*"$'''
from = "Console"
severity = "Error"
### PLATFORM TAGS
### ----------------------------------------------------------------------
[[tag]]
name = "bsd"
desc = "FreeBSD Build"
pattern = '''freebsd64'''
from = "RunName"
severity = "Metadata"
[[tag]]
name = "linux"
desc = "Linux Build"
pattern = '''(ubuntu([0-9]{1,2}.[0-9]{1,2})?)|(debian([0-9]+)?)|(centos([0-9]+)?)|(opensuse(-(leap)|(tumbleweed))?)'''
from = "RunName"
severity = "Metadata"
[[tag]]
name = "osx"
desc = "macOS Build"
pattern = '''osx'''
from = "RunName"
severity = "Metadata"
[[tag]]
name = "aarch64"
desc = "aarch64 Build"
pattern = '''aarch64'''
from = "RunName"
severity = "Metadata"
### TOOLCHAIN TAGS
### ----------------------------------------------------------------------
[[tag]]
name = "gnu"
desc = "gcc Build"
pattern = '''(gnu)|(gcc[0-9]*)'''
from = "RunName"
severity = "Metadata"
[[tag]]
name = "clang"
desc = "clang Build"
pattern = '''clang'''
from = "RunName"
severity = "Metadata"
[[tag]]
name = "intel"
desc = "Intel OneAPI Build"
pattern = '''intel(-oneapi)?'''
from = "RunName"
severity = "Metadata"
[[tag]]
name = "nvidia"
desc = "NVC++ Build"
pattern = '''nvidia'''
from = "RunName"
severity = "Metadata"
### NETMOD OPTION TAGS
### ----------------------------------------------------------------------
[[tag]]
name = "ch3-tcp"
desc = "netmod=ch3-tcp"
pattern = '''ch3(-nemesis)?-tcp'''
from = "RunName"
severity = "Metadata"
[[tag]]
name = "ch3-sock"
desc = "netmod=ch3-sock"
pattern = '''ch3-sock'''
from = "RunName"
severity = "Metadata"
[[tag]]
name = "ch4-ofi"
desc = "netmod=ch4-ofi"
pattern = '''(ch4-)?ofi(-(global)|(vci)|(sepctx)|(domain))?'''
from = "RunName"
severity = "Metadata"
[[tag]]
name = "ch4-ucx"
desc = "netmod=ch4-ucx"
pattern = '''(ch4-)?ucx(-(global)|(vci))?'''
from = "RunName"
severity = "Metadata"
### BUILD NODE TAGS
### ----------------------------------------------------------------------
[[tag]]
name = "pmrs-freebsd64-240-01"
desc = "pmrs-freebsd64-240-01 Build Node"
pattern = '''(?m)^Building remotely on pmrs-freebsd64-240-01.*$'''
from = "Console"
severity = "Metadata"
[[tag]]
name = "pmrs-freebsd64-240-02"
desc = "pmrs-freebsd64-240-02 Build Node"
pattern = '''(?m)^Building remotely on pmrs-freebsd64-240-02.*$'''
from = "Console"
severity = "Metadata"
[[tag]]
name = "pmrs-gpu-240-01"
desc = "prms-gpu-240-01 Build Node"
pattern = '''(?m)^Building remotely on pmrs-gpu-240-01.*$'''
from = "Console"
severity = "Metadata"
[[tag]]
name = "pmrs-gpu-240-02"
desc = "prms-gpu-240-02 Build Node"
pattern = '''(?m)^Building remotely on pmrs-gpu-240-02.*$'''
from = "Console"
severity = "Metadata"
[[tag]]
name = "pmrs-linux-240-01"
desc = "prms-linux-240-01 Build Node"
pattern = '''(?m)^Building remotely on pmrs-linux-240-01.*$'''
from = "Console"
severity = "Metadata"
[[tag]]
name = "pmrs-linux-240-02"
desc = "prms-linux-240-02 Build Node"
pattern = '''(?m)^Building remotely on pmrs-linux-240-02.*$'''
from = "Console"
severity = "Metadata"
[[tag]]
name = "pmrs-linux-240-03"
desc = "prms-linux-240-03 Build Node"
pattern = '''(?m)^Building remotely on pmrs-linux-240-03.*$'''
from = "Console"
severity = "Metadata"
[[tag]]
name = "pmrs-linux-240-04"
desc = "prms-linux-240-04 Build Node"
pattern = '''(?m)^Building remotely on pmrs-linux-240-04.*$'''
from = "Console"
severity = "Metadata"
[[tag]]
name = "pmrs-linux-240-05"
desc = "prms-linux-240-05 Build Node"
pattern = '''(?m)^Building remotely on pmrs-linux-240-05.*$'''
from = "Console"
severity = "Metadata"
[[tag]]
name = "pmrs-linux-240-06"
desc = "prms-linux-240-06 Build Node"
pattern = '''(?m)^Building remotely on pmrs-linux-240-06.*$'''
from = "Console"
severity = "Metadata"
[[tag]]
name = "pmrs-macos-240-01.cels.anl.gov"
desc = "prms-macos-240-01.cels.anl.gov Build Node"
pattern = '''(?m)^Building remotely on pmrs-macos-240-01.cels.anl.gov.*$'''
from = "Console"
severity = "Metadata"
[[tag]]
name = "softiron-1"
desc = "softiron-1 Build Node"
pattern = '''(?m)^Building remotely on softiron-1.*$'''
from = "Console"
severity = "Metadata"
[[tag]]
name = "softiron-2"
desc = "softiron-2 Build Node"
pattern = '''(?m)^Building remotely on softiron-2.*$'''
from = "Console"
severity = "Metadata"
[[tag]]
name = "tiger"
desc = "tiger Build Node"
pattern = '''(?m)^Building remotely on tiger.*$'''
from = "Console"
severity = "Metadata"
[[tag]]
name = "yuzu"
desc = "yuzu Build Node"
pattern = '''(?m)^Building remotely on yuzu \(xpmem\).*$'''
from = "Console"
severity = "Metadata"
[[tag]]
name = "built-in"
desc = "built-in Build Node"
pattern = '''(?m)^Building remotely on built-in node.*$'''
from = "Console"
severity = "Metadata"
[[tag]]
name = "aws"
desc = "aws Build Node"
pattern = '''(?m)^Building remotely on aws.*$'''
from = "Console"
severity = "Metadata"
# MPICH SPECIFIC: currently untracked tags
# shmem
# debug
# pgi
# multithread
# infiniband
# noerrorchecking
# yaksa
# hydra
# gforker
# default
# singularity
# nofast
# vci
# external
# global_lock
# absoft
# asan
# fast
# polaris-ci
# tcp
# singlethread
# multi-vci
# gpu
# sockets
# debuginfo
# noweak
# pmix
# async
# noshared
# pervci_async
# psm3
# strictnoweak
# sock
# pmi1
# xpmem
# verbs
# integer-8
# nocxx
# async-ticketlock
# multvci_domain
# nag
# strict
# ubsan
# multvci_sepctx
# single-vci
# gpu_new
# master
# nccl
# global_async
# am-only
# jenkins_arch
# pmi2
# prterun
# nofortran
# pervci_lock
# solstudio
# vim: ts=4:sw=4:expandtab: