Refactor the code using the pk11 ECC constants.

The pk11/constants.h header contained static CK_BYTE arrays and
we had to use #defines to pull only those we need.  This commit
changes the constants to only define byte arrays with the content
and either use them directly or define the CK_BYTE arrays locally
where used.
78 jobs for !3401 with 1763-more-pkcs11-code-refactoring in 19 minutes and 29 seconds (queued for 8 seconds)
detached
Status Job ID Name Coverage
  Precheck
passed #828358
amd64 linux
autoreconf

00:00:17

passed #828360
amd64 linux
clang-format

00:00:22

passed #828361
amd64 linux
coccinelle

00:03:55

passed #828359
amd64 linux
misc

00:00:16

 
  Build
passed #828377
amd64 linux
clang:asan

00:01:40

passed #828381
amd64 linux
clang:buster:amd64

00:01:12

passed #828383
amd64 libvirt
clang:freebsd11.3:amd64

00:02:08

passed #828384
amd64 libvirt
clang:freebsd12.1:amd64

00:02:08

passed #828385
amd64 libvirt
clang:openbsd6.6:amd64

00:05:37

passed #828379
amd64 linux
clang:tsan

00:02:43

passed #828362
amd64 linux
gcc:alpine3.11:amd64

00:02:05

passed #828376
amd64 linux
gcc:asan

00:01:36

passed #828375
amd64 linux
gcc:bionic:amd64

00:01:06

passed #828367
amd64 linux
gcc:buster:amd64

00:01:12

passed #828363
amd64 linux
gcc:centos6:amd64

00:01:36

passed #828364
amd64 linux
gcc:centos7:amd64

00:01:55

passed #828365
amd64 linux
gcc:centos8:amd64

00:01:49

passed #828373
amd64 linux
gcc:fedora31:amd64

00:01:52

passed #828380
amd64 linux
gcc:mutexatomics

00:01:12

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

00:02:17

failed #828382
amd64 linux
gcc:pkcs11

00:00:37

passed #828368
amd64 linux
gcc:sid:amd64

00:01:24

passed #828370
arm64 linux
gcc:sid:arm64

00:02:54

passed #828371
i386 linux
gcc:sid:i386

00:01:13

passed #828366
amd64 linux
gcc:stretch:amd64

00:01:10

passed #828378
amd64 linux
gcc:tsan

00:02:38

passed #828372
amd64 linux
gcc:tumbleweed:amd64

00:01:53

passed #828374
amd64 linux
gcc:xenial:amd64

00:01:42

passed #828386
amd64 windows
msvc:windows:amd64

00:03:45

 
  Unit
passed #828401
amd64 linux
unit:clang:asan

00:00:58

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

00:00:40

passed #828407
amd64 libvirt
unit:clang:freebsd11.3:amd64

00:01:08

passed #828408
amd64 libvirt
unit:clang:freebsd12.1:amd64

00:01:04

failed #828403
amd64 linux allowed to fail
unit:clang:tsan

00:00:20

passed #828387
amd64 linux
unit:gcc:alpine3.11:amd64

00:00:45

passed #828400
amd64 linux
unit:gcc:asan

00:00:57

passed #828399
amd64 linux
unit:gcc:bionic:amd64

00:00:38

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

00:00:40

passed #828388
amd64 linux
unit:gcc:centos6:amd64

00:00:41

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

00:00:46

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

00:00:37

passed #828397
amd64 linux
unit:gcc:fedora31:amd64

00:00:39

passed #828404
amd64 linux
unit:gcc:mutexatomics

00:00:38

skipped #828406
amd64 linux
unit:gcc:pkcs11
passed #828393
amd64 linux
unit:gcc:sid:amd64

00:00:36

passed #828394
arm64 linux
unit:gcc:sid:arm64

00:01:42

passed #828395
i386 linux
unit:gcc:sid:i386

00:00:50

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

00:00:37

failed #828402
amd64 linux allowed to fail
unit:gcc:tsan

00:02:21

passed #828396
amd64 linux
unit:gcc:tumbleweed:amd64

00:00:38

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

00:00:45

 
  System
passed #828423
amd64 linux
system:clang:asan

00:12:49

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

00:10:23

passed #828429
amd64 libvirt
system:clang:freebsd11.3:amd64

00:13:02

