Run spatch jobs in parallel

Also make the script more verbose to identify which patch is being
processed, and check for failures in spatch standard error output.
73 jobs for !4741 with mnowak/make-cocci-parallel in 18 minutes and 45 seconds (queued for 6 seconds)
latest detached
Status Job ID Name Coverage
  Autoconf
passed #1524829
amd64 linux
autoreconf

00:00:17

 
  Precheck
passed #1524831
amd64 linux
clang-format

00:00:17

failed #1524832
amd64 linux
coccinelle

00:02:31

passed #1524833
amd64 linux
danger

00:00:15

passed #1524830
amd64 linux
misc

00:00:19

passed #1524834
amd64 linux
tarball-create

00:01:38

 
  Build
passed #1524846
amd64 linux
clang:asan

00:02:12

passed #1524850
amd64 linux
clang:buster:amd64

00:01:06

passed #1524853
amd64 libvirt
clang:freebsd11:amd64

00:01:17

passed #1524854
amd64 libvirt
clang:freebsd12:amd64

00:01:15

passed #1524855
amd64 libvirt
clang:openbsd:amd64

00:03:08

passed #1524848
amd64 linux
clang:tsan

00:01:17

passed #1524835
amd64 linux
gcc:alpine3.13:amd64

00:01:06

passed #1524845
amd64 linux
gcc:asan

00:02:06

passed #1524839
amd64 linux
gcc:buster:amd64

00:00:53

passed #1524836
amd64 linux
gcc:centos7:amd64

00:00:59

passed #1524837
amd64 linux
gcc:centos8:amd64

00:01:09

passed #1524844
amd64 linux
gcc:focal:amd64

00:01:03

passed #1524849
amd64 linux
gcc:mutexatomics

00:01:03

passed #1524841
amd64 linux
gcc:out-of-tree

00:01:06

passed #1524840
amd64 linux
gcc:sid:amd64

00:01:08

passed #1524851
amd64 linux
gcc:softhsm2.4

00:01:04

passed #1524852
amd64 linux
gcc:softhsm2.6

00:01:10

passed #1524838
amd64 linux
gcc:stretch:amd64

00:01:09

passed #1524847
amd64 linux
gcc:tsan

00:01:12

passed #1524842
amd64 linux
gcc:tumbleweed:amd64

00:00:55

passed #1524843
amd64 linux
gcc:xenial:amd64

00:01:05

passed #1524856
amd64 windows
msvc:windows:amd64

00:00:54

 
  Unit
passed #1524867
amd64 linux
unit:clang:asan

00:01:32

passed #1524871
amd64 linux
unit:clang:buster:amd64

00:01:14

passed #1524874
amd64 libvirt
unit:clang:freebsd11:amd64

00:01:52

failed #1524875
amd64 libvirt
unit:clang:freebsd12:amd64

00:01:37

passed #1524876
amd64 libvirt
unit:clang:openbsd:amd64

00:03:09

passed #1524869
amd64 linux
unit:clang:tsan

00:03:10

passed #1524857
amd64 linux
unit:gcc:alpine3.13:amd64

00:01:18

passed #1524866
amd64 linux
unit:gcc:asan

00:01:26

passed #1524861
amd64 linux
unit:gcc:buster:amd64

00:02:14

passed #1524858
amd64 linux
unit:gcc:centos7:amd64

00:01:12

passed #1524859
amd64 linux
unit:gcc:centos8:amd64

00:01:17

passed #1524865
amd64 linux
unit:gcc:focal:amd64

00:01:17

passed #1524870
amd64 linux
unit:gcc:mutexatomics

00:01:26

passed #1524862
amd64 linux
unit:gcc:sid:amd64

00:01:24

passed #1524872
amd64 linux
unit:gcc:softhsm2.4

00:01:40

passed #1524873
amd64 linux
unit:gcc:softhsm2.6

00:01:08

passed #1524860
amd64 linux
unit:gcc:stretch:amd64