failed #828430
amd64 libvirt
system:clang:freebsd12.1:amd64

00:12:56

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

00:06:17

passed #828409
amd64 linux
system:gcc:alpine3.11:amd64

00:10:50

failed #828422
amd64 linux
system:gcc:asan

00:13:06

passed #828421
amd64 linux
system:gcc:bionic:amd64

00:10:18

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

00:11:37

passed #828410
amd64 linux
system:gcc:centos6:amd64

00:10:25

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

00:10:41

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

00:11:19

passed #828419
amd64 linux
system:gcc:fedora31:amd64

00:10:42

passed #828426
amd64 linux
system:gcc:mutexatomics

00:09:24

skipped #828428
amd64 linux
system:gcc:pkcs11
passed #828415
amd64 linux
system:gcc:sid:amd64

00:09:47

passed #828416
arm64 linux
system:gcc:sid:arm64

00:11:15

passed #828417
i386 linux
system:gcc:sid:i386

00:10:08

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

00:10:51

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

00:15:48

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

00:11:05

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

00:10:29

 
  Docs
passed #828431
amd64 linux
docs

00:00:38

 
  Postcheck
passed #828435
amd64 linux
cppcheck

00:00:23

passed #828432
amd64 linux
flake8

00:01:43

passed #828433
amd64 linux
pylint

00:01:50

passed #828434
amd64 linux
scan-build

00:10:37

 
Name Stage Failure
failed
system:gcc:tsan System
Running after script...
$ find bin -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
Uploading artifacts for failed job
Uploading artifacts...
bin/tests/system/*/tsan.*: found 19 matching files

bin/tests/system/*/*/tsan.*: found 215 matching files

tsan/: found 189 matching files

Uploading artifacts to coordinator... ok
id=828424 responseStatus=201 Created token=HwDazwFJ
ERROR: Job failed: exit code 1
failed
system:clang:freebsd12.1:amd64 System

make: stopped in /builds/isc-projects/bind9/bin/tests/system
Running after_script
Uploading artifacts for failed job
Uploading artifacts...
Runtime platform
arch=amd64 os=freebsd pid=30184 revision=4c96e5ad version=12.9.0
untracked: found 1371 files

Uploading artifacts to coordinator... ok
id=828430 responseStatus=201 Created token=o5yN4S8e
ERROR: Job failed: exit status 1
failed
system:gcc:asan System
I:The following system tests failed:
I: kasp
make: *** [Makefile:441: test] Error 1
Running after_script
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 3254 files

Uploading artifacts to coordinator... ok
id=828422 responseStatus=201 Created token=6npzviu8
ERROR: Job failed: exit code 1
failed
system:clang:tsan System
Running after script...
$ find bin -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
Uploading artifacts for failed job
Uploading artifacts...
bin/tests/system/*/tsan.*: found 640 matching files

bin/tests/system/*/*/tsan.*: found 550 matching files

tsan/: found 1 matching files

Uploading artifacts to coordinator... ok
id=828425 responseStatus=201 Created token=szdzGGjm
ERROR: Job failed: exit code 1
failed
unit:gcc:tsan Unit
Uploading artifacts for failed job
Uploading artifacts...
WARNING: lib/*/tests/tsan.*: no matching files
WARNING: tsan/: no matching files
kyua.log: found 1 matching files

kyua.results: found 1 matching files

kyua_html/: found 69 matching files

Uploading artifacts to coordinator... ok
id=828402 responseStatus=201 Created token=Y96SPF5z
ERROR: Job failed: exit code 1
failed
unit:clang:tsan Unit
Uploading artifacts for failed job
Uploading artifacts...
WARNING: lib/*/tests/tsan.*: no matching files
WARNING: tsan/: no matching files
kyua.log: found 1 matching files

kyua.results: found 1 matching files

kyua_html/: found 69 matching files

Uploading artifacts to coordinator... ok
id=828403 responseStatus=201 Created token=y5YGVAs6
ERROR: Job failed: exit code 1
failed
gcc:pkcs11 Build
make[2]: Leaving directory '/builds/isc-projects/bind9/lib/dns'
make[1]: *** [Makefile:84: subdirs] Error 1
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/builds/isc-projects/bind9/lib'
make: *** [Makefile:87: subdirs] Error 1
make: Target 'all' not remade because of errors.
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1