00:01:14

passed #1524868
amd64 linux
unit:gcc:tsan

00:03:58

failed #1524863
amd64 linux
unit:gcc:tumbleweed:amd64

00:01:13

passed #1524864
amd64 linux
unit:gcc:xenial:amd64

00:01:16

 
  System
passed #1524887
amd64 linux
system:clang:asan

00:13:51

passed #1524891
amd64 linux
system:clang:buster:amd64

00:12:34

passed #1524894
amd64 libvirt
system:clang:freebsd11:amd64

00:12:26

passed #1524895
amd64 libvirt
system:clang:freebsd12:amd64

00:12:24

failed #1524889
amd64 linux allowed to fail
system:clang:tsan

00:16:11

passed #1524877
amd64 linux
system:gcc:alpine3.13:amd64

00:12:58

passed #1524886
amd64 linux
system:gcc:asan

00:14:56

passed #1524881
amd64 linux
system:gcc:buster:amd64

00:13:47

passed #1524878
amd64 linux
system:gcc:centos7:amd64

00:12:38

passed #1524879
amd64 linux
system:gcc:centos8:amd64

00:13:03

passed #1524885
amd64 linux
system:gcc:focal:amd64

00:13:00

passed #1524890
amd64 linux
system:gcc:mutexatomics

00:13:03

passed #1524882
amd64 linux
system:gcc:sid:amd64

00:12:45

passed #1524892
amd64 linux
system:gcc:softhsm2.4

00:12:28

passed #1524893
amd64 linux
system:gcc:softhsm2.6

00:12:25

passed #1524880
amd64 linux
system:gcc:stretch:amd64

00:12:35

failed #1524888
amd64 linux allowed to fail
system:gcc:tsan

00:16:33

passed #1524883
amd64 linux
system:gcc:tumbleweed:amd64

00:12:46

passed #1524884
amd64 linux
system:gcc:xenial:amd64

00:12:41

 
  Docs
passed #1524896
amd64 linux
docs

00:00:46

 
  Postcheck
passed #1524900
amd64 linux
cppcheck

00:00:43

passed #1524897
amd64 linux
flake8

00:00:27

passed #1524901
amd64 linux
gcov

00:00:32

76.0%
passed #1524898
amd64 linux
pylint

00:00:23

passed #1524899
amd64 linux
scan-build

00:04:35

 
Name Stage Failure
failed
system:clang:tsan System
FAIL shutdown (exit status: 1)

$ find bin -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1757 files

Uploading artifacts as "archive" to coordinator... ok
id=1524889 responseStatus=201 Created token=PeZQtpyg
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
system:gcc:tsan System
FAIL pipelined (exit status: 1)

$ find bin -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1724 files

Uploading artifacts as "archive" to coordinator... ok
id=1524888 responseStatus=201 Created token=Kd73tGp_
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
unit:clang:freebsd12:amd64 Unit
# ERROR: 0
============================================================================
Uploading artifacts for failed job
Uploading artifacts...
Runtime platform
arch=amd64 os=freebsd pid=16014 revision=2ebc4dc4 version=13.9.0
untracked: found 1609 files

Uploading artifacts as "archive" to coordinator... ok
id=1524875 responseStatus=201 Created token=AZN-1iZf
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
unit:gcc:tumbleweed:amd64 Unit
make[1]: Leaving directory '/builds/isc-projects/bind9/fuzz'
make: *** [Makefile:608: unit-recursive] Error 1
make: Target 'unit' not remade because of errors.
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1594 files

Uploading artifacts as "archive" to coordinator... ok
id=1524863 responseStatus=201 Created token=a_MFR2T3
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
coccinelle Precheck
57 files match
Applying semantic patch cocci/memcpy.spatch...
1 files match
Applying semantic patch cocci/return-void-from-void.spatch...
711 files match
Applying semantic patch cocci/unreachable.spatch...
193 files match
Cleaning up file based variables
ERROR: Job failed: exit code 1